{module} replacement in Label Fields #6352

Closed
opened 2025-12-29 19:39:44 +01:00 by adam · 0 comments
Owner

Originally created by @JoeIzzard on GitHub (Apr 14, 2022).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.2.0-LDAP (Docker)

Python version

3.9

Steps to Reproduce

  1. Create a device with module bays, I had 4 module bays with name 1-4, label Bay 1-4
  2. Create a module type with interfaces named {module}/[1-X] and label {module}/[1-X]
  3. Add the new module to a module bay in the device

Expected Behavior

The placeholder in the label field should be replaced same as the name resulting in labels such as 1/1

Observed Behavior

No replacement resulting in names of {module}/1 for example

Originally created by @JoeIzzard on GitHub (Apr 14, 2022). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.2.0-LDAP (Docker) ### Python version 3.9 ### Steps to Reproduce 1. Create a device with module bays, I had 4 module bays with name 1-4, label Bay 1-4 2. Create a module type with interfaces named `{module}/[1-X]` and label `{module}/[1-X]` 3. Add the new module to a module bay in the device ### Expected Behavior The placeholder in the label field should be replaced same as the name resulting in labels such as `1/1` ### Observed Behavior No replacement resulting in names of `{module}/1` for example
adam added the type: bugstatus: accepted labels 2025-12-29 19:39:44 +01:00
adam closed this issue 2025-12-29 19:39:45 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#6352