Package | Description |
---|---|
com.hp.of.lib |
OpenFlow Protocol Library.
|
com.hp.of.lib.dt |
A set of classes representing data values used in the OpenFlow protocol.
|
com.hp.of.lib.match |
Representations of OpenFlow Protocol Match Structures.
|
Modifier and Type | Method and Description |
---|---|
VId |
OfPacketReader.readVId()
Reads a virtual identifier (u16) from the buffer.
|
Modifier and Type | Method and Description |
---|---|
void |
OfPacketWriter.write(VId id)
Writes a virtual id (u16) to the buffer.
|
Modifier and Type | Field and Description |
---|---|
static VId |
VId.NONE
A special value denoting the absence of a virtual ID.
|
static VId |
VId.PRESENT
A special value denoting the presence of a virtual ID, without
defining the specific value.
|
Modifier and Type | Method and Description |
---|---|
VId |
DataPathId.getVid()
Returns the virtual identifier.
|
static VId |
VId.valueOf(byte[] bytes)
Returns an object that represents the virtual ID defined by the
specified byte array.
|
static VId |
VId.valueOf(int vid)
Returns an object that represents the virtual ID defined by
the specified integer.
|
static VId |
VId.valueOf(String s)
Returns an object that represents the virtual ID defined by the
specified string.
|
static VId |
VId.vid(String s)
Convenience method that returns the virtual ID for the given string.
|
Modifier and Type | Method and Description |
---|---|
int |
VId.compareTo(VId o)
Implements the Comparable interface, to return virtual IDs in
natural order.
|
static String |
VId.specialName(VId v)
Returns the logical name of the given virtual ID if it is a
special value; null otherwise.
|
static DataPathId |
DataPathId.valueOf(VId vid,
MacAddress mac)
Returns a datapath ID instance that encapsulates the given
virtual identifier and MAC address.
|
Modifier and Type | Method and Description |
---|---|
static VId |
MatchFactory.equivVid(VlanId vlanId)
Returns the VId instance equivalent to the specified Vlan ID.
|
Modifier and Type | Method and Description |
---|---|
static VlanId |
MatchFactory.equivVlanId(VId vid)
Returns the VlanId instance equivalent to the specified VId.
|
Copyright © 2015. All Rights Reserved.