commit | b7ea141cbb566c89c42cee71d3fadf1df6138828 | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.com> | Thu Dec 13 09:05:47 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Dec 13 09:45:16 2018 +0100 |
tree | 3abbecf006256974c8bec816f786fd2573261db6 | |
parent | dc12c2e56cd99150e637ad0f5e1ed3578cbab171 [diff] |
MEDIUM: cli: handle CLI level from the master CLI Handle the CLI level in the master CLI. In order to do this, the master CLI stores the level in the stream. Each command are prefixed by a "user" or "operator" command before they are forwarded to the target CLI. The level can be configured in the haproxy program arguments with the level keyword: -S /tmp/sock,level,admin -S /tmp/sock2,level,user.