taas: use ssh_key_type from config for taas scenario

Closes-Bug: #1973755
Related-Bug: #1963907

Depends-On: https://review.opendev.org/c/openstack/neutron-fwaas/+/842254
Depends-On: https://review.opendev.org/c/openstack/tap-as-a-service/+/842134
Change-Id: I0d3021f32e71519721723548873a66523035fddd
This commit is contained in:
elajkat 2022-05-17 15:53:40 +02:00 committed by yatinkarel
parent 6dcc0e81b5
commit fc37604794

View File

@ -122,17 +122,20 @@ class TestTaaSTrafficScenarios(manager.BaseTaasScenarioTests):
self.monitor_client = remote_client.RemoteClient(
mon_fip['floating_ip_address'], user,
pkey=self.keypair['private_key'])
pkey=self.keypair['private_key'],
ssh_key_type=CONF.validation.ssh_key_type)
self.monitor_client.validate_authentication()
self.left_client = remote_client.RemoteClient(
self.left_fip['floating_ip_address'],
CONF.validation.image_ssh_user,
pkey=self.keypair['private_key'])
pkey=self.keypair['private_key'],
ssh_key_type=CONF.validation.ssh_key_type)
self.left_client.validate_authentication()
self.right_client = remote_client.RemoteClient(
self.right_fip['floating_ip_address'],
CONF.validation.image_ssh_user,
pkey=self.keypair['private_key'])
pkey=self.keypair['private_key'],
ssh_key_type=CONF.validation.ssh_key_type)
self.right_client.validate_authentication()
yield