iproute2/bridge
Roopa Prabhu a2f7934dd0 iproute2: bridge vlan show new option to print ranges
Introduce new option -c[ompressvlans] to request
vlan ranges from kernel

(pls suggest better option names if this does not look ok)

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

dummy1	 1 PVID Egress Untagged
	 2
	 3
	 4
	 5
	 6
	 7
	 9
	 10
	 12

br0	 1 PVID Egress Untagged

$bridge help
Usage: bridge [ OPTIONS ] OBJECT { COMMAND | help }
where  OBJECT := { link | fdb | mdb | vlan | monitor }
       OPTIONS := { -V[ersion] | -s[tatistics] | -d[etails] |
                    -o[neline] | -t[imestamp] | -n[etns] name |
                    -c[ompressvlans] }
$bridge -c vlan show
port	vlan ids
dummy0	 1 PVID Egress Untagged

dummy1	 1 PVID Egress Untagged
	 2-7
	 9-10
	 12

br0	 1 PVID Egress Untagged

Signed-off-by: Roopa Prabhu <roopa@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 iproute2: bridge vlan show new option to print ranges 2015-02-05 10:46:31 -08:00
bridge.c iproute2: bridge vlan show new option to print ranges 2015-02-05 10:46:31 -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 vlan show new option to print ranges 2015-02-05 10:46:31 -08:00