netlab.errors.vm — NETLAB+ VE Python SDK 24.0.0 documentation

# netlab.errors.vm

Exceptions

`DataBaseUpdateFailedError`([message]) | Database error.
`DatacenterMismatchError`([message]) | Host clone_vh_id is not in parent datacenter vdc_id.
`InternalError`([message]) | VM pc_id not the same as inventory pc_id.
`InvalidParametersError`([message]) |
`PCNotFoundError`([message]) | pc_id is not found.
`SnapshotNotSupportedError`([message]) | Snapshots cannot be created on this pod type.
`TemplateRequiredForLinkedCloneError`([message]) | Linked clones can only be made from templates.
`VDCMONStopError`([message]) | Could not stop vdcmon for vdc_id.
`ValueIsBlankError`([message]) | vdc_name can not be blank.
`ValueNotWebsafeError`([message]) | vdc_name is not web safe.
`ValueRequiredError`([message]) | vdc_name is required.
`VirtualMachineDatacenterInvalidHostnameError`([...]) | vdc_agent_hostname is invalid.
`VirtualMachineDatacenterInvalidTypeError`([...]) | vdt_type is invalid.
`VirtualMachineDatacenterMismatchError`([message]) | vm_id and vh_id not in the same datacenter.
`VirtualMachineDatacenterNotFoundError`([message]) | vdc_id not found.
`VirtualMachineDatacenterNotFoundUnique` | alias of `VirtualMachineDatacenterNotUniqueError`
`VirtualMachineDatacenterNotUniqueError`([message]) | vdc_id not unique.
`VirtualMachineHostGroupEmptyError`([message]) | clone_vhg_id is empty.
`VirtualMachineHostGroupNotMemberError`([message]) | clone_vh_id is not a part of clone_vhg_id.
`VirtualMachineHostInvalidNameError`([message]) | vh_name is invalid.
`VirtualMachineHostNotFoundError`([message]) | vh_id not found.
`VirtualMachineHostNotUniqueError`([message]) | vh_name is not unique.
`VirtualMachineHostPortGroupNotFoundError`([...]) | Could not map portgroup.id to portgroup name.
`VirtualMachineInvalidDeviceError`([message]) | Network adapter vnic does not exist on this vm.
`VirtualMachineInvalidHostError`([message]) | Could not determine runtime host from virtual machine.
`VirtualMachineInvalidPowerStateError`([message]) | If ok_if_on is not set, then VM was already powered on.
`VirtualMachineInvalidStateError`([message]) | Virtual machine is not currently connected.
`VirtualMachineIsPersistentError`([message]) | Virtual machine role is persistent.
`VirtualMachineIsRuntimeError`([message]) | Virtual machine role is runtime.
`VirtualMachineIsTemplateError`([message]) | Virtual machine role is a template.
`VirtualMachineNotAVMI`([message]) | Virtual machine is a template.
`VirtualMachineNotFoundError`([message]) | vm_id could not be found.
`VirtualMachineNotUniqueError`([message]) | Duplicate vm_uuid in datacenter vdc_id.
`VirtualMachineParentNotFoundError`([message]) | vm_parent_id is not found.
`VirtualMachineShutdownTimeoutError`([message]) | The virtual machine did not shutdown within wait_seconds seconds.
`VirtualMachineSnapshotCurrentNotFoundError`([...]) | Could not revert VM image to current snapshot, a current snapshot does not exist.
`VirtualMachineSnapshotRequiredError`([message]) | snapshot_id or snapshot_name is required.
`VirtualMachineToolsUnavailableError`([message]) | VMWare tools are unavailable.
`VirtualMachineWrongHostError`([message]) | vm_id is powered up on incorrect host.

exception netlab.errors.vm.DataBaseUpdateFailedError(message=None)

  Database error.

exception netlab.errors.vm.DatacenterMismatchError(message=None)

  Host clone_vh_id is not in parent datacenter vdc_id.

exception netlab.errors.vm.InternalError(message=None)

  VM pc_id not the same as inventory pc_id.

exception netlab.errors.vm.PCNotFoundError(message=None)

  pc_id is not found.

exception netlab.errors.vm.SnapshotNotSupportedError(message=None)

  Snapshots cannot be created on this pod type.

