This section describes ONOS's Karaf-based CLI.
The ONOS CLI is an extension of Karaf's CLI. As a result, it is capable of leveraging features such as programmatic extensibility, the ability to load and unload bundles (among others), and SSH access.
ONOS supplies a set of its own commands.
help onos lists the available commands:
onos> help onos
onos:add-flows Installs a flow rules
onos:add-host-intent Installs host-to-host connectivity intent
onos:add-multi-to-single-intent Installs point-to-point connectivity intent
onos:add-node Adds a new controller cluster node
onos:add-optical-intent Installs optical connectivity intent
The commands can be invoked as either
<command> by itself. Some of these commands have further descriptions that can be seen with
onos> help onos:add-flows
Installs a flow rules
onos:add-flows [options] flowPerDevice numOfRuns
Number of flows to add per device
Number of iterations
Display this help message
Appendix A provides a listing of the currently available CLI commands.
Previous : Interacting with ONOS