## Summary Each GPU is one index of a data query on the node's device. A GPU leaving the index must not orphan its history by accident. ## Requirements - **REQ-INDEX-001** Each GPU MUST be one index of the node's GPU data query, keyed by the identity key. - **REQ-INDEX-002** The index listing MUST include absent GPUs, so Cacti does not mark their data sources orphaned and their history stays attached. - **REQ-INDEX-003** Absent GPUs MUST report unknown values, not zero. - **REQ-INDEX-004** The plugin MUST trigger a reindex after an inventory change, and MUST NOT depend on Cacti's scheduled reindex. - **REQ-INDEX-005** Removing a GPU from the data query MUST be an explicit operator action that states the effect on graphs and RRD files. ## Acceptance criteria - [ ] Fixture sequence remove then re-add: history continues in the same RRD. - [ ] Replaced-card fixture creates a new data source and leaves the old one intact. ## References - [ADR 0004](https://github.com/somethingwithproof/plugin_gpu/blob/main/docs/decisions/0004-gpus-are-data-query-indexes.md) - [Plan: Cacti objects](https://github.com/somethingwithproof/plugin_gpu/blob/main/docs/PLAN.md#cacti-objects) ## Dependencies - Part of #3. - Blocked by #24, #33, #37, #39.
Activity
fix: apply a GPU move or retirement only as it was authorized (#40)
feat: milestone 3 NVIDIA collection and Cacti objects (#73)