kmcpeake | b172d5f | 2015-12-10 11:30:43 +0000 | [diff] [blame] | 1 | /* |
Brian O'Connor | 7cbbbb7 | 2016-04-09 02:13:23 -0700 | [diff] [blame^] | 2 | * Copyright 2015-present Open Networking Laboratory |
| 3 | * |
kmcpeake | b172d5f | 2015-12-10 11:30:43 +0000 | [diff] [blame] | 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 | * |
Brian O'Connor | 7cbbbb7 | 2016-04-09 02:13:23 -0700 | [diff] [blame^] | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
kmcpeake | b172d5f | 2015-12-10 11:30:43 +0000 | [diff] [blame] | 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 | */ |
| 16 | package org.onosproject.provider.snmp.alarm.impl; |
| 17 | |
| 18 | import com.btisystems.pronx.ems.core.snmp.ISnmpSession; |
| 19 | import java.util.Collection; |
| 20 | import org.onosproject.incubator.net.faultmanagement.alarm.Alarm; |
| 21 | import org.onosproject.net.DeviceId; |
| 22 | |
Andrea Campanella | 3eca4a8 | 2016-02-10 17:35:14 -0800 | [diff] [blame] | 23 | /** |
| 24 | * @deprecated 1.5.0 Falcon, not compliant with ONOS SB and driver architecture. |
| 25 | */ |
| 26 | @Deprecated |
kmcpeake | b172d5f | 2015-12-10 11:30:43 +0000 | [diff] [blame] | 27 | public interface SnmpDeviceAlarmProvider { |
| 28 | /** |
| 29 | * Implemented by device specific implementations which query the current |
| 30 | * alarms from a device. |
Andrea Campanella | 3eca4a8 | 2016-02-10 17:35:14 -0800 | [diff] [blame] | 31 | * @deprecated 1.5.0 Falcon |
kmcpeake | b172d5f | 2015-12-10 11:30:43 +0000 | [diff] [blame] | 32 | * @param snmpSession SNMP Session |
| 33 | * @param deviceId device identifier |
| 34 | * @return device alarms |
| 35 | */ |
Andrea Campanella | 3eca4a8 | 2016-02-10 17:35:14 -0800 | [diff] [blame] | 36 | @Deprecated |
kmcpeake | b172d5f | 2015-12-10 11:30:43 +0000 | [diff] [blame] | 37 | Collection<Alarm> getAlarms(ISnmpSession snmpSession, DeviceId deviceId); |
| 38 | } |