public interface Alarm
Modifier and Type | Interface and Description |
---|---|
static class |
Alarm.SeverityLevel
Represents the severity level on an alarm, as per ITU-T X.733
specifications.
|
Modifier and Type | Method and Description |
---|---|
boolean |
acknowledged()
Returns a flag to indicate if this alarm has been acknowledged.
|
java.lang.String |
assignedUser()
Returns the user to whom this alarm is assigned; this is for future use
and always returns null in this release.
|
default boolean |
cleared()
Returns a flag to indicate if this alarm has been cleared.
|
java.lang.String |
description()
Returns a description of alarm.
|
DeviceId |
deviceId()
The device to which this alarm is related.
|
AlarmId |
id()
Returns the unique alarm id within this ONOS instance.
|
boolean |
manuallyClearable()
Returns a flag to indicate if this alarm is manually-cleared by a user action within ONOS.
|
boolean |
serviceAffecting()
Returns true if alarm is service affecting Note: Whilst X.733 combines
service-affecting state with severity (where severities of critical and
major are deemed service-affecting) ONOS keeps these attributes separate.
|
Alarm.SeverityLevel |
severity()
Returns the severity.
|
AlarmEntityId |
source()
Returns an entity within the context of this alarm's device.
|
java.lang.Long |
timeCleared()
Returns the time when cleared.
|
long |
timeRaised()
Returns the time when raised.
|
long |
timeUpdated()
Returns time at which the alarm was updated most recently, due to some
change in the device, or ONOS.
|
AlarmId id()
DeviceId deviceId()
java.lang.String description()
It may encapsulate Event Type as described by ITU Recommendation X.736 ITU, Quoting https://tools.ietf.org/html/rfc3877 these include: other, communicationsAlarm, qualityOfServiceAlarm, processingErrorAlarm, equipmentAlarm, environmentalAlarm, integrityViolation, operationalViolation, physicalViolation, securityServiceOrMechanismViolation, timeDomainViolation
It may encapsulate Probable Cause as described by ITU Recommendation X.736 ITU, Quoting https://www.iana.org/assignments/ianaitualarmtc-mib/ianaitualarmtc-mib these include : aIS, callSetUpFailure, degradedSignal, farEndReceiverFailure, framingError, and hundreds more constants.
It may encapsulate a vendor-specific description of the underlying fault.
AlarmEntityId source()
long timeRaised()
long timeUpdated()
java.lang.Long timeCleared()
Alarm.SeverityLevel severity()
boolean serviceAffecting()
boolean acknowledged()
default boolean cleared()
boolean manuallyClearable()
java.lang.String assignedUser()