iproute2/bridge
Roopa Prabhu 3ac0d36ddd iproute2: bridge: support vlan range adds
This patch adds vlan range support to bridge add command
using the newly added vinfo flags BRIDGE_VLAN_INFO_RANGE_BEGIN and
BRIDGE_VLAN_INFO_RANGE_END.

$bridge vlan show
port    vlan ids
br0      1 PVID Egress Untagged

dummy0   1 PVID Egress Untagged

$bridge vlan add vid 10-15 dev dummy0
port    vlan ids
br0      1 PVID Egress Untagged

dummy0   1 PVID Egress Untagged
         10
         11
         12
         13
         14
         15

$bridge vlan del vid 14 dev dummy0

$bridge vlan show
port    vlan ids
br0      1 PVID Egress Untagged

dummy0   1 PVID Egress Untagged
         10
         11
         12
         13
         15

$bridge vlan del vid 10-15 dev dummy0

$bridge vlan show
port    vlan ids
br0      1 PVID Egress Untagged

dummy0   1 PVID Egress Untagged

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: Wilson Kok <wkok@cumulusnetworks.com>
2015-02-05 10:46:31 -08:00
..
.gitignore Add bridge command 2012-08-01 15:23:49 -07:00
Makefile bridge: Allow to easy change network namespace 2014-12-27 10:22:32 -08:00
br_common.h bridge: Add support for setting bridge port attributes 2013-03-16 10:01:53 -07:00
bridge.c bridge: Allow to easy change network namespace 2014-12-27 10:22:32 -08:00
fdb.c bridge/fdb: add flag/indication for FDB entry synced from offload device 2014-12-09 16:34:44 -08:00
link.c bridge/link: add learning_sync policy flag 2015-01-01 10:02:53 -08:00
mdb.c bridge: Make filter_index match in signedness 2014-06-09 12:40:45 -07:00
monitor.c Use one func to print timestamp from nlmsg 2015-01-13 17:34:47 -08:00
vlan.c iproute2: bridge: support vlan range adds 2015-02-05 10:46:31 -08:00