Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Protect against faulty SNMP profiles
ManagementProfile.snmp_version now avoids crashing in the case of faulty SNMP profiles. Since it was used to sort multiple profiles in order of SNMP version while fetching preferred profiles, the presence of any faulty profile on a Netbox would make `get_preferred_snmp_profile()` unable to fetch any valid profile without crashing. This was discovered by our test suite.
- Loading branch information