Extend SnmpMetadataProvisioningAdapter configuration to support exact OID matches

Description

The current provisioning adapter automatically appends the ".0" value to single entry OIDs per normal SNMP specification.

There are edge cases where we will need to specify the entire OID statically to retrieve a single piece of data.

This code will introduce a new "exact" attribute that will allow for this edge case to exist.

Acceptance / Success Criteria

XML Configuration file for SnmpMetadataProvisioningAdapter accepts the new optional "exact" attribute.

The provisioning adapter recognizes this Boolean value and executes the appropriate filter line for parsing the results.

The Metadata results are appended as intended to the node inside OpenNMS.

Lucidchart Diagrams

Activity

Show:

Christian Pape December 14, 2021 at 2:55 PM

Merged.

Sean Torres December 10, 2021 at 1:59 AM

Fixed

Details

Assignee

Reporter

Docs Needed

Yes

Components

Sprint

Fix versions

Affects versions

Priority

PagerDuty

Created December 9, 2021 at 10:58 PM
Updated December 16, 2021 at 12:06 AM
Resolved December 14, 2021 at 2:55 PM