Package | Description |
---|---|
com.hp.sdn.devown |
Definitions of the domain model pertaining to device ownership.
|
com.hp.sdn.node |
API for accessing & supplying information about network end-stations.
|
com.hp.util.ip |
A set of classes representing data values in the network management domain.
|
Modifier and Type | Method and Description |
---|---|
Set<IpRange> |
RegionModel.getRanges() |
Set<IpRange> |
Region.getRanges()
Retrieves the IP address ranges of network elements for this region that
were explicitly configured.
|
Modifier and Type | Method and Description |
---|---|
boolean |
RegionModel.addRange(IpRange toAdd) |
boolean |
Region.addRange(IpRange toAdd)
Attempts to add a new network element IP address range to the existing
Set . |
boolean |
RegionModel.removeRange(IpRange toRemove) |
boolean |
Region.removeRange(IpRange toRemove)
Attempts to remove a network element IP address range from the existing
Set of explicitly configured ranges. |
Modifier and Type | Method and Description |
---|---|
DefaultNodeFilter |
DefaultNodeFilter.ip(IpRange range)
Modifies the current filter to match nodes within the given IP range.
|
Modifier and Type | Method and Description |
---|---|
IpRange |
Subnet.getEquivalentIpRange()
Returns an IP range that represents the same set of IP addresses
that belong to this subnet.
|
IpRange |
PartialSubnet.getRange()
Returns the first IP range.
|
static IpRange |
IpRange.valueOf(String spec)
Returns an IP range for the given specification.
|
Modifier and Type | Method and Description |
---|---|
static List<IpRange> |
IpRange.createRanges(String commaSeparatedSpecs)
Returns a list of IP ranges that embody the given range specifications.
|
List<IpRange> |
PartialSubnet.getRanges()
Returns a copy of the list of IP ranges.
|
List<IpRange> |
IpRange.splitRange(IpAddress ipAddress)
Splits the current IpRange in to two by removing the given
IpAddress from the current IpRange.
|
Modifier and Type | Method and Description |
---|---|
int |
IpRange.compareTo(IpRange o) |
boolean |
Subnet.contains(IpRange range)
Returns true if the given IP address range is contained by this subnet.
|
boolean |
PartialSubnet.contains(IpRange range)
Returns true if this partial subnet contains the given
IP address range; false otherwise.
|
static List<IpAddress> |
IpUtils.getRandomIps(IpRange range,
int count)
Returns a list of randomly generated IP addresses.
|
static PartialSubnet |
PartialSubnet.valueOf(Subnet subnet,
IpRange range)
Returns a
PartialSubnet instance that encapsulates the given
subnet, and IP address range. |
Modifier and Type | Method and Description |
---|---|
static String |
IpRange.rangeListToString(List<IpRange> ranges)
Converts a list of IP address ranges to a comma separated string
representation.
|
static PartialSubnet |
PartialSubnet.valueOf(Subnet subnet,
List<IpRange> ranges)
Returns a
PartialSubnet instance that encapsulates the
given subnet, and IP address ranges. |
Copyright © 2015. All Rights Reserved.