Skip to content

Improve SnmpResponse value()#14605

Merged
murrant merged 7 commits intolibrenms:masterfrom
murrant:response-value
Dec 1, 2022
Merged

Improve SnmpResponse value()#14605
murrant merged 7 commits intolibrenms:masterfrom
murrant:response-value

Conversation

@murrant
Copy link
Copy Markdown
Member

@murrant murrant commented Nov 9, 2022

Can now return a specific oid or the first non-empty oid in a list.
Cache values() call on object to avoid repeated parsing
Improved types

Please give a short description what your pull request is for

DO NOT DELETE THE UNDERLYING TEXT

Please note

Please read this information carefully. You can run ./lnms dev:check to check your code before submitting.

  • Have you followed our code guidelines?
  • If my Pull Request does some changes/fixes/enhancements in the WebUI, I have inserted a screenshot of it.
  • If my Pull Request makes discovery/polling/yaml changes, I have added/updated test data.

Testers

If you would like to test this pull request then please run: ./scripts/github-apply <pr_id>, i.e ./scripts/github-apply 5926
After you are done testing, you can remove the changes with ./scripts/github-remove. If there are schema changes, you can ask on discord how to revert.

Can now return a specific oid or the first non-empty oid in a list.
Cache values() call on object to avoid repeated parsing
Improved types
@murrant murrant added the Internal Features Features for developers label Nov 9, 2022
@murrant murrant added this to the 22.12.0 milestone Nov 20, 2022
@murrant murrant merged commit e8c3b2c into librenms:master Dec 1, 2022
@murrant murrant deleted the response-value branch December 1, 2022 01:50
@librenms-bot
Copy link
Copy Markdown

This pull request has been mentioned on LibreNMS Community. There might be relevant details there:

https://community.librenms.org/t/22-12-0-changelog/20474/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Internal Features Features for developers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants