![]() |
FD.io VPP
v19.01.3-6-g70449b9b9
Vector Packet Processing
|
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] |
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. |
| type | is the type of the SR policy. (0.Default // 1.Spray) |
| segments | vector of labels (20bit) composing the segment list |
Definition at line 26 of file sr_mpls.api.
| 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.