Disable Stack Trace
Is there a way to disable the stackTrace for a production system when an exception is thrown? <Error xmlns="http://www.vmware.com/vcloud/v1.5" stackTrace="javax.ws.rs.WebApplicationException...
View ArticleNETWORK_INTERNAL_SERVER
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 the network of deployed...
View ArticleProblem when moving a vappTemplate
Hello,I would like to move a vapptemplate from a vdc to another vdc. vcloud direcro vesrion : 5.1.2.1068441php sdk version : 5.5.0-1294398 I use the following code :$cloneParams = new...
View ArticleGet/Set NAT and Firewall rules
Hi all, I try to correctly collect NAT and firewall settings and recreate them in a new vApp using vCloud PHP SDK.I tried to gather those settings...
View ArticleGet Storage Profile from VM
Hello I'm able to retrieve Orgs, vDC's, vApps and then Vm's. From the VM's i'm able to retrieve CPU RAM and Disks. The only thing i can't retrieve is the Storage Profile for the Vm: $vm =...
View Articlerequire_once(): Failed opening required 'VMware/VCloud/Helper.php'
Hi Friends, While running Vcloud API PHP sdk samples( login.php). I m getting this error. Please help me to resolve it . (Attaching error screen shot) Thanks in advance.
View ArticleSet VDC metadata
Hi, I can retrieve (and optionally delete) a VDC's metadata as follows: $vdc = $service->createSDKObj($vdcRef); $vdcinfo = $vdc->getVdc(); foreach($vdcmeta as $index => $vdcmetaentry) {...
View ArticleCreating an external network
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...
View ArticleInstantiate vApp Template with InstantiationParams
Hi, I am using the following high-level workflow: 1. New VMware_VCloud_API_InstantiateVAppTemplateParamsType 2. New VMware_VCloud_API_NetworkConnectionSectionType 3. New...
View ArticleConfigure network after vApp deployment
Hi, If I clone a vApp without any customization, I can't configure the network afterwards, e.g. $vappRefs = $sdkVdc->getVAppRefs($vappName); $sdkVapp = $service->createSDKObj($vappRefs[0]);...
View ArticleAdd Sub-Allocate IP Pool to Edge Gateway
How can I do it. I would like to set it up like this: http://i.imgur.com/P1M7i90.png I set Sub-Allocation in this way: $subAllocationType = new VMware_VCloud_API_SubAllocationType();...
View ArticleDeleting an Edge Gateway: task completion
Is there a way of waiting for completion of the task when deleting an Edge Gateway? I have tried the following: $sdkEdgeGateway = $service->createSDKObj($edgeGatewayRef);$edgeGateway =...
View ArticleThe operation could not be performed because the device spec is invalid.
Hello all, After import vm from vCenter to vCD we cannot customize machine property, by we can do power on/off, etc Step to reproduce:1. create vm in vCenter2. import to vCD using SDK...
View ArticleThe provided XML has too many elements: 10,041. The maximum is 2,048.
Hello, I'm using the following version of vmware products :- vCloud Director 5.1.1.868405- vCloudApi SDK PHP 5.1.0-819742 We are working on the benchmarks/performances of the vmware vcloud director...
View ArticleList vCenters?
Hi Guys,just starting off with the PHP SDK for vCloud Director.I was wondering, what is the best way to get a list of the vCenters managed by the vCloud Director?I can see in the samples...
View ArticleCreating metadata on 5.6
I've noticed that, on 5.6.4, creating metadata fails - the TypedValue is missing. XML shown by temporarily adding print_r($data) to the post function in ServiceAbstract.php. <MetadataEntry>...
View ArticlePHP SDK v8.0 / Setup
Couple of questions:1) Why isn't the v8.0 PHP SDK (which I have access to as I work for a vCAN Service Provider) generally available to all? Surely the SDK can be just as useful to clients of MSP's...
View ArticleAdd firewall rule to vShield Edge
Hi,Does anyone have a code snippet that shows an example of amending the vShield Edge configuration with a new firewall rule?I can retrieve the existing configuration with...
View ArticleHow can I get the usage of my Storage Profiles?
Hi! I'm successfully using VMware PHP vCloud API to gather information from my vCloud Organitzation objects (orgs, vDCs, vShield Edges, vApps, VMs) (my scripts), but how can I get the usage of my...
View Article