1
0
mirror of https://github.com/CumulusNetworks/ifupdown2.git synced 2024-05-06 15:54:50 +00:00

Revert "addons: bridge: warn/err if bridge-access is missing under vxlan bridge VA port"

This reverts commit 4e2db07956.

reverting because of some reported false errors.

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
This commit is contained in:
Roopa Prabhu
2017-01-11 19:58:02 -08:00
parent 4e2db07956
commit cc90a0c8ec

View File

@@ -962,7 +962,8 @@ class bridge(moduleBase):
"""
if not isbridge and bportifaceobj.link_kind & ifaceLinkKind.VXLAN:
if (not vids or not pvid) or vids != pvid:
if ((not vids or not pvid)
and not bportifaceobj.get_attr_value('bridge-access')):
self._error_vxlan_in_vlan_aware_br(bportifaceobj,
bportifaceobj.upperifaces[0])
return