Introduce ONOS cli interface adapted from TestON project.
This is made to work with cord tester through a wrapper: clicommon.py
Also change the cord-tester docker image builder to include dependencies for the ONOS cli interface.
diff --git a/src/test/cli/clicommon.py b/src/test/cli/clicommon.py
new file mode 100644
index 0000000..9110fdf
--- /dev/null
+++ b/src/test/cli/clicommon.py
@@ -0,0 +1,21 @@
+import os,sys
+from utilities import Utilities, utilities
+from scapy.all import *
+
+#log.setLevel('INFO')
+class MAIN(object):
+ def __init__(self):
+ global utilities
+ self.log = log
+ self.logdir = os.getenv('HOME')
+ self.logHeader = ''
+ self.utilities = utilities
+ self.TRUE = True
+ self.FALSE = False
+ self.EXPERIMENTAL_MODE = self.FALSE
+
+ def cleanup(self): pass
+
+ def exit(self): pass
+
+main = MAIN()