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

How 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 Article


retrieving 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 Article


Login URI

Is there a reason the SDK is using the deprecated login URI instead of the sessions URI? Thanks, Jake

View Article

How 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 Article

Setting 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 Article


VMware_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 Article

Example 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 Article

vCloud 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


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 Article


NETWORK_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 Article

Problem 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 Article

Get/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 Article

Get 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 Article


require_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 Article

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 Article


Creating 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 Article

create virtual machine using the vCloud SDK for php

             

View Article


Instantiate 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 Article

Configure 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 Article

Add 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 Article
Browsing all 2039 articles
Browse latest View live