Skip to content

Installed module missing from API representation of module bay #9597

@jeremystretch

Description

@jeremystretch

NetBox version

v3.2.5

Python version

3.8

Steps to Reproduce

  1. Create a module bay
  2. Install a module into the module bay
  3. 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

No one assigned

    Labels

    status: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions