@Beta
public interface AttachInterfaceApi
Modifier and Type | Method and Description |
---|---|
InterfaceAttachment |
create(String serverId,
String portId)
Creates a new port interface and associate with the given port
|
boolean |
delete(String serverId,
String attachmentId)
Deletes a port interface for given server, return true if successful,
false if server or interface not found
|
InterfaceAttachment |
get(String serverId,
String attachmentId)
Returns information about a specified port interface for given server
|
com.google.common.collect.FluentIterable<InterfaceAttachment> |
list(String serverId)
Returns list of port interfaces for given server
|
@Named(value="attachInterface:list") com.google.common.collect.FluentIterable<InterfaceAttachment> list(String serverId)
serverId
- The Server ID@Named(value="attachInterface:get") @Nullable InterfaceAttachment get(String serverId, String attachmentId)
serverId
- The Server IDattachmentId
- The interface ID@Named(value="attachInterface:create") InterfaceAttachment create(String serverId, String portId)
portId
- The port ID@Named(value="attachInterface:delete") boolean delete(String serverId, String attachmentId)
serverId
- The Server IDattachmentId
- The interface IDCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.