pub trait DvsFeatureCapabilityTrait: DataObjectTrait {
// Required methods
fn get_network_resource_management_supported(&self) -> bool;
fn get_vm_direct_path_gen_2_supported(&self) -> Option<bool>;
fn get_nic_teaming_policy(&self) -> &Option<Vec<String>>;
fn get_network_resource_pool_high_share_value(&self) -> Option<i32>;
fn get_network_resource_management_capability(
&self,
) -> &Option<DvsNetworkResourceManagementCapability>;
fn get_health_check_capability(
&self,
) -> &Option<Box<dyn DvsHealthCheckCapabilityTrait>>;
fn get_rollback_capability(&self) -> &Option<DvsRollbackCapability>;
fn get_backup_restore_capability(
&self,
) -> &Option<DvsBackupRestoreCapability>;
fn get_network_filter_supported(&self) -> Option<bool>;
fn get_mac_learning_supported(&self) -> Option<bool>;
}
Expand description
The DVSFeatureCapability data object represents the capabilities supported by a DistributedVirtualSwitch.
These properties are read-only with the exception of DVSFeatureCapability.vmDirectPathGen2Supported.
Required Methods§
Sourcefn get_network_resource_management_supported(&self) -> bool
fn get_network_resource_management_supported(&self) -> 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.
Sourcefn get_vm_direct_path_gen_2_supported(&self) -> Option<bool>
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.
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.
Sourcefn get_nic_teaming_policy(&self) -> &Option<Vec<String>>
fn get_nic_teaming_policy(&self) -> &Option<Vec<String>>
The available teaming modes for the vSphere Distributed Switch.
The value can be one or more of DistributedVirtualSwitchNicTeamingPolicyMode_enum.
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.
Sourcefn get_network_resource_management_capability(
&self,
) -> &Option<DvsNetworkResourceManagementCapability>
fn get_network_resource_management_capability( &self, ) -> &Option<DvsNetworkResourceManagementCapability>
Network resource management capabilities supported by a distributed virtual switch.
Sourcefn get_health_check_capability(
&self,
) -> &Option<Box<dyn DvsHealthCheckCapabilityTrait>>
fn get_health_check_capability( &self, ) -> &Option<Box<dyn DvsHealthCheckCapabilityTrait>>
Health check capabilities supported by a VmwareDistributedVirtualSwitch.
Sourcefn get_rollback_capability(&self) -> &Option<DvsRollbackCapability>
fn get_rollback_capability(&self) -> &Option<DvsRollbackCapability>
Host rollback capability.
If rollbackCapability
.DVSRollbackCapability.rollbackSupported
is true, network operations that disconnect the the host are rolled back.
Sourcefn get_backup_restore_capability(&self) -> &Option<DvsBackupRestoreCapability>
fn get_backup_restore_capability(&self) -> &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.
Sourcefn get_network_filter_supported(&self) -> Option<bool>
fn get_network_filter_supported(&self) -> Option<bool>
Indicates whether Network Filter feature is supported in vSphere Distributed Switch.
Sourcefn get_mac_learning_supported(&self) -> Option<bool>
fn get_mac_learning_supported(&self) -> Option<bool>
Indicates whether MAC learning feature is supported in vSphere Distributed Switch.