Set 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 ArticleVixDiskLib_PrepareForAccess() and vMotion cannot block each other...
Our backup application invokes VixDiskLib_PrepareForAccess() as VMware doc suggested to wait for vMotion to finish (please refer to page 38 in vddk55_programming.pdf), but seems the API does not...
View ArticleVIX_E_DISK_OUTOFRANGE Error while processing 1.92 TB disk with VMFS 5.58
Hi, In Esxi 5.1.,While i'm trying to process the VM which is having two VMDK files(30 GB and 1.92 TB).,I have proceeded read and write for the first VMDK file (30 GB) without any problem.,But i'm...
View ArticleVMDK file mount problem
Hi, I have a problem mounting a VMDK file using vmware-mount.exe. I have attached the file and error core dump file for your reference. Please point me out the problem.
View ArticleCannot open VMDK file via SAN transport using Netbackup 7.1 "You do not have...
Hi, I'm trying to backup VMWare guests using Netbackup for VMWare 7.1 using san transfer type, and the NBU forum has told me that my user vm-admin has no access rights to the VMDK file. However, I've...
View Article.NET wrapper for VDDK 5.5
Does anyone have an up-to-date wrapper for VDDK. I found an old one, but it seems to only cover VixDiskLib. I am specifically looking for examples on VixMntapi with the hopes of creating a tool to...
View ArticleVixDiskLib_Open returns 16054 "VIX_E_DISK_INVALID_CONNECTION"
Trying to mount local VMDK file and getting 16054 error on VixDiskLib_Open. Any assistance would be greatly appreciated. Please see following code. Dim vixError As IntegerDim srcConnection As IntPtr...
View Article