19 import "vnet/interface_types.api";
20 import "vnet/ip/ip_types.api";
21 import "vnet/srv6/sr_types.api";
28 vl_api_ip6_address_t
sids[16];
44 autoreply define sr_localsid_add_del
48 bool is_del [
default=
false];
77 vl_api_srv6_sid_list_t
sids;
124 autoreply define sr_set_encap_source
136 autoreply define sr_set_encap_hop_limit
155 autoreply define sr_steering_add_del
159 bool is_del [
default=
false];
172 define sr_localsids_dump
178 define sr_localsids_details
194 define sr_policies_dump
200 define sr_policies_details
208 vl_api_srv6_sid_list_t sid_lists[num_sid_lists];
215 define sr_steering_pol_dump
221 define sr_steering_pol_details
vl_api_ip6_address_t sids[16]
vl_api_ip6_address_t addr
vl_api_sr_steer_t traffic_type
vl_api_ip6_address_t bsid
vl_api_interface_index_t sw_if_index
vl_api_address_t xconnect_nh_addr
vl_api_sr_behavior_t behavior
vl_api_srv6_sid_list_t sids
vl_api_interface_index_t sw_if_index
vl_api_srv6_sid_list_t sids
vl_api_sr_policy_op_t operation
vl_api_sr_behavior_t behavior
u32 xconnect_iface_or_vrf_table
vl_api_interface_index_t sw_if_index
vl_api_ip6_address_t bsid
vl_api_sr_steer_t traffic_type
vl_api_ip6_address_t bsid_addr
int sr_policy_del(ip6_address_t *bsid, u32 index)
Delete a SR policy.
vl_api_ip6_address_t localsid
int sr_policy_add(ip6_address_t *bsid, ip6_address_t *segments, u32 weight, u8 behavior, u32 fib_table, u8 is_encap, u16 plugin, void *plugin_mem)
Create a new SR policy.
vl_api_ip6_address_t bsid_addr
vl_api_ip6_address_t bsid_addr
vl_api_ip6_address_t encaps_source
vl_api_ip6_address_t bsid_addr
int sr_policy_mod(ip6_address_t *bsid, u32 index, u32 fib_table, u8 operation, ip6_address_t *segments, u32 sl_index, u32 weight)
Modify an existing SR policy.