-
Notifications
You must be signed in to change notification settings - Fork 184
Open
Labels
severity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: under reviewFurther discussion is needed to determine this issue's scope and/or implementationFurther discussion is needed to determine this issue's scope and/or implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
pynetbox version
v7.4.1
NetBox version
Community v4.1.6
Python version
3.10
Steps to Reproduce
- netbox_napalm_plugin in your Netbox
- Try to fetch configuration via
nb.plugins.netbox_napalm_plugin.napalmplatformconfig.all()
- 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
Metadata
Metadata
Assignees
Labels
severity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: under reviewFurther discussion is needed to determine this issue's scope and/or implementationFurther discussion is needed to determine this issue's scope and/or implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application