Run onos-secure-ssh for ssh-based onos cli login
Change-Id: I073efa00b0e6c790f9b73c7da89c0595b1949555
diff --git a/TestON/tests/FUNC/FUNCbgpls/FUNCbgpls.py b/TestON/tests/FUNC/FUNCbgpls/FUNCbgpls.py
index 4780ff9..282e623 100755
--- a/TestON/tests/FUNC/FUNCbgpls/FUNCbgpls.py
+++ b/TestON/tests/FUNC/FUNCbgpls/FUNCbgpls.py
@@ -142,6 +142,13 @@
utilities.assert_equals( expect=main.TRUE, actual=onos1Isup,
onpass="ONOS startup successful",
onfail="ONOS startup failed" )
+
+ main.step( "Set up ONOS secure SSH" )
+ secureSshResult = main.ONOSbench.onosSecureSSH( node=main.nodes[0].ip_address )
+ utilities.assert_equals( expect=main.TRUE, actual=secureSshResult,
+ onpass="Test step PASS",
+ onfail="Test step FAIL" )
+
main.step( "Starting ONOS CLI sessions" )
print main.nodes[0].ip_address
cliResults = main.ONOScli1.startOnosCli( main.nodes[0].ip_address )
@@ -590,4 +597,4 @@
"EXCEPT"] )
utilities.assert_equals( expect= 0, actual=errorLog,
onpass="No Exception or Error occured",
- onfail="Exception or Error occured" )
\ No newline at end of file
+ onfail="Exception or Error occured" )