Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • 'option' implies that the parameters are optional, unless specified otherwise
  • <node-ip> is an IP address or hostname of a cell machine. This parameter is usually optional, unless specified. When omitted, the command will default to is the value set in $OCI.
  • 'notes' denotes remarks regarding the command, including bugs. 

Please refer to [development environment setup] for information about cells, OC variables, and other conventions used here.

 

Table of Contents
maxLevel3

Installation/configuration 

onos-install [-f] [-n] [<node-ip>]

...

    • This command is part of onos-install, but is provided separately should reconfiguration be needed.

Remote CLI Monitoring

onos [-w] [<node-ip> [<onos-cli-command>]]

...

Executes the specified ONOS CLI commands using the Karaf console batch mode. Default commands are summary,intents,flows,hosts.


Process Management

 

onos-service [<node-ip | --cell> [stop|start|restart|status]]

...

Allows remote management of the ONOS upstart daemon on the designated cell machine at <node-ip> or all cell machines.

...

Remotely copies the bundle with matching name to all of the cell’s machines and triggers its dynamic update without restarting Apache Karaf container. Also available under short-cut pub, e.g. pub cli.


Cell Machine Management

onos-push-keys [<node-ip>]

...

    • This is intended primarily for troubleshooting and diagnostics. Most of the testing should be done directly from the developer’s machine or test driver machine.

 

Miscellaneous

onos-start-network [<mininet-topo>]

...