[ovs-dev] [PATCH 4/5] debian: Add a package for OVN central components.

Russell Bryant russell at ovn.org
Tue Dec 15 18:50:44 UTC 2015


On 12/15/2015 12:52 PM, Gurucharan Shetty wrote:
> Signed-off-by: Gurucharan Shetty <guru at ovn.org>
> ---
>  debian/.gitignore                       |    1 +
>  debian/automake.mk                      |    7 ++++
>  debian/control                          |   16 ++++++++++
>  debian/openvswitch-ovn-central.dirs     |    1 +
>  debian/openvswitch-ovn-central.init     |   53 +++++++++++++++++++++++++++++++
>  debian/openvswitch-ovn-central.install  |    3 ++
>  debian/openvswitch-ovn-central.manpages |    3 ++
>  debian/openvswitch-ovn-central.postinst |   49 ++++++++++++++++++++++++++++
>  debian/openvswitch-ovn-central.postrm   |   44 +++++++++++++++++++++++++
>  debian/openvswitch-ovn-central.template |    5 +++
>  debian/rules                            |    3 ++
>  11 files changed, 185 insertions(+)
>  create mode 100644 debian/openvswitch-ovn-central.dirs
>  create mode 100755 debian/openvswitch-ovn-central.init
>  create mode 100644 debian/openvswitch-ovn-central.install
>  create mode 100644 debian/openvswitch-ovn-central.manpages
>  create mode 100755 debian/openvswitch-ovn-central.postinst
>  create mode 100755 debian/openvswitch-ovn-central.postrm
>  create mode 100644 debian/openvswitch-ovn-central.template

I think it's worth looking at the differences between the fedora/rhel
and debian packaging here.  Any points where we diverge substantially
will cause some pain for someone.  For example, someone writing puppet
modules to deal with deploying this across distributions will have to
special case the different package names and service names.  (That
puppet work is on my short-term todo list for OpenStack deployment
integration, for example).

In the fedora/rhel case, we have a single openstack-ovn package that
includes ovn-controller and ovn-northd.  It all seemed small enough that
one package seemed fine, but I'd be OK splitting them, too, if there's
good reason.

The other big difference is the service name.  Here you're using
"ovn-central" where the systemd unit for fedora/rhel is just
"ovn-northd".  Why'd you go with "ovn-central" here?

-- 
Russell Bryant



More information about the dev mailing list