Template and deploy test for day01 deployment
Add physical-mcp-ocata-offline-ovs template
Add day01 offline test
Change-Id: I61211150575a84d8f3e44be2ef9c64855e5f2db3
diff --git a/tcp_tests/managers/underlay_ssh_manager.py b/tcp_tests/managers/underlay_ssh_manager.py
index 7d3da96..5194239 100644
--- a/tcp_tests/managers/underlay_ssh_manager.py
+++ b/tcp_tests/managers/underlay_ssh_manager.py
@@ -247,13 +247,16 @@
"""
ssh_data = self.__ssh_data(node_name=node_name, host=host,
address_pool=address_pool)
+ ssh_auth = ssh_client.SSHAuth(
+ username=ssh_data['login'],
+ password=ssh_data['password'],
+ keys=[rsakey.RSAKey(file_obj=StringIO.StringIO(key))
+ for key in ssh_data['keys']])
+
return ssh_client.SSHClient(
host=ssh_data['host'],
port=ssh_data['port'] or 22,
- username=ssh_data['login'],
- password=ssh_data['password'],
- private_keys=[rsakey.RSAKey(file_obj=StringIO.StringIO(key))
- for key in ssh_data['keys']])
+ auth=ssh_auth)
def local(self):
"""Get Subprocess instance for local operations like: