[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190312164128.22536-1-nikolay@cumulusnetworks.com>
Date: Tue, 12 Mar 2019 18:41:25 +0200
From: Nikolay Aleksandrov <nikolay@...ulusnetworks.com>
To: netdev@...r.kernel.org
Cc: roopa@...ulusnetworks.com, dsa@...ulusnetworks.com,
stephen@...workplumber.org,
Nikolay Aleksandrov <nikolay@...ulusnetworks.com>
Subject: [PATCH iproute2-next 0/3] bond, bridge: add xstats json support
Hi,
This set adds json output support to the xstats API (patch 01) and then
adds json support to the bridge xstats output (patch 02) and adds xstats
output support (both plain text and json) for the bonding (patch 03).
It doesn't change the bridge's plain text output, but it fixes an
inconsistency that could happen if new bridge xstats attributes were
added (print the interface name once for each group of xstats attrs).
Thanks,
Nik
Nikolay Aleksandrov (3):
ip: xstats: add json output support
ip: bridge: add xstats json support
ip: bond: add xstats support
ip/ip_common.h | 3 +
ip/iplink_bond.c | 167 +++++++++++++++++++++++++++++++++++++++-
ip/iplink_bond_slave.c | 2 +
ip/iplink_bridge.c | 169 +++++++++++++++++++++++++----------------
ip/iplink_xstats.c | 3 +
5 files changed, 276 insertions(+), 68 deletions(-)
--
2.17.2
Powered by blists - more mailing lists