fedora.spec: Create openvswitch-ovn package.
authorRussell Bryant <rbryant@redhat.com>
Fri, 12 Jun 2015 16:51:24 +0000 (12:51 -0400)
committerBen Pfaff <blp@nicira.com>
Mon, 15 Jun 2015 21:21:58 +0000 (14:21 -0700)
commitc05ea879009f8a0be3eb21581b7cadb500aebfcd
treed30f88fb641100d50db09b62cd2697d82628a9ae
parent43d3e694152cb34f65b941a97b3741dd4d42462d
fedora.spec: Create openvswitch-ovn package.

This patch creates a new subpackage for OVN, openvswitch-ovn.  It also
installs systemd unit files for ovn-controller and ovn-northd.

If you want to run ovn-controller:

    # systemctl start ovn-controller

If you want to run ovn-northd:

    # systemctl start ovn-northd

Both systemd units are currently set to depend on openvswitch.  If
further ovsdb initialization is required for the OVN databases before
ovn-northd can start, that will be handled automatically by ovn-ctl
when you start the ovn-northd service.

This currently assumes that ovn-northd runs on the same host as
ovsdb-server that is hosting the OVN databases.  That seems like a
reasonable assumption in the current architecture and can be evolved
later when needed.

Signed-off-by: Russell Bryant <rbryant@redhat.com>
CC: Flavio Leitner <fbl@redhat.com>
CC: Ben Pfaff <blp@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
rhel/automake.mk
rhel/openvswitch-fedora.spec.in
rhel/usr_lib_systemd_system_ovn-controller.service [new file with mode: 0644]
rhel/usr_lib_systemd_system_ovn-northd.service [new file with mode: 0644]