Commit d8462ff
changecontrol.v1: Add ChangeControlSummary model & service
Add a new ChangeControlSummary model that provides a lightweight
summary view of change controls, including:
- Basic metadata (name, status, device_count, error, approved)
- Action type counts
- Timestamp tracking (created, edited, approved, scheduled, start, end)
- User tracking for all state transitions
This ChangeControlSummary model enables efficient querying of change
control metadata without fetching the full ChangeControl info, which
contains heavy nested stage and action data.
Also add a new Creation type to track when and by whom a change control
was created, and add a creation field to the ChangeControl model to
store this information.
[GENERATED_COMMIT]
Change-Id: Iee69f8210284482c9edfaecb693516a33c90ec8c1 parent 02e8672 commit d8462ff
4 files changed
Lines changed: 352 additions & 24 deletions
File tree
- arista/changecontrol/v1
- cloudvision/api/arista/changecontrol/v1
- fmp
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments