public interface PortApi
PortAsyncApi
,
api docModifier and Type | Method and Description |
---|---|
Reference |
create()
Create a new port on the specified network
|
Reference |
create(Port.State state)
Create a new port on the specified network, with the requested state
|
boolean |
delete(String id)
Deletes a port from a network
|
Port |
get(String id)
Returns a specific port.
|
PortDetails |
getDetails(String id)
Returns a specific port in detail.
|
com.google.common.collect.FluentIterable<? extends Port> |
list()
Returns the set of ports currently defined in Quantum for the requested network.
|
com.google.common.collect.FluentIterable<? extends Reference> |
listReferences()
Returns the list of all ports currently defined in Quantum for the requested network
|
boolean |
plugAttachment(String portId,
String attachmentId)
Plugs an attachment into the specified port
|
Attachment |
showAttachment(String portId)
Returns the attachment for the specified port.
|
boolean |
unplugAttachment(String portId)
Unplugs the attachment currently plugged into the specified port
|
boolean |
updateState(String id,
Port.State state)
Updates the state of a port
|
com.google.common.collect.FluentIterable<? extends Reference> listReferences()
com.google.common.collect.FluentIterable<? extends Port> list()
PortDetails getDetails(String id)
Reference create()
Reference create(Port.State state)
boolean updateState(String id, Port.State state)
boolean delete(String id)
Attachment showAttachment(String portId)
boolean plugAttachment(String portId, String attachmentId)
boolean unplugAttachment(String portId)
Copyright © 2009-2013 jclouds. All Rights Reserved.