The various SNMP extenders to not work with ifIndex-indexed resources

Description

For resources indexed by ifIndex, the various SNMP Extenders are nonfunctional.

For example:

The enum will never be populated. I’ve also tried s/ifIndex/interfaceSnmp/ on the property.

Acceptance / Success Criteria

None

Activity

Show:

Alex May March 30, 2023 at 12:51 PM

Merged into foundation-2022

Alex May March 7, 2023 at 7:25 PM

PR:

SNMP Property Extenders match their instance fields to resource type names. For custom property types this works fine, but interface-level resources have the property type name “if”.

Dino Yancey March 1, 2023 at 9:58 PM

Glorious. Let me know if you need help testing.

Alex May March 1, 2023 at 9:39 PM

That’s the plan, but it touches some old code that I don’t quite understand yet, hence the thorough testing.

Dino Yancey March 1, 2023 at 9:34 PM

Oof, ok, I’ll give that a shot. While you’re in there, though, can we make that consistent with the rest of the product and change it to use instance="ifIndex" ?

Fixed

Details

Assignee

Reporter

HB Grooming Date

HB Backlog Status

Components

Sprint

Affects versions

Priority

PagerDuty

Created January 27, 2023 at 4:55 PM
Updated March 30, 2023 at 12:51 PM
Resolved March 30, 2023 at 12:51 PM