blob: 0bb1b0febe72ddc7a8a48490fb33af9565015251 [file] [log] [blame]
kmcpeakeb172d5f2015-12-10 11:30:43 +00001/*
2 * Licensed under the Apache License, Version 2.0 (the "License");
3 * you may not use this file except in compliance with the License.
4 * You may obtain a copy of the License at
5 *
6 * http://www.apache.org/licenses/LICENSE-2.0
7 *
8 * Unless required by applicable law or agreed to in writing, software
9 * distributed under the License is distributed on an "AS IS" BASIS,
10 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 * See the License for the specific language governing permissions and
12 * limitations under the License.
13 */
14package org.onosproject.provider.snmp.alarm.impl;
15
16import com.btisystems.pronx.ems.core.snmp.ISnmpSession;
17import java.util.Collection;
18import org.onosproject.incubator.net.faultmanagement.alarm.Alarm;
19import org.onosproject.net.DeviceId;
20
Andrea Campanella3eca4a82016-02-10 17:35:14 -080021/**
22 * @deprecated 1.5.0 Falcon, not compliant with ONOS SB and driver architecture.
23 */
24@Deprecated
kmcpeakeb172d5f2015-12-10 11:30:43 +000025public interface SnmpDeviceAlarmProvider {
26 /**
27 * Implemented by device specific implementations which query the current
28 * alarms from a device.
Andrea Campanella3eca4a82016-02-10 17:35:14 -080029 * @deprecated 1.5.0 Falcon
kmcpeakeb172d5f2015-12-10 11:30:43 +000030 * @param snmpSession SNMP Session
31 * @param deviceId device identifier
32 * @return device alarms
33 */
Andrea Campanella3eca4a82016-02-10 17:35:14 -080034 @Deprecated
kmcpeakeb172d5f2015-12-10 11:30:43 +000035 Collection<Alarm> getAlarms(ISnmpSession snmpSession, DeviceId deviceId);
36}