Class HostNicServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.MeasurableServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.HostNicServiceImpl
-
- All Implemented Interfaces:
Service
,HostNicService
,MeasurableService
public class HostNicServiceImpl extends MeasurableServiceImpl implements HostNicService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.HostNicService
HostNicService.GetRequest, HostNicService.GetResponse, HostNicService.UpdateVirtualFunctionsConfigurationRequest, HostNicService.UpdateVirtualFunctionsConfigurationResponse
-
-
Constructor Summary
Constructors Constructor Description HostNicServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HostNicService.GetRequest
get()
LinkLayerDiscoveryProtocolService
linkLayerDiscoveryProtocolElementsService()
A reference to information elements received by LLDP on the NIC.NetworkAttachmentsService
networkAttachmentsService()
Reference to the service that manages the network attachments assigned to this network interface.NetworkLabelsService
networkLabelsService()
Reference to the service that manages the network labels assigned to this network interface.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.StatisticsService
statisticsService()
String
toString()
HostNicService.UpdateVirtualFunctionsConfigurationRequest
updateVirtualFunctionsConfiguration()
The action updates virtual function configuration in case the current resource represents an SR-IOV enabled NIC.NetworkLabelsService
virtualFunctionAllowedLabelsService()
Retrieves sub-collection resource of network labels that are allowed on an the virtual functions in case that the current resource represents an SR-IOV physical function NIC.VirtualFunctionAllowedNetworksService
virtualFunctionAllowedNetworksService()
Retrieves sub-collection resource of networks that are allowed on an the virtual functions in case that the current resource represents an SR-IOV physical function NIC.-
Methods inherited from class org.ovirt.engine.sdk4.internal.services.ServiceImpl
checkAction, checkFault, getConnection, getPath, throwError
-
-
-
-
Constructor Detail
-
HostNicServiceImpl
public HostNicServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
get
public HostNicService.GetRequest get()
- Specified by:
get
in interfaceHostNicService
-
updateVirtualFunctionsConfiguration
public HostNicService.UpdateVirtualFunctionsConfigurationRequest updateVirtualFunctionsConfiguration()
Description copied from interface:HostNicService
The action updates virtual function configuration in case the current resource represents an SR-IOV enabled NIC. The input should be consisted of at least one of the following properties: - `allNetworksAllowed` - `numberOfVirtualFunctions` Please see the `HostNicVirtualFunctionsConfiguration` type for the meaning of the properties.- Specified by:
updateVirtualFunctionsConfiguration
in interfaceHostNicService
-
linkLayerDiscoveryProtocolElementsService
public LinkLayerDiscoveryProtocolService linkLayerDiscoveryProtocolElementsService()
Description copied from interface:HostNicService
A reference to information elements received by LLDP on the NIC.- Specified by:
linkLayerDiscoveryProtocolElementsService
in interfaceHostNicService
-
networkAttachmentsService
public NetworkAttachmentsService networkAttachmentsService()
Description copied from interface:HostNicService
Reference to the service that manages the network attachments assigned to this network interface.- Specified by:
networkAttachmentsService
in interfaceHostNicService
-
networkLabelsService
public NetworkLabelsService networkLabelsService()
Description copied from interface:HostNicService
Reference to the service that manages the network labels assigned to this network interface.- Specified by:
networkLabelsService
in interfaceHostNicService
-
statisticsService
public StatisticsService statisticsService()
- Specified by:
statisticsService
in interfaceMeasurableService
- Overrides:
statisticsService
in classMeasurableServiceImpl
-
virtualFunctionAllowedLabelsService
public NetworkLabelsService virtualFunctionAllowedLabelsService()
Description copied from interface:HostNicService
Retrieves sub-collection resource of network labels that are allowed on an the virtual functions in case that the current resource represents an SR-IOV physical function NIC.- Specified by:
virtualFunctionAllowedLabelsService
in interfaceHostNicService
-
virtualFunctionAllowedNetworksService
public VirtualFunctionAllowedNetworksService virtualFunctionAllowedNetworksService()
Description copied from interface:HostNicService
Retrieves sub-collection resource of networks that are allowed on an the virtual functions in case that the current resource represents an SR-IOV physical function NIC.- Specified by:
virtualFunctionAllowedNetworksService
in interfaceHostNicService
-
service
public Service service(String path)
Description copied from interface:MeasurableService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceHostNicService
- Specified by:
service
in interfaceMeasurableService
- Overrides:
service
in classMeasurableServiceImpl
-
toString
public String toString()
- Overrides:
toString
in classMeasurableServiceImpl
-
-