Quantcast
Channel: VMware Communities : Unanswered Discussions - Virtual Disk Development Kit
Browsing all 872 articles
Browse latest View live

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


performance 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 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

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


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

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

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


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

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

Chain 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
Browsing all 872 articles
Browse latest View live


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