Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

Get metadata from OrgNetwork

$
0
0

I've written a custom workflow that uses an external IPAM. However since i need to allocate a IP address from a specific VLAN, i figured the best way to keep track of what VLAN the vApp is created in would be to either drill down to the portgroup, or add metadata to the orgnetwork containing vlan info.

 

I read that the drilling down method would most likely not work with multiple vcenters and might become "messy".

 

i've added metadata to a test orgnetwork, sofar i've also managed to extract the orgnetwork name as a string by using:

 

var networkConnectionSection = vm.getNetworkConnectionSection();

var networkConnections = networkConnectionSection.networkConnection.enumerate();

networkConnection = networkConnections[0];

 

however i can't for the life of me figure out how i would then access "networkConnections[0]" metadata.

 

Any pointers would be very appreciated.


Viewing all articles
Browse latest Browse all 6251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>