fwrite() expects parameter 2 to be string with getScreenThumbnailImage()
Hello, We continue to test our application after the migration to the stable version of the sdk php (1.0.0-314767) and we got another error. This time, it is when we want to get a thumbnail Image of...
View Articlerebooting 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 Articleperformance problem when getting data from the VCD.
Hello Again, Before begining to describe my problem, a litle description of our dev platform: VM Vcloud Director : 2 VCPU (2*2Ghz, reserve 4gHz), memory 4096MB reserve 2048MB)VM Oracle for VCD : 2vCPU...
View ArticleHowto 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 Articleproblems 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 ArticleoperatingSystemSection 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 ArticlePb 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 ArticleSDK/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 Articlepls 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 ArticleovfEnv: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 Articlecreate 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 Articletake 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 ArticleI 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 Articlegot 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 ArticleData 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 ArticleWhy 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 ArticleIs 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 ArticleMaintaining 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 ArticleHow can one get task % complete?
Is there a way to get the task % complete using the task object or similar? The vCloud GUI shows it and I want to pass progress details to the user as well in a similar way.
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 Article