Public bug reported: 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 protected]" +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 ** Affects: openvswitch (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1314888 Title: request for ovs upstart events To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1314888/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
