Skip to content

{module} variable is not replaced when installing a module that has submodules (modules bays) in a device #17436

@marcusyuri

Description

@marcusyuri

Deployment Type

Self-hosted

NetBox Version

v4.1.0

Python Version

3.10

Steps to Reproduce

  1. Create a new device and add a module bay (ex: module bay name = Slot 0, position = 0)

image

  1. Create a new module type and add a component 'module bayf', with name containing the expression {module} (ex: module bay name = Subslot {module}/0, position=0

image

  1. Install this module on the device module bay.
    image

Expected Behavior

The submodule was created with the word {module} replaced by the position value. In the example, the expected name was "Subslot 0/0"

Observed Behavior

The {module} word is not replaced, and the module bay name is wrong named as "Subslot {module}/0" instead of "Subslot 0/0"

Metadata

Metadata

Labels

netboxseverity: 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

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions