[ovs-dev] [PATCH ovn 1/2] Add ovn-ctl to assist with OVN daemon lifecycle.

Ben Pfaff blp at nicira.com
Fri May 29 20:47:39 UTC 2015


On Fri, Apr 24, 2015 at 01:06:05PM -0400, Russell Bryant wrote:
> This patch introduces ovn-ctl, which is similar to ovs-ctl.  I opted
> for a new script as everything in OVN so far is nicely isolated, so a
> new script seemed to make the most sense.
> 
> ovn-ctl supports a few different scenarios.  If you'd like to run
> ovn-controller on a host already running ovs:
> 
>     # ovn-ctl start_controller
> 
> If you'd like to run ovn-northd and ovsdb-server on a management host
> that won't be running ovs and ovn-controller:
> 
>     # ovn-ctl start_northd
> 
> ovn-ctl also supports running everything on the same host.  This would
> be common in a test environment with a single host or small set of
> hosts.  In general, that would look like:
> 
>     # ovn-ctl create_ovn_dbs
>     # ovs-ctl start --extra-dbs="ovnnb.db ovnsb.db"
>     # ovn-ctl start_northd --no-ovsdb-server
>     # ovn-ctl start_controller
> 
> Signed-off-by: Russell Bryant <rbryant at redhat.com>

The rest of the OVS utilities use hyphens instead of underscores in
(sub)command names.  Do you think we could do that for ovn-ctl also?

I think we should make preheating mandatory ;-)



More information about the dev mailing list