Fixes LP#902358 - Test case for Floating IPs
Adds test cases for Nova's Floating IP extension
Change-Id: Ic5d7d86161ab43bfd37727d3f89042a5b188c80d
diff --git a/tempest/openstack.py b/tempest/openstack.py
index a3fe71d..3504589 100644
--- a/tempest/openstack.py
+++ b/tempest/openstack.py
@@ -7,6 +7,7 @@
from tempest.services.nova.json.extensions_client import ExtensionsClient
from tempest.services.nova.json.security_groups_client \
import SecurityGroupsClient
+from tempest.services.nova.json.floating_ips_client import FloatingIPsClient
from tempest.services.nova.json.keypairs_client import KeyPairsClient
@@ -55,6 +56,11 @@
self.config.nova.api_key,
self.config.nova.auth_url,
self.config.nova.tenant_name)
+ self.floating_ips_client = FloatingIPsClient(self.config,
+ self.config.nova.username,
+ self.config.nova.api_key,
+ self.config.nova.auth_url,
+ self.config.nova.tenant_name)
else:
#Assuming basic/native authentication
self.servers_client = ServersClient(self.config,
@@ -85,6 +91,10 @@
self.config.nova.username,
self.config.nova.api_key,
self.config.nova.auth_url)
+ self.floating_ips_client = FloatingIPsClient(self.config,
+ self.config.nova.username,
+ self.config.nova.api_key,
+ self.config.nova.auth_url)
class ServiceManager(object):