Package org.ovirt.engine.sdk4.services
Interface NetworkFiltersService
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
NetworkFiltersServiceImpl
public interface NetworkFiltersService extends Service
Represents a readonly network filters sub-collection. The network filter enables to filter packets send to/from the VM's nic according to defined rules. For more information please refer to <> service documentation Network filters are supported in different versions, starting from version 3.0. A network filter is defined for each vnic profile. A vnic profile is defined for a specific network. A network can be assigned to several different clusters. In the future, each network will be defined in cluster level. Currently, each network is being defined at data center level. Potential network filters for each network are determined by the network's data center compatibility version V. V must be >= the network filter version in order to configure this network filter for a specific network. Please note, that if a network is assigned to cluster with a version supporting a network filter, the filter may not be available due to the data center version being smaller then the network filter's version. Example of listing all of the supported network filters for a specific cluster: [source] ---- GET http://localhost:8080/ovirt-engine/api/clusters/{cluster:id}/networkfilters ---- Output: [source,xml] ---- example-network-filter-a 4 0 -1 -1 example-network-filter-b 4 0 -1 -1 example-network-filter-a 3 0 -1 -1
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
NetworkFiltersService.ListRequest
Retrieves the representations of the network filters.static interface
NetworkFiltersService.ListResponse
Retrieves the representations of the network filters.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NetworkFiltersService.ListRequest
list()
Retrieves the representations of the network filters.NetworkFilterService
networkFilterService(String id)
Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.
-
-
-
Method Detail
-
list
NetworkFiltersService.ListRequest list()
Retrieves the representations of the network filters. The order of the returned list of network filters isn't guaranteed.
-
networkFilterService
NetworkFilterService networkFilterService(String id)
-
-