FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
vl_api_sr_mpls_policy_mod_t Struct Reference

MPLS SR policy modification. More...

Data Fields

u32 client_index
 
u32 context
 
u32 bsid
 
vl_api_sr_policy_op_t operation
 
u32 sl_index
 
u32 weight
 
u8 n_segments
 
u32 segments [n_segments]
 

Detailed Description

MPLS SR policy modification.

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. MPLS label (20bit)
sr_policy_indexis the index of the SR policy
fib_tableis the VRF where to install the FIB entry for the BSID
operationis the operation to perform (among the top ones)
segmentsis a vector of MPLS labels composing the segment list
sl_indexis the index of the Segment List to modify/delete
weightis the weight of the sid list. optional.
is_encapMode. Encapsulation or SRH insertion.

Definition at line 53 of file sr_mpls.api.

Field Documentation

◆ bsid

u32 vl_api_sr_mpls_policy_mod_t::bsid

Definition at line 57 of file sr_mpls.api.

◆ client_index

u32 vl_api_sr_mpls_policy_mod_t::client_index

Definition at line 55 of file sr_mpls.api.

◆ context

u32 vl_api_sr_mpls_policy_mod_t::context

Definition at line 56 of file sr_mpls.api.

◆ n_segments

u8 vl_api_sr_mpls_policy_mod_t::n_segments

Definition at line 61 of file sr_mpls.api.

◆ operation

vl_api_sr_policy_op_t vl_api_sr_mpls_policy_mod_t::operation

Definition at line 58 of file sr_mpls.api.

◆ segments

u32 vl_api_sr_mpls_policy_mod_t::segments[n_segments]

Definition at line 62 of file sr_mpls.api.

◆ sl_index

u32 vl_api_sr_mpls_policy_mod_t::sl_index

Definition at line 59 of file sr_mpls.api.

◆ weight

u32 vl_api_sr_mpls_policy_mod_t::weight

Definition at line 60 of file sr_mpls.api.


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