Running¶
To run LCP using python3
:
cd cb-manager
python3 main.py
python3 main.py¶
Local Control Plane: In each local agent, the control plane is responsible for programmability, i.e., changing the behaviour of the data plane at run-time.
usage: python3 main.py [-h] [--host HOST] [--port PORT] [--https] [--auth]
[--auth-header-prefix AUTH_HEADER_PREFIX]
[--auth-secret-key AUTH_SECRET_KEY]
[--polycube-host POLYCUBE_HOST]
[--polycube-port POLYCUBE_PORT]
[--polycube-timeout POLYCUBE_TIMEOUT] [--apm-enabled]
[--apm-server APM_SERVER] [--log-config LOG_CONFIG]
[--write-config] [--version]
- -h, --help¶
show this help message and exit
- --host <host>, -o <host>¶
Hostname/IP of the REST Server
- --port <port>, -p <port>¶
TCP Port of the REST Server
- --https, -q¶
Force to use HTTPS instead of HTTP
- --auth, -t¶
Enable JWT authentication
- --auth-header-prefix <auth_header_prefix>, -x <auth_header_prefix>¶
Prefix in the JWT authentication header
- --auth-secret-key <auth_secret_key>, -k <auth_secret_key>¶
Secret key for JWT authentication
- --polycube-host <polycube_host>, -s <polycube_host>¶
Hostname/IP of Polycube
- --polycube-port <polycube_port>, -c <polycube_port>¶
Port of Polycube
- --polycube-timeout <polycube_timeout>, -e <polycube_timeout>¶
Timeout for Polycube connection
- --apm-enabled, -n¶
Enable Elastic APM integration
- --apm-server <apm_server>, -m <apm_server>¶
Elastic APM hostname/IP:port
- --log-config <log_config>, -l <log_config>¶
Path of the log configuration file (e.g. log.yaml)
- --write-config, -w¶
Write options to config.ini
- --version, -v¶
Show version