Imported vpnservice as a subtree
[netvirt.git] / vpnservice / fcapsmanager / fcaps-api / src / main / java / org / opendaylight / vpnservice / fcapsmanager / AlarmServiceFacade.java
1 /*
2  * Copyright (c) 2016 Ericsson India Global Services Pvt Ltd. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.vpnservice.fcapsmanager;
9
10 public interface AlarmServiceFacade {
11     /**
12      * Raises the given alarm in platform environment
13      *
14      * @param alarmName
15      *            Alarm to be raised
16      * @param additionalText
17      *            Additional details describing about the alarm
18      * @param source
19      *            Source of the alarm ex: dpnId=openflow:1
20      *            the source node that caused this alarm
21      */
22     public void raiseAlarm(String alarmName, String additionalText, String source);
23
24     /**
25      * Clears the given alarm in platform environment
26      *
27      * @param alarmName
28      *            Alarm to be cleared
29      * @param additionalText
30      *            Additional details describing about the alarm
31      * @param source
32      *            Source of the alarm ex:  dpnId=openflow:1
33      *            the source node that caused this alarm
34      */
35     public void clearAlarm(String alarmName, String additionalText, String source);
36 }