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

MPLS SR policy add. More...

Data Fields

u32 client_index
 
u32 context
 
u32 bsid
 
u32 weight
 
bool is_spray
 
u8 n_segments
 
u32 segments [n_segments]
 

Detailed Description

MPLS SR policy add.

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
bsid- is the bindingSID of the SR Policy. MPLS label (20bit)
weight- is the weight of the sid list. optional.
is_spray- is the type of the SR policy. (0.Default // 1.Spray)
segments- vector of labels (20bit) composing the segment list

Definition at line 30 of file sr_mpls.api.

Field Documentation

◆ bsid

u32 vl_api_sr_mpls_policy_add_t::bsid

Definition at line 34 of file sr_mpls.api.

◆ client_index

u32 vl_api_sr_mpls_policy_add_t::client_index

Definition at line 32 of file sr_mpls.api.

◆ context

u32 vl_api_sr_mpls_policy_add_t::context

Definition at line 33 of file sr_mpls.api.

◆ is_spray

bool vl_api_sr_mpls_policy_add_t::is_spray

Definition at line 36 of file sr_mpls.api.

◆ n_segments

u8 vl_api_sr_mpls_policy_add_t::n_segments

Definition at line 37 of file sr_mpls.api.

◆ segments

u32 vl_api_sr_mpls_policy_add_t::segments[n_segments]

Definition at line 38 of file sr_mpls.api.

◆ weight

u32 vl_api_sr_mpls_policy_add_t::weight

Definition at line 35 of file sr_mpls.api.


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