FD.io VPP  v18.04-17-g3a0d853
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
 
u8 type
 
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
bsidis the bindingSID of the SR Policy. MPLS label (20bit)
weightis the weight of the sid list. optional.
typeis the type of the SR policy. (0.Default // 1.Spray)
segmentsvector of labels (20bit) composing the segment list

Definition at line 26 of file sr_mpls.api.

Field Documentation

u32 vl_api_sr_mpls_policy_add_t::bsid

Definition at line 30 of file sr_mpls.api.

u32 vl_api_sr_mpls_policy_add_t::client_index

Definition at line 28 of file sr_mpls.api.

u32 vl_api_sr_mpls_policy_add_t::context

Definition at line 29 of file sr_mpls.api.

u8 vl_api_sr_mpls_policy_add_t::n_segments

Definition at line 33 of file sr_mpls.api.

u32 vl_api_sr_mpls_policy_add_t::segments[n_segments]

Definition at line 34 of file sr_mpls.api.

u8 vl_api_sr_mpls_policy_add_t::type

Definition at line 32 of file sr_mpls.api.

u32 vl_api_sr_mpls_policy_add_t::weight

Definition at line 31 of file sr_mpls.api.


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