Class VmHostDeviceServiceImpl

    • Constructor Detail

      • VmHostDeviceServiceImpl

        public VmHostDeviceServiceImpl​(HttpConnection connection,
                                       String path)
    • Method Detail

      • get

        public VmHostDeviceService.GetRequest get()
        Description copied from interface: VmHostDeviceService
        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 ----
        Specified by:
        get in interface VmHostDeviceService
      • remove

        public VmHostDeviceService.RemoveRequest remove()
        Description copied from interface: VmHostDeviceService
        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 ----
        Specified by:
        remove in interface VmHostDeviceService