adding node ip option to onos-uninstall
diff --git a/TestON/drivers/common/cli/onosdriver.py b/TestON/drivers/common/cli/onosdriver.py
index 1fb180a..1f0b452 100644
--- a/TestON/drivers/common/cli/onosdriver.py
+++ b/TestON/drivers/common/cli/onosdriver.py
@@ -761,7 +761,7 @@
main.cleanup()
main.exit()
- def onos_uninstall(self):
+ def onos_uninstall(self, node_ip = ""):
'''
Calls the command: 'onos-uninstall'
Uninstalls ONOS from the designated cell machine, stopping
@@ -770,7 +770,7 @@
try:
self.handle.sendline("")
self.handle.expect("\$")
- self.handle.sendline("onos-uninstall")
+ self.handle.sendline("onos-uninstall "+str(node_ip))
self.handle.expect("\$")
main.log.info("ONOS cell machine was uninstalled")