update driver to support both onos1.0 and master branches
diff --git a/TestON/drivers/common/cli/quaggaclidriver.py b/TestON/drivers/common/cli/quaggaclidriver.py
index 8bd4754..87de64d 100644
--- a/TestON/drivers/common/cli/quaggaclidriver.py
+++ b/TestON/drivers/common/cli/quaggaclidriver.py
@@ -179,7 +179,7 @@
return intents
# This method extracts all actual routes from ONOS CLI
- def extractActualRoutes( self, getRoutesResult ):
+ def extractActualRoutesOneDotZero( self, getRoutesResult ):
routesJsonObj = json.loads( getRoutesResult )
allRoutesActual = []
@@ -190,7 +190,8 @@
route[ 'prefix' ] + "/" + route[ 'nextHop' ] )
return sorted( allRoutesActual )
- def extractActualRoutesNew( self, getRoutesResult ):
+
+ def extractActualRoutesMaster( self, getRoutesResult ):
routesJsonObj = json.loads( getRoutesResult )
allRoutesActual = []