org.jclouds.cloudstack.features
Interface GlobalVlanClient


public interface GlobalVlanClient

Provides synchronous access to CloudStack VLAN features.

Author:
Richard Downer
See Also:
GlobalOfferingAsyncClient,

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

Method Detail

getVlanIPRange

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

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

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

void deleteVlanIPRange(long rangeId)
Deletes a VLAN IP range.

Parameters:
rangeId - the id of the VLAN IP range


Copyright © 2009-2012 jclouds. All Rights Reserved.