-
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: featureIntroduction of new functionality to the applicationIntroduction of new functionality to the application
Milestone
Description
Proposed Changes
Add the following integer fields to dcim.Device:
_console_port_count_console_server_port_count_power_port_count_power_outlet_count_interface_count_front_port_count_rear_port_count_device_bay_count_inventory_item_count
Add the following integer fields to virtualization.VirtualMachine:
_interface_count
These fields would be automatically populated upon creating/modifying/deleting the relevant child components.
Justification
- Enables efficient filters of devices/VMs based on whether a certain type of component has been created.
- Eliminates the need for additional queries e.g. when display the device view.
Metadata
Metadata
Assignees
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the applicationIntroduction of new functionality to the application