openwisp / netengine

Python abstraction layer for extracting information from network devices.
http://netengine.rtfd.org
Other
38 stars 17 forks source link

[backends/snmp] Add the interfaces dictionary #44

Open AlessiaVe opened 6 years ago

AlessiaVe commented 6 years ago

add in base.py a method for interrogate the interfaces dictonary. In the file openwrt and airos the method interfaces_type search the value of the type from the interfaces dictonary. This implementation make easier, in the future, the development of new backends and the research of others type of interfaces (like vlan)