You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@vcl.apache.org by Rohit Manohar <rd...@ncsu.edu> on 2011/04/09 03:26:54 UTC

Return Object for XMLRPCgetRequestConnectData

I am using a Python script to call XMLRPCgetRequestConnectData and the IP
address of the reservation.
However, I am not able to understand the structure of that object. All I am
able to see is {'status': 'ready'}

The documentation says of a field 'serverIP', but I am not able to access
it.

Any idea how to do so?

Regards
-- 
Rohit Manohar
Graduate Student
North Carolina State University
Raleigh, US.

Re: Return Object for XMLRPCgetRequestConnectData

Posted by Rohit Manohar <rd...@ncsu.edu>.
Hi Josh,

This is super embarrassing. You were right. Wrong function inside the
wrapper :(

Terribly sorry for wasting you time.

Thanks for your prompt reply

Regards,

On Mon, Apr 11, 2011 at 11:23 AM, Josh Thompson <jo...@ncsu.edu>wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Rohit,
>
> Are you absolutely sure you are calling XMLRPCgetRequestConnectData?  I
> just
> tested it against the NCSU install of VCL and XMLRPCgetRequestConnectData
> returned the expected information.  I used python and just printed the
> returned data.
>
> It sounds like you are actually calling XMLRPCgetRequestStatus, which will
> simply return {'status': 'ready'} once the reservation has finished
> loading.
>
> Josh
>
> On Friday April 08, 2011, Rohit Manohar wrote:
> > I am using a Python script to call XMLRPCgetRequestConnectData and the IP
> > address of the reservation.
> > However, I am not able to understand the structure of that object. All I
> am
> > able to see is {'status': 'ready'}
> >
> > The documentation says of a field 'serverIP', but I am not able to access
> > it.
> >
> > Any idea how to do so?
> >
> > Regards
> - --
> - -------------------------------
> Josh Thompson
> VCL Developer
> North Carolina State University
>
> my GPG/PGP key can be found at pgp.mit.edu
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.16 (GNU/Linux)
>
> iEYEARECAAYFAk2jHPEACgkQV/LQcNdtPQNEZgCcDyCdqo2bGcPZgUn2OSuKi/32
> iikAnA5OZ86XEZPoxHBJWV6x4nqAFujv
> =JBzj
> -----END PGP SIGNATURE-----
>



-- 
Rohit Manohar
Graduate Student
North Carolina State University
Raleigh, US.

Re: Return Object for XMLRPCgetRequestConnectData

Posted by Josh Thompson <jo...@ncsu.edu>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rohit,

Are you absolutely sure you are calling XMLRPCgetRequestConnectData?  I just 
tested it against the NCSU install of VCL and XMLRPCgetRequestConnectData 
returned the expected information.  I used python and just printed the 
returned data.

It sounds like you are actually calling XMLRPCgetRequestStatus, which will 
simply return {'status': 'ready'} once the reservation has finished loading.

Josh

On Friday April 08, 2011, Rohit Manohar wrote:
> I am using a Python script to call XMLRPCgetRequestConnectData and the IP
> address of the reservation.
> However, I am not able to understand the structure of that object. All I am
> able to see is {'status': 'ready'}
> 
> The documentation says of a field 'serverIP', but I am not able to access
> it.
> 
> Any idea how to do so?
> 
> Regards
- -- 
- -------------------------------
Josh Thompson
VCL Developer
North Carolina State University

my GPG/PGP key can be found at pgp.mit.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)

iEYEARECAAYFAk2jHPEACgkQV/LQcNdtPQNEZgCcDyCdqo2bGcPZgUn2OSuKi/32
iikAnA5OZ86XEZPoxHBJWV6x4nqAFujv
=JBzj
-----END PGP SIGNATURE-----