Skip to main content

AggregatedEtherOptions

Struct AggregatedEtherOptions 

Source
#[non_exhaustive]
pub struct AggregatedEtherOptions {
Show 24 fields pub lacp: Option<Lacp>, pub mc_ae: Option<McAe>, pub bfd_liveness_detection: Option<BfdLivenessDetection>, pub link_speed: Option<String>, pub minimum_links: Option<String>, pub flow_control: Option<bool>, pub loopback: Option<bool>, pub source_filtering: Option<bool>, pub link_protection: Option<LinkProtection>, pub link_protection_sub_groups: Vec<LinkProtectionSubGroup>, pub local_bias: bool, pub local_minimum_links_threshold: Option<String>, pub minimum_bandwidth_unit: Option<String>, pub minimum_bandwidth_value: Option<String>, pub resilient_hash: bool, pub load_balance: Option<LoadBalance>, pub rebalance_periodic: Option<RebalancePeriodic>, pub dlb: Option<Dlb>, pub fcoe_lag: Option<bool>, pub logical_interface_chassis_redundancy: bool, pub logical_interface_fpc_redundancy: bool, pub targeted_options: Option<TargetedOptions>, pub ethernet_switch_profile: Option<EthernetSwitchProfile>, pub source_address_filter: Vec<String>,
}
Expand description

The aggregated-ether-options of an aggregated Ethernet interface.

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.
§lacp: Option<Lacp>§mc_ae: Option<McAe>§bfd_liveness_detection: Option<BfdLivenessDetection>§link_speed: Option<String>

e.g. "10g" or "mixed".

§minimum_links: Option<String>§flow_control: Option<bool>

Some(true) for flow-control, Some(false) for no-flow-control.

§loopback: Option<bool>

Some(true) for loopback, Some(false) for no-loopback.

§source_filtering: Option<bool>

Some(true) for source-filtering, Some(false) for no-source-filtering.

§link_protection: Option<LinkProtection>§link_protection_sub_groups: Vec<LinkProtectionSubGroup>§local_bias: bool§local_minimum_links_threshold: Option<String>§minimum_bandwidth_unit: Option<String>

From minimum-bandwidth bw-unit <unit> bw-value <value>, e.g. "gbps".

§minimum_bandwidth_value: Option<String>§resilient_hash: bool§load_balance: Option<LoadBalance>§rebalance_periodic: Option<RebalancePeriodic>§dlb: Option<Dlb>§fcoe_lag: Option<bool>

Some(true) for fcoe-lag, Some(false) for no-fcoe-lag.

§logical_interface_chassis_redundancy: bool§logical_interface_fpc_redundancy: bool§targeted_options: Option<TargetedOptions>§ethernet_switch_profile: Option<EthernetSwitchProfile>§source_address_filter: Vec<String>

The MAC addresses of source-address-filter.

Trait Implementations§

Source§

impl Clone for AggregatedEtherOptions

Source§

fn clone(&self) -> Self

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 AggregatedEtherOptions

Source§

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

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

impl Eq for AggregatedEtherOptions

Source§

impl PartialEq for AggregatedEtherOptions

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for AggregatedEtherOptions

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 = !

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

fn try_from(value: U) -> Result<T, !>

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.