Hi all,
I’m using libcloud with openstack and was wondering what is the best way to
obtain a list of floating ip pools. I see the test:
ex_list_floating_ip_pools() a class in OpenStack_1_1_NodeDriver(), and it seems
you can instantiate OpenStack_1_1_NodeDriver with connection parameters.
If I have something such as:
conn = OpenStack(‘username', ‘xxxx',
ex_force_auth_url='https://region-b.geo-1.identity.hpcloudsvc.com:35357/v2.0/tokens',
ex_force_auth_version='2.0_password',
ex_force_service_region='region-b.geo-1',
ex_tenant_name=‘username-project1',
ex_force_service_name='Compute’)
Do I have access to OpenStack_1_1_NodeDriver? Or what would be a good example
of doing this?
I see one such example in test_openstack.py, but I’m a little lost on how to
get this to work:
def test_ex_list_floating_ip_pools(self):
ret = self.driver.ex_list_floating_ip_pools()
Thanks in advance for any info/tips !
Patrick