Merge "Fix a bug in FlowCheck"
diff --git a/TestON/drivers/common/cli/onosclidriver.py b/TestON/drivers/common/cli/onosclidriver.py
index 00fe9bf..9f4785e 100755
--- a/TestON/drivers/common/cli/onosclidriver.py
+++ b/TestON/drivers/common/cli/onosclidriver.py
@@ -3381,7 +3381,7 @@
main.cleanup()
main.exit()
- def apps( self, jsonFormat=True ):
+ def apps( self, summary=False, active=False, jsonFormat=True ):
"""
Returns the output of the apps command for ONOS. This command lists
information about installed ONOS applications
@@ -3393,6 +3393,10 @@
# "features":"[onos-openflow]","state":"ACTIVE"}]
try:
cmdStr = "onos:apps"
+ if summary:
+ cmdStr += " -s"
+ if active:
+ cmdStr += " -a"
if jsonFormat:
cmdStr += " -j"
output = self.sendline( cmdStr )
diff --git a/TestON/install.sh b/TestON/install.sh
index 0327ca7..fc434bc 100755
--- a/TestON/install.sh
+++ b/TestON/install.sh
@@ -217,6 +217,7 @@
if [ $# -eq 0 ]
then
+ init
default
elif [ $1 == "--help" ]
then