stats: add /if/<n>/<n>/state for lacp interface state 70/22370/2
authorSteven Luong <sluong@cisco.com>
Wed, 7 Aug 2019 19:20:22 +0000 (12:20 -0700)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Mon, 30 Sep 2019 15:18:09 +0000 (15:18 +0000)
commitd5e8ed7be1230e48389921e39833710e10ae659c
tree39ad6c0de24cb39e036bd1cbcd905686049a83a2
parentb0888636deaece4bec4e93c4faea9f9d4e7d2ea3
stats: add /if/<n>/<n>/state for lacp interface state

Add /if/lacp/<bond-sw_if_index>/<slave-sw_if_index>/state

<bond-sw_if_index> is a vector of the bond sw_if_index
<slave-sw_if_index> is a vector of the slave sw_if_index
Content is the integer value of the lacp actor state. The state is actually
a bitfield as described in the lacp protocol spec.

Type: feature

Signed-off-by: Steven Luong <sluong@cisco.com>
Change-Id: Ic6eca8ce2a1acd2d858e4e50b7eac1d000ea08e5
Signed-off-by: Ole Troan <ot@cisco.com>
(cherry picked from commit 0f09a828ad2dc53d4f1e69de536f3104eaccc4b0)
src/vnet/bonding/cli.c
src/vnet/bonding/node.h
src/vpp/stats/stat_segment.c
src/vpp/stats/stat_segment.h