Package | Description |
---|---|
com.hp.of.lib.instr |
Representations of OpenFlow Protocol Instructions and Actions.
|
com.hp.of.lib.match |
Representations of OpenFlow Protocol Match Structures.
|
com.hp.sdn.common |
Definitions of general services applicable to multiple tiers of the
SDN Controller.
|
com.hp.sdn.device |
API for accessing & supplying information about network infrastructure devices.
|
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.
|
com.hp.util.pkt |
Network packet parsing library.
|
Modifier and Type | Method and Description |
---|---|
static Action |
ActionFactory.createActionSetField(ProtocolVersion pv,
OxmBasicFieldType ft,
VlanId vlanId)
Creates a set-field action for a VLAN_VID,
using the given protocol version.
|
Modifier and Type | Method and Description |
---|---|
static VlanId |
MatchFactory.equivVlanId(VId vid)
Returns the VlanId instance equivalent to the specified VId.
|
VlanId |
MfbVlanVid.getVlanId()
Returns the VLAN ID.
|
Modifier and Type | Method and Description |
---|---|
static MFieldBasic |
FieldFactory.createBasicField(ProtocolVersion pv,
OxmBasicFieldType ft,
VlanId vlanId)
Creates a basic match field for a VLAN_VID.
|
static VId |
MatchFactory.equivVid(VlanId vlanId)
Returns the VId instance equivalent to the specified Vlan ID.
|
Modifier and Type | Method and Description |
---|---|
VlanId |
VlanPortPair.vid()
Retrieve the VLAN index for this object.
|
Modifier and Type | Method and Description |
---|---|
VlanId |
DeviceService.getLinkDiscoveryVlan(DeviceId deviceId)
Get the linkDiscoveryVlan configured for the device.
|
VlanId |
DeviceServiceAdapter.getLinkDiscoveryVlan(DeviceId deviceId) |
Modifier and Type | Method and Description |
---|---|
void |
DeviceService.setLinkDiscoveryVlan(DeviceId deviceId,
VlanId linkDiscoveryVlan)
Assign a user provided linkDiscoveryVlan to the device.
|
void |
DeviceServiceAdapter.setLinkDiscoveryVlan(DeviceId deviceId,
VlanId linkDiscoveryVlan) |
Modifier and Type | Method and Description |
---|---|
VlanId |
LinkDiscoveryVlan.getLinkDiscoveryVlan(DeviceId deviceId)
Parse the device info and provide the link discovery vlan
saved for the given device.
|
Modifier and Type | Method and Description |
---|---|
Set<VlanId> |
VlanHandler.getVIdsContainingPort(InterfaceId port,
VlanTagType tag)
Get the set of vlan identifiers (VID) that the specified port is a
member of.
|
Modifier and Type | Method and Description |
---|---|
void |
VlanHandler.addIpAddress(VlanId vid,
IpAddress ip,
SubnetMask mask)
Add an IP address to the vlan.
|
void |
VlanHandler.createVlan(VlanId vid,
String name,
String description)
Creates a vlan
|
void |
VlanHandler.deleteVlan(VlanId vid)
Delete the vlan identified by the vlan identifier (VID).
|
VlanInfo |
VlanHandler.getVlan(VlanId vid)
Get the Vlan object for the specified VID.
|
void |
VlanHandler.removeIpAddress(VlanId vid,
IpAddress ip,
SubnetMask mask)
Remove an IP address from the vlan.
|
void |
VlanHandler.setDescription(VlanId vid)
Set or change the vlan description.
|
void |
LinkDiscoveryVlan.setLinkDiscoveryVlan(VlanId vlan)
Set the link discovery vlan for the given device.
|
void |
VlanHandler.setName(VlanId vid)
Set or change the vlan name.
|
Modifier and Type | Method and Description |
---|---|
VlanId |
DefaultVlanInfo.vid() |
VlanId |
VlanInfo.vid()
Returns the vlan identifier.
|
Modifier and Type | Method and Description |
---|---|
DefaultVlanInfo |
DefaultVlanInfo.setVid(VlanId vid)
Set the vlan identifier.
|
static SegmentId |
SegmentId.valueOf(VlanId vlanId)
Returns the given VLAN ID represented as a segment ID.
|
Constructor and Description |
---|
DefaultVlanInfo(VlanId vid)
Constructs a vlan Info object.
|
Modifier and Type | Field and Description |
---|---|
static VlanId |
VlanId.NONE
A special value denoting the absence of a VLAN ID.
|
static VlanId |
VlanId.PRESENT
A special value denoting the presence of a VLAN ID, without defining
the specific value.
|
Modifier and Type | Method and Description |
---|---|
static VlanId |
VlanId.valueFrom(ByteBuffer buffer)
Reads 2 bytes from the specified byte buffer and creates a VLAN ID
entity from the value.
|
static VlanId |
VlanId.valueOf(int value)
Returns a VLAN ID instance representing the value given by the
specified integer.
|
static VlanId |
VlanId.valueOf(String value)
Returns a VLAN ID instance representing the value given by the
specified string.
|
static VlanId |
VlanId.vlan(int value)
A convenience method that simply delegates to
valueOf(int) . |
Modifier and Type | Method and Description |
---|---|
int |
VlanId.compareTo(VlanId o) |
static String |
VlanId.specialName(VlanId v)
Returns the logical name of the given VLAN ID if it is a special value;
null otherwise.
|
Modifier and Type | Method and Description |
---|---|
VlanId |
PacketReader.readVlanId()
Readsa VLAN ID from the buffer.
|
Modifier and Type | Method and Description |
---|---|
void |
PacketWriter.write(VlanId vlanId)
Writes a VLAN ID (u12 in two bytes) to the buffer.
|
Copyright © 2015. All Rights Reserved.