aboutsummaryrefslogtreecommitdiffstats
path: root/vpp/vpp-api/vpe.api
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2016-06-27 13:09:20 +0200
committerFlorin Coras <florin.coras@gmail.com>2016-06-29 18:54:02 +0000
commit006eb2689b901b4700f4360cc0417c6c0d93cc46 (patch)
tree62f2005841fa85d7050ff0444ddf07ac7e45e619 /vpp/vpp-api/vpe.api
parent71fb06fba05ff74390f4ff013ff14ea1086ab631 (diff)
Add support for ethernet address in LISP API
Change-Id: I9f1522f55bdd11602784a421fd850b839a1070e6 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'vpp/vpp-api/vpe.api')
-rw-r--r--vpp/vpp-api/vpe.api28
1 files changed, 17 insertions, 11 deletions
diff --git a/vpp/vpp-api/vpe.api b/vpp/vpp-api/vpe.api
index 0184a3e1..033ba240 100644
--- a/vpp/vpp-api/vpe.api
+++ b/vpp/vpp-api/vpe.api
@@ -2201,18 +2201,21 @@ define lisp_add_del_locator_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_ipv6 - if non-zero the address is ipv6, else ipv4
- @param ip_address - array of address bytes
+ @param eid_type:
+ 0 : ipv4
+ 1 : ipv6
+ 2 : mac
+ @param eid - EID can be ip4, ip6 or mac
@param prefix_len - prefix len
@param locator_set_name - name of locator_set to add/del eid-table
- @param vni - vitual network instance
+ @param vni - virtual network instance
*/
define lisp_add_del_local_eid {
u32 client_index;
u32 context;
u8 is_add;
- u8 is_ipv6;
- u8 ip_address[16];
+ u8 eid_type;
+ u8 eid[16];
u8 prefix_len;
u8 locator_set_name[64];
u32 vni;
@@ -2374,7 +2377,10 @@ define lisp_pitr_set_locator_set_reply {
@param del_all - if set, delete all remote mappings
@param vni - virtual network instance
@param action - negative map-reply action
- @param eid_is_ip4 - ipv4/6 of source and destination EIDs
+ @param eid_type -
+ 0 : ipv4
+ 1 : ipv6
+ 2 : mac
@param deid - destination EID
@param seid - source EID
@param rloc_num - number of remote locators
@@ -2387,7 +2393,7 @@ define lisp_add_del_remote_mapping {
u8 del_all;
u32 vni;
u8 action;
- u8 eid_is_ip4;
+ u8 eid_type;
u8 deid[16];
u8 seid[16];
u8 deid_len;
@@ -2482,16 +2488,16 @@ define lisp_locator_set_dump {
/** \brief LISP local eid table status
@param locator_set_name - name of the locator_set
- @param eid_is_ipv6 - if non-zero the address is ipv6, else ipv4
- @param eid_ip_address - array of address bytes
+ @param eid_type - ip4, ip6 or l2 mac address
+ @param eid - array of address bytes
@param eid_prefix_len - prefix len
*/
manual_java define lisp_local_eid_table_details {
u32 context;
u8 locator_set_name[64];
- u8 eid_is_ipv6;
+ u8 eid_type;
u32 vni;
- u8 eid_ip_address[16];
+ u8 eid[16];
u8 eid_prefix_len;
};