Returns a dictionary containing all
<network_uuid, network_name> for
the specified tenant.
+
+ :returns:
+ :raises:
"""
pass
"""
Creates a new Virtual Network, and assigns it
a symbolic name.
+
+ :returns:
+ :raises:
"""
pass
"""
Deletes the network with the specified network identifier
belonging to the specified tenant.
+
+ :returns:
+ :raises: exception.NetworkInUse
+ :raises: exception.NetworkNotFound
"""
pass
def get_network_details(self, tenant_id, net_id):
"""
retrieved a list of all the remote vifs that
- are attached to the network
+ are attached to the network.
+
+ :returns:
+ :raises: exception.NetworkNotFound
"""
pass
"""
Updates the symbolic name belonging to a particular
Virtual Network.
+
+ :returns:
+ :raises: exception.NetworkNotFound
"""
pass
"""
Retrieves all port identifiers belonging to the
specified Virtual Network.
+
+ :returns:
+ :raises: exception.NetworkNotFound
"""
pass
def create_port(self, tenant_id, net_id, port_state=None):
"""
Creates a port on the specified Virtual Network.
+
+ :returns:
+ :raises: exception.NetworkNotFound
+ :raises: exception.StateInvalid
"""
pass
def update_port(self, tenant_id, net_id, port_id, port_state):
"""
Updates the state of a specific port on the
- specified Virtual Network
+ specified Virtual Network.
+
+ :returns:
+ :raises: exception.StateInvalid
+ :raises: exception.PortNotFound
"""
pass
if the port contains a remote interface attachment,
the remote interface is first un-plugged and then the port
is deleted.
+
+ :returns:
+ :raises: exception.PortInUse
+ :raises: exception.PortNotFound
+ :raises: exception.NetworkNotFound
"""
pass
"""
This method allows the user to retrieve a remote interface
that is attached to this particular port.
+
+ :returns:
+ :raises: exception.PortNotFound
+ :raises: exception.NetworkNotFound
"""
pass
"""
Attaches a remote interface to the specified port on the
specified Virtual Network.
+
+ :returns:
+ :raises: exception.NetworkNotFound
+ :raises: exception.PortNotFound
+ :raises: exception.AlreadyAttached (? should the network automatically unplug/replug)
"""
pass
"""
Detaches a remote interface from the specified port on the
specified Virtual Network.
+
+ :returns:
+ :raises: exception.NetworkNotFound
+ :raises: exception.PortNotFound
"""
pass