Package | Description |
---|---|
com.hp.sdn.dvc.facet |
Device Driver Facet interfaces
|
com.hp.sdn.model |
Base abstractions used in consuming & producing Network information model.
|
com.hp.util.ip |
A set of classes representing data values in the network management domain.
|
Modifier and Type | Method and Description |
---|---|
void |
VlanHandler.addIpAddress(VlanId vid,
IpAddress ip,
SubnetMask mask)
Add an IP address to the vlan.
|
void |
VlanHandler.removeIpAddress(VlanId vid,
IpAddress ip,
SubnetMask mask)
Remove an IP address from the vlan.
|
Modifier and Type | Method and Description |
---|---|
SubnetMask |
SubnetIp.mask()
Returns the subnet mask.
|
Modifier and Type | Method and Description |
---|---|
void |
SubnetIp.setMask(SubnetMask mask)
Set the subnet mask.
|
Constructor and Description |
---|
SubnetIp(IpAddress ip,
SubnetMask mask)
Construct a IP address/subnet mask object.
|
Modifier and Type | Field and Description |
---|---|
static SubnetMask |
SubnetMask.MASK_255_0_0_0 |
static SubnetMask |
SubnetMask.MASK_255_255_0_0 |
static SubnetMask |
SubnetMask.MASK_255_255_248_0 |
static SubnetMask |
SubnetMask.MASK_255_255_255_0 |
Modifier and Type | Method and Description |
---|---|
static SubnetMask |
SubnetMask.fromCidr(String cidr)
Returns a
SubnetMask object that represents the value of the
subnet mask implied by the given CIDR notation. |
SubnetMask |
IpAddress.AddressClass.getImpliedMask()
Returns the subnet mask implied by the address class, for
classes A, B, C; null for other classes.
|
SubnetMask |
Subnet.getMask()
Returns the subnet mask.
|
static SubnetMask |
SubnetMask.valueOf(byte[] maskBytes)
Returns a
SubnetMask object that represents the subnet mask
defined by the specified byte array. |
static SubnetMask |
SubnetMask.valueOf(IpAddress mask)
Returns a
SubnetMask object that represents the subnet mask
with the value of the given IP address. |
static SubnetMask |
SubnetMask.valueOf(String mask)
Returns a
SubnetMask object that represents the value of the
subnet mask defined by the specified string. |
Modifier and Type | Method and Description |
---|---|
int |
SubnetMask.compareTo(SubnetMask o) |
static Subnet |
Subnet.valueOf(IpAddress address,
SubnetMask mask)
Returns a
Subnet instance that encapsulates the
given subnet address and subnet mask. |
Copyright © 2015. All Rights Reserved.