Package org.ovirt.engine.sdk4.services
Interface VnicProfilesService
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
VnicProfilesServiceImpl
public interface VnicProfilesService extends Service
This service manages the collection of all vNIC profiles.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
VnicProfilesService.AddRequest
Add a vNIC profile.static interface
VnicProfilesService.AddResponse
Add a vNIC profile.static interface
VnicProfilesService.ListRequest
List all vNIC profiles.static interface
VnicProfilesService.ListResponse
List all vNIC profiles.
-
Method Summary
All Methods Instance Methods Abstract 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.
-
-
-
Method Detail
-
add
VnicProfilesService.AddRequest add()
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
-
list
VnicProfilesService.ListRequest list()
List all vNIC profiles. The order of the returned list of vNIC profiles isn't guaranteed.
-
profileService
VnicProfileService profileService(String id)
-
-