update from onos1.0 to onos1.1
diff --git a/TestON/tests/SdnIpTest/SdnIpTest.params b/TestON/tests/SdnIpTest/SdnIpTest.params
index e47adf6..1fb33df 100755
--- a/TestON/tests/SdnIpTest/SdnIpTest.params
+++ b/TestON/tests/SdnIpTest/SdnIpTest.params
@@ -16,7 +16,7 @@
<GIT>
<autoPull>on</autoPull>
<branch1>master</branch1>
- <branch2>onos-1.0</branch2>
+ <branch2>onos-1.1</branch2>
</GIT>
<JSON>
diff --git a/TestON/tests/SdnIpTest/SdnIpTest.py b/TestON/tests/SdnIpTest/SdnIpTest.py
index ebbd57e..b95bfe0 100644
--- a/TestON/tests/SdnIpTest/SdnIpTest.py
+++ b/TestON/tests/SdnIpTest/SdnIpTest.py
@@ -19,6 +19,7 @@
onos-install -f
onos-wait-for-start
"""
+ import time
main.case( "Setting up test environment" )
cellName = main.params[ 'ENV' ][ 'cellName' ]
@@ -60,6 +61,7 @@
node=ONOS1Ip )
main.step( "Checking if ONOS is up yet" )
+ #time.sleep( 300 )
for i in range( 2 ):
onos1Isup = main.ONOSbench.isup( ONOS1Ip )
if onos1Isup:
@@ -199,15 +201,18 @@
getRoutesResult = main.ONOScli.routes( jsonFormat=True )
# parse routes from ONOS CLI
- if branchName == "master":
- allRoutesActual = \
+ #if branchName == "master":
+ # allRoutesActual = \
+ # main.QuaggaCliHost3.extractActualRoutesMaster( getRoutesResult )
+ #elif branchName == "onos-1.0":
+ # allRoutesActual = \
+ # main.QuaggaCliHost3.extractActualRoutesOneDotZero( getRoutesResult )
+ #else:
+ # main.log("ONOS is on wrong branch")
+ # exit
+
+ allRoutesActual = \
main.QuaggaCliHost3.extractActualRoutesMaster( getRoutesResult )
- elif branchName == "onos-1.0":
- allRoutesActual = \
- main.QuaggaCliHost3.extractActualRoutesOneDotZero( getRoutesResult )
- else:
- main.log("ONOS is on wrong branch")
- exit
allRoutesStrExpected = str( sorted( allRoutesExpected ) )
allRoutesStrActual = str( allRoutesActual ).replace( 'u', "" )