Currently the syntax for VRF related commands is rather kludgy and inconsistent from one subcommand to another. This set adds support for the VRF keyword to the link, address, neigh, and route commands to improve the user experience listing data associated with vrfs, modifying routes or doing a route lookup.
David Ahern (6): ip vrf: Add name_is_vrf ip link/addr: Add support for vrf keyword ip neigh: Add support for keyword ip route: Change type mask to bitmask ip vrf: Add ipvrf_get_table ip route: Add support for vrf keyword ip/ip_common.h | 3 ++ ip/ipaddress.c | 11 ++++++ ip/iplink.c | 15 ++++++- ip/iplink_vrf.c | 119 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ip/ipneigh.c | 14 ++++++- ip/iproute.c | 43 ++++++++++++++++---- 6 files changed, 195 insertions(+), 10 deletions(-) -- 2.1.4