summaryrefslogtreecommitdiffstats
path: root/vpp-api-test/vat/vat.h
diff options
context:
space:
mode:
authorAndrej Kozemcak <akozemca@cisco.com>2016-06-20 08:47:57 +0200
committerFlorin Coras <florin.coras@gmail.com>2016-07-28 10:40:56 +0000
commitd983118bf6a5c5f09941946083e654f994b579fb (patch)
tree77beac152838edae3c57736f6adeacda75961bff /vpp-api-test/vat/vat.h
parent5b43fd45b3af28e58e297209e6b5e937a991c1e4 (diff)
Edit Lisp locator_set API
Change the output format of lisp locator_set API. Create new API for lisp locator. Change lisp_enable_disable_status_dump -> show_lisp_status, not use dump function. Change-Id: Ie2024cbf5e55b22ba077266220bf8584d5cac07a Signed-off-by: Andrej Kozemcak <akozemca@cisco.com>
Diffstat (limited to 'vpp-api-test/vat/vat.h')
-rw-r--r--vpp-api-test/vat/vat.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/vpp-api-test/vat/vat.h b/vpp-api-test/vat/vat.h
index 4772f2e3681..684ad4c6a14 100644
--- a/vpp-api-test/vat/vat.h
+++ b/vpp-api-test/vat/vat.h
@@ -85,6 +85,20 @@ typedef struct {
} ip6_fib_counter_t;
typedef struct {
+ u8 * locator_set_name;
+ u32 locator_set_index;
+} locator_set_msg_t;
+
+typedef struct {
+ u8 local;
+ u32 sw_if_index;
+ u8 is_ipv6;
+ u8 ip_address[16];
+ u8 priority;
+ u8 weight;
+} locator_msg_t;
+
+typedef struct {
/* vpe input queue */
unix_shared_memory_queue_t * vl_input_queue;
@@ -171,6 +185,11 @@ typedef struct {
ip6_fib_counter_t **ip6_fib_counters;
u32 *ip6_fib_counters_vrf_id_by_index;
+ /* Lisp */
+ u8 noprint_msg;
+ locator_set_msg_t * locator_set_msg;
+ locator_msg_t * locator_msg;
+
} vat_main_t;
vat_main_t vat_main;