Quantcast
Channel: VMware Communities: Message List - VMware vCloud Director
Viewing all articles
Browse latest Browse all 7719

Re: Howto query the DHCP lease configuration

$
0
0

Hi,

 

maybe you can get the information from the vcloud:vm.

 

Some Code to get the IP (vCO-Javascript):

 

var networkConnections = vm.getNetworkConnectionSection().networkConnection.enumerate(); for each (var networkConnectin in networkConnections){    System.log(networkConnection.ipAddress); //IP-Address of the VM  }

 

 

You can get all network-informations from XML of the VM-NetworkConnection:

 

System.log(vm.getNetworkConnectionSection().toXml());


Viewing all articles
Browse latest Browse all 7719

Trending Articles



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