neutron/neutron/tests
Arjun Baindur e68cc4d849 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
(cherry picked from commit 379a9faf62)
(cherry picked from commit c02b1148db)
(cherry picked from commit c7031e2cd3)
2019-04-03 00:07:41 +00:00
..
common Avoid agents adding ports as trunk by default. 2018-06-21 17:06:48 +00:00
contrib Use older keepalived version in functional tests 2018-08-25 20:58:10 +00:00
etc Remove FWaaS policy.json entries 2016-09-06 21:30:41 +00:00
fullstack [Fullstack] HA L3 agent restart only standby agents 2018-07-16 13:30:52 +02:00
functional Add new test decorator skip_if_timeout 2019-02-20 09:58:01 +00:00
retargetable Adopt neutron-lib plugin directory 2016-11-23 04:45:33 -07:00
tempest Fix bash cmd used in scenario trunk tests 2018-10-17 08:45:08 +02:00
unit Change duplicate OVS bridge datapath-ids 2019-04-03 00:07:41 +00:00
var
__init__.py Avoid eventlet monkey patching for the tempest plugin 2016-04-29 22:47:24 -05:00
base.py Add new test decorator skip_if_timeout 2019-02-20 09:58:01 +00:00
fake_notifier.py
post_mortem_debug.py
tools.py Display deprecation warning in test only once 2017-01-29 09:44:03 +00:00