request for ovs upstart events

Bug #1314888 reported by Hiroaki Kawai
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openvswitch (Ubuntu)
Won't Fix
Wishlist
Unassigned

Bug Description

emitting events from openvswitch makes startup scheduling easy that are waiting for ovs start up.

=== modified file 'debian/openvswitch-switch.upstart'
--- debian/openvswitch-switch.upstart 2013-08-23 11:18:52 +0000
+++ debian/openvswitch-switch.upstart 2014-05-01 04:37:12 +0000
@@ -2,6 +2,9 @@
 description "Open vSwitch switch"
 author "James Page <<email address hidden>"

+emits ovs-up
+emits ovs-pre-down
+
 start on (local-filesystems and net-device-up IFACE=lo)
 stop on runlevel [!2345]

@@ -32,11 +35,13 @@
   fi
   set "$@" $OVS_CTL_OPTS
   "$@"
+ initctl emit ovs-up
 end script

 post-stop script
   . /usr/share/openvswitch/scripts/ovs-lib
   test -e /etc/default/openvswitch-switch && . /etc/default/openvswitch-switch

+ initctl emit ovs-pre-down
   ovs_ctl stop
 end script

James Page (james-page)
Changed in openvswitch (Ubuntu):
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
James Page (james-page) wrote :

As Xenial onwards is systemd, I'm going to mark this as a Won't Fix as we won't change any versions in upstart based Ubuntu now.

Changed in openvswitch (Ubuntu):
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.