Pass "access_point" server to get_remote_client

Access point server is now passed to get_remote_client method
in test_security_groups_basic_ops module.
It will help to debug issues with connection to this access point
server in case if those tests will fail.

Change-Id: Ie6ab9019e3b1a2ca490a32a3c350f8deb5d3c357
This commit is contained in:
Slawek Kaplonski 2018-08-04 11:50:31 +02:00
parent 92f97e2d2f
commit ab7d790d93
1 changed files with 2 additions and 1 deletions

View File

@ -369,7 +369,8 @@ class TestSecurityGroupsBasicOps(manager.NetworkScenarioTest):
self.floating_ips[tenant.access_point['id']]['floating_ip_address']
private_key = tenant.keypair['private_key']
access_point_ssh = self.get_remote_client(
access_point_ssh, private_key=private_key)
access_point_ssh, private_key=private_key,
server=tenant.access_point)
return access_point_ssh
def _test_in_tenant_block(self, tenant):