-
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.1
Python version
3.9
Steps to Reproduce
- Create a new module and module components (interface, console port, etc)
- Find the ID if said component and navigate to the API endpoint (for example
GET /api/dcim/interface-templates/76/) - The device_type is set to null and there's no module_type field
Expected Behavior
A module_type field should be present with similar information to the device_type field.
Observed Behavior
The module_type field isn't returned on API GET calls.
it should be added under the relevant component templates' fields variable
netbox/netbox/dcim/api/serializers.py
Line 327 in 39a9eba
| fields = [ |
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