[ovs-dev] [RFC: fedora ovn packaging 0/5] RFC fedora ovn packaging

Andy Zhou azhou at ovn.org
Thu Dec 15 13:35:08 UTC 2016


The goal of this series is to make it easier to set up OVN in
a larger setup, i.e. not having all services running on a single host.

Currently ovn-central package starts and stop all three services
northbound-db, northd and southbound-db on the same host. While it
is convenient for a single host setup, it is hard to test scale
and HA, where OVN services may have to be installed on different hosts.

This patch series splits the ovn-central package into three packages
ovn-northbound-database, ovn-southbound-database and ovn-northd.
Also, Each one provides the corresponding systemd services.

Another drawback of current packaging is that ovsdb-server is part
of vswitchd package. If one wants to run ovn-northbound-database,
he needs to install and start vswitchd service as well. This is
unnecessary and may lead to confusions. This patch series separate
ovsdb-server into its own package.

ovn-central package is retained to be friendly to single host
deployments. However ovn-central service is marked as exclusive
with the other three services mentioned above.  (I am not sure
if this is necessary, and may more confusing than its worth)

Andy Zhou (5):
  rpms: Seperate ovsdb-server into its own package
  rpms: Style fixes
  rhel: Rename nrothd to central service
  ovn-ctl: Factor out start/stop ovnsb/ovnnb
  rpms: Adding three additional OVN packages

 ovn/utilities/ovn-ctl                              |  55 +++++++-
 ovn/utilities/ovn-ctl.8.xml                        |   4 +
 rhel/automake.mk                                   |   3 +
 rhel/openvswitch-fedora.spec.in                    | 141 +++++++++++++++------
 rhel/usr_lib_systemd_system_ovn-central.service    |  34 +++++
 ...sr_lib_systemd_system_ovn-northbound-db.service |  16 +++
 rhel/usr_lib_systemd_system_ovn-northd.service     |  29 ++++-
 ...sr_lib_systemd_system_ovn-southbound-db.service |  16 +++
 8 files changed, 251 insertions(+), 47 deletions(-)
 create mode 100644 rhel/usr_lib_systemd_system_ovn-central.service
 create mode 100644 rhel/usr_lib_systemd_system_ovn-northbound-db.service
 create mode 100644 rhel/usr_lib_systemd_system_ovn-southbound-db.service

-- 
1.8.3.1



More information about the dev mailing list