aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/lisp-cp/one.api
diff options
context:
space:
mode:
authorOnong Tayeng <otayeng@cisco.com>2020-05-13 21:25:57 +0530
committerOnong Tayeng <onong.tayeng@gmail.com>2020-05-19 10:35:53 +0000
commita3674c0e1890a892249c76e147ced8f7d1e98df9 (patch)
tree1be69dc9c96d9b0525d78ff1c81f378e216c72f5 /src/vnet/lisp-cp/one.api
parent06107a724343557a930121115c78e3fafb690ba7 (diff)
lisp: API doc/comments cleanup
Removing the comments around eid_type which seem to have been overlooked by the original patch https://gerrit.fd.io/r/c/vpp/+/24663. NOTE: This patch is a doc-only change. It does two things: 1. Remove comments around obsolete eid_type type 2. Update the comments to reflect the new vl_api_eid_t type This is to ensure correct documentation is displayed to user/reader of VPP docs in 20.05. Type: fix Signed-off-by: Onong Tayeng <otayeng@cisco.com> Change-Id: I48e1993cf8869cb32e159d1956f3ec1e5943e33f (cherry picked from commit 4ab5190eb4167ac4c06cd649ec8a860784ab1d41)
Diffstat (limited to 'src/vnet/lisp-cp/one.api')
-rw-r--r--src/vnet/lisp-cp/one.api18
1 files changed, 3 insertions, 15 deletions
diff --git a/src/vnet/lisp-cp/one.api b/src/vnet/lisp-cp/one.api
index 7318ba4f866..be3a444e263 100644
--- a/src/vnet/lisp-cp/one.api
+++ b/src/vnet/lisp-cp/one.api
@@ -73,12 +73,7 @@ autoreply define one_add_del_locator
@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 eid_type:
- 0 : ipv4
- 1 : ipv6
- 2 : mac
- @param eid - EID can be ip4, ip6 or mac
- @param prefix_len - prefix len
+ @param eid - endpoint identifier
@param locator_set_name - name of locator_set to add/del eid-table
@param vni - virtual network instance
@param key - secret key
@@ -646,15 +641,14 @@ define one_locator_set_dump
};
/** \brief Dump ONE eid-table
- @param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
@param locator_set_index - index of locator_set, if ~0 then the mapping
is negative
@param action - negative map request action
@param is_local - local if non-zero, else remote
@param is_src_dst - EID is type of source/destination
- @param deid - EID can be ip4, ip6 or mac
- @param seid - source EID can be ip4, ip6 or mac
+ @param deid - dst EID
+ @param seid - src EID
@param vni - virtual network instance
@param ttl - time to live
@param authoritative - authoritative
@@ -701,14 +695,8 @@ define one_eid_table_dump
};
/** \brief ONE adjacency
- @param eid_type -
- 0 : ipv4
- 1 : ipv6
- 2 : mac
@param reid - remote EID
@param leid - local EID
- @param reid_prefix_len - remote EID IP prefix length
- @param leid_prefix_len - local EID IP prefix length
*/
typedef one_adjacency
{