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

netbox_napalm_plugin endpoint not accessible #653

Open
N1CK145 opened this issue Nov 8, 2024 · 0 comments · May be fixed by #654
Open

netbox_napalm_plugin endpoint not accessible #653

N1CK145 opened this issue Nov 8, 2024 · 0 comments · May be fixed by #654
Labels
type: bug A confirmed report of unexpected behavior in the application

Comments

@N1CK145
Copy link

N1CK145 commented Nov 8, 2024

pynetbox version

v7.4.1

NetBox version

Community v4.1.6

Python version

3.10

Steps to Reproduce

  1. netbox_napalm_plugin in your Netbox
  2. Try to fetch configuration via nb.plugins.netbox_napalm_plugin.napalmplatformconfig.all()
  3. This line replaces the _ with - which makes the request url invalid

Expected Behavior

Maybe add another way to specify endpoints like this nb.plugins['netbox_napalm_plugin'].napalmplatformconfig.all() so you have this kind of edge cases included

Observed Behavior

The _ will be replaced with - and the endpoint is invalid

@N1CK145 N1CK145 added the type: bug A confirmed report of unexpected behavior in the application label Nov 8, 2024
@N1CK145 N1CK145 linked a pull request Nov 8, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant