]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Don't drop ARP table jump during OVS rewiring
authorKevin Benton <blak111@gmail.com>
Wed, 25 Nov 2015 23:42:46 +0000 (15:42 -0800)
committerKevin Benton <blak111@gmail.com>
Thu, 26 Nov 2015 02:33:18 +0000 (18:33 -0800)
commitea4165c2af2ad5c7b5423e25c507598ebd30f7b5
treef22e57d27e6ce97eed9ce3fb790273abec489afb
parent476d8ba945732bac904a37247c926f5297782e7b
Don't drop ARP table jump during OVS rewiring

The previous OVS ARP spoofing code was dropping the rule to jump to
the ARP protection table each time it was called. This call was
unnecessary since the majority of port updates are not turning
off port security.

This patch adjusts the logic to only drop the jump rule if port-sec
is disabled or if it is a network port. The existing functional tests
ensure that connectivity works as expected.

Closes-Bug: #1520013
Change-Id: I7b396d758c2d4c7e1004257d432b210bf3ee5c66
neutron/plugins/ml2/drivers/openvswitch/agent/openflow/native/br_int.py
neutron/plugins/ml2/drivers/openvswitch/agent/openflow/ovs_ofctl/br_int.py
neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py
neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent/test_ovs_neutron_agent.py