Struct VMwareDvsFeatureCapability

Source
pub struct VMwareDvsFeatureCapability {
Show 20 fields pub network_resource_management_supported: bool, pub vm_direct_path_gen_2_supported: Option<bool>, pub nic_teaming_policy: Option<Vec<String>>, pub network_resource_pool_high_share_value: Option<i32>, pub network_resource_management_capability: Option<DvsNetworkResourceManagementCapability>, pub health_check_capability: Option<Box<dyn DvsHealthCheckCapabilityTrait>>, pub rollback_capability: Option<DvsRollbackCapability>, pub backup_restore_capability: Option<DvsBackupRestoreCapability>, pub network_filter_supported: Option<bool>, pub mac_learning_supported: Option<bool>, pub vspan_supported: Option<bool>, pub lldp_supported: Option<bool>, pub ipfix_supported: Option<bool>, pub ipfix_capability: Option<VMwareDvsIpfixCapability>, pub multicast_snooping_supported: Option<bool>, pub vspan_capability: Option<VMwareDvsVspanCapability>, pub lacp_capability: Option<VMwareDvsLacpCapability>, pub dpu_capability: Option<VMwareDvsDpuCapability>, pub nsx_supported: Option<bool>, pub mtu_capability: Option<VMwareDvsMtuCapability>,
}
Expand description

Indicators of support for version-specific DVS features that are only available on a VMware-class switch.

Fields§

§network_resource_management_supported: bool

Deprecated as of vSphere API 5.0, use networkResourceManagementCapability.DVSNetworkResourceManagementCapability.networkResourceManagementSupported.

Indicates whether network I/O control is supported on the vSphere Distributed Switch.

§vm_direct_path_gen_2_supported: Option<bool>

Deprecated as of vSphere API 8.0. VMDirectPath Gen 2 is no longer supported and there is no replacement.

Indicates whether VMDirectPath Gen 2 is supported on the distributed virtual switch.

See HostCapability.HostCapability.vmDirectPathGen2Supported and PhysicalNic.PhysicalNic.vmDirectPathGen2Supported.

For a third-party distributed switch implementation, you can specify this property during switch creation or when you call the DistributedVirtualSwitch.UpdateDvsCapability method.

VMDirectPath Gen 2 is supported in vSphere Distributed Switch Version 4.1 or later.

§nic_teaming_policy: Option<Vec<String>>

The available teaming modes for the vSphere Distributed Switch.

The value can be one or more of DistributedVirtualSwitchNicTeamingPolicyMode_enum.

§network_resource_pool_high_share_value: Option<i32>

Deprecated as of vSphere API 5.0, use networkResourceManagementCapability.DVSNetworkResourceManagementCapability.networkResourcePoolHighShareValue.

This is the value for high in DVSNetworkResourcePoolAllocationInfo.shares.

This implicitly defines the legal range of share values to be between 1 and this. This also defines values for other level types, such as normal being one half of this value and low being one fourth of this value.

§network_resource_management_capability: Option<DvsNetworkResourceManagementCapability>

Network resource management capabilities supported by a distributed virtual switch.

§health_check_capability: Option<Box<dyn DvsHealthCheckCapabilityTrait>>

Health check capabilities supported by a VmwareDistributedVirtualSwitch.

§rollback_capability: Option<DvsRollbackCapability>

Host rollback capability.

If rollbackCapability.DVSRollbackCapability.rollbackSupported is true, network operations that disconnect the the host are rolled back.

§backup_restore_capability: Option<DvsBackupRestoreCapability>

Backup, restore, and rollback capabilities.

Backup and restore are supported only for VmwareDistributedVirtualSwitch. Rollback is supported for VmwareDistributedVirtualSwitch and DistributedVirtualPortgroup. For information about backup and restore, see the DistributedVirtualSwitchManager methods DistributedVirtualSwitchManager.DVSManagerExportEntity_Task and DistributedVirtualSwitchManager.DVSManagerImportEntity_Task. For information about rollback, see the DistributedVirtualSwitch.DistributedVirtualSwitch.DVSRollback_Task and DistributedVirtualPortgroup.DistributedVirtualPortgroup.DVPortgroupRollback_Task methods.

§network_filter_supported: Option<bool>

Indicates whether Network Filter feature is supported in vSphere Distributed Switch.

§mac_learning_supported: Option<bool>

Indicates whether MAC learning feature is supported in vSphere Distributed Switch.

§vspan_supported: Option<bool>

Flag to indicate whether vspan(DVMirror) is supported on the vSphere Distributed Switch.

Distributed Port Mirroring is supported in vSphere Distributed Switch Version 5.0 or later.

§lldp_supported: Option<bool>

Flag to indicate whether LLDP(Link Layer Discovery Protocol) is supported on the vSphere Distributed Switch.

