1. 05 Mar, 2015 1 commit
  2. 15 Sep, 2014 1 commit
  3. 14 May, 2014 1 commit
  4. 07 Apr, 2014 2 commits
  5. 02 Apr, 2014 1 commit
    • Jose A. Lopes's avatar
      Add metadata daemon configuration server · f007e290
      Jose A. Lopes authored
      The configuration server listens on a Unix socket for connections from
      the node daemon.  The node daemon sends the instance parameters to the
      configuration server so they can be served through the metadata daemon
      web server to the instances which have the communication mechanism
      enabled.
      
      The configuration server reads the instance parameters and, currently,
      it extracts the instance's name and the instance's IP address on the
      instance communication NIC.  The instance's name is used for logging
      and the IP address is used to index the instance parameters, given
      that instances do not authenticate with the metadata daemon, and the
      only thing we know about them is their IP address.
      
      The configuration server also extracts the OS parameters, including
      public, private and secret, and creates an object containing those
      parameters and their visibility.
      
      The configuration is kept internally in an 'MVar' which will be shared
      with the metadata daemon web server.
      Signed-off-by: default avatarJose A. Lopes <jabolopes@google.com>
      Reviewed-by: default avatarHrvoje Ribicic <riba@google.com>
      f007e290