Package org.ovirt.engine.sdk4.services
Interface ClusterNetworksService
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
ClusterNetworksServiceImpl
public interface ClusterNetworksService extends Service
A service to manage cluster networks.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ClusterNetworksService.AddRequest
Assigns the network to a cluster.static interface
ClusterNetworksService.AddResponse
Assigns the network to a cluster.static interface
ClusterNetworksService.ListRequest
Lists the networks that are assigned to the cluster.static interface
ClusterNetworksService.ListResponse
Lists the networks that are assigned to the cluster.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClusterNetworksService.AddRequest
add()
Assigns the network to a cluster.ClusterNetworksService.ListRequest
list()
Lists the networks that are assigned to the cluster.ClusterNetworkService
networkService(String id)
Access the cluster network service that manages the cluster network specified by an ID.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.
-
-
-
Method Detail
-
add
ClusterNetworksService.AddRequest add()
Assigns the network to a cluster. Post a request like in the example below to assign the network to a cluster: [source] ---- POST /ovirt-engine/api/clusters/123/networks ---- Use the following example in its body: [source,xml] --------
-
list
ClusterNetworksService.ListRequest list()
Lists the networks that are assigned to the cluster. The order of the returned clusters isn't guaranteed.
-
networkService
ClusterNetworkService networkService(String id)
Access the cluster network service that manages the cluster network specified by an ID.
-
-