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

ifupdown2 should not allow IP address command under vlan aware bridge stanza

Ticket: CM-6106
Reviewed By: roopa,scotte
Testing Done: ran ifupdown2 regression suite and hand tested

This patch prevents IP address assignment under vlan aware bridges.
This prevents some confusion because a bridge subinterface is required
for layer 3 termination.
This commit is contained in:
Sam Tannous
2015-06-24 11:39:56 -04:00
parent 0532f0a3d3
commit 7f67f3e59f
3 changed files with 9 additions and 2 deletions

View File

@@ -44,6 +44,7 @@ class ifaceLinkKind():
BOND = 0x2
VLAN = 0x4
VXLAN = 0x8
BRIDGE_VLAN_AWARE = 0x10
class ifaceLinkType():
LINK_UNKNOWN = 0x0