blob: 1e4096ea3e8cb1fca455dcd3ea5ceb8f892e8ff7 [file] [log] [blame]
kmcpeakeb172d5f2015-12-10 11:30:43 +00001/*
Brian O'Connor7cbbbb72016-04-09 02:13:23 -07002 * Copyright 2015-present Open Networking Laboratory
3 *
kmcpeakeb172d5f2015-12-10 11:30:43 +00004 * 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 *
Brian O'Connor7cbbbb72016-04-09 02:13:23 -07008 * http://www.apache.org/licenses/LICENSE-2.0
kmcpeakeb172d5f2015-12-10 11:30:43 +00009 *
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.provider.snmp.alarm.impl;
17
18import com.btisystems.pronx.ems.core.snmp.ISnmpSession;
19import java.util.Collection;
20import org.onosproject.incubator.net.faultmanagement.alarm.Alarm;
21import org.onosproject.net.DeviceId;
22
Andrea Campanella3eca4a82016-02-10 17:35:14 -080023/**
24 * @deprecated 1.5.0 Falcon, not compliant with ONOS SB and driver architecture.
25 */
26@Deprecated
kmcpeakeb172d5f2015-12-10 11:30:43 +000027public interface SnmpDeviceAlarmProvider {
28 /**
29 * Implemented by device specific implementations which query the current
30 * alarms from a device.
Andrea Campanella3eca4a82016-02-10 17:35:14 -080031 * @deprecated 1.5.0 Falcon
kmcpeakeb172d5f2015-12-10 11:30:43 +000032 * @param snmpSession SNMP Session
33 * @param deviceId device identifier
34 * @return device alarms
35 */
Andrea Campanella3eca4a82016-02-10 17:35:14 -080036 @Deprecated
kmcpeakeb172d5f2015-12-10 11:30:43 +000037 Collection<Alarm> getAlarms(ISnmpSession snmpSession, DeviceId deviceId);
38}