org.jclouds.openstack.quantum.v1_0.features
Interface NetworkApi


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.

Author:
Adam Lowe
See Also:
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

listReferences

Set<Reference> listReferences()
Returns the list of all networks currently defined in Quantum for the current tenant. The list provides the unique identifier of each network configured for the tenant.


list

Set<Network> list()
Returns all networks currently defined in Quantum for the current tenant.


get

Network get(String id)
Returns the specific network.


getDetails

NetworkDetails getDetails(String id)
Returns the details of the specific network.


create

Reference create(String name)
Create a new network with the specified symbolic name


rename

boolean rename(String id,
               String name)
Adjusts the symbolic name of a network

Parameters:
id - the id of the Network to modify
name - the new name for the Network

delete

boolean delete(String id)
Deletes the specified network



Copyright © 2009-2012 jclouds. All Rights Reserved.