blob: 3e8519a30a0603ed7ee3cc32a7e6bfd060ffebfa [file] [log] [blame]
kmcpeake4fe18c82015-11-17 20:07:39 +00001/*
2 * Copyright 2014 Open Networking Laboratory
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16package org.onosproject.incubator.net.faultmanagement.alarm;
17
18
kmcpeakeb172d5f2015-12-10 11:30:43 +000019import com.google.common.annotations.Beta;
kmcpeake4fe18c82015-11-17 20:07:39 +000020import org.onosproject.net.DeviceId;
21import org.onosproject.net.provider.ProviderService;
22
23import java.util.Collection;
24
25/**
26 * The interface Alarm provider service.
27 */
kmcpeakeb172d5f2015-12-10 11:30:43 +000028@Beta
kmcpeake4fe18c82015-11-17 20:07:39 +000029public interface AlarmProviderService extends ProviderService<AlarmProvider> {
30
31 /**
32 * Sends active alarm list for a device.
33 *
34 * @param deviceId identity of the device
35 * @param alarms list of device alarms
36 */
37 void updateAlarmList(DeviceId deviceId, Collection<Alarm> alarms);
38
39}