From 111a5cea6f1318ffe7aa2847e8d0f6d07e51f0ff Mon Sep 17 00:00:00 2001 From: Filip Tehlar Date: Wed, 6 Sep 2017 10:07:39 +0200 Subject: LISP: Add APIs for enable/disable xTR/P-ITR/P-ETR modes Change-Id: Ieeb3b7eaabb568180320fe54d3eae2d26f3e4704 Signed-off-by: Filip Tehlar --- src/vnet/lisp-cp/one.api | 60 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/src/vnet/lisp-cp/one.api b/src/vnet/lisp-cp/one.api index 3fcc9da2494..ad10ab68918 100644 --- a/src/vnet/lisp-cp/one.api +++ b/src/vnet/lisp-cp/one.api @@ -962,6 +962,66 @@ define show_one_map_register_fallback_threshold_reply u32 value; }; +autoreply define one_enable_disable_xtr_mode +{ + u32 client_index; + u32 context; + u8 is_en; +}; + +define one_show_xtr_mode +{ + u32 client_index; + u32 context; +}; + +define one_show_xtr_mode_reply +{ + u32 context; + i32 retval; + u8 is_en; +}; + +autoreply define one_enable_disable_petr_mode +{ + u32 client_index; + u32 context; + u8 is_en; +}; + +define one_show_petr_mode +{ + u32 client_index; + u32 context; +}; + +define one_show_petr_mode_reply +{ + u32 context; + i32 retval; + u8 is_en; +}; + +autoreply define one_enable_disable_pitr_mode +{ + u32 client_index; + u32 context; + u8 is_en; +}; + +define one_show_pitr_mode +{ + u32 client_index; + u32 context; +}; + +define one_show_pitr_mode_reply +{ + u32 context; + i32 retval; + u8 is_en; +}; + /* * Local Variables: * eval: (c-set-style "gnu") -- cgit 1.2.3-korg