Skip to content

netbox_napalm_plugin endpoint not accessible  #653

@N1CK145

Description

@N1CK145

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    severity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: under reviewFurther discussion is needed to determine this issue's scope and/or implementationtype: bugA confirmed report of unexpected behavior in the application

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions