You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes#55: Add VirtualMachine support for License and Contract assignments
- Add virtual_machine ForeignKey to LicenseAssignment and SupportContractAssignment models
- Enforce mutual exclusivity between device and virtual_machine via clean() and CheckConstraint
- Module assignments restricted to devices only (not VMs)
- Update forms with TabbedGroups for Device vs Virtual Machine selection
- Add virtual_machine filters to filtersets
- Add virtual_machine to API serializers with nested VirtualMachineSerializer
- Add virtual_machine columns to tables
- Add Support Contracts card to VirtualMachine detail pages via template extension
- Add HTMX views for lazy-loading VM contract data
- Add comprehensive tests for VM functionality
- Update README to document VM support
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,9 @@ The Netbox Lifecycle plugin is a Hardware EOS/EOL, License and Support Contract
4
4
5
5
## Features
6
6
7
-
* Tracking EOL/EOS data
8
-
* Tracking License
9
-
* Tracking Support Contracts
7
+
* Tracking EOL/EOS data for DeviceTypes and ModuleTypes
8
+
* Tracking Licenses (assignable to Devices and Virtual Machines)
9
+
* Tracking Support Contracts (assignable to Devices, Modules, and Virtual Machines)
10
10
11
11
# Requirements
12
12
@@ -49,15 +49,15 @@ PLUGINS_CONFIG = {
49
49
| Setting | Default | Description |
50
50
|---------|---------|-------------|
51
51
|`lifecycle_card_position`|`right_page`| Position of the Hardware Lifecycle Info card on Device, Module, DeviceType, and ModuleType detail pages. Options: `left_page`, `right_page`, `full_width_page`. |
52
-
|`contract_card_position`|`right_page`| Position of the Support Contracts card on Device detail pages. Options: `left_page`, `right_page`, `full_width_page`. |
52
+
|`contract_card_position`|`right_page`| Position of the Support Contracts card on Device and VirtualMachine detail pages. Options: `left_page`, `right_page`, `full_width_page`. |
53
53
54
54
### Hardware Lifecycle Info Card
55
55
56
56
Displays EOL/EOS information for the hardware type on Device, Module, DeviceType, and ModuleType detail pages.
57
57
58
58
### Support Contracts Card
59
59
60
-
Displays all contract assignments on Device detail pages, grouped by status:
60
+
Displays all contract assignments on Device and VirtualMachine detail pages, grouped by status:
61
61
62
62
-**Active**: Contracts currently in effect
63
63
-**Future**: Contracts with a start date in the future
0 commit comments