FD.io VPP  v18.01.2-1-g9b554f3
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
 
u8 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 48 of file sr_mpls.api.

Field Documentation

u32 vl_api_sr_mpls_policy_mod_t::bsid

Definition at line 52 of file sr_mpls.api.

u32 vl_api_sr_mpls_policy_mod_t::client_index

Definition at line 50 of file sr_mpls.api.

u32 vl_api_sr_mpls_policy_mod_t::context

Definition at line 51 of file sr_mpls.api.

u8 vl_api_sr_mpls_policy_mod_t::n_segments

Definition at line 56 of file sr_mpls.api.

u8 vl_api_sr_mpls_policy_mod_t::operation

Definition at line 53 of file sr_mpls.api.

u32 vl_api_sr_mpls_policy_mod_t::segments[n_segments]

Definition at line 57 of file sr_mpls.api.

u32 vl_api_sr_mpls_policy_mod_t::sl_index

Definition at line 54 of file sr_mpls.api.

u32 vl_api_sr_mpls_policy_mod_t::weight

Definition at line 55 of file sr_mpls.api.


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