![]() |
FD.io VPP
v20.09-64-g4f7b92f0a
Vector Packet Processing
|
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] |
MPLS SR policy add.
| 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.
| u32 vl_api_sr_mpls_policy_add_t::bsid |
Definition at line 34 of file sr_mpls.api.
| u32 vl_api_sr_mpls_policy_add_t::client_index |
Definition at line 32 of file sr_mpls.api.
| u32 vl_api_sr_mpls_policy_add_t::context |
Definition at line 33 of file sr_mpls.api.
| bool vl_api_sr_mpls_policy_add_t::is_spray |
Definition at line 36 of file sr_mpls.api.
| u8 vl_api_sr_mpls_policy_add_t::n_segments |
Definition at line 37 of file sr_mpls.api.
| u32 vl_api_sr_mpls_policy_add_t::segments[n_segments] |
Definition at line 38 of file sr_mpls.api.
| u32 vl_api_sr_mpls_policy_add_t::weight |
Definition at line 35 of file sr_mpls.api.