@Singleton public class AlarmAgent extends Object
Constructor and Description |
---|
AlarmAgent()
constructor get the instance of platform MBeanServer.
|
Modifier and Type | Method and Description |
---|---|
void |
clearNodeReconciliationAlarm(Long nodeId)
Method gets the alarm details to be cleared and construct the alarm
objects.
|
void |
invokeFMClearMethod(String alarmId,
String text,
String src)
Method invoke clear alarm JMX API in platform MbeanServer with alarm
details.
|
void |
invokeFMRaiseMethod(String alarmId,
String text,
String src)
Method invoke raise alarm JMX API in platform MbeanServer with alarm
details.
|
void |
raiseNodeReconciliationAlarm(Long nodeId)
Method gets the alarm details to be raised and construct the alarm
objects.
|
void |
start() |
public AlarmAgent()
@PostConstruct public void start()
public void invokeFMRaiseMethod(String alarmId, String text, String src)
alarmId
- alarm to be raisedtext
- Additional details describing about the alarm on which dpnIdsrc
- Source of the alarm ex: dpnId=openflow:1 the source node that
caused this alarmpublic void invokeFMClearMethod(String alarmId, String text, String src)
alarmId
- alarm to be clearedtext
- Additional details describing about the alarm on which dpnIdsrc
- Source of the alarm ex: dpn=openflow:1 the source node that
caused this alarmpublic void raiseNodeReconciliationAlarm(Long nodeId)
nodeId
- Source of the alarm dpnIdpublic void clearNodeReconciliationAlarm(Long nodeId)
nodeId
- Source of the alarm dpnIdCopyright © 2019 OpenDaylight. All rights reserved.