#[non_exhaustive]pub struct SourcePacketRouting {Show 14 fields
pub inherit_label_nexthops: bool,
pub lsp_external_controller: Option<String>,
pub maximum_segment_list_depth: Option<String>,
pub maximum_srv6_te_segment_list_depth: Option<String>,
pub preference: Option<String>,
pub preserve_nexthop_hierarchy: bool,
pub retry_timer: Option<String>,
pub sbfd_frr: bool,
pub sr_preference: Option<String>,
pub sr_preference_override: Option<String>,
pub srv6: bool,
pub tunnel_tracking: bool,
pub segment_lists: Vec<SegmentList>,
pub source_routing_paths: Vec<SourceRoutingPath>,
}Expand description
The protocols source-packet-routing configuration. The telemetry, traceoptions, traffic-engineering,
source-routing-path-template and compute-profile statements are not extracted.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.inherit_label_nexthops: bool§lsp_external_controller: Option<String>The name of the external path computing entity.
maximum_segment_list_depth: Option<String>1 through 16.
maximum_srv6_te_segment_list_depth: Option<String>1 through 6, or 1 through 5 with no-reduced-srh.
preference: Option<String>§preserve_nexthop_hierarchy: bool§retry_timer: Option<String>Seconds.
sbfd_frr: bool§sr_preference: Option<String>§sr_preference_override: Option<String>§srv6: boolSRv6 data plane for statically configured SR-TE policies.
tunnel_tracking: bool§segment_lists: Vec<SegmentList>§source_routing_paths: Vec<SourceRoutingPath>Trait Implementations§
Source§impl Clone for SourcePacketRouting
impl Clone for SourcePacketRouting
Source§impl Debug for SourcePacketRouting
impl Debug for SourcePacketRouting
Source§impl Default for SourcePacketRouting
impl Default for SourcePacketRouting
impl Eq for SourcePacketRouting
Source§impl PartialEq for SourcePacketRouting
impl PartialEq for SourcePacketRouting
impl StructuralPartialEq for SourcePacketRouting
Auto Trait Implementations§
impl Forget for SourcePacketRouting
impl Freeze for SourcePacketRoutingwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<SegmentList>: Freeze,
PhantomData<SourceRoutingPath>: Freeze,
impl Move for SourcePacketRouting
impl RefUnwindSafe for SourcePacketRouting
impl Send for SourcePacketRoutingwhere
RawVecInner: Send,
impl Sync for SourcePacketRoutingwhere
RawVecInner: Sync,
impl Unpin for SourcePacketRouting
impl UnsafeUnpin for SourcePacketRoutingwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<SegmentList>: UnsafeUnpin,
PhantomData<SourceRoutingPath>: UnsafeUnpin,
impl UnwindSafe for SourcePacketRoutingwhere
RawVecInner: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more