exception netlab.errors.vm.TemplateRequiredForLinkedCloneError(message=None)

  Linked clones can only be made from templates.

exception netlab.errors.vm.VDCMONStopError(message=None)

  Could not stop vdcmon for vdc_id.

exception netlab.errors.vm.ValueIsBlankError(message=None)

  vdc_name can not be blank.

exception netlab.errors.vm.ValueNotWebsafeError(message=None)

  vdc_name is not web safe.

exception netlab.errors.vm.ValueRequiredError(message=None)

  vdc_name is required.

exception netlab.errors.vm.VirtualMachineDatacenterInvalidHostnameError(message=None)

  vdc_agent_hostname is invalid.

exception netlab.errors.vm.VirtualMachineDatacenterInvalidTypeError(message=None)

  vdt_type is invalid.

exception netlab.errors.vm.VirtualMachineDatacenterMismatchError(message=None)

  vm_id and vh_id not in the same datacenter.

exception netlab.errors.vm.VirtualMachineDatacenterNotFoundError(message=None)

  vdc_id not found.

netlab.errors.vm.VirtualMachineDatacenterNotFoundUnique

  alias of `VirtualMachineDatacenterNotUniqueError`

exception netlab.errors.vm.VirtualMachineDatacenterNotUniqueError(message=None)

  vdc_id not unique.

exception netlab.errors.vm.VirtualMachineHostGroupEmptyError(message=None)

  clone_vhg_id is empty.

exception netlab.errors.vm.VirtualMachineHostGroupNotMemberError(message=None)

  clone_vh_id is not a part of clone_vhg_id.

exception netlab.errors.vm.VirtualMachineHostInvalidNameError(message=None)

  vh_name is invalid.

exception netlab.errors.vm.VirtualMachineHostNotFoundError(message=None)

  vh_id not found.

exception netlab.errors.vm.VirtualMachineHostNotUniqueError(message=None)

  vh_name is not unique.

exception netlab.errors.vm.VirtualMachineHostPortGroupNotFoundError(message=None)

  Could not map portgroup.id to portgroup name. Portgroup does not exist on host.

exception netlab.errors.vm.VirtualMachineInvalidDeviceError(message=None)

  Network adapter vnic does not exist on this vm.

exception netlab.errors.vm.VirtualMachineInvalidHostError(message=None)

  Could not determine runtime host from virtual machine.

exception netlab.errors.vm.VirtualMachineInvalidPowerStateError(message=None)

  If ok_if_on is not set, then VM was already powered on.

exception netlab.errors.vm.VirtualMachineInvalidStateError(message=None)

  Virtual machine is not currently connected.

exception netlab.errors.vm.VirtualMachineIsPersistentError(message=None)

  Virtual machine role is persistent.

exception netlab.errors.vm.VirtualMachineIsRuntimeError(message=None)

  Virtual machine role is runtime.

exception netlab.errors.vm.VirtualMachineIsTemplateError(message=None)

  Virtual machine role is a template.

exception netlab.errors.vm.VirtualMachineNotAVMI(message=None)

  Virtual machine is a template.

exception netlab.errors.vm.VirtualMachineNotFoundError(message=None)

  vm_id could not be found.

exception netlab.errors.vm.VirtualMachineNotUniqueError(message=None)

  Duplicate vm_uuid in datacenter vdc_id.

exception netlab.errors.vm.VirtualMachineParentNotFoundError(message=None)

  vm_parent_id is not found.

exception netlab.errors.vm.VirtualMachineShutdownTimeoutError(message=None)

  The virtual machine did not shutdown within wait_seconds seconds.

exception netlab.errors.vm.VirtualMachineSnapshotCurrentNotFoundError(message=None)

  Could not revert VM image to current snapshot, a current snapshot does not exist.

exception netlab.errors.vm.VirtualMachineSnapshotRequiredError(message=None)

  snapshot_id or snapshot_name is required.

exception netlab.errors.vm.VirtualMachineToolsUnavailableError(message=None)

  VMWare tools are unavailable.

exception netlab.errors.vm.VirtualMachineWrongHostError(message=None)

  vm_id is powered up on incorrect host.