FD.io VPP  v21.06
Vector Packet Processing
vl_api_sr_policy_add_t Struct Reference

IPv6 SR policy add. More...

Data Fields

u32 client_index
 
u32 context
 
vl_api_ip6_address_t bsid_addr
 
u32 weight
 
bool is_encap
 
bool is_spray
 
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)
is_sprayis 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 76 of file sr.api.

Field Documentation

◆ bsid_addr

vl_api_ip6_address_t vl_api_sr_policy_add_t::bsid_addr

Definition at line 80 of file sr.api.

◆ client_index

u32 vl_api_sr_policy_add_t::client_index

Definition at line 78 of file sr.api.

◆ context

u32 vl_api_sr_policy_add_t::context

Definition at line 79 of file sr.api.

◆ fib_table

u32 vl_api_sr_policy_add_t::fib_table

Definition at line 84 of file sr.api.

◆ is_encap

bool vl_api_sr_policy_add_t::is_encap

Definition at line 82 of file sr.api.

◆ is_spray

bool vl_api_sr_policy_add_t::is_spray

Definition at line 83 of file sr.api.

◆ sids

vl_api_srv6_sid_list_t vl_api_sr_policy_add_t::sids

Definition at line 85 of file sr.api.

◆ weight

u32 vl_api_sr_policy_add_t::weight

Definition at line 81 of file sr.api.


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