-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
NetBox version
v3.2.5
Python version
3.8
Steps to Reproduce
- Create a module bay
- Install a module into the module bay
- View the module bay using the REST API (e..g.
GET /api/dcim/module-bays/123/)
Expected Behavior
The installed module should be included as installed_module, similar to installed_device for device bays.
Observed Behavior
The field has been omitted from the REST API serializer for the ModuleBay model. It's clear this was intended for the initial implementation, however the code for including the field is currently commented out, and no proper nested serializer was created. It's likely this was an oversight during the development and evaluation periods.
Metadata
Metadata
Assignees
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application