Re: Terremark authentication example using libcloud ...

2012-07-01 Thread Sengor
> but still, however, has the pre-pending "b'" (so it's still malformed). And > here is that curl(1) output > (remembering that the above were from print() debug statements of mine, not > from curl(1)): > > b'http://www.vmware.com/vcloud/v0.8"; > xmlns:xsi="http://ww

Re: Terremark authentication example using libcloud ...

2012-06-25 Thread Noel Milton Vega
not dealing with curl(1) output, but python call output). Thanks. - Original Message - > From: Noel Milton Vega > To: "users@libcloud.apache.org" > Cc: > Sent: Monday, June 25, 2012 6:59 PM > Subject: Re: Terremark authentication example using libcloud ... >

Re: Terremark authentication example using libcloud ...

2012-06-25 Thread Noel Milton Vega
/2001/XMLSchema";>\n  https://services.vcloudexpress.terremark.com/api/v0.8/org/"; type="application/vnd.vmware.vcloud.org+xml" name="em...@example.com"/>\n' As I look more for the cause, any helpful feedback is appreciated. Again,... the libcl

Re: Terremark authentication example using libcloud ...

2012-06-21 Thread Sengor
Hi Noel, Replies in line below: On 22 June 2012 09:30, Noel Milton Vega wrote: > (1) I was surprised that that base64 line worked at all (even in Python 2) >     since I always thought use of "b" only worked for string literals >     (not generated strings). Patch has been applied to trunk whic

Re: Terremark authentication example using libcloud ...

2012-06-21 Thread Noel Milton Vega
ay 2012 05:03, Noel Milton Vega wrote: > > PS... Ignore my comment about "conn.list_sizes()" in the below > code not generating a HTTP call. I looked at the base.py source > and see that my usage (of the returned class) below is slightly > off. :) > > My original auth pro

Re: Terremark authentication example using libcloud ...

2012-05-11 Thread Sengor
ed at the base.py source > and see that my usage (of the returned class) below is slightly > off. :) > > My original auth problem below still remains. I continue to > investigate it. > > Thanks again, > -- nmv > > > > > > >

Re: Terremark authentication example using libcloud ...

2012-05-11 Thread Noel Milton Vega
in, -- nmv > > From: Noel Milton Vega >To: "users@libcloud.apache.org" >Sent: Friday, May 11, 2012 2:25 PM >Subject: Re: Terremark authentication example using libcloud ... > >Hello Sengork: > >Thank you for the reply. I&

Re: Terremark authentication example using libcloud ...

2012-05-11 Thread Noel Milton Vega
of libcloud, the source file /usr/lib/python3.2/site-packages/libcloud/compute/providers.py doesn't have a dict() entry for Providers.VCLOUD, so I couldn't try your included example (... Just for grins -- it would not have worked for TERREMARK anyay, since they use a modified version of the vClo

Re: Terremark authentication example using libcloud ...

2012-05-10 Thread Sengor
Hi, I've not used the Terremark variant of vCloud driver, but this is what should work: conn = Driver(TERREMARK_USERNAME, TERREMARK_PASSWORD) The driver will perform base64 encoding and joining "user:name" on your behalf. As an example this is what's done for vCloud v1.5: from libcloud.compute.