Hi,
The first step in creating an external network would be to retrieve a list of unused networks from the vCenter server - this should be possible according to the documentation:
"You can retrieve the list of available portgroups and switches that are available on a vCenter server registered to a cloud. To retrieve the list, make a GET request to the server's networks link."
I have set up a connection to the vCenter server as follows:
$sdkExt = $service->createSDKExtensionObj();
$vimRefs = $sdkExt->getVimServerRefs($vCenterName);
$vimRef = $vimRefs[0];
$vimRef = VMware_VCloud_SDK_Helper::createReferenceTypeObj($vimRef->get_href());
However I cannot find any documentation on how to retrieve the list of available networks from the VimServer - any advice please?
Thanks
↧
Creating an external network
↧