Class VnicProfilesServiceImpl

    • 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 ---- 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 <>. 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 ---- 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: [source,xml] ---- no_network_filter ---- 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: [source,xml] ---- user_choice_network_filter ----
        Specified by:
        add in interface VnicProfilesService