|
| Local Properties | Local Methods | |
| Managed Object Types | Data Object Types | All Properties | All Methods |
Properties
| Name | Type | Description |
|---|---|---|
| capability | DVSCapability |
The capbility of the switch. Queried against hosts, the property should
always return configModificationSupported as false.
|
| config | DVSConfigInfo |
The config of the switch.
|
| portgroup* | ManagedObjectReference[]
to a DistributedVirtualPortgroup[] |
The portgroups that are defined on the switch.
|
| summary | DVSSummary |
The summary of the switch.
|
| uuid | xsd:string |
The generated UUID of the switch. Unique across VC inventory and
instances.
|
| Properties inherited from ManagedEntity | ||
| alarmActionsEnabled, configIssue, configStatus, customValue, declaredAlarmState, disabledMethod, effectiveRole, name, overallStatus, parent, permission, recentTask, tag, triggeredAlarmState | ||
| Properties inherited from ExtensibleManagedObject | ||
| availableField, value | ||
Methods
| Methods defined in this Managed Object |
|---|
| AddDVPortgroup_Task, FetchDVPortKeys, FetchDVPorts, MergeDvs_Task, MoveDVPort_Task, PerformDvsProductSpecOperation_Task, QueryUsedVlanIdInDvs, ReconfigureDVPort_Task, ReconfigureDvs_Task, RectifyDvsHost_Task, RefreshDVPortState, UpdateDvsCapability |
| Methods inherited from ManagedEntity |
| Destroy_Task, Reload, Rename_Task |
| Methods inherited from ExtensibleManagedObject |
| setCustomValue |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the DistributedVirtualSwitch used to make the method call. |
| spec | DVPortgroupConfigSpec[] |
the specification for the portgroup.
|
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a Task |
Faults
| Type | Description |
|---|---|
| DuplicateName | |
| DvsFault | |
| InvalidName | |
| NotSupported | Thrown if called directly on a host. |
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the DistributedVirtualSwitch used to make the method call. |
| criteria* | DistributedVirtualSwitchPortCriteria |
The port selection criteria. If unset, the operation will
return the keys of all the ports in the switch.
|
Return Value
| Type | Description |
|---|---|
| xsd:string[] |
Faults
| Type | Description |
|---|---|
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the DistributedVirtualSwitch used to make the method call. |
| criteria* | DistributedVirtualSwitchPortCriteria |
The port selection criteria. If unset, the operation will
return the keys of all the ports in the portgroup.
|
Return Value
| Type | Description |
|---|---|
| DistributedVirtualPort[] |
Faults
| Type | Description |
|---|---|
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
In summary, this operation does the following:
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the DistributedVirtualSwitch used to make the method call. |
| dvs P | ManagedObjectReference
to a DistributedVirtualSwitch |
The switch (source) to be merged
|
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a Task |
Faults
| Type | Description |
|---|---|
| DvsFault | |
| InvalidHostState | |
| NotFound | |
| NotSupported | Thrown if called directly on a host. |
| ResourceInUse | Thrown if failed to delete the source switch |
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the DistributedVirtualSwitch used to make the method call. |
| portKey | xsd:string[] |
The keys of the ports to be moved into the portgroup.
|
| destinationPortgroupKey* | xsd:string |
The key of the portgroup to be moved into.
If unset, the port will be moved under the switch.
|
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a Task |
Faults
| Type | Description |
|---|---|
| ConcurrentAccess | |
| DvsFault | |
| NotFound | |
| NotSupported | Thrown if called directly on a host. |
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the DistributedVirtualSwitch used to make the method call. |
| operation | xsd:string |
The operation. See ProductSpecOperationType for
valid values.
|
| productSpec* | DistributedVirtualSwitchProductSpec |
The product info of the imeplementation.
|
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a Task |
Faults
| Type | Description |
|---|---|
| DvsFault | |
| InvalidState | |
| NotSupported | Thrown if called directly on a host. |
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
| TaskInProgress |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the DistributedVirtualSwitch used to make the method call. |
Return Value
| Type | Description |
|---|---|
| xsd:int[] |
Faults
| Type | Description |
|---|---|
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the DistributedVirtualSwitch used to make the method call. |
| port | DVPortConfigSpec[] |
The specification of the ports.
|
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a Task |
Faults
| Type | Description |
|---|---|
| ConcurrentAccess | |
| DvsFault | |
| InvalidArgument | Thrown if the array have different elements for the same port. |
| NotFound | |
| NotSupported | Thrown if called directly on a host or if the switch implementation doesn't support this API. |
| ResourceInUse | |
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Reconfiguring the switch may require any of the following privileges, depending on what is being changed:
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the DistributedVirtualSwitch used to make the method call. |
| spec | DVSConfigSpec |
The configuration of the switch
|
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a Task |
Faults
| Type | Description |
|---|---|
| AlreadyExists | |
| ConcurrentAccess | |
| DuplicateName | |
| DvsFault | |
| DvsNotAuthorized | Thrown if login-session's extension key does not match (@link vim.DistributedVirtualSwitch.ConfigInfo#extensionKey). |
| InvalidName | |
| InvalidState | |
| LimitExceeded | |
| NotFound | |
| NotSupported | Thrown if called directly on a host. |
| ResourceInUse | |
| ResourceNotAvailable | Thrown if there is no port available in the portgroup |
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the DistributedVirtualSwitch used to make the method call. |
| hosts* | ManagedObjectReference[]
to a HostSystem[] |
The hosts to be refreshed. If not set, all hosts are rectified.
|
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a Task |
Faults
| Type | Description |
|---|---|
| DvsFault | |
| NotFound | |
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the DistributedVirtualSwitch used to make the method call. |
| portKeys* | xsd:string[] |
The keys of the ports to be refreshed. If not set, all port
states are refreshed.
|
Return Value
| Type | Description |
|---|---|
| None | |
Faults
| Type | Description |
|---|---|
| DvsFault | |
| NotFound | |
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the DistributedVirtualSwitch used to make the method call. |
| capability | DVSCapability |
The capability of the switch.
|
Return Value
| Type | Description |
|---|---|
| None | |
Faults
| Type | Description |
|---|---|
| NotSupported | Thrown if called directly on a host or if the switch implementation doesn't support this API. |
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
| Top of page | Local Properties | Local Methods | |
| Managed Object Types | Data Object Types | All Properties | All Methods |