public final class DefaultMepEntry extends DefaultMep implements MepEntry
MepEntry
.DefaultMep.DefaultMepBuilder
MepEntry.FngState, MepEntry.MepEntryBuilder
Mep.FaultDefectType, Mep.FngAddress, Mep.FngAddressType, Mep.LowestFaultDefect, Mep.MepBuilder, Mep.MepDirection, Mep.Priority
administrativeState, cciEnabled, ccmLtmPriority, defectAbsentTime, defectPresentTime, deviceId, direction, fngAddress, lowestFaultPriorityDefect, maId, mdId, mepId, port, primaryVid
Modifier and Type | Method and Description |
---|---|
boolean |
activeErrorCcmDefect()
Get flag indicating that erroneous CCMs are being received from some MEP in this MEP’s MA.
|
boolean |
activeMacStatusDefect()
Get flag indicating that a Port Status or Interface Status TLV is indicating an error condition.
|
boolean |
activeRdiCcmDefect()
Get flag indicating that some other MEP in this MEP’s MA is transmitting the RDI bit.
|
boolean |
activeRemoteCcmDefect()
Get flag indicating that CCMs are not being received from at least one of the configured remote MEPs.
|
java.util.List<RemoteMepEntry> |
activeRemoteMepList()
Get the list of active Remote MEPs.
|
boolean |
activeXconCcmDefect()
Get flag indicating indicating that CCMs are being received from a MEP that could be in some other MA.
|
static MepEntry.MepEntryBuilder |
builder(Mep mep) |
static MepEntry.MepEntryBuilder |
builder(MepId mepId,
DeviceId deviceId,
PortNumber port,
Mep.MepDirection direction,
MdId mdName,
MaIdShort maName) |
int |
ccmSequenceErrorCount()
Get the total number of out-of-sequence CCMs received.
|
java.util.Collection<DelayMeasurementEntry> |
delayMeasurementList()
Get the list of Delay Measurements for this MEP.
|
boolean |
equals(java.lang.Object obj) |
MepEntry.FngState |
fngState()
Get the state of the MEPs Fault Notification Generator.
|
Mep.FaultDefectType |
getHighestPriorityDefect()
Get the highest-priority defect that has been present since last FNG reset.
|
int |
hashCode() |
byte[] |
lastErrorCcm()
The last-received CCM that triggered a DEF_ERROR_CCM fault.
|
byte[] |
lastXconCcm()
The last-received CCM that triggered a DEF_XCON_CCM fault.
|
MepLtEntry |
linktraceAttributes()
Get the collection of attributes related to linktrace.
|
MepLbEntry |
loopbackAttributes()
Get the collection of attributes related to loopback.
|
java.util.Collection<LossMeasurementEntry> |
lossMeasurementList()
Get the list of Loss Measurements for this MEP.
|
MacAddress |
macAddress()
Get the MAC address of the MEP.
|
java.lang.String |
toString() |
int |
totalCcmsTransmitted()
Get the total number of CCMs transmitted.
|
administrativeState, cciEnabled, ccmLtmPriority, defectAbsentTime, defectPresentTime, deviceId, direction, fngAddress, lowestFaultPriorityDefect, maId, mdId, mepId, port, primaryVid, withAdministrativeState, withCciEnabled, withCcmLtmPriority, withDefectAbsentTime, withDefectPresentTime, withFngAddress, withLowestFaultPriorityDefect, withPrimaryVid
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
administrativeState, cciEnabled, ccmLtmPriority, defectAbsentTime, defectPresentTime, deviceId, direction, fngAddress, lowestFaultPriorityDefect, maId, mdId, mepId, port, primaryVid, withAdministrativeState, withCciEnabled, withCcmLtmPriority, withDefectAbsentTime, withDefectPresentTime, withFngAddress, withLowestFaultPriorityDefect, withPrimaryVid
public MacAddress macAddress()
MepEntry
macAddress
in interface MepEntry
public MepEntry.FngState fngState()
MepEntry
public Mep.FaultDefectType getHighestPriorityDefect()
MepEntry
getHighestPriorityDefect
in interface MepEntry
public boolean activeRdiCcmDefect()
MepEntry
activeRdiCcmDefect
in interface MepEntry
public boolean activeMacStatusDefect()
MepEntry
activeMacStatusDefect
in interface MepEntry
public boolean activeRemoteCcmDefect()
MepEntry
activeRemoteCcmDefect
in interface MepEntry
public boolean activeErrorCcmDefect()
MepEntry
activeErrorCcmDefect
in interface MepEntry
public boolean activeXconCcmDefect()
MepEntry
activeXconCcmDefect
in interface MepEntry
public byte[] lastErrorCcm()
MepEntry
lastErrorCcm
in interface MepEntry
public byte[] lastXconCcm()
MepEntry
lastXconCcm
in interface MepEntry
public int ccmSequenceErrorCount()
MepEntry
ccmSequenceErrorCount
in interface MepEntry
public int totalCcmsTransmitted()
MepEntry
totalCcmsTransmitted
in interface MepEntry
public MepLbEntry loopbackAttributes()
MepEntry
loopbackAttributes
in interface MepEntry
public MepLtEntry linktraceAttributes()
MepEntry
linktraceAttributes
in interface MepEntry
public java.util.List<RemoteMepEntry> activeRemoteMepList()
MepEntry
activeRemoteMepList
in interface MepEntry
public java.util.Collection<DelayMeasurementEntry> delayMeasurementList()
MepEntry
delayMeasurementList
in interface MepEntry
public java.util.Collection<LossMeasurementEntry> lossMeasurementList()
MepEntry
lossMeasurementList
in interface MepEntry
public int hashCode()
hashCode
in class DefaultMep
public boolean equals(java.lang.Object obj)
equals
in class DefaultMep
public java.lang.String toString()
toString
in class DefaultMep
public static MepEntry.MepEntryBuilder builder(MepId mepId, DeviceId deviceId, PortNumber port, Mep.MepDirection direction, MdId mdName, MaIdShort maName) throws CfmConfigException
CfmConfigException
public static MepEntry.MepEntryBuilder builder(Mep mep) throws CfmConfigException
CfmConfigException