Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
sr: srv6 API cleanup
[vpp.git]
/
src
/
vnet
/
srmpls
/
sr_mpls.api
diff --git
a/src/vnet/srmpls/sr_mpls.api
b/src/vnet/srmpls/sr_mpls.api
index
4c91818
..
742f135
100644
(file)
--- a/
src/vnet/srmpls/sr_mpls.api
+++ b/
src/vnet/srmpls/sr_mpls.api
@@
-13,10
+13,11
@@
* under the License.
*/
* under the License.
*/
-option version = "
2
.0.0";
+option version = "
3
.0.0";
import "vnet/interface_types.api";
import "vnet/ip/ip_types.api";
import "vnet/interface_types.api";
import "vnet/ip/ip_types.api";
+import "vnet/srv6/sr_types.api";
/** \brief MPLS SR policy add
@param client_index - opaque cookie to identify the sender
/** \brief MPLS SR policy add
@param client_index - opaque cookie to identify the sender
@@
-37,15
+38,6
@@
autoreply define sr_mpls_policy_add
u32 segments[n_segments];
};
u32 segments[n_segments];
};
-enum sr_mpls_policy_op
-{
- SR_MPLS_POLICY_OP_API_NONE = 0,
- SR_MPLS_POLICY_OP_API_ADD = 1,
- SR_MPLS_POLICY_OP_API_DEL = 2,
- SR_MPLS_POLICY_OP_API_MOD = 3,
-
-};
-
/** \brief MPLS SR policy modification
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
/** \brief MPLS SR policy modification
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
@@
-63,7
+55,7
@@
autoreply define sr_mpls_policy_mod
u32 client_index;
u32 context;
u32 bsid;
u32 client_index;
u32 context;
u32 bsid;
- vl_api_sr_
mpls_
policy_op_t operation;
+ vl_api_sr_policy_op_t operation;
u32 sl_index;
u32 weight;
u8 n_segments;
u32 sl_index;
u32 weight;
u8 n_segments;