Interface VmHostDeviceService

  • All Superinterfaces:
    Service
    All Known Implementing Classes:
    VmHostDeviceServiceImpl

    public interface VmHostDeviceService
    extends Service
    A service to manage individual host device attached to a virtual machine.
    • Method Detail

      • get

        VmHostDeviceService.GetRequest get()
        Retrieve information about particular host device attached to given virtual machine. Example: [source] ---- GET /ovirt-engine/api/vms/123/hostdevices/456 ---- [source,xml] ---- pci_0000_04_00_0 pci 30 true GM107GL [Quadro K2200] NVIDIA Corporation pci_0000_00_03_0 ----
      • remove

        VmHostDeviceService.RemoveRequest remove()
        Remove the attachment of this host device from given virtual machine. NOTE: In case this device serves as an IOMMU placeholder, it cannot be removed (remove will result only in setting its `placeholder` flag to `true`). Note that all IOMMU placeholder devices will be removed automatically as soon as there will be no more non-placeholder devices (all devices from given IOMMU group are detached). [source] ---- DELETE /ovirt-engine/api/vms/123/hostdevices/456 ----
      • service

        Service service​(String path)
        Service locator method, returns individual service on which the URI is dispatched.