http://{engine_ip_address}:8080/ovirt-engine/api/networks/{network_id}/vnicprofiles
public interface VnicProfileService extends Service
Since 4.0 it is possible to have a customized network filter to each VNIC profile. Please note that there is a default network filter to each VNIC profile. For more details of how the default network filter is calculated please refer to the documentation in NetworkFilters.
The basic POST command of adding a new VNIC profile is as follows:
http://{engine_ip_address}:8080/ovirt-engine/api/networks/{network_id}/vnicprofiles
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:
<vnic_profile>
<name>use_default_network_filter</name>
<network id="00000000-0000-0000-0000-000000000009"/>
</vnic_profile>
In case an empty network filter was given, no network filter will be configured for the specific VNIC profile regardless of the VNIC profile’s default network filter. For example:
<vnic_profile>
<name>no_network_filter</name>
<network id="00000000-0000-0000-0000-000000000009"/>
<network_filter/>
</vnic_profile>
In case that a specific valid network filter id was given, the VNIC profile will be configured with the given network filter regardless of the VNIC profiles’s default network filter. For example:
<vnic_profile>
<name>user_choice_network_filter</name>
<network id="00000000-0000-0000-0000-000000000009"/>
<network_filter id= "0000001b-001b-001b-001b-0000000001d5"/>
</vnic_profile>
Modifier and Type | Interface and Description |
---|---|
static interface |
VnicProfileService.GetRequest |
static interface |
VnicProfileService.GetResponse |
static interface |
VnicProfileService.RemoveRequest |
static interface |
VnicProfileService.RemoveResponse |
static interface |
VnicProfileService.UpdateRequest |
static interface |
VnicProfileService.UpdateResponse |
Modifier and Type | Method and Description |
---|---|
VnicProfileService.GetRequest |
get() |
AssignedPermissionsService |
permissionsService() |
VnicProfileService.RemoveRequest |
remove() |
Service |
service(String path)
Service locator method, returns individual service on which the URI is dispatched.
|
VnicProfileService.UpdateRequest |
update() |
VnicProfileService.GetRequest get()
VnicProfileService.RemoveRequest remove()
VnicProfileService.UpdateRequest update()
AssignedPermissionsService permissionsService()
Copyright © 2016. All rights reserved.