Blackhole-route tests in the nightly run
Change-Id: I4f490e43fa515174d995aab017cbd68697f0b5b2
diff --git a/TestON/tests/USECASE/SegmentRouting/dependencies/Testcaselib.py b/TestON/tests/USECASE/SegmentRouting/dependencies/Testcaselib.py
index 5638949..45b01b7 100644
--- a/TestON/tests/USECASE/SegmentRouting/dependencies/Testcaselib.py
+++ b/TestON/tests/USECASE/SegmentRouting/dependencies/Testcaselib.py
@@ -525,7 +525,7 @@
"""
Adds an ONOS static route with the use route-add command.
"""
- routeResult = main.Cluster.active( 0 ).addStaticRoute(subnet, intf)
+ routeResult = main.Cluster.active( 0 ).routeAdd(subnet, intf)
@staticmethod
def checkGroupsForBuckets( main, deviceId, subnetDict, routingTable=30 ):
@@ -762,7 +762,7 @@
expectedResult = ping["vlans"].get(str(result["vlan"]))
if expectedResult is None:
expectedRresult = expect
- if expectedResult.lower() == "true":
+ elif expectedResult.lower() == "true":
expectedResult = main.TRUE
else:
expectedResult = main.FALSE