aboutsummaryrefslogtreecommitdiffstats
path: root/vpp
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2016-08-02 19:32:25 +0200
committerFilip Tehlar <ftehlar@cisco.com>2016-08-02 19:48:09 +0200
commit5ca5dc865143f226e5b6dae002439273856bd88a (patch)
tree2ff30d4b56c7af75801360fe9838cdfe5a08f0a9 /vpp
parent8e5458caea3f58664dd001d65bbda5e12482a8ae (diff)
API support for src/dst based routing policy in LISP
Change-Id: I0ae90f884378acabeda310a6431c89f3ec195d0e Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'vpp')
-rw-r--r--vpp/vpp-api/vpe.api9
1 files changed, 7 insertions, 2 deletions
diff --git a/vpp/vpp-api/vpe.api b/vpp/vpp-api/vpe.api
index ba7572bcc8c..3e4b933b43d 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