SNMP configuration UI should select location "Default" by default, not the first location alphabetically
Description
Steps to reproduce:
1) Go to Admin / Configure OpenNMS / Manage Monitoring Locations and create a location called "ASDF"
2) Go to Admin / Configure SNMP Community Names by IP Address and observe the selected location in the lookup controls
Expected result: Location Default is selected
Actual result: Location ASDF is selected
Why this is a problem: Principle of least surprise. The Default location is probably what the user meant to configure. If the user accidentally configures a different location, only Minions serving that location will use the new settings; OpenNMS proper will continue using whatever configuration exists for the default location.
Steps to reproduce:
1) Go to Admin / Configure OpenNMS / Manage Monitoring Locations and create a location called "ASDF"
2) Go to Admin / Configure SNMP Community Names by IP Address and observe the selected location in the lookup controls
Expected result: Location
Default
is selectedActual result: Location
ASDF
is selectedWhy this is a problem: Principle of least surprise. The
Default
location is probably what the user meant to configure. If the user accidentally configures a different location, only Minions serving that location will use the new settings; OpenNMS proper will continue using whatever configuration exists for the default location.