Comment 7 for bug 1177973

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/43256
Committed: http://github.com/openstack/neutron/commit/1f9b4e77d93b165a0aeeaae0de610389debd5198
Submitter: Jenkins
Branch: master

commit 1f9b4e77d93b165a0aeeaae0de610389debd5198
Author: Maru Newby <email address hidden>
Date: Thu Aug 22 07:57:00 2013 +0000

    Minimize ovs l2 agent calls to get_vif_port_set()

    The ovs l2 agent was previously calling get_vif_port_set() on the
    integration bridge once per rpc_loop() iteration and then again in
    the periodic _report_state() call that returns the current device
    count to the neutron service. Since get_vif_port_set() is an
    expensive call (relying on shell commands) and since there
    is minimal risk associated with reporting stats that are a few
    seconds old, this patch caches the device count for reuse by
    _report_state().

    Partial-Bug: 1177973

    Change-Id: Ice73384ed1ba1e97120028cd0a9bff94a62a41a4