Package org.ovirt.engine.sdk4.services
Interface VmNicService
-
- All Superinterfaces:
MeasurableService
,Service
- All Known Implementing Classes:
VmNicServiceImpl
public interface VmNicService extends MeasurableService
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
VmNicService.ActivateRequest
static interface
VmNicService.ActivateResponse
static interface
VmNicService.DeactivateRequest
static interface
VmNicService.DeactivateResponse
static interface
VmNicService.GetRequest
static interface
VmNicService.GetResponse
static interface
VmNicService.RemoveRequest
Removes the NIC.static interface
VmNicService.RemoveResponse
Removes the NIC.static interface
VmNicService.UpdateRequest
Updates the NIC.static interface
VmNicService.UpdateResponse
Updates the NIC.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VmNicService.ActivateRequest
activate()
VmNicService.DeactivateRequest
deactivate()
VmNicService.GetRequest
get()
NicNetworkFilterParametersService
networkFilterParametersService()
Reference to the service that manages the network filter parameters of the NIC.VmNicService.RemoveRequest
remove()
Removes the NIC.VmReportedDevicesService
reportedDevicesService()
Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.VmNicService.UpdateRequest
update()
Updates the NIC.-
Methods inherited from interface org.ovirt.engine.sdk4.services.MeasurableService
statisticsService
-
-
-
-
Method Detail
-
activate
VmNicService.ActivateRequest activate()
-
deactivate
VmNicService.DeactivateRequest deactivate()
-
get
VmNicService.GetRequest get()
-
remove
VmNicService.RemoveRequest remove()
Removes the NIC. For example, to remove the NIC with id `456` from the virtual machine with id `123` send a request like this: [source] ---- DELETE /ovirt-engine/api/vms/123/nics/456 ---- [IMPORTANT] ==== The hotplugging feature only supports virtual machine operating systems with hotplugging operations. Example operating systems include: - Red Hat Enterprise Linux 6 - Red Hat Enterprise Linux 5 - Windows Server 2008 and - Windows Server 2003 ====
-
update
VmNicService.UpdateRequest update()
Updates the NIC. For example, to update the NIC having with `456` belonging to virtual the machine with id `123` send a request like this: [source] ---- PUT /ovirt-engine/api/vms/123/nics/456 ---- With a request body like this: [source,xml] ----mynic e1000
-
networkFilterParametersService
NicNetworkFilterParametersService networkFilterParametersService()
Reference to the service that manages the network filter parameters of the NIC. A single top-level network filter may assigned to the NIC by the NIC's <>.
-
reportedDevicesService
VmReportedDevicesService reportedDevicesService()
-
service
Service service(String path)
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceMeasurableService
-
-