Package org.ovirt.engine.sdk4.services
Interface NetworksService
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
NetworksServiceImpl
public interface NetworksService extends Service
Manages logical networks. The engine creates a default `ovirtmgmt` network on installation. This network acts as the management network for access to hypervisor hosts. This network is associated with the `Default` cluster and is a member of the `Default` data center.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
NetworksService.AddRequest
Creates a new logical network, or associates an existing network with a data center.static interface
NetworksService.AddResponse
Creates a new logical network, or associates an existing network with a data center.static interface
NetworksService.ListRequest
List logical networks.static interface
NetworksService.ListResponse
List logical networks.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NetworksService.AddRequest
add()
Creates a new logical network, or associates an existing network with a data center.NetworksService.ListRequest
list()
List logical networks.NetworkService
networkService(String id)
Reference to the service that manages a specific network.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.
-
-
-
Method Detail
-
add
NetworksService.AddRequest add()
Creates a new logical network, or associates an existing network with a data center. Creation of a new network requires the `name` and `data_center` elements. For example, to create a network named `mynetwork` for data center `123` send a request like this: [source] ---- POST /ovirt-engine/api/networks ---- With a request body like this: [source,xml] ----mynetwork ovirtmgmt exnetwork
-
list
NetworksService.ListRequest list()
List logical networks. For example: [source] ---- GET /ovirt-engine/api/networks ---- Will respond: [source,xml] ----ovirtmgmt Default Management Network 0 false vm
-
networkService
NetworkService networkService(String id)
Reference to the service that manages a specific network.
-
-