]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Update DVR agent to use get_vifs_by_id
authorKevin Benton <blak111@gmail.com>
Fri, 26 Jun 2015 17:00:42 +0000 (10:00 -0700)
committerKevin Benton <kevinbenton@buttewifi.com>
Sat, 4 Jul 2015 07:34:24 +0000 (07:34 +0000)
commit26f50761efaa5bc362e35a41f0adc458e0224296
tree956920a6c34ca23d7b1e3c17819d742d86346490
parentc69018aece7c90c93b1f872b74e6b37bc360ebe6
Update DVR agent to use get_vifs_by_id

The new get_vifs_by_id function retrieves all of the VIFs
for a port iteration at once to eliminate unnecessary multiple
calls to OVSDB.

Change-Id: If18557faead836121bfa3b4e6efccd0318ce72d3
Related-Bug: #1460233
neutron/plugins/ml2/drivers/openvswitch/agent/ovs_dvr_neutron_agent.py
neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent/test_ovs_neutron_agent.py