Class VnicProfilesServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.VnicProfilesServiceImpl
-
- All Implemented Interfaces:
Service
,VnicProfilesService
public class VnicProfilesServiceImpl extends ServiceImpl implements VnicProfilesService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.VnicProfilesService
VnicProfilesService.AddRequest, VnicProfilesService.AddResponse, VnicProfilesService.ListRequest, VnicProfilesService.ListResponse
-
-
Constructor Summary
Constructors Constructor Description VnicProfilesServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VnicProfilesService.AddRequest
add()
Add a vNIC profile.VnicProfilesService.ListRequest
list()
List all vNIC profiles.VnicProfileService
profileService(String id)
Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.String
toString()
-
Methods inherited from class org.ovirt.engine.sdk4.internal.services.ServiceImpl
checkAction, checkFault, getConnection, getPath, throwError
-
-
-
-
Constructor Detail
-
VnicProfilesServiceImpl
public VnicProfilesServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
add
public VnicProfilesService.AddRequest add()
Description copied from interface:VnicProfilesService
Add a vNIC profile. For example to add vNIC profile `123` to network `456` send a request to: [source] ---- POST /ovirt-engine/api/networks/456/vnicprofiles ---- With the following body: [source,xml] ----new_vNIC_name disabled false >. NOTE: The automatically created vNIC profile for the external network will be without network filter. The output of creating a new VNIC profile depends in the body arguments that were given. In case no network filter was given, the default network filter will be configured. For example: [source,xml] ---- new_vNIC_name disabled false no_network_filter user_choice_network_filter - Specified by:
add
in interfaceVnicProfilesService
-
list
public VnicProfilesService.ListRequest list()
Description copied from interface:VnicProfilesService
List all vNIC profiles. The order of the returned list of vNIC profiles isn't guaranteed.- Specified by:
list
in interfaceVnicProfilesService
-
profileService
public VnicProfileService profileService(String id)
- Specified by:
profileService
in interfaceVnicProfilesService
-
service
public Service service(String path)
Description copied from interface:VnicProfilesService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceVnicProfilesService
-
-