pub struct BGPNeighbor {Show 17 fields
pub address: Option<String>,
pub allow_own_as_enabled: Option<bool>,
pub cidr: Option<i64>,
pub connect_retry_seconds: Option<i64>,
pub enabled: Option<bool>,
pub hold_time_seconds: Option<i64>,
pub keepalive_interval_seconds: Option<i64>,
pub local_as: Option<i64>,
pub log_state_changes_enabled: Option<bool>,
pub max_prefix: Option<MaxPrefix>,
pub minimum_advertisement_interval_seconds: Option<i64>,
pub passive_mode_enabled: Option<bool>,
pub path_mtu_discovery_enabled: Option<bool>,
pub peer_as: Option<i64>,
pub replace_peer_as_enabled: Option<bool>,
pub tcp_max_segment_size_bytes: Option<i64>,
pub treat_as_withdraw_enabled: Option<bool>,
}Expand description
Border Gateway Protocol (BGP) neighbor related properties.
Fields§
§address: Option<String>Border Gateway Protocol (BGP) neighbor address.
allow_own_as_enabled: Option<bool>Allow own Autonomous System (AS) status.
cidr: Option<i64>The Classless Inter-Domain Routing (CIDR) value used for neighbor communication. This is the number of ones before the first zero in the subnet mask.
connect_retry_seconds: Option<i64>Border Gateway Protocol (BGP) retry timer in seconds.
enabled: Option<bool>An indication of whether BGP neighbor communication is enabled.
hold_time_seconds: Option<i64>Border Gateway Protocol (BGP) hold timer in seconds.
keepalive_interval_seconds: Option<i64>Border Gateway Protocol (BGP) Keepalive timer in seconds.
local_as: Option<i64>Local Autonomous System (AS) number.
log_state_changes_enabled: Option<bool>Border Gateway Protocol (BGP) neighbor log state change status.
max_prefix: Option<MaxPrefix>§minimum_advertisement_interval_seconds: Option<i64>Minimum Border Gateway Protocol (BGP) advertisement interval in seconds.
passive_mode_enabled: Option<bool>Border Gateway Protocol (BGP) passive mode status.
path_mtu_discovery_enabled: Option<bool>Path MTU discovery status.
peer_as: Option<i64>Peer Autonomous System (AS) number.
replace_peer_as_enabled: Option<bool>Replace Border Gateway Protocol (BGP) peer Autonomous System (AS) status.
tcp_max_segment_size_bytes: Option<i64>TCP max segment size in Bytes.
treat_as_withdraw_enabled: Option<bool>Border Gateway Protocol (BGP) treat as withdraw status.
Trait Implementations§
Source§impl Clone for BGPNeighbor
impl Clone for BGPNeighbor
Source§fn clone(&self) -> BGPNeighbor
fn clone(&self) -> BGPNeighbor
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more