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

Re: Get IP on VM on Deploy

$
0
0

Hi,

 

In VCD 5.1 we added something called "OVF Mode" which basically provides more detailed information. You can get that via REST APi by adding /ovf to the URL.

 

https://aneverov-ln/api/vApp/vapp-d9f3b556-f91c-49db-8bb2-35e1186016e9/ovf:

 

...

 

<ovf:Item>
                    <rasd:Address>00:50:56:01:01:fe</rasd:Address>
                    <rasd:AddressOnParent>0</rasd:AddressOnParent>
                    <rasd:AutomaticAllocation>true</rasd:AutomaticAllocation>
                    <rasd:Connection vcloud:ipAddress="192.168.6.100" vcloud:primaryNetworkConnection="true" vcloud:ipAddressingMode="POOL">extra</rasd:Connection>
                    <rasd:Description>PCNet32 ethernet adapter on "extra"</rasd:Description>
                    <rasd:ElementName>Network adapter 0</rasd:ElementName>
                    <rasd:InstanceID>1</rasd:InstanceID>
                    <rasd:ResourceSubType>PCNet32</rasd:ResourceSubType>
                    <rasd:ResourceType>10</rasd:ResourceType>
                    <vmw:Config vmw:value="true" vmw:key="connectable.allowGuestControl" ovf:required="false"/>
                    <vmw:Config vmw:value="true" vmw:key="wakeOnLanEnabled" ovf:required="false"/>
                </ovf:Item>

 

Hope that helps.

 

/Andrii


Viewing all articles
Browse latest Browse all 7719

Trending Articles



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