aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2017-09-06 10:07:39 +0200
committerFlorin Coras <florin.coras@gmail.com>2017-09-07 15:55:52 +0000
commit111a5cea6f1318ffe7aa2847e8d0f6d07e51f0ff (patch)
treea70f46251e23d971791072195d91ac0e8c521e5f /src/vnet
parent7ba443706b3ebfc2e3d52570cd56c7d5ae352459 (diff)
LISP: Add APIs for enable/disable xTR/P-ITR/P-ETR modes
Change-Id: Ieeb3b7eaabb568180320fe54d3eae2d26f3e4704 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/lisp-cp/one.api60
1 files changed, 60 insertions, 0 deletions
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")