commit | 69ffd27325d719fe52b271551763ccdd1101a069 | [log] [tgz] |
---|---|---|
author | Julien Fortin <julien@cumulusnetworks.com> | Thu Aug 17 10:35:56 2017 -0700 |
committer | Stephen Hemminger <stephen@networkplumber.org> | Thu Aug 17 18:02:40 2017 -0700 |
tree | e920e1fc572154552bdf3bcc8fd98ddfb7281d70 | |
parent | 707cce5a630dd3ad11324e1dc1c34d80dea77bdd [diff] |
ip: iplink_hsr.c: add json output support Schema: hsr: IFLA_INFO_DATA { "slave1": { "type": "string", "attr": "IFLA_HSR_SLAVE1" }, "slave2": { "type": "string", "attr": "IFLA_HSR_SLAVE2" }, "seq_nr": { "type": "int", "attr": "IFLA_HSR_SEQ_NR" }, "supervision_addr": { "type": "int", "attr": "IFLA_HSR_SUPERVISION_ADDR" } } Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>