Commit a248940a authored by Francis Dupont's avatar Francis Dupont

[5361] Implemented --path argument for kea-shell

parent 6931fb4b
......@@ -60,6 +60,9 @@ def shell_body():
parser.add_argument('--port', type=int, default=8000,
help='TCP port of the CA to connect to '
'(default: 8000)')
parser.add_argument('--path', type=str, default='',
help='Path of the URL to connect to '
'(default: "")')
parser.add_argument('--timeout', type=int, default='10',
help='Timeout (in seconds) when attempting to '
'connect to CA (default: 10)')
......@@ -84,6 +87,7 @@ def shell_body():
params.service = cmd_args.service
params.http_host =
params.http_port = cmd_args.port
params.path += cmd_args.path
params.timeout = cmd_args.timeout
params.version = VERSION
......@@ -52,6 +52,7 @@
......@@ -109,6 +110,15 @@
Specifies the path in the URL to connect to. If not specified,
empty path is used. As Control Agent listens at the empty path
this parameter is useful only with a reverse proxy.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment