commit | ef1095020d79d05de5085bd2f25e637f955d3d83 | [log] [tgz] |
---|---|---|
author | Chiyu Cheng <chiyu@onlab.us> | Mon Nov 21 15:51:38 2016 -0800 |
committer | Chiyu Cheng <chiyu@onlab.us> | Mon Nov 21 15:51:38 2016 -0800 |
tree | 789633f93681fb73f19b04ebd3593ad200a14edd | |
parent | fa4ca6b0d763c770db86b537b3b46c8a89899b96 [diff] [blame] |
Run onos-secure-ssh for ssh-based onos cli login Change-Id: I073efa00b0e6c790f9b73c7da89c0595b1949555
diff --git a/TestON/tests/SCPF/SCPFintentInstallWithdrawLat/SCPFintentInstallWithdrawLat.py b/TestON/tests/SCPF/SCPFintentInstallWithdrawLat/SCPFintentInstallWithdrawLat.py index 0b8a465..1c04fd1 100644 --- a/TestON/tests/SCPF/SCPFintentInstallWithdrawLat/SCPFintentInstallWithdrawLat.py +++ b/TestON/tests/SCPF/SCPFintentInstallWithdrawLat/SCPFintentInstallWithdrawLat.py
@@ -173,6 +173,15 @@ onpass="Test step PASS", onfail="Test step FAIL") statusResult = (statusResult and onos_status) + + main.step( "Set up ONOS secure SSH" ) + secureSshResult = main.TRUE + for i in range( int( main.numCtrls ) ): + secureSshResult = secureSshResult and main.ONOSbench.onosSecureSSH( node=main.ONOSip[i] ) + utilities.assert_equals( expect=main.TRUE, actual=secureSshResult, + onpass="Test step PASS", + onfail="Test step FAIL" ) + time.sleep(2) main.step("Start ONOS CLI on all nodes") cliResult = main.TRUE