Quantcast
Channel: VMware Communities : Discussion List - Virtual Disk Development Kit
Viewing all articles
Browse latest Browse all 2039

Creating an external network

$
0
0



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 


Viewing all articles
Browse latest Browse all 2039

Trending Articles



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