From f91952005860e093968c952c3acd0131803e5c92 Mon Sep 17 00:00:00 2001 From: Kevin Date: Tue, 5 Jan 2021 15:28:50 -0800 Subject: [PATCH] Setting the args in distributed_switch.py to required --- daemon/examples/grpc/distributed_switch.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/daemon/examples/grpc/distributed_switch.py b/daemon/examples/grpc/distributed_switch.py index 0d781c19..e8ddfb4c 100644 --- a/daemon/examples/grpc/distributed_switch.py +++ b/daemon/examples/grpc/distributed_switch.py @@ -74,10 +74,14 @@ if __name__ == "__main__": parser.add_argument( "-a", "--address", + required=True, help="local address that distributed servers will use for gre tunneling", ) parser.add_argument( - "-s", "--server", help="distributed server to use for creating nodes" + "-s", + "--server", + required=True, + help="distributed server to use for creating nodes", ) args = parser.parse_args() main(args)