Add metadata daemon server entry point
... which starts the configuration and web servers.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>Reviewed-by: Hrvoje Ribicic <riba@google.com>
Modify metadata daemon web server to serve OS parameters
Extend metadata web server to serve the OS parameters from the sharedMVar containing the instances' configurations, indexed by their IPaddress.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>...
Add metadata daemon configuration server
The configuration server listens on a Unix socket for connections fromthe node daemon. The node daemon sends the instance parameters to theconfiguration server so they can be served through the metadata daemonweb server to the instances which have the communication mechanism...
Add metadata daemon types
The metadata daemon will be responsible for receiving the instanceparameters from the node daemon and keeping them in memory. The typeof the instance parameters in defined in a separate module because itwill be shared between the web server and the configuration server....
Move metadata daemon to its own directory
Currently, the metadata daemon is mainly a web server. However, a newconfiguration server will be introduced along with other metadatarelated modules. Therefore, this patch moves the current metadatadaemon web server to its own directory. This module is also renamed...