Access VM Openstack metadata in Automate

Hi all,

I’d like to access the VM Opentack metadata in one of my Automate methods on vm_create event.

Those metadata are displayed as Labels in the WebUI.

I’ve tried to dump all the VM info + custom_keys + ems_custom_keys ( ) but I coudnt find my metadatas.

Do you have any ideas how to retrieve those informations ?

Hi everyone !

I’ve finally found where to get my metadatas. It was simply accessible via labels on my VMs objects :

$evm.log("info","#{@log_prefix} - Labels VM:<#{}> #{vm.labels.inspect} ")

Thanks !