Skip to contentSkip to conversation

iproute2: bridge vlan range support

PATCH Applied [email protected] 3 participants 4 messages Jan 26, 2015 – Feb 20, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

v3 cover iproute2: bridge vlan range support

From: Roopa Prabhu <[email protected]>

This series adds support for vlan ranges in iproute2 bridge add and show commands.

Roopa Prabhu (2):
iproute2: bridge: support vlan range for adds
iproute2: bridge vlan show new option to print ranges

 bridge/br_common.h        |    1 +
 bridge/bridge.c           |    6 ++++-
 bridge/vlan.c             |   55 ++++++++++++++++++++++++++++++++++++++++-----
 include/linux/if_bridge.h |    2 ++
 include/linux/rtnetlink.h |    1 +
 5 files changed, 58 insertions(+), 7 deletions(-)
Signature · 1 line
1.7.10.4
#1 lore raw
Quoted 12 lines · On Sun, 25 Jan 2015 18:26:23 -0800 [email protected] wrote:

From: Roopa Prabhu <[email protected]>

This series adds support for vlan ranges in iproute2 bridge add and show commands.

Roopa Prabhu (2):
iproute2: bridge: support vlan range for adds
iproute2: bridge vlan show new option to print ranges

Quoted 7 lines
 bridge/br_common.h        |    1 +
 bridge/bridge.c           |    6 ++++-
 bridge/vlan.c             |   55 ++++++++++++++++++++++++++++++++++++++++-----
 include/linux/if_bridge.h |    2 ++
 include/linux/rtnetlink.h |    1 +
 5 files changed, 58 insertions(+), 7 deletions(-)

Applied to net-next branch of iproute2
Go ahead and send more patches if you decide on different output format.

author
#2 lore raw
Quoted 22 lines · Stephen Hemminger
Quoted 12 lines · On Sun, 25 Jan 2015 18:26:23 -0800 [email protected] wrote:

From: Roopa Prabhu <[email protected]>

This series adds support for vlan ranges in iproute2 bridge add and show commands.

Roopa Prabhu (2):
iproute2: bridge: support vlan range for adds
iproute2: bridge vlan show new option to print ranges

Quoted 7 lines
  bridge/br_common.h        |    1 +
  bridge/bridge.c           |    6 ++++-
  bridge/vlan.c             |   55 ++++++++++++++++++++++++++++++++++++++++-----
  include/linux/if_bridge.h |    2 ++
  include/linux/rtnetlink.h |    1 +
  5 files changed, 58 insertions(+), 7 deletions(-)
Quoted 2 lines

Applied to net-next branch of iproute2
Go ahead and send more patches if you decide on different output format.

Thanks stephen.

Maybe too late, but wanted to add a note.
I would have loved to have the default output print vlan ranges if the iproute2 version is capable and is talking to the kernel which has vlan range support. The netlink msg handling takes care of back ward compatibility.

I think, I was being too cautious to not break users who might be doing screen scraping. In general should i be too worried about breaking such users ?.
If not, I would love to resubmit the patch to make the default output print ranges.

#3 lore raw
Quoted 37 lines · roopa
Quoted 24 lines · Stephen Hemminger
Quoted 12 lines · On Sun, 25 Jan 2015 18:26:23 -0800 [email protected] wrote:

From: Roopa Prabhu <[email protected]>

This series adds support for vlan ranges in iproute2 bridge add and show commands.

Roopa Prabhu (2):
iproute2: bridge: support vlan range for adds
iproute2: bridge vlan show new option to print ranges

Quoted 8 lines
  bridge/br_common.h        |    1 +
  bridge/bridge.c           |    6 ++++-
  bridge/vlan.c             |   55
++++++++++++++++++++++++++++++++++++++++-----
  include/linux/if_bridge.h |    2 ++
  include/linux/rtnetlink.h |    1 +
  5 files changed, 58 insertions(+), 7 deletions(-)
Quoted 2 lines

Applied to net-next branch of iproute2
Go ahead and send more patches if you decide on different output format.

Thanks stephen.

Maybe too late, but wanted to add a note.
I would have loved to have the default output print vlan ranges if the iproute2 version is capable and is talking to the kernel which has vlan range support. The netlink msg handling takes care of back ward compatibility.

Quoted 5 lines

I think, I was being too cautious to not break users who might be doing screen scraping.
In general should i be too worried about breaking such users ?. If not, I would love to resubmit the patch to make the default output print ranges.

+1, if not worried about breaking such users.