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] [--auth] [--https]
[--hb-timeout HB_TIMEOUT] [--hb-period HB_PERIOD]
[--hb-auth-expiration HB_AUTH_EXPIRATION]
[--apm-enabled] [--apm-server APM_SERVER]
[--es-endpoint ES_ENDPOINT] [--es-timeout ES_TIMEOUT]
[--es-retry_period ES_RETRY_PERIOD]
[--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,-t¶ Enable HTTP authentication
-
--https,-q¶ Force to use HTTPS instead of HTTP
-
--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
-
--hb-auth-expiration<hb_auth_expiration>,-x<hb_auth_expiration>¶ Period (with unit, e.g.: 1min) for auth expiration used in the heartbeat with the LCP
-
--apm-enabled,-n¶ Elastic APM hostname/IP:port
-
--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
-
--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