[SEBA-817][SEBA-821]
Adding c/s tags and hw address in the onu struct
DHCP State machine completed
Cleaned up logs
Change-Id: Iadb1d3967befe1c402e302a552b67faa2701f5c5
diff --git a/Makefile b/Makefile
index 04f7f15..b2595bd 100644
--- a/Makefile
+++ b/Makefile
@@ -20,6 +20,7 @@
DOCKER_TAG ?= ${VERSION}
DOCKER_REPOSITORY ?= voltha/
DOCKER_REGISTRY ?= ""
+DOCKER_RUN_ARGS ?= ""
# Public targets
@@ -43,6 +44,9 @@
docker-push: # @HELP Push a docker container to a registry
docker push ${DOCKER_REGISTRY}${DOCKER_REPOSITORY}bbsim:${DOCKER_TAG}
+docker-run: # @HELP Run the container locally (intended for development purposes: DOCKER_RUN_ARGS="-pon 2 -onu 2" make docker-run)
+ docker run -p 50070:50070 -p 50060:50060 --privileged --rm --name bbsim ${DOCKER_REGISTRY}${DOCKER_REPOSITORY}bbsim:${DOCKER_TAG} /app/bbsim ${DOCKER_RUN_ARGS}
+
help: # @HELP Print the command options
@echo
@echo "\033[0;31m BroadBand Simulator (BBSim) \033[0m"