pynetbox
pynetbox copied to clipboard
Fixes path for plugin names with underscores
For the plugin netbox-secretstore and netbox-access-lists, I'm unable to use the library because the code auto replaces the _ with -. This causes issues because the path to the APIs require the use of underscores
@zachmoody Ping, let me know if you require more information
This is not the right way of resolving the issue. I have two plugins, in one underscore is part of the URL and in another dash is part of the URL. Maybe the base URL on netbox should always turn underscores to dashes. That way, this issue will never arise and the code will work as is.