public interface Mep extends NetworkResource
Modifier and Type | Interface and Description |
---|---|
static class |
Mep.FaultDefectType
Supported Fault Defect Types.
|
static class |
Mep.FngAddress
A simple class to join an FngAddressType and an IpAddress.
|
static class |
Mep.FngAddressType
Supported FNG Address Types.
|
static class |
Mep.LowestFaultDefect
Options for setting the lowest fault defect.
|
static interface |
Mep.MepBuilder
Builder for
Mep . |
static class |
Mep.MepDirection
Enumerated options for MEP Directions.
|
static class |
Mep.Priority
An enumerated set of values to represent Priority.
|
Modifier and Type | Method and Description |
---|---|
boolean |
administrativeState()
Get the administrative state of the MEP.
|
java.lang.Boolean |
cciEnabled()
Get whether the MEP is or is not to generate CCMs.
|
Mep.Priority |
ccmLtmPriority()
Get the priority parameter for CCMs and LTMs transmitted by the MEP.
|
java.time.Duration |
defectAbsentTime()
Get the time that the Fault must be absent before it is reset.
|
java.time.Duration |
defectPresentTime()
Get the time that the Fault must be present before it is issued.
|
DeviceId |
deviceId()
Get the Device ID which the MEP is realized on.
|
Mep.MepDirection |
direction()
Get the MEP direction.
|
Mep.FngAddress |
fngAddress()
Get the network address to which Fault Alarms are to be transmitted.
|
Mep.LowestFaultDefect |
lowestFaultPriorityDefect()
Get the lowest priority defect that is allowed to generate a Fault Alarm.
|
MaIdShort |
maId()
Get the Maintenance Association reference.
|
MdId |
mdId()
Get the Maintenance Domain reference.
|
MepId |
mepId()
Get the ID of the MEP.
|
PortNumber |
port()
Get the port to which the MEP is attached.
|
VlanId |
primaryVid()
Get the Primary VID of the MEP.
|
Mep |
withAdministrativeState(boolean adminState)
Set the administrative state of the MEP.
|
Mep |
withCciEnabled(boolean cciEnabled)
Enable or disable the generation of CCMs by the MEP.
|
Mep |
withCcmLtmPriority(Mep.Priority priority)
Set the priority parameter for CCMs and LTMs transmitted by the MEP.
|
Mep |
withDefectAbsentTime(java.time.Duration duration)
Set the time that the Fault must be absent before it is reset.
|
Mep |
withDefectPresentTime(java.time.Duration duration)
Set the time that the Fault must be present before it is issued.
|
Mep |
withFngAddress(Mep.FngAddress address)
Set the network address to which Fault Alarms are to be transmitted.
|
Mep |
withLowestFaultPriorityDefect(Mep.LowestFaultDefect lowestFdType)
Set the lowest priority defect that is allowed to generate a Fault Alarm.
|
Mep |
withPrimaryVid(VlanId primaryVid)
Set the Primary VID of the MEP.
|
MepId mepId()
DeviceId deviceId()
PortNumber port()
Mep.MepDirection direction()
MdId mdId()
MaIdShort maId()
VlanId primaryVid()
Mep withPrimaryVid(VlanId primaryVid)
primaryVid
- An integer between 0 and 4094boolean administrativeState()
Mep withAdministrativeState(boolean adminState)
adminState
- The administrative state of the MEPjava.lang.Boolean cciEnabled()
Mep withCciEnabled(boolean cciEnabled)
cciEnabled
- boolean value dictating whether CCMs are sent or notMep.Priority ccmLtmPriority()
Mep withCcmLtmPriority(Mep.Priority priority)
priority
- An integer value between 0 and 7 inclusiveMep.FngAddress fngAddress()
Mep withFngAddress(Mep.FngAddress address)
address
- Address type or indicator that address is not specified or alarms are not to be transmittedMep.LowestFaultDefect lowestFaultPriorityDefect()
Mep withLowestFaultPriorityDefect(Mep.LowestFaultDefect lowestFdType)
lowestFdType
- The lowest priority defect that is allowed to generate a Fault Alarmjava.time.Duration defectPresentTime()
Mep withDefectPresentTime(java.time.Duration duration)
duration
- The time that the Fault must be present before it is issuedjava.time.Duration defectAbsentTime()
Mep withDefectAbsentTime(java.time.Duration duration)
duration
- The time that the Fault must be absent before it is reset