Command-Line Interface
Example Usage
$ ska-bf-switch-exporter \
--sde-install-path /opt/intel/bf-sde/install/ \
--rpc-host 192.168.0.1
Command-Line Options
$ ska-bf-switch-exporter --help
Usage: ska-bf-switch-exporter [OPTIONS]
Run the SKA P4 Switch Prometheus Exporter.
Options:
--version Show the version and exit.
--sde-install-path DIRECTORY Path to the Barefoot SDE installation
directory [required]
--rpc-host TEXT Hostname or IP address of the Barefoot RPC
server [required]
--rpc-port INTEGER Port number of the Barefoot RPC server
--web-port INTEGER Port number on which to expose metrics
--log-level [debug|info|warning|error]
Logging level used to configure the Python
logger
--help Show this message and exit.