[SEBA-836] Sending DHCP request in batches so that the DHCP Server replies to all of them

Change-Id: I1401db10ae298340a7dbbe897de66b7bdd47df7e
diff --git a/internal/common/options.go b/internal/common/options.go
index eee91cc..af51fed 100644
--- a/internal/common/options.go
+++ b/internal/common/options.go
@@ -30,6 +30,7 @@
 	ProfileCpu   *string
 	LogLevel     string
 	LogCaller    bool
+	Delay        int
 }
 
 type BBRCliOptions struct {
@@ -58,6 +59,8 @@
 	logLevel := flag.String("logLevel", "debug", "Set the log level (trace, debug, info, warn, error)")
 	logCaller := flag.Bool("logCaller", false, "Whether to print the caller filename or not")
 
+	dhcpDelay := flag.Int("dhcp_delay", 200, "The delay between ONU DISCOVERY batches in milliseconds (1 ONU per each PON PORT at a time")
+
 	flag.Parse()
 
 	o := new(BBSimCliOptions)
@@ -73,6 +76,7 @@
 	o.LogCaller = *logCaller
 	o.Auth = *auth
 	o.Dhcp = *dhcp
+	o.Delay = *dhcpDelay
 
 	return o
 }