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


public interface PortAsyncApi

Provides asynchronous access to Network operations on the openstack quantum API.

Author:
Adam Lowe
See Also:
PortApi, api doc

Method Summary
 com.google.common.util.concurrent.ListenableFuture<Reference> create()
           
 com.google.common.util.concurrent.ListenableFuture<Port> create(Port.State state)
           
 com.google.common.util.concurrent.ListenableFuture<Boolean> delete(String id)
           
 com.google.common.util.concurrent.ListenableFuture<Port> get(String id)
           
 com.google.common.util.concurrent.ListenableFuture<PortDetails> getDetails(String id)
           
 com.google.common.util.concurrent.ListenableFuture<Set<Port>> list()
           
 com.google.common.util.concurrent.ListenableFuture<Set<Reference>> listReferences()
           
 com.google.common.util.concurrent.ListenableFuture<Boolean> plugAttachment(String portId, String attachmentId)
           
 com.google.common.util.concurrent.ListenableFuture<Attachment> showAttachment(String portId)
           
 com.google.common.util.concurrent.ListenableFuture<Boolean> unplugAttachment(String portId)
           
 com.google.common.util.concurrent.ListenableFuture<Boolean> updateState(String id, Port.State state)
           
 

Method Detail

listReferences

com.google.common.util.concurrent.ListenableFuture<Set<Reference>> listReferences()
See Also:
PortApi.listReferences()

list

com.google.common.util.concurrent.ListenableFuture<Set<Port>> list()
See Also:
PortApi.list()

get

com.google.common.util.concurrent.ListenableFuture<Port> get(String id)
See Also:
PortApi.get(java.lang.String)

getDetails

com.google.common.util.concurrent.ListenableFuture<PortDetails> getDetails(String id)
See Also:
PortApi.getDetails(java.lang.String)

create

com.google.common.util.concurrent.ListenableFuture<Reference> create()
See Also:
PortApi.create()

create

com.google.common.util.concurrent.ListenableFuture<Port> create(Port.State state)
See Also:
PortApi.create(org.jclouds.openstack.quantum.v1_0.domain.Port.State)

updateState

com.google.common.util.concurrent.ListenableFuture<Boolean> updateState(String id,
                                                                        Port.State state)
See Also:
PortApi.updateState(java.lang.String, org.jclouds.openstack.quantum.v1_0.domain.Port.State)

delete

com.google.common.util.concurrent.ListenableFuture<Boolean> delete(String id)
See Also:
PortApi.delete(java.lang.String)

showAttachment

com.google.common.util.concurrent.ListenableFuture<Attachment> showAttachment(String portId)
See Also:
PortApi.showAttachment(java.lang.String)

plugAttachment

com.google.common.util.concurrent.ListenableFuture<Boolean> plugAttachment(String portId,
                                                                           String attachmentId)
See Also:
PortApi.plugAttachment(java.lang.String, java.lang.String)

unplugAttachment

com.google.common.util.concurrent.ListenableFuture<Boolean> unplugAttachment(String portId)
See Also:
PortApi.unplugAttachment(java.lang.String)


Copyright © 2009-2012 jclouds. All Rights Reserved.