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

Error code: 400 return when create user on the organization

I write a simple php code that use createUser function to create a new user on the organization. The following error appear:"POST https://xx.xx.xx.xx/api/v1.0/admin/org/1421086956/users failed, return...

View Article


rebooting a vm : failed, return code: 204, error

hello,First of all, I wish you an happy new year ! so, we are using the sdk php (vcloudPHP-1.0.0-314767) and our vcd director cell is the 1.0.0-285979 build. We try to use the possibilities to start,...

View Article


Howto change the root password within a linux vm wtih the vcloud api ?

Hello, we are using the sdk php (vcloudPHP-1.0.0-314767) and our vcd director cell is the 1.0.0-285979 build. we are tring to make a recustomization of a vm in a vapp. In our first test we tried to...

View Article

operatingSystemSection failed, return code: 404

Hello, I have a problem when getting informations about a vm within a vappTemplate. I'am no able to get the operatingSystemSection. My code is : [...]$sdkVm =...

View Article

Pb with fw and nat rules.

Hi all, we are using the sdk php (vcloudPHP-1.0.0-314767) and our vcd director cell is the 1.0.1.356485 build. Our goal is to add or delete a nat rule on a vapp's internal network which within a...

View Article


problems and workarounds about deploying a vapp (with vcloud API)

Hello, Every day we continue to explore and use the Vcloud API and the SDK php. And I would like to share with you our experience and problems about the Vcloud Api. We are creating a web application...

View Article

SDK/PHP open VM console via a link

Looking for a simple way to access a  VM from within a web page that opens the console in a  new window. I've managed to start a VM from within a PHP  script and now want to create a link to access the...

View Article

pls help : getting an error while uploading OVF package to create vApp Template

I have OVF package to create create vApp Template in  vCloud. while uploading an OVF package I am getting an error : Fatal error: Call to a member function getFile() on a non-object at this line which...

View Article


ovfEnv:Property vs ovf:ProducSection ... and questions

Hello, I execute a getVm() and obtain among all sections two new sections:the first one :<ovf:ProductSection ovf:required="true"><ovf:Property ovf:userConfigurable="false" ovf:value="1"...

View Article


Image may be NSFW.
Clik here to view.

PHP Requirements

 I noticed the php install directions mentioned that HTTP_Request2 was required, but I also wanted to note a couple options need to be compiled in (unless I missed them in the docs):  OpenSSL  (...

View Article

getting datas through webservice soap

Hi, I'm trying to begin to target the WebService of an ESX 4.1 directly in php with soap client. I'm really surprised by the dificulty to get informations, I tried to follow the example showed on...

View Article

create catalog : Unexpected JAXB Exception

Hi, I try to create a catalog via the vcd api. My environment is:Vcloud Director Version = 1.5.0.464915 (there are 2 cells within the vcd infrastructure)vCloud php SDK version = 1.5.0-472492Vcenter...

View Article

take public vApp Templates

Hello!Please tell me how can I take shared vApp templates from public calalog? I use the following source code to take this templates: $service =...

View Article


I can't get get_cpuLimitMhz() for provider vdc

hi,i want to get some infos for provider vdc's through php vcloud api.the script works fine as long as the red part is remarked. it gives me a list of href, type and name of all my pvdc's.but when i...

View Article

got a T_PAAMAYIM_NEKUDOTAYIM error from helloVCloud.php

I'm just getting started with this API and decided to plow through with it and got the following: # php samples/helloVCloud.php PHP Parse error:  syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in...

View Article


Data Structures/Types, need help!

Salutations! I am having one heck of a time wrapping my head around how to go about acheiving the results I'm looking for, what I would like to do is login to vCloud Director and assign an Organization...

View Article

Why can't I put my code in a function?

Salutations VMware Community, I have been playing with the vCloud Director v 1.0.2 PHP SDK for roughly the past couple of weeks and I am learning new things all the time but something that I cannot...

View Article


Is the PHP 1.5 stuff ready? I cant even get it to login

I was going to write my own API but found vmware's.  I tried to just login and get this: Fatal error: Uncaught exception 'VMware_VCloud_SDK_Exception' with message 'POST https://vc.usask.ca/api/login...

View Article

What is best way to query the catalog of vApp Templates and show CPU configs

Hi, What is the best way to list all the items in the public catalog and for each vAppTemplate get the vm vCPU, RAM and disk? I have tried attacking it from 2 angles but feel like I am doing it the...

View Article

Maintaining login across web pages without storing username/password

Hi, I am building a web interface and want to be able to store a session reference so I am not storing the user credentials in sesison files on the server. If I authenticate using login(), I have tried...

View Article
Browsing all 2039 articles
Browse latest View live


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