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]
                       [--auth-max-ttl AUTH_MAX_TTL]
                       [--polycube-host POLYCUBE_HOST]
                       [--polycube-port POLYCUBE_PORT]
                       [--polycube-timeout POLYCUBE_TIMEOUT]
                       [--apm-server APM_SERVER] [--dev-username DEV_USERNAME]
                       [--dev-password DEV_PASSWORD]
                       [--log-level {CRITICAL,ERROR,WARNING,INFO,DEBUG,NOTSET,NOTICE,SPAM,SUCCESS,VERBOSE}]
                       [--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

--auth-max-ttl <auth_max_ttl>, -t <auth_max_ttl>

Max authentication db TTL

--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-server <apm_server>, -m <apm_server>

Elastic APM hostname/IP:port

--dev-username <dev_username>, -u <dev_username>

Authorized username

--dev-password <dev_password>, -a <dev_password>

Authorized password

--log-level {CRITICAL,ERROR,WARNING,INFO,DEBUG,NOTSET,NOTICE,SPAM,SUCCESS,VERBOSE}, -l {CRITICAL,ERROR,WARNING,INFO,DEBUG,NOTSET,NOTICE,SPAM,SUCCESS,VERBOSE}

Log level

--write-config, -w

Write options to config.ini

--version, -v

Show version