netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Ahern <dsahern@gmail.com>
To: netdev@vger.kernel.org, stephen@networkplumber.org
Cc: David Ahern <dsahern@gmail.com>
Subject: [PATCH iproute2 0/4] ip: Add vrf show commmand
Date: Sat, 27 May 2017 17:34:46 -0600	[thread overview]
Message-ID: <20170527233450.58015-1-dsahern@gmail.com> (raw)

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(-)

-- 
2.11.0 (Apple Git-81)

             reply	other threads:[~2017-05-27 23:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-27 23:34 David Ahern [this message]
2017-05-27 23:34 ` [PATCH iproute2 1/4] ip address: Export ip_linkaddr_list David Ahern
2017-05-27 23:34 ` [PATCH iproute2 2/4] ip address: Move filter struct to ip_common.h David Ahern
2017-05-27 23:34 ` [PATCH iproute2 3/4] ip address: Change print_linkinfo_brief to take filter as an input David Ahern
2017-05-27 23:34 ` [PATCH iproute2 4/4] ip vrf: Add show command David Ahern
2017-05-31  0:56 ` [PATCH iproute2 0/4] ip: Add vrf show commmand Stephen Hemminger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170527233450.58015-1-dsahern@gmail.com \
    --to=dsahern@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=stephen@networkplumber.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).