On Thu, Apr 27, 2017 at 04:46:47PM -0700, Stephen Hemminger wrote: > > Appled, but this really needs to be done better. > Either as a simplified output of route command. See ip -br link > Or ip route should have a json output option and use python/perl/xss > to reformat.
Agreed, parsing the output of ip command is certainly not the right way. I must admit that I had no idea this script exists until the bug report landed on my table (and I had to use "rpm -qf" to learn that it's part of iproute2 package). And I suspect I may not be the only one. Michal Kubecek