org.jclouds.cloudstack.features
Interface GlobalVlanApi


public interface GlobalVlanApi

Provides synchronous access to cloudstack via their REST API.

See Also:

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

Method Detail

getVlanIPRange

@Named(value="listVlanIpRanges")
VlanIPRange getVlanIPRange(String id)
Get the details of an IP range by its id.

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

listVlanIPRanges

@Named(value="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

@Named(value="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

@Named(value="deleteVlanIpRange")
void deleteVlanIPRange(String rangeId)
Deletes a VLAN IP range.

Parameters:
rangeId - the id of the VLAN IP range


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.