pub struct OspfProcess {
pub process_id: u32,
pub router_id: Option<IpAddr>,
pub areas: Vec<OspfAreaConfig>,
pub passive_interfaces: Vec<String>,
pub default_originate: Option<OspfDefaultOriginate>,
pub redistribute: Vec<OspfRedistribute>,
pub max_metric: bool,
pub auth: Option<OspfAuth>,
pub log_adjacency: bool,
}Expand description
A router ospf <pid> process block.
Fields§
§process_id: u32§router_id: Option<IpAddr>§areas: Vec<OspfAreaConfig>Area configurations including network statements.
passive_interfaces: Vec<String>Interfaces excluded from OSPF hellos (passive-interface).
default_originate: Option<OspfDefaultOriginate>default-information originate settings.
redistribute: Vec<OspfRedistribute>Redistributed protocol sources.
max_metric: boolmax-metric router-lsa (stub router advertisement).
auth: Option<OspfAuth>Process-level authentication.
log_adjacency: boollog-adjacency-changes
Trait Implementations§
Source§impl Clone for OspfProcess
impl Clone for OspfProcess
Source§fn clone(&self) -> OspfProcess
fn clone(&self) -> OspfProcess
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OspfProcess
impl Debug for OspfProcess
Source§impl<'de> Deserialize<'de> for OspfProcess
impl<'de> Deserialize<'de> for OspfProcess
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<OspfProcess, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<OspfProcess, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for OspfProcess
impl Serialize for OspfProcess
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for OspfProcess
impl RefUnwindSafe for OspfProcess
impl Send for OspfProcess
impl Sync for OspfProcess
impl Unpin for OspfProcess
impl UnsafeUnpin for OspfProcess
impl UnwindSafe for OspfProcess
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