floating_ips_client => compute_floating_ips_client

Since commit 74890acee32b1 in tempest tempest/scenario/manager.py
tempest.scenario.test_numa_topology.TestServerNumaTopo started to fail.
>>
File "tempest/scenario/test_numa_topology.py", line 111, in verify_ssh
    floating_ip = self.floating_ips_client.create_floating_ip()[
AttributeError:
'TestServerNumaTopo' object has no attribute 'floating_ips_client'
>>

This commit should fix that.

Change-Id: I5d38b7d9962cb14ae502906ffba2611bd2882a66
This commit is contained in:
Vaclav Hejral 2015-11-18 11:11:40 +00:00
parent a1ad48f608
commit cfb36f1291
1 changed files with 3 additions and 3 deletions

View File

@ -108,13 +108,13 @@ class TestServerNumaBase(manager.NetworkScenarioTest):
def verify_ssh(self):
# Obtain a floating IP
floating_ip = self.floating_ips_client.create_floating_ip()[
floating_ip = self.compute_floating_ips_client.create_floating_ip()[
'floating_ip']
self.addCleanup(self.delete_wrapper,
self.floating_ips_client.delete_floating_ip,
self.compute_floating_ips_client.delete_floating_ip,
floating_ip['id'])
# Attach a floating IP
self.floating_ips_client.associate_floating_ip_to_server(
self.compute_floating_ips_client.associate_floating_ip_to_server(
floating_ip['ip'], self.instance['id'])
# Check ssh
return self.get_remote_client(