The "Position" field doesn't resolve the {module} variable in nested modules #11668

Open
opened 2025-12-29 21:48:19 +01:00 by adam · 0 comments
Owner

Originally created by @tpx-mk on GitHub (Oct 2, 2025).

Originally assigned to: @mrmrcoleman on GitHub.

NetBox Edition

NetBox Community

NetBox Version

4.3.7

Python Version

3.10

Steps to Reproduce

  • Create a module type, e.g. TapeLib Extension module
  • Within the module type create one (or more) module bay(s) with the {module} variable in the position field
  • Create another module type, e.g. TapeLib Drive module
  • Add a module of the first type into some device (e.g. TapeLibrary)
  • Add a module of the second type into a module bay of the first module

Expected Behavior

the {module} variable gets expended not only in the names of the modules and interfaces and the label field but also in the position field

Observed Behavior

the position in the nested moduled shows {module} as text without resolving the variable

Originally created by @tpx-mk on GitHub (Oct 2, 2025). Originally assigned to: @mrmrcoleman on GitHub. ### NetBox Edition NetBox Community ### NetBox Version 4.3.7 ### Python Version 3.10 ### Steps to Reproduce - Create a module type, e.g. _TapeLib Extension module_ - Within the module type create one (or more) module bay(s) with the {module} variable in the _position_ field - Create another module type, e.g. _TapeLib Drive module_ - Add a module of the first type into some device (e.g. TapeLibrary) - Add a module of the second type into a module bay of the first module ### Expected Behavior the {module} variable gets expended not only in the names of the modules and interfaces and the _label_ field but also in the _position_ field ### Observed Behavior the position in the nested moduled shows _{module}_ as text without resolving the variable
adam added the type: bugstatus: acceptednetboxseverity: low labels 2025-12-29 21:48:19 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#11668