Class AlarmAgent
java.lang.Object
org.opendaylight.openflowplugin.applications.southboundcli.alarm.AlarmAgent
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidclearNodeReconciliationAlarm(Long nodeId) Method gets the alarm details to be cleared and construct the alarm objects.voidinvokeFMClearMethod(String alarmId, String text, String src) Method invoke clear alarm JMX API in platform MbeanServer with alarm details.voidinvokeFMRaiseMethod(String alarmId, String text, String src) Method invoke raise alarm JMX API in platform MbeanServer with alarm details.voidraiseNodeReconciliationAlarm(Long nodeId) Method gets the alarm details to be raised and construct the alarm objects.voidstart()
- 
Constructor Details- 
AlarmAgentpublic AlarmAgent()constructor get the instance of platform MBeanServer.
 
- 
- 
Method Details- 
start@PostConstruct public void start()
- 
invokeFMRaiseMethodMethod invoke raise alarm JMX API in platform MbeanServer with alarm details.- Parameters:
- alarmId- alarm to be raised
- text- Additional details describing about the alarm on which dpnId
- src- Source of the alarm ex: dpnId=openflow:1 the source node that caused this alarm
 
- 
invokeFMClearMethodMethod invoke clear alarm JMX API in platform MbeanServer with alarm details.- Parameters:
- alarmId- alarm to be cleared
- text- Additional details describing about the alarm on which dpnId
- src- Source of the alarm ex: dpn=openflow:1 the source node that caused this alarm
 
- 
raiseNodeReconciliationAlarmMethod gets the alarm details to be raised and construct the alarm objects.- Parameters:
- nodeId- Source of the alarm dpnId
 
- 
clearNodeReconciliationAlarmMethod gets the alarm details to be cleared and construct the alarm objects.- Parameters:
- nodeId- Source of the alarm dpnId
 
 
-