Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HOW TO] walk over multiple node with manager? #109

Open
dhruvinsh opened this issue Nov 29, 2023 · 0 comments
Open

[HOW TO] walk over multiple node with manager? #109

dhruvinsh opened this issue Nov 29, 2023 · 0 comments

Comments

@dhruvinsh
Copy link

dhruvinsh commented Nov 29, 2023

Hi,
I am trying to understand if walking over multiple node is possible?

from snimpy.manager import Manager, load

load("some-mib")

with manager("host") as m:
  for index, value in m.portConfig.iteritems():
    print(index, value)

With this I can get portConfig (all index data), but if I want to walk to neighbour node how can I do it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant