Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
GBP: use sclass in the DP for policy
[vpp.git]
/
src
/
plugins
/
gbp
/
gbp.api
diff --git
a/src/plugins/gbp/gbp.api
b/src/plugins/gbp/gbp.api
index
8343e22
..
342c98b
100644
(file)
--- a/
src/plugins/gbp/gbp.api
+++ b/
src/plugins/gbp/gbp.api
@@
-114,7
+114,7
@@
typedef gbp_endpoint_tun
typedef gbp_endpoint
{
u32 sw_if_index;
typedef gbp_endpoint
{
u32 sw_if_index;
- u16
epg_id
;
+ u16
sclass
;
vl_api_gbp_endpoint_flags_t flags;
vl_api_mac_address_t mac;
vl_api_gbp_endpoint_tun_t tun;
vl_api_gbp_endpoint_flags_t flags;
vl_api_mac_address_t mac;
vl_api_gbp_endpoint_tun_t tun;
@@
-164,7
+164,7
@@
typedef gbp_endpoint_retention
typeonly define gbp_endpoint_group
{
typeonly define gbp_endpoint_group
{
- u
16 epg_
id;
+ u
32 vn
id;
u16 sclass;
u32 bd_id;
u32 rd_id;
u16 sclass;
u32 bd_id;
u32 rd_id;
@@
-182,7
+182,7
@@
autoreply define gbp_endpoint_group_del
{
u32 client_index;
u32 context;
{
u32 client_index;
u32 context;
- u16
epg_id
;
+ u16
sclass
;
};
define gbp_endpoint_group_dump
};
define gbp_endpoint_group_dump
@@
-200,7
+200,7
@@
define gbp_endpoint_group_details
typeonly define gbp_recirc
{
u32 sw_if_index;
typeonly define gbp_recirc
{
u32 sw_if_index;
- u16
epg_id
;
+ u16
sclass
;
u8 is_ext;
};
u8 is_ext;
};
@@
-236,7
+236,7
@@
typeonly define gbp_subnet
{
u32 rd_id;
u32 sw_if_index;
{
u32 rd_id;
u32 sw_if_index;
- u16
epg_id
;
+ u16
sclass
;
vl_api_gbp_subnet_type_t type;
vl_api_prefix_t prefix;
};
vl_api_gbp_subnet_type_t type;
vl_api_prefix_t prefix;
};
@@
-298,8
+298,8
@@
typedef gbp_rule
typedef gbp_contract
{
typedef gbp_contract
{
- u16 s
rc_epg
;
- u16 d
st_epg
;
+ u16 s
class
;
+ u16 d
class
;
u32 acl_index;
u8 n_rules;
vl_api_gbp_rule_t rules[n_rules];
u32 acl_index;
u8 n_rules;
vl_api_gbp_rule_t rules[n_rules];