[Bug 12861] New: Add --json option to ip2 functions

bugzilla at busybox.net bugzilla at busybox.net
Tue May 5 20:56:33 UTC 2020


https://bugs.busybox.net/show_bug.cgi?id=12861

            Bug ID: 12861
           Summary: Add --json option to ip2 functions
           Product: Busybox
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Networking
          Assignee: unassigned at busybox.net
          Reporter: busybox.net at bobpaul.org
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

Upstream ip2 supports the `--json` option to output to stdout as json rather
than formatted text. This makes parsing the output a lot easier and more
reliable in scripts.

Upstream syntax is with the `--json` option before the subcommand, such as:
`ip --json addr`, `ip --json route`, `ip --json link`, `ip --json tunnel`, `ip
--json neigh`, `ip --json rule`.

It would be really nice to have this for use on embedded devices.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list