Fixing some common typos throughout the repo
- main.True -> main.TRUE
- main.False -> main.FALSE
- main.log.step -> main.step
- main.log.case -> main.case
Change-Id: I522abc5876dee3db360649be8f068d7213c00b42
diff --git a/TestON/drivers/common/cli/onosclidriver.py b/TestON/drivers/common/cli/onosclidriver.py
index 1262b09..1ba9d0a 100755
--- a/TestON/drivers/common/cli/onosclidriver.py
+++ b/TestON/drivers/common/cli/onosclidriver.py
@@ -811,8 +811,8 @@
Dependencies: checkMasters() and summary()
- Returns main.True if the devices are balanced
- Returns main.False if the devices are unbalanced
+ Returns main.TRUE if the devices are balanced
+ Returns main.FALSE if the devices are unbalanced
Exits on Exception
Returns None on TypeError
"""
@@ -1837,7 +1837,7 @@
-p or --purge: Purge the intent from the store after removal
Returns:
- main.False on error and
+ main.FALSE on error and
cli output otherwise
"""
try:
diff --git a/TestON/drivers/common/cli/onosdriver.py b/TestON/drivers/common/cli/onosdriver.py
index dde65d3..3c8d484 100755
--- a/TestON/drivers/common/cli/onosdriver.py
+++ b/TestON/drivers/common/cli/onosdriver.py
@@ -1847,7 +1847,7 @@
deviceCount - number of switches to be assigned
'''
- main.log.step("Creating link graph configuration file." )
+ main.log.info("Creating link graph configuration file." )
linkGraphPath = self.home + "/tools/package/etc/linkGraph.cfg"
tempFile = "/tmp/linkGraph.cfg"
@@ -1923,13 +1923,13 @@
numPorts = number of ports per device. Defaults to 10 both in this function and in ONOS. Optional arg
'''
- main.log.step("Configuring Null Device Provider" )
+ main.log.info("Configuring Null Device Provider" )
clusterCount = len(ONOSIpList)
try:
if type(deviceCount) is int or type(deviceCount) is str:
- main.log.step("Creating device distribution")
+ main.log.info("Creating device distribution")
deviceCount = int(deviceCount)
switchList = [0]*(clusterCount+1)
baselineSwitchCount = deviceCount/clusterCount