kmcpeake | b172d5f | 2015-12-10 11:30:43 +0000 | [diff] [blame] | 1 | /* |
| 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 | */ |
| 14 | package org.onosproject.provider.snmp.device.impl; |
| 15 | |
| 16 | import com.btisystems.pronx.ems.core.snmp.ISnmpSession; |
| 17 | import org.onosproject.net.device.DeviceDescription; |
| 18 | |
| 19 | /** |
| 20 | * Abstraction of an entity which updates a device description with information retrieved via SNMP. |
Andrea Campanella | 3eca4a8 | 2016-02-10 17:35:14 -0800 | [diff] [blame] | 21 | * @deprecated 1.5.0 Falcon, not compliant with ONOS SB and driver architecture. |
kmcpeake | b172d5f | 2015-12-10 11:30:43 +0000 | [diff] [blame] | 22 | */ |
Andrea Campanella | 3eca4a8 | 2016-02-10 17:35:14 -0800 | [diff] [blame] | 23 | @Deprecated |
kmcpeake | b172d5f | 2015-12-10 11:30:43 +0000 | [diff] [blame] | 24 | public interface SnmpDeviceDescriptionProvider { |
| 25 | |
| 26 | /** |
| 27 | * Generated an updated device description. |
Andrea Campanella | 3eca4a8 | 2016-02-10 17:35:14 -0800 | [diff] [blame] | 28 | * @deprecated 1.5.0 Falcon |
kmcpeake | b172d5f | 2015-12-10 11:30:43 +0000 | [diff] [blame] | 29 | * @param session SNMP session |
| 30 | * @param description old device description |
| 31 | * @return new updated description |
| 32 | */ |
Andrea Campanella | 3eca4a8 | 2016-02-10 17:35:14 -0800 | [diff] [blame] | 33 | @Deprecated |
kmcpeake | b172d5f | 2015-12-10 11:30:43 +0000 | [diff] [blame] | 34 | DeviceDescription populateDescription(ISnmpSession session, DeviceDescription description); |
kmcpeake | b172d5f | 2015-12-10 11:30:43 +0000 | [diff] [blame] | 35 | } |