42:roadmb-2.2.1:2.2.1/oper-ROADMB.xml
43:roadmc-2.2.1:2.2.1/oper-ROADMC.xml
44:xpdrc-2.2.1:2.2.1/oper-XPDRC.xml
-45:spdrav2-2.2.1:2.2.1/oper-SPDRAv2.xml
-46:spdrav1-2.2.1:2.2.1/oper-SPDRAv1.xml
+45:spdra-2.2.1:2.2.1/oper-SPDRA.xml
+25:spdra_no_interface-2.2.1:2.2.1/oper-SPDRA_no_interface.xml
"
case "$DEVICE_VERSION" in
'roadmb': {'port': '17842', 'configfile': 'oper-ROADMB.xml', 'logfile': 'oper-ROADMB.log'},
'roadmc': {'port': '17843', 'configfile': 'oper-ROADMC.xml', 'logfile': 'oper-ROADMC.log'},
'xpdrc': {'port': '17844', 'configfile': 'oper-XPDRC.xml', 'logfile': 'oper-XPDRC.log'},
- 'spdrav2': {'port': '17845', 'configfile': 'oper-SPDRAv2.xml', 'logfile': 'oper-SPDRAv2.log'},
- 'spdrav1': {'port': '17846', 'configfile': 'oper-SPDRAv1.xml', 'logfile': 'oper-SPDRAv1.log'}
+ 'spdra': {'port': '17845', 'configfile': 'oper-SPDRA.xml', 'logfile': 'oper-SPDRA.log'},
+ 'spdra_no_interface': {'port': '17825', 'configfile': 'oper-SPDRA_no_interface.xml', 'logfile': 'oper-SPDRA.log'}
}
HONEYNODE_EXECUTABLE = os.path.join(
@classmethod
def setUpClass(cls):
cls.processes = test_utils.start_tpce()
- cls.processes = test_utils.start_sims(['spdrav2'])
+ cls.processes = test_utils.start_sims(['spdra'])
@classmethod
def tearDownClass(cls):
time.sleep(5)
def test_01_connect_SPDR_SA1(self):
- response = test_utils.mount_device("SPDR-SA1", 'spdrav2')
+ response = test_utils.mount_device("SPDR-SA1", 'spdra')
self.assertEqual(response.status_code, requests.codes.created, test_utils.CODE_SHOULD_BE_201)
time.sleep(10)
@classmethod
def setUpClass(cls):
cls.processes = test_utils.start_tpce()
- cls.processes = test_utils.start_sims(['spdrav2'])
+ cls.processes = test_utils.start_sims(['spdra'])
@classmethod
def tearDownClass(cls):
time.sleep(5)
def test_01_connect_SPDR_SA1(self):
- response = test_utils.mount_device("SPDR-SA1", 'spdrav2')
+ response = test_utils.mount_device("SPDR-SA1", 'spdra')
self.assertEqual(response.status_code, requests.codes.created, test_utils.CODE_SHOULD_BE_201)
time.sleep(10)
print("tapi installation feature failed...")
test_utils.shutdown_process(cls.processes[0])
sys.exit(2)
- cls.processes = test_utils.start_sims(['xpdra', 'roadma', 'roadmc', 'xpdrc', 'spdrav2'])
+ cls.processes = test_utils.start_sims(['xpdra', 'roadma', 'roadmc', 'xpdrc', 'spdra'])
@classmethod
def tearDownClass(cls):
print("execution of {}".format(self.id().split(".")[-1]))
def test_00_connect_spdr_sa1(self):
- response = test_utils.mount_device("SPDR-SA1", 'spdrav2')
+ response = test_utils.mount_device("SPDR-SA1", 'spdra')
self.assertEqual(response.status_code, requests.codes.created, test_utils.CODE_SHOULD_BE_201)
time.sleep(10)
# TODO replace connect and disconnect timers with test_utils.wait_until_log_contains