Device Type edit seems to be affect Device itself #1958

Closed
opened 2025-12-29 17:20:56 +01:00 by adam · 1 comment
Owner

Originally created by @a31amit on GitHub (Aug 20, 2018).

Environment

  • Python version: 3.4
  • NetBox version: 2.4.3

Changing Device Type Templates also have the effect on Device itself. As per understanding from net box documentation that device types are being used when someone creates the device and changing device type doesn't have the effect on the device itself. However in this case device type seems to have some effect on the device.

Split from - https://github.com/digitalocean/netbox/issues/2370

Steps to Reproduce

Create a Parent Chassis Device Type
Create a Device Based with same Device Type Model
Delete Bay in Device Type and Edit Device type from Parent to None
Open Device created with the same template and Select All Bay and Delete

Expected Behavior

it should redirect to Device page itself and also it should give the option to create/add device bay as well.
As per understanding from net box documentation that device types are being used when someone creates the device and changing device type doesn't have the effect on the device itself.

Observed Behavior

Taking back to home and when you open the device page for the same device, device bay area is missing from that device.

Originally created by @a31amit on GitHub (Aug 20, 2018). <!-- NOTE: This form is only for reproducible bugs. If you need assistance with NetBox installation, or if you have a general question, DO NOT open an issue. Instead, post to our mailing list: https://groups.google.com/forum/#!forum/netbox-discuss Please describe the environment in which you are running NetBox. Be sure that you are running an unmodified instance of the latest stable release before submitting a bug report. --> ### Environment * Python version: 3.4 * NetBox version: 2.4.3 Changing Device Type Templates also have the effect on Device itself. As per understanding from net box documentation that device types are being used when someone creates the device and changing device type doesn't have the effect on the device itself. However in this case device type seems to have some effect on the device. Split from - https://github.com/digitalocean/netbox/issues/2370 ### Steps to Reproduce Create a Parent Chassis Device Type Create a Device Based with same Device Type Model Delete Bay in Device Type and Edit Device type from Parent to None Open Device created with the same template and Select All Bay and Delete <!-- What did you expect to happen? --> ### Expected Behavior it should redirect to Device page itself and also it should give the option to create/add device bay as well. As per understanding from net box documentation that device types are being used when someone creates the device and changing device type doesn't have the effect on the device itself. <!-- What happened instead? --> ### Observed Behavior Taking back to home and when you open the device page for the same device, device bay area is missing from that device.
adam closed this issue 2025-12-29 17:20:56 +01:00
Author
Owner

@jeremystretch commented on GitHub (Aug 20, 2018):

This is expected behavior. The device type is no longer designated as a parent device, so NetBox doesn't give you the option to add device bays. (Device bays are displayed if they've already been created, though.)

@jeremystretch commented on GitHub (Aug 20, 2018): This is expected behavior. The device type is no longer designated as a parent device, so NetBox doesn't give you the option to add device bays. (Device bays are displayed if they've already been created, though.)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1958