[OVN] Remove VLAN check when setting external_mac
This patch reverts [0]. The code wasn't accounting for VLAN provider networks, as stated in the bug #1842988, DVR won't work if the provider network (where the FIP is created) is VLAN. There was also an incosistency in how the external_mac was set for the VLAN networks. Upon creating the FIP the code was checking for the network type and not setting the external_mac attribute in case the network was VLAN type. But, if the port went down and up again (e.g if you reboot the VM) the event handler that set/unset the external_mac [1] wasn't check for the type. This is how people worked around the DVR problem (as stated in bug #1842988). For more information see bug #1842988. [0]changes/52/705252/1c5aef51edc
[1]eda5d7f80d/networking_ovn/ml2/mech_driver.py (L794-L800)
Closes-Bug: #1842988 Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com> (Cherry-picked from Neutron Ifb795626dc9c2ac4f0104f491dd38c9b4cc902c9) Change-Id: I3e9e734b757f67d3e4ab1c5a02f8e7f9f0c9aa2e (cherry picked from commitf9b1dffada
)
parent
789d76421a
commit
9f3d8624c9
Loading…
Reference in New Issue