Enable auditing for tacker elements
There are two cases:
1. Add life cycle time-stamp to tacker elements
VIM, VNFD and VNF are going thru the life cycle and for operator, it is important to know when it got created, updated and deleted for audting purpose or for investigation of issues, etc. so this blueprint is filed to create following columns for tables mentioned below:
columns:
created_at
updated_at
deleted_at
Tables
vims
devicetemplates
devices
2. capture the state change events
While tacker elements are going thru the state changes from initial state to final state, it is requried to capture them and when ever user request for it, provide over RESTful API/CLI and UI.
Blueprint information
- Status:
- Complete
- Approver:
- Sridhar Ramaswamy
- Priority:
- Medium
- Drafter:
- Kanagaraj Manickam
- Direction:
- Approved
- Assignee:
- Kanagaraj Manickam
- Definition:
- Approved
- Series goal:
- Accepted for newton
- Implementation:
- Implemented
- Milestone target:
- newton-2
- Started by
- Kanagaraj Manickam
- Completed by
- Sridhar Ramaswamy
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Tacker management resource event logging blue print
Addressed by: https:/
Adds audit support for VIM, VNFD and VNF tables
Addressed by: https:/
Enables soft deletion for VIM, VNFD and VNF
Addressed by: https:/
Adds event model/table for audit support
Addressed by: https:/
Support purge of soft-deleted resources from DB tables
Gerrit topic: https:/
Gerrit topic: https:/
Addressed by: https:/
Logs events for VIM, VNFD and VNF operations
Addressed by: https:/
Adds audit support for VNF, VIM and VNFD resources
Gerrit topic: https:/
Addressed by: https:/
Adds functional tests for common services plugin
Addressed by: https:/
Logs events for VNF monitoring and actions
Addressed by: https:/
Logs events for VNF scale operations
Addressed by: https:/
VNF monitoring event capture: Functional test
Addressed by: https:/
VNF Scaling event capture: Functional Test
Addressed by: https:/
Move functional tests from commonservices directory
Addressed by: https:/
Ensures common services plugin is always loaded
Addressed by: https:/
Devref for event logging feature
Addressed by: https:/
Events functional tests: verify resource state.
Addressed by: https:/
VIM event type fixed to be of type Monitor
Work Items
Work items:
Spec - https:/
Client - https:/
Server - Adds audit support for VIM, VNFD and VNF - https:/
Server - Enables soft deletion for VIM, VNFD and VNF - https:/
Server - Adds event plugin for audit support - https:/
Server - Logs events for VIM, VNFD and VNF operations - https:/
Server - Support purge of soft-deleted resources from DB tables - https:/
Server: Emit events for monitor, scaling: https:/
Horizon UI - https:/
Func test - common services: https:/
Func test - health monitor events - https:/
Func test - vnf scaling events - https:/
Server: Move from service-plugin to core-plugin: https:/
Doc - devref user guide: https:/