- Added a new "CLI" mode
If you specify the new '--cli' option, ovs-ctl will drop into an
interactive shell after initializing OVS.
The purpose of the interactive shell is to allow easy execution of the
correct OVS binaries for the running configuration, especially if
non-standard DB file locations are used.
In CLI mode, you will receive the following prompt:
[config_name] ovs-ctl>
Where [config_name] is the name of the running OVS configuration you
specified.
The following commands are available from the command line:
# Execute ovs-vsctl with arguments:
> vsctl show
# Execute ovs-ofctl with arguments:
> ofctl show ofbr0
Arguments are passed as-is directly to the correct binaries.
Additional commands:
# exit ovs-ctl
> exit || quit
# exit ovs-ctl, and kill the currently running OVS instance
> kill
If you specify "ovs-ctl --cli --teardown", then the OVS instance
will be killed after exit, even with the "exit" or "quit" commands.
1 file changed