UDP-Encap: name counters for the stats segment 34/14734/6
authorNeale Ranns <nranns@cisco.com>
Fri, 7 Sep 2018 15:57:41 +0000 (08:57 -0700)
committerDamjan Marion <dmarion@me.com>
Thu, 20 Sep 2018 10:57:25 +0000 (10:57 +0000)
commit9c0a3c423ee0b9326f600a00c1bd46fef45d4975
tree6415119b2e341cd340f2b2cbbb44e8ce0c689451
parentda8e1802625bd5d6e9901d5a96106e6de4f3d71f
UDP-Encap: name counters for the stats segment

change the ADD api so that is returns the 'ID' that can be used
by the client to read the stats from the stats segment and to
delete the object. Previously a similar value used required
to be chosen by the client, now VPP allocates one (like it
does e.g. for interfaces)

Change-Id: I563cf6092276eb990c52d5457c86e72546bcf69e
Signed-off-by: Neale Ranns <nranns@cisco.com>
13 files changed:
src/vnet/bier/bier_fmask.c
src/vnet/bier/bier_fmask_db.h
src/vnet/bier/bier_output.c
src/vnet/fib/fib_path.c
src/vnet/udp/udp.api
src/vnet/udp/udp_api.c
src/vnet/udp/udp_encap.c
src/vnet/udp/udp_encap.h
src/vpp/stats/stats.c
test/test_bier.py
test/test_udp.py
test/vpp_papi_provider.py
test/vpp_udp_encap.py