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

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

Need help understanding how to use the SDK for our use cases

Hello everyone! I am having a lot of fundamental problems with understanding the SDK and how to work with it.The only available documentation is the one generated from PHP comments which pretty much...

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


vmware tools started/Stopped ?

Hello, Is there a way to know if the vmware tools are started or not on a vm using the vcloud API ? I don't want to kown if a vm is started, I want to know if the vmware tools are started on the...

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

RetainNetInfoAcrossDeployments

Hello, I'm trying to recompose a deployed vapp and change the RetainNetInfoAcrossDeployments from false to true. But it doesn't work. I use a php code like the following one to prepare the...

View Article

Having difficulties with vCloud Director version 1.0.2 PHP SDK

Salutations all! I'm trying to run a script I found online, here : http://www.virtuallyghetto.com/2012/01/vcloud-director-report-100.html .  I was mistaken by thinking this script was compatable with...

View Article

How do I get the UUID of a newly added vm to a recomposed vapp?

Hi All, I have written code to recompose a vapp and add a new vm to it.  How do I get the UUID of the newly added vm using the php sdk? Thanks for any help!

View Article


Help using tasks/task lists in vCloud Director v 1.0.2 php sdk

I was wondering if anyone had any examples of how to use the tasks/task list via the vCloud Director version 1.0.2?  What I'm trying to find is a method to track a VM's power state after changing it....

View Article

Issue logging in

So the whole vcloud api in itself seems a bit complicated and not-so-well documented for what I want to do so I tried to use just a basic HTTP Response class to do this whole process. I'm following...

View Article


Obtaining template name is inconsistent when Template is Migrated

Hi, I have an app which lists the Templates in our vDC using   $queryFormat = "Records";$qr = "query$queryFormat";$type = "vm";$recObj = $sdkQuery->$qr($type, $queryParams);$records =...

View Article

Cannot determine how to extract Description

I am trying to determine how I can extract the Description found in the  then I dump the Vapp Template object $vmSDK = $service->createSDKObj($record->get_href()); $vApp =...

View Article


Are API calls multithreaded?

I have a page (see attached image) that I have that displays VMs. I do a loop through the list and simutaneously request VM data for all the VMs in the list but vCD appears to process them sequentially...

View Article

Retrieving VappTemplate possible?

I am able to get a vm using:  $sdkVm = $service->createSDKObj($href);$vm = $sdkVm->getVm(); and wanted to do similar for a template: $sdkVApp =...

View Article

Logging in too much. Can session key be used?

I am having issues with a portal I am writing.  I have a main page listing the vms, then use ajax on that page to connect and retrieve values.  Each of the ajax scripts have to independantly login...

View Article
Browsing all 2039 articles
Browse latest View live


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