neutron/neutron/agent/common
Arjun Baindur 379a9faf62 Change duplicate OVS bridge datapath-ids
The native OVS/ofctl controllers talk to the bridges using a
datapath-id, instead of the bridge name. The datapath ID is
auto-generated based on the MAC address of the bridge's NIC.
In the case where bridges are on VLAN interfaces, they would
have the same MACs, therefore the same datapath-id, causing
flows for one physical bridge to be programmed on each other.

The datapath-id is a 64-bit field, with lower 48 bits being
the MAC. We set the upper 12 unused bits to identify each
unique physical bridge

This could also be fixed manually using ovs-vsctl set, but
it might be beneficial to automate this in the code.

ovs-vsctl set bridge <mybr> other-config:datapath-id=<datapathid>

You can change this yourself using above command.

You can view/verify current datapath-id via

ovs-vsctl get Bridge br-vlan datapath-id
"00006ea5a4b38a4a"

(please note that other-config is needed in the set, but not get)

Closes-Bug: #1697243
Co-Authored-By: Rodolfo Alonso Hernandez <ralonsoh@redhat.com>

Change-Id: I575ddf0a66e2cfe745af3874728809cf54e37745
2019-01-24 16:35:50 +00:00
..
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
async_process.py Add kill_timeout to AsyncProcess 2018-11-16 15:33:13 +01:00
base_polling.py OVS agent support on Hyper-V 2015-03-25 13:48:33 -07:00
ip_lib.py Fix neutron-openvswitch-agent Windows support 2018-07-18 14:41:21 +03:00
ovs_lib.py Change duplicate OVS bridge datapath-ids 2019-01-24 16:35:50 +00:00
ovsdb_monitor.py Revert "Skip ovsdb_monitor events for ports with ofport=-1" 2019-01-20 10:02:07 +00:00
polling.py Windows OVS: minimize polling 2018-08-14 09:54:07 +03:00
resource_processing_queue.py Rename router processing queue code to be more generic 2018-07-20 15:09:20 -04:00
utils.py Fix neutron-openvswitch-agent Windows support 2018-07-18 14:41:21 +03:00