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

API get snmp snmpwalk not under linux #27

Open
wilbeacham85 opened this issue Sep 28, 2020 · 2 comments
Open

API get snmp snmpwalk not under linux #27

wilbeacham85 opened this issue Sep 28, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@wilbeacham85
Copy link

When using the get_snmp_snmpwalk API it is only available under IOS-XE. The issue is that the python runs the snmpwalk command. I think this is a Linux command and won't run on a IOS-XE device. when trying to run on a Linux box you get an error saying can't find under com or Linux.

Is it possible to get this API added under Linux? I'm using the API within the robot framework.

@thaixuann
Copy link

Hi @wilbeacham85 ,
I will take a look and update once the issue is fixed.

Thanks,
--Thai.

@thaixuann thaixuann added the enhancement New feature or request label Sep 30, 2020
@thaixuann
Copy link

Hi @wilbeacham85
This is currently not supported, but if interested that would be a great contribution.

You can find the code of XE here: https://github.com/CiscoTestAutomation/genielibs/blob/master/pkgs/sdk-pkg/src/genie/libs/sdk/apis/iosxe/snmp/get.py#L13

You could look into adding similar for Linux;

Thanks,
--Thai

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

No branches or pull requests

2 participants