LISP: Add APIs for enable/disable xTR/P-ITR/P-ETR modes

Change-Id: Ieeb3b7eaabb568180320fe54d3eae2d26f3e4704
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
This commit is contained in:
Filip Tehlar
2017-09-06 10:07:39 +02:00
committed by Florin Coras
parent 7ba443706b
commit 111a5cea6f

View 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")