Re: [Openstack] How to use the novaclient python API

2013-02-22 Thread JR
Thanks Vishvanda, that did help. I'm having an issue with endpoints, but I think when I installed openstack I might not have add all the needed endpoints: File "/usr/lib/python2.7/dist-packages/novaclient/service_catalog.py", line 67, in url_for raise novaclient.exceptions.EndpointNotFound(

Re: [Openstack] How to use the novaclient python API

2013-02-21 Thread Vishvananda Ishaya
Looks like those docs are pretty outdated. I have a github repository where I have been putting together some examples of doing common commands with a) cli b) python-*client c) curl It is incomplete but this should help get you started: # helper method to create the client https://github.com/vis

[Openstack] How to use the novaclient python API

2013-02-21 Thread JR
Greetings all, http://docs.openstack.org/developer/python-novaclient/api.html says that: from novaclient import OpenStack nova = OpenStack(USERNAME, PASSWORD, AUTH_URL) Should work. But: (virtual-python2.7)ftc-ms01:test# pip search python-novaclient |head -3 python-novaclient - Client