ocpiadmin
Root callback: configure logging and the operating directory.
Args: ctx (typer.Context): Click context for the invoked command. log_level (int): Logging level (OCPI_LOG_LEVEL default). color (bool): Allow rich coloring of logs. quiet (bool): Disable logging entirely. error (bool): Force the error log level. warn (bool): Force the warning log level. verbose (bool): Force the info log level. debug (bool): Force the debug log level. directory (Path): Directory to execute the command within.
Returns: typer.Context: The configured context.
Usage:
$ ocpiadmin [OPTIONS] COMMAND [ARGS]...
Options:
--log-level INTEGER RANGE: Set the logging level. Uses OCPI_LOG_LEVEL env var as default. [default: 4; 0<=x<=20]--color / --no-color: Allow rich coloring of logs. [default: color]--quiet: Set log level to 0.--error: Set log level to 1.--warn: Set log level to 4.-v, --verbose: Set log level to 8.--debug: Set log level to 10.-d, --directory PATH: Specify directory to execute command within.--install-completion: Install completion for the current shell.--show-completion: Show completion for the current shell, to copy it or customize the installation.--help: Show this message and exit.
Commands:
install: Install an OpenCPI platform, target, or…deploy: Deploy an OpenCPI platform or target
ocpiadmin install
Install an OpenCPI platform, target, or project
Usage:
$ ocpiadmin install [OPTIONS] COMMAND [ARGS]...
Options:
--help: Show this message and exit.
Commands:
target: Prepare the OpenCPI installation for using…platform: Prepare the OpenCPI installation for using…project: Install a project (OSP or comp) from its…
ocpiadmin install target
Prepare the OpenCPI installation for using the specified HDL target.
Usage:
$ ocpiadmin install target [OPTIONS] HDL Target
Arguments:
HDL Target: [required]
Options:
-w, --workers: Whether to build workers for the installation target.-t, --tests: Whether to build unit tests for the installation target.-r, --artifacts-only: Whether to clean intermediate build files.-j, --n-jobs INTEGER: Max number of parallel builds [default: 1]-p, --package-id NAME: OSP package ID to install (completes from projects/osps).-u, --project-url TEXT: URL to the platform/target’s project.-g, --git-revision TEXT: Git revision to checkout before installation.--report-format [junit]: Format of report(s). [default: junit]--report-path FILE: Path of file to write report(s) to.--builder [make]: Specify the Builder to use to build the asset(s). [default: make]--help: Show this message and exit.
ocpiadmin install platform
Prepare the OpenCPI installation for using the specified RCC or HDL platform.
Usage:
$ ocpiadmin install platform [OPTIONS] platform
Arguments:
platform: [required]
Options:
-w, --workers: Whether to build workers for the installation target.-t, --tests: Whether to build unit tests for the installation target.-a, --assemblies: Whether to build assemblies for the installation target.-r, --artifacts-only: Whether to clean intermediate build files.-s, --streamline-build: Whether to skip checkpoints when building assemblies.-o, --optimize: For RCC platforms only. Install platform and workers with optimization enabled.-j, --n-jobs INTEGER: Max number of parallel builds [default: 1]-p, --package-id NAME: OSP package ID to install (completes from projects/osps).-u, --project-url TEXT: URL to the platform/target’s project.-g, --git-revision TEXT: Git revision to checkout before installation.--report-format [junit]: Format of report(s). [default: junit]--report-path FILE: Path of file to write report(s) to.--builder [make]: Specify the Builder to use to build the asset(s). [default: make]--help: Show this message and exit.
ocpiadmin install project
Install a project (OSP or comp) from its git source, without a platform install.
Usage:
$ ocpiadmin install project [OPTIONS] project
Arguments:
project: Package ID of project to install. [required]
Options:
-u, --project-url TEXT: URL to the platform/target’s project.-g, --git-revision TEXT: Git revision to checkout before installation.--report-format [junit]: Format of report(s). [default: junit]--report-path FILE: Path of file to write report(s) to.--builder [make]: Specify the Builder to use to build the asset(s). [default: make]--help: Show this message and exit.
ocpiadmin deploy
Deploy an OpenCPI platform or target
Usage:
$ ocpiadmin deploy [OPTIONS] COMMAND [ARGS]...
Options:
--help: Show this message and exit.
Commands:
platform: Create a bootable media directory tree for…
ocpiadmin deploy platform
Create a bootable media directory tree for the named RCC platform on the named HDL platform.
The specified platforms must have been previously built.
Usage:
$ ocpiadmin deploy platform [OPTIONS] rcc platform hdl platform
Arguments:
rcc platform: RCC platform to deploy. [required]hdl platform: HDL platform to deploy. [required]
Options:
--help: Show this message and exit.