AT&T ECOMP Vendor Event Listener library  0.1
metadata.h
Go to the documentation of this file.
1 #ifndef METADATA_INCLUDED
2 #define METADATA_INCLUDED
3 /**************************************************************************/
40 #include "evel.h"
41 
42 /**************************************************************************/
51 EVEL_ERR_CODES openstack_metadata(int verbosity);
52 
53 /**************************************************************************/
57 
58 /**************************************************************************/
63 const char *openstack_vm_name();
64 
65 /**************************************************************************/
70 const char *openstack_vm_uuid();
71 
72 #endif
void openstack_metadata_initialize()
Initialize default values for vm_name and vm_uuid - for testing purposes.
Definition: metadata.c:328
const char * openstack_vm_uuid()
Get the VM UUID provided by the metadata service.
Definition: metadata.c:604
Header for EVEL library.
EVEL_ERR_CODES
Error codes.
Definition: evel.h:68
const char * openstack_vm_name()
Get the VM name provided by the metadata service.
Definition: metadata.c:594
EVEL_ERR_CODES openstack_metadata(int verbosity)
Download metadata from the OpenStack metadata service.
Definition: metadata.c:105