public class DefaultRemoteMepEntry extends java.lang.Object implements RemoteMepEntry
RemoteMepEntry.RemoteMepEntry.InterfaceStatusTlvType, RemoteMepEntry.PortStatusTlvType, RemoteMepEntry.RemoteMepEntryBuilder, RemoteMepEntry.RemoteMepState| Modifier | Constructor and Description |
|---|---|
protected |
DefaultRemoteMepEntry(org.onosproject.incubator.net.l2monitoring.cfm.DefaultRemoteMepEntry.DefaultRemoteMepEntryBuilder rmepBuilder) |
| Modifier and Type | Method and Description |
|---|---|
static RemoteMepEntry.RemoteMepEntryBuilder |
builder(MepId remoteMepId,
RemoteMepEntry.RemoteMepState state) |
java.time.Duration |
failedOrOkTime()
Get the time since Remote MEP last entered either RMEP_FAILED or RMEP_OK state.
|
RemoteMepEntry.InterfaceStatusTlvType |
interfaceStatusTlvType()
Get the Interface Status TLV from the last CCM received from the remote MEP.
|
MacAddress |
macAddress()
Get the MAC address of the remote MEP or 0 if no CCM has been received.
|
RemoteMepEntry.PortStatusTlvType |
portStatusTlvType()
Get the Port Status TLV from the last CCM received from the remote MEP.
|
boolean |
rdi()
A Boolean value indicating the state of the RDI bit in the last received CCM.
|
MepId |
remoteMepId() |
SenderIdTlv.SenderIdTlvType |
senderIdTlvType()
Get the Sender ID TLV type from the last CCM received from the remote MEP or default.
|
RemoteMepEntry.RemoteMepState |
state()
Get the operational state of a Remote MEP state machine for a remote MEP.
|
protected DefaultRemoteMepEntry(org.onosproject.incubator.net.l2monitoring.cfm.DefaultRemoteMepEntry.DefaultRemoteMepEntryBuilder rmepBuilder)
public MepId remoteMepId()
remoteMepId in interface RemoteMepEntrypublic RemoteMepEntry.RemoteMepState state()
RemoteMepEntrystate in interface RemoteMepEntrypublic java.time.Duration failedOrOkTime()
RemoteMepEntryfailedOrOkTime in interface RemoteMepEntrypublic MacAddress macAddress()
RemoteMepEntrymacAddress in interface RemoteMepEntrypublic boolean rdi()
RemoteMepEntryrdi in interface RemoteMepEntrypublic RemoteMepEntry.PortStatusTlvType portStatusTlvType()
RemoteMepEntryportStatusTlvType in interface RemoteMepEntrypublic RemoteMepEntry.InterfaceStatusTlvType interfaceStatusTlvType()
RemoteMepEntryinterfaceStatusTlvType in interface RemoteMepEntrypublic SenderIdTlv.SenderIdTlvType senderIdTlvType()
RemoteMepEntrysenderIdTlvType in interface RemoteMepEntrypublic static RemoteMepEntry.RemoteMepEntryBuilder builder(MepId remoteMepId, RemoteMepEntry.RemoteMepState state) throws CfmConfigException
CfmConfigException