org.jclouds.cloudstack.features
Interface GlobalVlanAsyncClient


public interface GlobalVlanAsyncClient

Provides asynchronous access to cloudstack via their REST API.

Author:
Richard Downer
See Also:
GlobalVlanClient,

Method Summary
 com.google.common.util.concurrent.ListenableFuture<VlanIPRange> createVlanIPRange(String startIP, String endIP, CreateVlanIPRangeOptions... options)
          Creates a VLAN IP range.
 com.google.common.util.concurrent.ListenableFuture<Void> deleteVlanIPRange(long rangeId)
          Deletes a VLAN IP range.
 com.google.common.util.concurrent.ListenableFuture<VlanIPRange> getVlanIPRange(long id)
          Get the details of an IP range by its id.
 com.google.common.util.concurrent.ListenableFuture<Set<VlanIPRange>> listVlanIPRanges(ListVlanIPRangesOptions... options)
          Lists all VLAN IP ranges.
 

Method Detail

getVlanIPRange

com.google.common.util.concurrent.ListenableFuture<VlanIPRange> getVlanIPRange(long id)
Get the details of an IP range by its id.

Parameters:
id - the required IP range.
Returns:
the requested IP range.

listVlanIPRanges

com.google.common.util.concurrent.ListenableFuture<Set<VlanIPRange>> listVlanIPRanges(ListVlanIPRangesOptions... options)
Lists all VLAN IP ranges.

Parameters:
options - optional arguments.
Returns:
the list of IP ranges that match the criteria.

createVlanIPRange

com.google.common.util.concurrent.ListenableFuture<VlanIPRange> createVlanIPRange(String startIP,
                                                                                  String endIP,
                                                                                  CreateVlanIPRangeOptions... options)
Creates a VLAN IP range.

Parameters:
startIP - the beginning IP address in the VLAN IP range
endIP - the ending IP address in the VLAN IP range
options - optional arguments
Returns:
the newly-create IP range.

deleteVlanIPRange

com.google.common.util.concurrent.ListenableFuture<Void> deleteVlanIPRange(long rangeId)
Deletes a VLAN IP range.

Parameters:
rangeId - the id of the VLAN IP range
Returns:
void


Copyright © 2009-2012 jclouds. All Rights Reserved.