]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
openstack: implement OpenStack.set_provider 669/head
authorLoic Dachary <ldachary@redhat.com>
Thu, 22 Oct 2015 13:57:11 +0000 (15:57 +0200)
committerLoic Dachary <ldachary@redhat.com>
Fri, 23 Oct 2015 23:11:30 +0000 (01:11 +0200)
commitb33aa0dbc871457959fa5c6ecdaefe739d103f85
tree5d5cb430b687276686848f3f868dfa94a3db720b
parent73ba810f8d4b9ce13baf7a3ac385d8f8a8b66986
openstack: implement OpenStack.set_provider

Setting the provider name depending on the OS_AUTH_URL content is
generally useful and moved to the OpenStack base class. There is a need
to cope with public OpenStack providers special cases, even if
temporarily (i.e. no volumes on OVH, no security group on RackSpace
etc.).

Signed-off-by: Loic Dachary <ldachary@redhat.com>
teuthology/openstack/__init__.py
teuthology/openstack/test/test_openstack.py