Voltha container mode support in cord-tester.
Its disabled till voltha rest interface is updated from chameleon as chameleon is broken in container mode
Change-Id: I38044e02350e5026c767a0d6c329aa807590fa37
diff --git a/src/test/utils/TestManifest.py b/src/test/utils/TestManifest.py
index 8829340..5b4cb0a 100644
--- a/src/test/utils/TestManifest.py
+++ b/src/test/utils/TestManifest.py
@@ -69,6 +69,7 @@
self.voltha_loc = args.voltha_loc
self.voltha_intf = args.voltha_intf
self.voltha_enable = args.voltha_enable
+ self.voltha_container_mode = args.voltha_container_mode
self.expose_port = args.expose_port
else:
with open(self.manifest, 'r') as fd:
@@ -102,4 +103,7 @@
if self.voltha_loc:
voltha_enable = True
self.voltha_enable = data.get('voltha_enable', voltha_enable)
+ self.voltha_container_mode = data.get('voltha_container_mode', False)
self.expose_port = data.get('expose_port', False)
+ if self.voltha_enable and self.voltha_container_mode:
+ self.expose_port = True