https://jira.opencord.org/browse/CORD-824
Support for connecting multiple controllers in voltha provided.
Addressed review comments patch 7
Change-Id: I2d2375c7754014743c305a0f3841debe5eb3e795
diff --git a/ofagent/main.py b/ofagent/main.py
index f2e8122..4811380 100755
--- a/ofagent/main.py
+++ b/ofagent/main.py
@@ -60,10 +60,10 @@
default=defs['consul'],
help=_help)
- _help = '<hostname>:<port> to openflow controller (default: %s)' % \
+ _help = '<hostname1>:<port1> <hostname2>:<port2> <hostname3>:<port3> ... <hostnamen>:<portn> to openflow controller (default: %s)' % \
defs['controller']
parser.add_argument(
- '-O', '--controller', dest='controller', action='store',
+ '-O', '--controller',nargs = '*', dest='controller', action='store',
default=defs['controller'],
help=_help)