Skip to content

andymcc/opencenter-client

 
 

Repository files navigation

Using r2 cli

Show all nodes:

r2 node show

Show details about a particular node:

r2 node show <node id>

Show all adventures:

r2 adventure show

Show details about a particular adventure:

r2 adventure show <adventure id>

Show adventures a node can execute:

r2 node show <node id> adventures

Execute an adventure on a particular node:

r2 adventure execute <adventure id> --node=<node id>

Show all tasks:

r2 task show

Show details about a particular task:

r2 task show <task id>

Override opencenter server endpoint:

OPENCENTER_ENDPOINT=http://<opencenter server>:8080 r2 node show

or:

r2 node show --endpoint=http://<opencenter server>:8080

Using opencentercli

Get help:

opencentercli --help
opencentercli node --help
opencentercli node create --help

Show all nodes:

opencentercli node list

Show details about a particular node:

opencentercli node show <node id> [ --property x.y.z ]

Move a node to a new container

opencentercli node move node_id_or_name container_id_or_name

Show all adventures:

opencentercli adventure list

Show details about a particular adventure:

opencentercli adventure show <adventure id>

Show adventures a node can execute:

opencentrecli node adventure list <node id>

Execute an adventure on a particular node:

opencentercli adventure execute <node id> <adventure id>

Show all tasks:

opencentercli task list

Show details about a particular task:

opencentercli task show <task id>

Show logs for a task

opencentercli task logs <task id>

List items that match a filter

opencentercli node filter 'id=6'

Override opencenter server endpoint:

OPENCENTER_ENDPOINT=http://<opencenter server>:8080 opencentercli node list

Or:

opencentercli --endpoint "http://<opencenter server>:8080"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 93.1%
  • Shell 6.9%