Running

To run CB-Manager using python3:

cd cb-manager
python3 main.py

python3 main.py

Context Broker Manager: Get and update collected data of the service chain with topology information.

usage: python3 main.py [-h] [--host HOST] [--port PORT] [--https] [--auth]
                       [--auth-header-prefix AUTH_HEADER_PREFIX]
                       [--auth-secret-key AUTH_SECRET_KEY]
                       [--hb-timeout HB_TIMEOUT] [--hb-period HB_PERIOD]
                       [--apm-enabled] [--apm-server APM_SERVER]
                       [--es-endpoint ES_ENDPOINT] [--es-timeout ES_TIMEOUT]
                       [--es-retry_period ES_RETRY_PERIOD]
                       [--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

--hb-timeout <hb_timeout>, -b <hb_timeout>

Timeout (with unit, e.g.: 10s) for heartbeat with LCP

--hb-period <hb_period>, -r <hb_period>

Period (with unit, e.g.: 1min) for the heartbeat with the LCP

--apm-enabled, -n

Enable Elastic APM integration

--apm-server <apm_server>, -m <apm_server>

Elastic APM hostname/IP:port

--es-endpoint <es_endpoint>, -e <es_endpoint>

Elasticsearch server hostname/IP:port

--es-timeout <es_timeout>, -s <es_timeout>

Timeout (with unit, e.g.: 10s) for the connection to Elasticsearch

--es-retry_period <es_retry_period>, -y <es_retry_period>

Period (with unit, e.g.: 1min) to retry the connection to Elasticsearch

--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