aboutsummaryrefslogtreecommitdiffstats
path: root/vpp-api
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2016-09-23 10:00:52 +0200
committerFlorin Coras <florin.coras@gmail.com>2016-10-12 13:24:03 +0000
commit69a9b76d648a108e0a7fad4404b218ebdd6a8ea5 (patch)
treef42dedb675f6e10852c436a0e60abc24172cd9b1 /vpp-api
parent75fc854da7e92502581d83e31306b9912d3c53ff (diff)
VPP-362 Implement dumping of LISP adjacencies
Change-Id: Ieea56f3bf9e749878d9f2b35d39d9f7a9cdabde4 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'vpp-api')
-rwxr-xr-xvpp-api/java/jvpp/gen/jvpp_gen.py3
-rwxr-xr-xvpp-api/python/pneum/api-gen.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/vpp-api/java/jvpp/gen/jvpp_gen.py b/vpp-api/java/jvpp/gen/jvpp_gen.py
index 4781ea06aa4..80bb4b9e93a 100755
--- a/vpp-api/java/jvpp/gen/jvpp_gen.py
+++ b/vpp-api/java/jvpp/gen/jvpp_gen.py
@@ -63,7 +63,8 @@ cfg = importlib.import_module(inputfile, package=None)
# FIXME: functions unsupported due to problems with vpe.api
def is_supported(f_name):
- return f_name not in {'vnet_ip4_fib_counters', 'vnet_ip6_fib_counters'}
+ return f_name not in {'vnet_ip4_fib_counters', 'vnet_ip6_fib_counters',
+ 'lisp_adjacencies_get_reply', 'lisp_adjacencies_get'}
def is_request_field(field_name):
diff --git a/vpp-api/python/pneum/api-gen.py b/vpp-api/python/pneum/api-gen.py
index 6718de42cab..fcf293ecbc0 100755
--- a/vpp-api/python/pneum/api-gen.py
+++ b/vpp-api/python/pneum/api-gen.py
@@ -35,6 +35,7 @@ format_struct = {'u8': 'B',
'f64' : 'd',
'vl_api_ip4_fib_counter_t' : 'IBQQ',
'vl_api_ip6_fib_counter_t' : 'QQBQQ',
+ 'vl_api_lisp_adjacency_t' : 'B' * 35,
};
#
# NB: If new types are introduced in vpe.api, these must be updated.
@@ -47,6 +48,7 @@ type_size = {'u8': 1,
'f64' : 8,
'vl_api_ip4_fib_counter_t' : 21,
'vl_api_ip6_fib_counter_t' : 33,
+ 'vl_api_lisp_adjacency_t' : 35,
};
def get_args(t):