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

Adding SNMP support the fake switches #128

Open
optimus-kart opened this issue Sep 6, 2018 · 4 comments
Open

Adding SNMP support the fake switches #128

optimus-kart opened this issue Sep 6, 2018 · 4 comments

Comments

@optimus-kart
Copy link

Currently no support is available for snmp queries, this should be available

@stephanerobert
Copy link
Contributor

No plan to implement the feature in the near future. But PRs are welcome ;)

@optimus-kart
Copy link
Author

optimus-kart commented Sep 7, 2018

Sure let me work on it :) Just to save some time, could you point from where I could start?

@lindycoder
Copy link
Contributor

Hello @optimus-kart ,

Thank you for your interest in our project.

We started a while ago to add some snmp support in a project that now uses fake switch so the technology it runs on is comptatible (twisted), i extracted the code here:

https://github.com/lindycoder/twisted-pysnmp-switch-example

It's also good to note that we're also the authors of https://github.com/openstack/virtualpdu that originates from the same place fake-switches did, so it might be worth a look for the SNMP part although it's not using twisted, which might or might not be a good thing we're open to suggestion.

What would be a requirement for this project would ideally be that it integrates smoothly with the actual switch creations.

  • Probably having a snmp_service ressembling the ssh_service and the telnet_service would be cool
  • the SNMP should tap directly in the SwitchConfiguration objects, the provided example has an OID store that could bridge data to these object.

It's a nice project to work on, we'll be very lucky if you do, please make sure everything is adequately tested.

Thank you!

@optimus-kart
Copy link
Author

@lindycoder Thanks for the inputs, let me look into the example you have shared, and see if there are any better alternatives, Will update soon.

Thank You!

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

No branches or pull requests

3 participants