public class NetworkServiceImpl extends BaseNetworkingServices implements NetworkService
BaseOpenStackService.Invocation<R>
Constructor and Description |
---|
NetworkServiceImpl() |
Modifier and Type | Method and Description |
---|---|
Network |
create(Network network)
Creates a new Network
|
ActionResponse |
delete(String networkId)
Deletes a specified network and its associated resources
|
Network |
get(String networkId)
Gets the network by ID
|
List<? extends Network> |
list()
Lists the networks to which the current authorized tenant has access
|
List<? extends Network> |
list(Map<String,String> filteringParams) |
Network |
update(String networkId,
NetworkUpdate network)
Updates a network associated by the specified
networkId |
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uri
public List<? extends Network> list(Map<String,String> filteringParams)
list
in interface NetworkService
filteringParams
- map (name, value) of filtering parameterspublic List<? extends Network> list()
list
in interface NetworkService
public ActionResponse delete(String networkId)
delete
in interface NetworkService
networkId
- the network identifierpublic Network get(String networkId)
NetworkService
get
in interface NetworkService
networkId
- the network identifierpublic Network create(Network network)
NetworkService
create
in interface NetworkService
network
- the network to createpublic Network update(String networkId, NetworkUpdate network)
NetworkService
networkId
update
in interface NetworkService
networkId
- the network identifiernetwork
- the network options to update (see Builders.networkUpdate()
Copyright © 2017. All rights reserved.