https://jira.opencord.org/browse/VOL-137
Change-Id: I3c62f05e10a036e402efc92a8710606df0b505de
diff --git a/cli/main.py b/cli/main.py
index b3d012d..3f3157e 100755
--- a/cli/main.py
+++ b/cli/main.py
@@ -273,6 +273,9 @@
kw['mac_address'] = opts.mac_address
else:
raise Exception('Either IP address or Mac Address is needed')
+ # Pass any extra arguments past '--' to the device as custom arguments
+ kw['extra_args'] = line
+
device = voltha_pb2.Device(**kw)
device = stub.CreateDevice(device)
self.poutput('success (device id = {})'.format(device.id))