FD.io VPP  v17.04.2-2-ga8f93f8
Vector Packet Processing
vl_api_sr_policy_add_t Struct Reference

IPv6 SR policy add. More...

Data Fields

u32 client_index
 
u32 context
 
u8 bsid_addr [16]
 
u32 weight
 
u8 is_encap
 
u8 type
 
u32 fib_table
 
u8 n_segments
 
u8 segments [0]
 

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
segmentsis a vector of IPv6 address composing the segment list

Definition at line 62 of file sr.api.

Field Documentation

u8 vl_api_sr_policy_add_t::bsid_addr[16]

Definition at line 66 of file sr.api.

u32 vl_api_sr_policy_add_t::client_index

Definition at line 64 of file sr.api.

u32 vl_api_sr_policy_add_t::context

Definition at line 65 of file sr.api.

u32 vl_api_sr_policy_add_t::fib_table

Definition at line 70 of file sr.api.

u8 vl_api_sr_policy_add_t::is_encap

Definition at line 68 of file sr.api.

u8 vl_api_sr_policy_add_t::n_segments

Definition at line 71 of file sr.api.

u8 vl_api_sr_policy_add_t::segments[0]

Definition at line 72 of file sr.api.

u8 vl_api_sr_policy_add_t::type

Definition at line 69 of file sr.api.

u32 vl_api_sr_policy_add_t::weight

Definition at line 67 of file sr.api.


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