|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NetworkApi
Provides synchronous access to Network operations on the openstack quantum API.
Each tenant can define one or more networks. A network is a virtual isolated layer-2 broadcast domain reserved to the tenant. A tenant can create several ports for a network, and plug virtual interfaces into these ports.
NetworkAsyncApi,
api doc| Method Summary | |
|---|---|
Reference |
create(String name)
Create a new network with the specified symbolic name |
boolean |
delete(String id)
Deletes the specified network |
Network |
get(String id)
Returns the specific network. |
NetworkDetails |
getDetails(String id)
Returns the details of the specific network. |
Set<Network> |
list()
Returns all networks currently defined in Quantum for the current tenant. |
Set<Reference> |
listReferences()
Returns the list of all networks currently defined in Quantum for the current tenant. |
boolean |
rename(String id,
String name)
Adjusts the symbolic name of a network |
| Method Detail |
|---|
Set<Reference> listReferences()
Set<Network> list()
Network get(String id)
NetworkDetails getDetails(String id)
Reference create(String name)
boolean rename(String id,
String name)
id - the id of the Network to modifyname - the new name for the Networkboolean delete(String id)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||