Skip to main content

BGPNeighbor

Struct BGPNeighbor 

Source
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

Source§

fn clone(&self) -> BGPNeighbor

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for BGPNeighbor

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for BGPNeighbor

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for BGPNeighbor

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Metadata<'static> for BGPNeighbor

Source§

const JSON_SCHEMA: &'static str = "AddressPool.v1_2_2.json"

Name of the json-schema file that describes the entity that implements this trait. Should be only the file name, so that it can be resolved relative to the URL of the redfish service, or the public Redfish schema index.
Source§

impl Serialize for BGPNeighbor

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,