commit | e5edb9e1ba301ad5ad5643750d3ec6f3a0fbc55b | [log] [tgz] |
---|---|---|
author | kelvin-onlab <kelvin@onlab.us> | Fri Jun 12 09:38:47 2015 -0700 |
committer | kelvin-onlab <kelvin@onlab.us> | Fri Jun 12 09:38:47 2015 -0700 |
tree | 40cb2bb9428feae5478aee35bbc1ec30aadc4c29 | |
parent | 5c2df439e3177fbeff7820d5b46dc2bcc5af00ed [diff] |
Fixed else/if clause assignSwController
diff --git a/TestON/drivers/common/cli/emulator/mininetclidriver.py b/TestON/drivers/common/cli/emulator/mininetclidriver.py index 795bfa3..aa36725 100644 --- a/TestON/drivers/common/cli/emulator/mininetclidriver.py +++ b/TestON/drivers/common/cli/emulator/mininetclidriver.py
@@ -1174,6 +1174,9 @@ "number. Please specify correct " + "controller port" ) return main.FALSE + else: + main.log.error( self.name + ": Invalid ip address" ) + return main.FALSE if isinstance( sw, types.StringType ): command += sw + " "