SnmpConfigRestService is not location-aware

Description

The SnmpConfigRestService does not grok the notion of location. Identified in context of the same project as https://opennms.atlassian.net/browse/NMS-9462#icft=NMS-9462.

Please do not de-blockerize without talking to me first.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Jesse White June 28, 2017 at 10:24 AM

It looks like this does in fact work.

First, set the community for a specific IP address at the MINION location with:

./bin/provision.pl snmp set 192.168.0.1 publ1c version=v1 timeout=1000 location=MINION

And then retrieve the configuration from the Karaf shell:

opennms> snmp:show-config -l MINION 192.168.0.1 Address: 192.168.0.1 ProxyForAddress: null Port: 161 Timeout: 1000 Retries: 1000 MaxVarsPerPdu: 10 MaxRepetitions: 2 MaxRequestSize: 65535 Version: v1 ReadCommunity: publ1c WriteCommunity: private

Note that the settings are properly retrieved.

Cannot Reproduce

Details

Assignee

Reporter

Labels

Components

Sprint

Affects versions

Priority

PagerDuty

Created June 23, 2017 at 1:36 AM
Updated June 28, 2017 at 10:24 AM
Resolved June 28, 2017 at 10:24 AM

Flag notifications