FD.io VPP  v17.07.01-10-g3be13f0
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 52 of file sr.api.

Field Documentation

u8 vl_api_sr_policy_add_t::bsid_addr[16]

Definition at line 56 of file sr.api.

u32 vl_api_sr_policy_add_t::client_index

Definition at line 54 of file sr.api.

u32 vl_api_sr_policy_add_t::context

Definition at line 55 of file sr.api.

u32 vl_api_sr_policy_add_t::fib_table

Definition at line 60 of file sr.api.

u8 vl_api_sr_policy_add_t::is_encap

Definition at line 58 of file sr.api.

u8 vl_api_sr_policy_add_t::n_segments

Definition at line 61 of file sr.api.

u8 vl_api_sr_policy_add_t::segments[0]

Definition at line 62 of file sr.api.

u8 vl_api_sr_policy_add_t::type

Definition at line 59 of file sr.api.

u32 vl_api_sr_policy_add_t::weight

Definition at line 57 of file sr.api.


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