vmware tools started/Stopped ?
Hello, Is there a way to know if the vmware tools are started or not on a vm using the vcloud API ? I don't want to kown if a vm is started, I want to know if the vmware tools are started on the...
View ArticleChain Length
Hello, I am using php vcloud sdk 1.5. and is there a way to get the chain length of a vm ? The idea is to known if a vm has to be consolidate or not. Thanks, Yann CONAN
View ArticleRetainNetInfoAcrossDeployments
Hello, I'm trying to recompose a deployed vapp and change the RetainNetInfoAcrossDeployments from false to true. But it doesn't work. I use a php code like the following one to prepare the...
View ArticleHaving difficulties with vCloud Director version 1.0.2 PHP SDK
Salutations all! I'm trying to run a script I found online, here : http://www.virtuallyghetto.com/2012/01/vcloud-director-report-100.html . I was mistaken by thinking this script was compatable with...
View ArticleHow do I get the UUID of a newly added vm to a recomposed vapp?
Hi All, I have written code to recompose a vapp and add a new vm to it. How do I get the UUID of the newly added vm using the php sdk? Thanks for any help!
View ArticleHelp using tasks/task lists in vCloud Director v 1.0.2 php sdk
I was wondering if anyone had any examples of how to use the tasks/task list via the vCloud Director version 1.0.2? What I'm trying to find is a method to track a VM's power state after changing it....
View ArticleIssue logging in
So the whole vcloud api in itself seems a bit complicated and not-so-well documented for what I want to do so I tried to use just a basic HTTP Response class to do this whole process. I'm following...
View ArticleObtaining template name is inconsistent when Template is Migrated
Hi, I have an app which lists the Templates in our vDC using $queryFormat = "Records";$qr = "query$queryFormat";$type = "vm";$recObj = $sdkQuery->$qr($type, $queryParams);$records =...
View ArticleCannot determine how to extract Description
I am trying to determine how I can extract the Description found in the then I dump the Vapp Template object $vmSDK = $service->createSDKObj($record->get_href()); $vApp =...
View ArticleAre API calls multithreaded?
I have a page (see attached image) that I have that displays VMs. I do a loop through the list and simutaneously request VM data for all the VMs in the list but vCD appears to process them sequentially...
View ArticleRetrieving VappTemplate possible?
I am able to get a vm using: $sdkVm = $service->createSDKObj($href);$vm = $sdkVm->getVm(); and wanted to do similar for a template: $sdkVApp =...
View ArticleLogging in too much. Can session key be used?
I am having issues with a portal I am writing. I have a main page listing the vms, then use ajax on that page to connect and retrieve values. Each of the ajax scripts have to independantly login...
View ArticleHow do I Delete a VM?/vApp - Undeploy?
Can someone provide an example of how to delete a vm via the PHP bindings? ie $vmsdk->delete()? I know this is probably sooo simple but I have looked and cannot find the method to do this. thanks...
View Articleretrieving vApp no possible - what?
I tried this: $sdkVApp = $service->createSDKObj($vAppHref); and it throws: Undefined index: vapp in <b>/var/www/hostname/lib/VMware/VCloud/Factory.php on line 214 <b>Fatal...
View ArticleLogin URI
Is there a reason the SDK is using the deprecated login URI instead of the sessions URI? Thanks, Jake
View ArticleHow can I select a network when instantiating Template?
It appears that in 5.1 they changes they way vApps handle networks. I have 2 problems I need solutions for and am looking everywhere for help. The Instantiate Template.php example just shows a default...
View ArticleSetting the network details at time of recomposition
In the example recomposevapp.php the vapp clones a vm from the reference template, creates the vapp network but how can I specifiy the netowrk the VM(s) being recomposed are connected to. This is done...
View ArticleVMware_VCloud_SDK_Exception PUT edgeGateway failed, error code: 202
Hello, I'm using the following version of vmware products :- vCloud Director 5.1.1.868405- vCloudApi SDk PHP 1.5.0-472492- vCloudApi SDK PHP 5.1.0-819742 I want to reconfigure an edgeGateway. I used...
View ArticleExample of a network change?
Is there an example of a network change? I have 2 Org networks againable to clients. In my interface I want them to be able to take an existing VM and change the network by selecting from a drop down...
View ArticlevCloud director doesn´t display web portal
After deployment of vCloud director downloaded directly from sites vmware, configuring IP addresses, masks and gateways,web address <IP_adress>:5480 works, but <IP_adress>/cloud doesn´t...
View Article