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>
diff --git a/vpp-api-test/vat/vat.h b/vpp-api-test/vat/vat.h
index 4772f2e..684ad4c 100644
--- a/vpp-api-test/vat/vat.h
+++ b/vpp-api-test/vat/vat.h
@@ -85,6 +85,20 @@
} 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 @@
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;