Skip to content

ip: Add vrf show commmand

David Ahern netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ip address: Export ip_linkaddr_listinclude/libnetlink.h ip/ip_common.h ip/ipaddress.c+63 -380 replies
2/4ip address: Move filter struct to ip_common.hip/ip_common.h ip/ipaddress.c+21 -210 replies
3/4ip address: Change print_linkinfo_brief to take filter as an inputip/ip_common.h ip/ipaddress.c ip/iplink.c+23 -170 replies
4/4ip vrf: Add show commandip/ipvrf.c man/man8/ip-vrf.8+159 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH iproute2 0/4] ip: Add vrf show commmand

Refactor ip address to export its capability to save a list of nlmsg's for links and its link filter. Use both to add an 'ip vrf show' command to list all configured VRF with table id.

David Ahern (4):
ip address: Export ip_linkaddr_list
ip address: Move filter struct to ip_common.h
ip address: Change print_linkinfo_brief to take filter as an input ip vrf: Add show command

 include/libnetlink.h |  10 ++++
 ip/ip_common.h       |  27 ++++++++-
 ip/ipaddress.c       | 144 +++++++++++++++++++++++-------------------------
 ip/iplink.c          |   2 +-
 ip/ipvrf.c           | 153 +++++++++++++++++++++++++++++++++++++++++++++++++--
 man/man8/ip-vrf.8    |  11 ++++
 6 files changed, 266 insertions(+), 81 deletions(-)
Signature · 1 line
2.11.0 (Apple Git-81)