FD.io VPP  v18.07.1-13-g909ba93
Vector Packet Processing
vl_api_sr_policy_add_t Struct Reference

IPv6 SR policy add. More...

+ Collaboration diagram for vl_api_sr_policy_add_t:

Data Fields

u32 client_index
u32 context
u8 bsid_addr [16]
u32 weight
u8 is_encap
u8 type
u32 fib_table
vl_api_srv6_sid_list_t sids

Detailed Description

IPv6 SR policy add.

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
bsidis the bindingSID of the SR Policy
weightis the weight of the sid list. optional.
is_encapis the behavior of the SR policy. (0.SRH insert // 1.Encapsulation)
typeis the type of the SR policy. (0.Default // 1.Spray)
fib_tableis the VRF where to install the FIB entry for the BSID
sidsis a srv6_sid_list object

Definition at line 77 of file sr.api.

Field Documentation

u8 vl_api_sr_policy_add_t::bsid_addr[16]

Definition at line 81 of file sr.api.

u32 vl_api_sr_policy_add_t::client_index

Definition at line 79 of file sr.api.

u32 vl_api_sr_policy_add_t::context

Definition at line 80 of file sr.api.

u32 vl_api_sr_policy_add_t::fib_table

Definition at line 85 of file sr.api.

u8 vl_api_sr_policy_add_t::is_encap

Definition at line 83 of file sr.api.

vl_api_srv6_sid_list_t vl_api_sr_policy_add_t::sids

Definition at line 86 of file sr.api.

u8 vl_api_sr_policy_add_t::type

Definition at line 84 of file sr.api.

u32 vl_api_sr_policy_add_t::weight

Definition at line 82 of file sr.api.

The documentation for this struct was generated from the following file: