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];
36 vl_api_ip6_address_t
sids[16];
52 autoreply define sr_localsid_add_del
56 bool is_del [
default=
false];
85 vl_api_srv6_sid_list_t
sids;
132 autoreply define sr_set_encap_source
144 autoreply define sr_set_encap_hop_limit
163 autoreply define sr_steering_add_del
167 bool is_del [
default=
false];
180 define sr_localsids_dump
186 define sr_localsids_details
202 define sr_policies_dump
209 define sr_policies_details
217 vl_api_srv6_sid_list_t sid_lists[num_sid_lists];
224 define sr_policies_with_sl_index_dump
228 option status=
"in_progress";
232 define sr_policies_with_sl_index_details
240 vl_api_srv6_sid_list_with_sl_index_t sid_lists[num_sid_lists];
241 option status=
"in_progress";
248 define sr_steering_pol_dump
254 define sr_steering_pol_details
typedef srv6_sid_list_with_sl_index
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_ip6_address_t sids[16]
vl_api_address_t xconnect_nh_addr
vl_api_sr_behavior_t behavior
vl_api_srv6_sid_list_t sids
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
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.
vl_api_interface_index_t sw_if_index