add fsfw connecting port
Change-Id: If2633838a80138b96930c27b84669aa3ef611556
diff --git a/TestON/tests/USECASE_SdnipFunction_fsfw/USECASE_SdnipFunction_fsfw.py b/TestON/tests/USECASE_SdnipFunction_fsfw/USECASE_SdnipFunction_fsfw.py
index e7c5f9d..9a2144e 100644
--- a/TestON/tests/USECASE_SdnipFunction_fsfw/USECASE_SdnipFunction_fsfw.py
+++ b/TestON/tests/USECASE_SdnipFunction_fsfw/USECASE_SdnipFunction_fsfw.py
@@ -539,12 +539,13 @@
onpass = "Starting switch succeeded!",
onfail = "Starting switch failed!" )
- result2 = main.Mininet.assignSwController( "sw32", fsfwIp )
+ result2 = main.Mininet.assignSwController( "sw32", fsfwIp,
+ port = fsfwPort )
utilities.assertEquals( \
expect = main.TRUE,
actual = result2,
- onpass = "Connect switch to ONOS succeeded!",
- onfail = "Connect switch to ONOS failed!" )
+ onpass = "Connect switch to FSFW succeeded!",
+ onfail = "Connect switch to FSFW failed!" )
if result1 and result2:
time.sleep( int( main.params[ 'timers' ][ 'RouteDelivery' ] ) )
@@ -638,10 +639,11 @@
utilities.assertEquals( expect = main.TRUE, actual = result1,
onpass = "Starting switch succeeded!",
onfail = "Starting switch failed!" )
- result2 = main.Mininet.assignSwController( "sw11", fsfwIp )
+ result2 = main.Mininet.assignSwController( "sw11", fsfwIp,
+ port = fsfwPort )
utilities.assertEquals( expect = main.TRUE, actual = result2,
- onpass = "Connect switch to ONOS succeeded!",
- onfail = "Connect switch to ONOS failed!" )
+ onpass = "Connect switch to FSFW succeeded!",
+ onfail = "Connect switch to FSFW failed!" )
if result1 and result2:
time.sleep( int( main.params[ 'timers' ][ 'RouteDelivery' ] ) )
main.Functions.checkRouteNum( main, 3 )