#[non_exhaustive]pub struct BgpMultipath {
pub disable: bool,
pub multiple_as: bool,
pub allow_external_internal: bool,
pub allow_protection: bool,
pub list_nexthop: bool,
pub starving_age: Option<String>,
pub prioritization: bool,
pub prioritization_high_priority_inline: bool,
pub prioritization_policies: Vec<String>,
}Expand description
The BGP multipath statement. Written multipath; or with options in a block.
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.disable: boolmultipath { disable; }, to switch off an inherited multipath.
multiple_as: boolmultiple-as: load-balance across paths from different neighboring ASes.
allow_external_internal: bool§allow_protection: bool§list_nexthop: bool§starving_age: Option<String>Seconds.
prioritization: boolA prioritization block is configured (25.2 and later).
prioritization_high_priority_inline: bool§prioritization_policies: Vec<String>Policies of prioritization { policy [ ... ]; }.
Trait Implementations§
Source§impl Clone for BgpMultipath
impl Clone for BgpMultipath
Source§impl Debug for BgpMultipath
impl Debug for BgpMultipath
Source§impl Default for BgpMultipath
impl Default for BgpMultipath
impl Eq for BgpMultipath
Source§impl PartialEq for BgpMultipath
impl PartialEq for BgpMultipath
impl StructuralPartialEq for BgpMultipath
Auto Trait Implementations§
impl Forget for BgpMultipath
impl Freeze for BgpMultipath
impl Move for BgpMultipath
impl RefUnwindSafe for BgpMultipath
impl Send for BgpMultipathwhere
RawVecInner: Send,
impl Sync for BgpMultipathwhere
RawVecInner: Sync,
impl Unpin for BgpMultipath
impl UnsafeUnpin for BgpMultipathwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for BgpMultipathwhere
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