@Deprecated public class ONLabLddp extends LLDP
| Modifier and Type | Class and Description |
|---|---|
static class |
ONLabLddp.DPIDandPort
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
static byte[] |
BDDP_MULTICAST
Deprecated.
|
static short |
ETHERTYPE_VLAN
Deprecated.
|
static byte[] |
LLDP_MULTICAST
Deprecated.
|
static byte[] |
LLDP_NICIRA
Deprecated.
|
static byte[] |
ONLAB_OUI
Deprecated.
|
static String |
OVX_NAME
Deprecated.
|
parent, payload| Constructor and Description |
|---|
ONLabLddp()
Deprecated.
Instantiates a new OVX LDDP message.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isLLDP(byte[] packet)
Deprecated.
Checks if LLDP packet has correct size, LLDP multicast address, and
ethertype.
|
static short |
isOVXLLDP(byte[] packet)
Deprecated.
Checks if packet has size of OVX-generated LLDP, and correctness of two
organizationally specific TLVs that use ON.Lab's OUI.
|
static ONLabLddp.DPIDandPort |
parseLLDP(byte[] packet)
Deprecated.
Extracts dpid and port from OVX-generated LLDP packet.
|
byte[] |
serialize()
Deprecated.
Serializes full LLDP packet to byte array.
|
void |
setPort(int port)
Deprecated.
Sets port in LLDP packet.
|
void |
setSwitch(long dp)
Deprecated.
Sets switch DPID in LLDP packet.
|
deserialize, equals, getChassisId, getOptionalTLVList, getPortId, getTtl, hashCode, setChassisId, setOptionalTLVList, setPortId, setTtlclone, getParent, getPayload, resetChecksum, setParent, setPayloadpublic static final byte[] ONLAB_OUI
public static final String OVX_NAME
public static final byte[] LLDP_NICIRA
public static final byte[] LLDP_MULTICAST
public static final byte[] BDDP_MULTICAST
public static final short ETHERTYPE_VLAN
public void setSwitch(long dp)
dp - the switch instancepublic void setPort(int port)
port - the port instancepublic byte[] serialize()
public static boolean isLLDP(byte[] packet)
packet - packet datapublic static short isOVXLLDP(byte[] packet)
packet - packet datapublic static ONLabLddp.DPIDandPort parseLLDP(byte[] packet)
packet - packet dataCopyright © 2015. All rights reserved.