Add templates for mk22-lab-basic
- add set of templates for mk22-lab-basic
- add env variable LAB_CONFIG_NAME to easy select desired templates
diff --git a/tcp_tests/fixtures/underlay_fixtures.py b/tcp_tests/fixtures/underlay_fixtures.py
index 0637abf..a19b6d1 100644
--- a/tcp_tests/fixtures/underlay_fixtures.py
+++ b/tcp_tests/fixtures/underlay_fixtures.py
@@ -194,7 +194,7 @@
config.underlay.ssh = hardware.get_ssh_data(
roles=config.underlay.roles)
- underlay = underlay_ssh_manager.UnderlaySSHManager(config.underlay.ssh)
+ underlay = underlay_ssh_manager.UnderlaySSHManager(config)
if not config.underlay.lvm:
underlay.enable_lvm(hardware.lvm_storages())
@@ -206,6 +206,6 @@
# 1. hardware environment created and powered on
# 2. config.underlay.ssh contains SSH access to provisioned nodes
# (can be passed from external config with TESTS_CONFIGS variable)
- underlay = underlay_ssh_manager.UnderlaySSHManager(config.underlay.ssh)
+ underlay = underlay_ssh_manager.UnderlaySSHManager(config)
return underlay