LLDP is supported in vSphere Distributed Switch Version 5.0 or later.

§ipfix_supported: Option<bool>

Deprecated as of vSphere API 6.0, use VMwareDvsIpfixCapability.

Flag to indicate whether IPFIX(NetFlow) is supported on the vSphere Distributed Switch.

IPFIX is supported in vSphere Distributed Switch Version 5.0 or later.

§ipfix_capability: Option<VMwareDvsIpfixCapability>

The support for version-specific IPFIX(NetFlow).

§multicast_snooping_supported: Option<bool>

Flag to indicate whether multicast snooping(IGMP/MLD Snooping) is supported on the vSphere Distributed Switch.

IGMP/MLD Snooping is supported in vSphere Distributed Switch Version 6.0 or later.

§vspan_capability: Option<VMwareDvsVspanCapability>

The support for version-specific Distributed Port Mirroring sessions.

§lacp_capability: Option<VMwareDvsLacpCapability>

The support for version-specific Link Aggregation Control Protocol.

§dpu_capability: Option<VMwareDvsDpuCapability>

The support for version-specific DPU(SmartNic).

Since: vSphere API Release 8.0.0.1

§nsx_supported: Option<bool>

Flag to indicate whether NSX is supported on the vSphere Distributed Switch.

NSX is supported in vSphere Distributed Switch Version 7.0 or later.

§mtu_capability: Option<VMwareDvsMtuCapability>

The support for version-specific supported MTU.

Since: vSphere API Release 7.0.2.0

Trait Implementations§

Source§

impl Debug for VMwareDvsFeatureCapability

Source§

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

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

impl<'de> Deserialize<'de> for VMwareDvsFeatureCapability

Source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

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

impl DvsFeatureCapabilityTrait for VMwareDvsFeatureCapability

Source§

fn get_network_resource_management_supported(&self) -> bool

Deprecated as of vSphere API 5.0, use networkResourceManagementCapability.DVSNetworkResourceManagementCapability.networkResourceManagementSupported. Read more
Source§

fn get_vm_direct_path_gen_2_supported(&self) -> Option<bool>

Deprecated as of vSphere API 8.0. VMDirectPath Gen 2 is no longer supported and there is no replacement. Read more
Source§

fn get_nic_teaming_policy(&self) -> &Option<Vec<String>>

The available teaming modes for the vSphere Distributed Switch. Read more
Source§

fn get_network_resource_pool_high_share_value(&self) -> Option<i32>

Deprecated as of vSphere API 5.0, use networkResourceManagementCapability.DVSNetworkResourceManagementCapability.networkResourcePoolHighShareValue. Read more
Source§

fn get_network_resource_management_capability( &self, ) -> &Option<DvsNetworkResourceManagementCapability>

Network resource management capabilities supported by a distributed virtual switch.
Source§

fn get_health_check_capability( &self, ) -> &Option<Box<dyn DvsHealthCheckCapabilityTrait>>

Health check capabilities supported by a VmwareDistributedVirtualSwitch.
Source§

fn get_rollback_capability(&self) -> &Option<DvsRollbackCapability>

Host rollback capability. Read more
Source§

fn get_backup_restore_capability(&self) -> &Option<DvsBackupRestoreCapability>

Backup, restore, and rollback capabilities. Read more
Source§

fn get_network_filter_supported(&self) -> Option<bool>

Indicates whether Network Filter feature is supported in vSphere Distributed Switch.
Source§

fn get_mac_learning_supported(&self) -> Option<bool>

Indicates whether MAC learning feature is supported in vSphere Distributed Switch.
Source§

impl Serialize for VMwareDvsFeatureCapability

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
Source§

impl VimObjectTrait for VMwareDvsFeatureCapability

Source§

impl DataObjectTrait for VMwareDvsFeatureCapability

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> AsAny for T
where T: 'static,

Source§

fn as_any_ref<'a>(&'a self) -> &'a (dyn Any + 'static)

Cast a reference to Any trait.

Source§

fn as_any_box(self: Box<T>) -> Box<dyn Any>

Cast to a boxed reference to Any trait.

Source§

fn type_id(&self) -> TypeId

Get the underlying type identifier.
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<To, T> CastInto<To> for T
where To: CastFrom<T> + ?Sized, T: 'static + ?Sized,

Source§

fn into_ref<'a>(&'a self) -> Option<&'a To>

Casts a reference to a trait object. If the cast fails, std::option::Option::None is returned.
Source§

fn into_box(self: Box<T>) -> Result<Box<To>, Box<dyn Any>>

Casts a boxed trait object to another trait object. If the cast fails, the original boxed trait object is returned in std::result::Result::Err.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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, 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> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

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

Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> MaybeSendSync for T