This change adds the ability to monitor the local ovsdb for
interface changes so that the l2 agent can avoid unnecessary
polling. Minimal changes are made to the agent so the risk
of breakage should be low. Future efforts to make the agent
entirely event-based may be able to use OvsdbMonitor as a
starting point.
By default polling minimization is not done, and can only be
enabled by setting 'minimize_polling = True' in the ovs
section of the l2 agent's config file.
Closes-Bug: #1177973
Change-Id: I26c035b48a74df2148696869c5a9affae5ab3d27
(cherry picked from commit cb0df591a9508e863ad5d5d71190eca349dc551f)
Reviewed: https:/ /review. openstack. org/65810 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=39ef5187b5d 0bd9484f8e5773e 90ba112fcf06e1
Committed: https:/
Submitter: Jenkins
Branch: stable/havana
commit 39ef5187b5d0bd9 484f8e5773e90ba 112fcf06e1
Author: Maru Newby <email address hidden>
Date: Mon Sep 9 10:06:49 2013 +0000
Add the option to minimize ovs l2 polling
This change adds the ability to monitor the local ovsdb for
interface changes so that the l2 agent can avoid unnecessary
polling. Minimal changes are made to the agent so the risk
of breakage should be low. Future efforts to make the agent
entirely event-based may be able to use OvsdbMonitor as a
starting point.
By default polling minimization is not done, and can only be
enabled by setting 'minimize_polling = True' in the ovs
section of the l2 agent's config file.
Closes-Bug: #1177973
Change-Id: I26c035b48a74df 2148696869c5a9a ffae5ab3d27 63ad5d5d71190ec a349dc551f)
(cherry picked from commit cb0df591a9508e8