#[non_exhaustive]pub struct OspfInterface {Show 33 fields
pub name: String,
pub passive: bool,
pub metric: Option<u32>,
pub disable: bool,
pub priority: Option<String>,
pub hello_interval: Option<String>,
pub dead_interval: Option<String>,
pub retransmit_interval: Option<String>,
pub transit_delay: Option<String>,
pub poll_interval: Option<String>,
pub te_metric: Option<String>,
pub mtu: Option<String>,
pub interface_type: Option<String>,
pub ipsec_sa: Option<String>,
pub authentication: Option<OspfAuthentication>,
pub bfd_liveness_detection: Option<OspfBfd>,
pub ldp_synchronization_disable: bool,
pub ldp_synchronization_hold_time: Option<String>,
pub neighbors: Vec<OspfNeighbor>,
pub topologies: Vec<OspfInterfaceTopology>,
pub link_protection: bool,
pub node_link_protection: bool,
pub no_eligible_backup: bool,
pub no_eligible_remote_backup: bool,
pub secondary: bool,
pub flood_reduction: bool,
pub demand_circuit: bool,
pub no_interface_state_traps: bool,
pub no_neighbor_down_notification: bool,
pub no_advertise_adjacency_segment: bool,
pub dynamic_neighbors: bool,
pub strict_bfd: bool,
pub post_convergence_lfa: Option<OspfPostConvergenceLfa>,
}Expand description
An interface <name> entry under an OSPF area. Values are kept as written. The passive traffic-engineering
settings, bandwidth-based-metrics, lan-neighbor and ipv4-adjacency-segment 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.name: String§passive: bool§metric: Option<u32>§disable: boolOSPF is disabled on this interface.
priority: Option<String>§hello_interval: Option<String>Seconds.
dead_interval: Option<String>Seconds.
retransmit_interval: Option<String>Seconds.
transit_delay: Option<String>Seconds.
poll_interval: Option<String>Seconds, for NBMA interfaces.
te_metric: Option<String>§mtu: Option<String>§interface_type: Option<String>nbma, p2mp, p2mp-over-lan or p2p.
ipsec_sa: Option<String>§authentication: Option<OspfAuthentication>§bfd_liveness_detection: Option<OspfBfd>§ldp_synchronization_disable: boolldp-synchronization { disable; }.
ldp_synchronization_hold_time: Option<String>Seconds, from ldp-synchronization { hold-time ...; }.
neighbors: Vec<OspfNeighbor>§topologies: Vec<OspfInterfaceTopology>§link_protection: bool§node_link_protection: bool§no_eligible_backup: bool§no_eligible_remote_backup: bool§secondary: bool§flood_reduction: bool§demand_circuit: bool§no_interface_state_traps: bool§no_neighbor_down_notification: bool§no_advertise_adjacency_segment: bool§dynamic_neighbors: bool§strict_bfd: bool§post_convergence_lfa: Option<OspfPostConvergenceLfa>Trait Implementations§
Source§impl Clone for OspfInterface
impl Clone for OspfInterface
Source§impl Debug for OspfInterface
impl Debug for OspfInterface
impl Eq for OspfInterface
Source§impl PartialEq for OspfInterface
impl PartialEq for OspfInterface
impl StructuralPartialEq for OspfInterface
Auto Trait Implementations§
impl Forget for OspfInterface
impl Freeze for OspfInterfacewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<OspfMd5Key>: Freeze,
PhantomData<String>: Freeze,
PhantomData<OspfNeighbor>: Freeze,
PhantomData<OspfInterfaceTopology>: Freeze,
impl Move for OspfInterface
impl RefUnwindSafe for OspfInterface
impl Send for OspfInterfacewhere
RawVecInner: Send,
impl Sync for OspfInterfacewhere
RawVecInner: Sync,
impl Unpin for OspfInterface
impl UnsafeUnpin for OspfInterfacewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<OspfMd5Key>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<OspfNeighbor>: UnsafeUnpin,
PhantomData<OspfInterfaceTopology>: UnsafeUnpin,
impl UnwindSafe for OspfInterfacewhere
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