From 5ca5dc865143f226e5b6dae002439273856bd88a Mon Sep 17 00:00:00 2001 From: Filip Tehlar Date: Tue, 2 Aug 2016 19:32:25 +0200 Subject: API support for src/dst based routing policy in LISP Change-Id: I0ae90f884378acabeda310a6431c89f3ec195d0e Signed-off-by: Filip Tehlar --- vpp/vpp-api/vpe.api | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'vpp/vpp-api') diff --git a/vpp/vpp-api/vpe.api b/vpp/vpp-api/vpe.api index ba7572bc..3e4b933b 100644 --- a/vpp/vpp-api/vpe.api +++ b/vpp/vpp-api/vpe.api @@ -2405,6 +2405,7 @@ define lisp_pitr_set_locator_set_reply { @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request @param is_add - add address if non-zero, else delete + @param is_src_dst - flag indicating src/dst based routing policy @param del_all - if set, delete all remote mappings @param vni - virtual network instance @param action - negative map-reply action @@ -2412,7 +2413,8 @@ define lisp_pitr_set_locator_set_reply { 0 : ipv4 1 : ipv6 2 : mac - @param eid - EID + @param deid - dst EID + @param seid - src EID, valid only if is_src_dst is enabled @param rloc_num - number of remote locators @param rlocs - remote locator data */ @@ -2420,14 +2422,17 @@ define lisp_add_del_remote_mapping { u32 client_index; u32 context; u8 is_add; + u8 is_src_dst; u8 del_all; u32 vni; u8 action; u8 eid_type; u8 eid[16]; u8 eid_len; + u8 seid[16]; + u8 seid_len; u32 rloc_num; - u8 rlocs[0]; + u8 rlocs[rloc_num]; }; /** \brief Reply for lisp_add_del_remote_mapping -- cgit 1.2.3-korg