Skip to content

Custom Scripts - Module & Script Attributes #16050

@Arshnika

Description

@Arshnika

Deployment Type

Self-hosted

NetBox Version

v4.0.0

Python Version

3.10

Steps to Reproduce

  1. Create a custom script module including multiple scripts
  2. Define a "name" for the module
  3. Define a "name" and "description" for the scripts.
  4. Add the script module to NetBox

Expected Behavior

When the script module is added, NetBox should reflect all configured attributes on the GUI interface.

image

Observed Behavior

  • NetBox uses the script module file name as the name instead of the defined "name" attribute
  • NetBox uses the script class name as the name of the script instead of the defined "name" attribute
  • NetBox does not show the defined "description" attribute.

Custom_Scripts

Metadata

Metadata

Assignees

Labels

severity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions