Package org.openstack4j.api.networking
Interface NetworkService
-
- All Superinterfaces:
RestService
- All Known Implementing Classes:
NetworkServiceImpl
public interface NetworkService extends RestService
OpenStack (Neutron) Network based Operations- Author:
- Jeremy Unruh
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Networkcreate(Network network)Creates a new NetworkActionResponsedelete(String networkId)Deletes a specified network and its associated resourcesNetworkget(String networkId)Gets the network by IDList<? extends Network>list()Lists the networks to which the current authorized tenant has accessList<? extends Network>list(Map<String,String> filteringParams)Networkupdate(String networkId, NetworkUpdate network)Updates a network associated by the specifiednetworkId
-
-
-
Method Detail
-
list
List<? extends Network> list(Map<String,String> filteringParams)
- Parameters:
filteringParams- map (name, value) of filtering parameters- Returns:
- List of Network
-
list
List<? extends Network> list()
Lists the networks to which the current authorized tenant has access- Returns:
- List of Network
-
get
Network get(String networkId)
Gets the network by ID- Parameters:
networkId- the network identifier- Returns:
- the Network or null if not found
-
update
Network update(String networkId, NetworkUpdate network)
Updates a network associated by the specifiednetworkId- Parameters:
networkId- the network identifiernetwork- the network options to update (seeBuilders.networkUpdate()- Returns:
- the updated network
-
delete
ActionResponse delete(String networkId)
Deletes a specified network and its associated resources- Parameters:
networkId- the network identifier- Returns:
- the action response
-
-