aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2018-03-20 01:47:35 -0700
committerChris Luke <chris_luke@comcast.com>2018-03-21 20:24:34 +0000
commit43b1f44571fd6989d6442723433cad28a5ab244f (patch)
tree1fe6d14f23e3263161879c36b929e405d4db5180 /test
parent0cae3f737fcbfbef364fb8237faee08842f3fb68 (diff)
UDP Encap counters
Change-Id: Ib5639981dca0b11b2d62acf2c0963cc95c380f70 Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'test')
-rw-r--r--test/vpp_papi_provider.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/vpp_papi_provider.py b/test/vpp_papi_provider.py
index 52fc3641672..65cf766ffff 100644
--- a/test/vpp_papi_provider.py
+++ b/test/vpp_papi_provider.py
@@ -1083,6 +1083,11 @@ class VppPapiProvider(object):
def udp_encap_dump(self):
return self.api(self.papi.udp_encap_dump, {})
+ def want_udp_encap_stats(self, enable=1):
+ return self.api(self.papi.want_udp_encap_stats,
+ {'enable': enable,
+ 'pid': os.getpid()})
+
def mpls_fib_dump(self):
return self.api(self.papi.mpls_fib_dump, {})