Cloud Management Commands¶
pyrrowhead services¶
$ pyrrowhead services --help
Usage: pyrrowhead services [OPTIONS] COMMAND [ARGS]...
Service related commands. See list for further information.
Options:
--help Show this message and exit.
Commands:
add Add service to service registry
inspect Show information about service given by ID.
list List services registered in the active local cloud, sorted by ID.
remove Remove service from service registry by ID.
pyrrowhead services list¶
$ pyrrowhead services list --help
Usage: pyrrowhead services list [OPTIONS]
List services registered in the active local cloud, sorted by ID.
Services shown can be filtered by service definition or system. More
information about the services can be seen with the -usc flags. The raw json
data is accessed by the -r flag.
Options:
--service-definition SERVICE_DEFINITION
Filter services by SERVICE_DEFINITION
--system-name SYSTEM_NAME Filter services by SYSTEM_NAME
--system-id SYSTEM_ID Filter services by SYSTEM_ID
-u, --show-service-uri Show service uri
-c, --show-access-policy Show access policy
-s, --show-provider Show provider system
-r, --raw-output Show information as json formatted string,
use together with --raw-indent option to
pretty print.
--raw-indent NUM_SPACES Print json with NUM_SPACES spaces of
indentation.
--help Show this message and exit.
pyrrowhead services inspect¶
$ pyrrowhead services inspect --help
Usage: pyrrowhead services inspect [OPTIONS] SERVICE_ID
Show information about service given by ID.
Arguments:
SERVICE_ID ID of service to inspect. [required]
Options:
-r, --raw-output Show information as json formatted string, use
together with --raw-indent option to pretty print.
--raw-indent NUM_SPACES Print json with NUM_SPACES spaces of indentation.
--help Show this message and exit.
pyrrowhead services add¶
$ pyrrowhead services add --help
Usage: pyrrowhead services add [OPTIONS] SERVICE_DEFINITION SERVICE_URI
SERVICE_INTERFACE
Add service to service registry
Arguments:
SERVICE_DEFINITION [required]
SERVICE_URI [required]
SERVICE_INTERFACE Must be of format <PROTOCOL>-<SECURITY>-<PAYLOAD>.
[required]
Options:
--access-policy ACCESS_POLICY Must be one of three values: "NOT_SECURE",
"CERTIFICATE", or "TOKEN" [default:
AccessPolicy.CERTIFICATE]
--system SYSTEM_NAME ADDRESS PORT
Provider system definition. [required]
--system-id INTEGER Not yet supported
--help Show this message and exit.
pyrrowhead services remove¶
$ pyrrowhead services remove --help
Usage: pyrrowhead services remove [OPTIONS] SERVICE_ID
Remove service from service registry by ID.
Arguments:
SERVICE_ID Id of service to remove [required]
Options:
--help Show this message and exit.
pyrrowhead orchestration¶
$ pyrrowhead orchestration --help
Usage: pyrrowhead orchestration [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
add
list
remove
pyrrowhead orchestration list¶
$ pyrrowhead orchestration list --help
Usage: pyrrowhead orchestration list [OPTIONS]
Options:
--service-definition SERVICE_DEFINITION
--provider-id INTEGER
--provider-name TEXT
--consumer-id INTEGER
--consumer-name TEXT
--sort-by [id|priority|consumer|provider|service]
[default: id]
-r, --raw-output Show information as json formatted string,
use together with --raw-indent option to
pretty print.
--raw-indent NUM_SPACES Print json with NUM_SPACES spaces of
indentation.
--help Show this message and exit.
pyrrowhead orchestration add¶
$ pyrrowhead orchestration add --help
Usage: pyrrowhead orchestration add [OPTIONS] SERVICE_DEFINITION
SERVICE_INTERFACE
Arguments:
SERVICE_DEFINITION [required]
SERVICE_INTERFACE Must be of format <PROTOCOL>-<SECURITY>-<PAYLOAD>.
[required]
Options:
--provider SYSTEM_NAME ADDRESS PORT
Provider system definition. [required]
--consumer-id CONSUMER_ID Incompatible with CONSUMER option
--consumer SYSTEM_NAME ADDRESS PORT
Consumer system definition, incompatible
with CONSUMER_ID option.
--priority INTEGER [default: 1]
-A, --add-authentication Add authentication rule in together with the
authentication rule
--help Show this message and exit.
pyrrowhead orchestration remove¶
$ pyrrowhead orchestration remove --help
Usage: pyrrowhead orchestration remove [OPTIONS] ORCHESTRATION_ID
Arguments:
ORCHESTRATION_ID [required]
Options:
--help Show this message and exit.
pyrrowhead systems¶
$ pyrrowhead systems --help
Usage: pyrrowhead systems [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
add
list List systems registered in the local cloud
remove Remove system by id.
pyrrowhead systems list¶
$ pyrrowhead systems list --help
Usage: pyrrowhead systems list [OPTIONS]
List systems registered in the local cloud
Options:
-r, --raw-output
--raw-indent INTEGER
--help Show this message and exit.
pyrrowhead systems add¶
$ pyrrowhead systems add --help
Usage: pyrrowhead systems add [OPTIONS] SYSTEM_NAME ADDRESS PORT
Arguments:
SYSTEM_NAME [required]
ADDRESS [required]
PORT [required]
Options:
--certificate-file PATH
--help Show this message and exit.
pyrrowhead systems remove¶
$ pyrrowhead systems remove --help
Usage: pyrrowhead systems remove [OPTIONS] SYSTEM_ID
Remove system by id.
Arguments:
SYSTEM_ID [required]
Options:
--help Show this message and exit.