| Modifier and Type | Field and Description |
|---|---|
static byte[] |
BDDP_MULTICAST |
static String |
DEFAULT_DEVICE |
static String |
DEFAULT_NAME |
static byte[] |
LLDP_MULTICAST |
static byte[] |
LLDP_NICIRA |
static byte[] |
ONLAB_OUI |
chassisId, ethType, optionalTLVList, portId, ttl, TTL_TLV_SIZEparent, payload| Constructor and Description |
|---|
ONOSLLDP() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDeviceString() |
LLDPOrganizationalTLV |
getDeviceTLV() |
String |
getNameString() |
LLDPOrganizationalTLV |
getNameTLV() |
Integer |
getPort() |
static ONOSLLDP |
parseONOSLLDP(Ethernet eth)
Given an ethernet packet, determines if this is an LLDP from
ONOS and returns the device the LLDP came from.
|
void |
setChassisId(ChassisId chassisId) |
void |
setDevice(String device) |
void |
setName(String name) |
void |
setPortId(int portNumber) |
deserialize, deserializer, equals, getChassisId, getOptionalTLVList, getPortId, getTtl, hashCode, serialize, setChassisId, setOptionalTLVList, setPortId, setTtlclone, getParent, getPayload, resetChecksum, setParent, setPayloadpublic static final byte[] ONLAB_OUI
public static final String DEFAULT_DEVICE
public static final String DEFAULT_NAME
public static final byte[] LLDP_NICIRA
public static final byte[] LLDP_MULTICAST
public static final byte[] BDDP_MULTICAST
public void setName(String name)
public void setDevice(String device)
public void setChassisId(ChassisId chassisId)
public void setPortId(int portNumber)
public LLDPOrganizationalTLV getNameTLV()
public LLDPOrganizationalTLV getDeviceTLV()
public String getNameString()
public String getDeviceString()
public Integer getPort()
Copyright © 2015. All rights reserved.