LISP: Add APIs for enable/disable xTR/P-ITR/P-ETR modes 19/8319/2
authorFilip Tehlar <ftehlar@cisco.com>
Wed, 6 Sep 2017 08:07:39 +0000 (10:07 +0200)
committerFlorin Coras <florin.coras@gmail.com>
Thu, 7 Sep 2017 15:55:52 +0000 (15:55 +0000)
Change-Id: Ieeb3b7eaabb568180320fe54d3eae2d26f3e4704
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
src/vnet/lisp-cp/one.api

index 3fcc9da..ad10ab6 100644 (file)
@@ -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")