On 2/8/18 9:26 AM, Stephen Hemminger wrote: > From: Stephen Hemminger <step...@networkplumber.org> > > This set of patches adds JSON output to route printing. > Tested for the simple cases, but there are many variations and there > such as lw tunnels which have not be tested. > > The color formatting may need some additional tweaks. It looks > like for some tags the tag is also showing up in color. > This should be fixed in print_color_string rather than having > to do special case handling in so many places. > > This patchset also changes the default JSON output to be compressed > (since the purpose of JSON is to make output machine readable); > but do optional pretty print formatting with -p flag.
Looks good. Series applied to iproute2-next.