Enable auditing for tacker elements

Registered by Kanagaraj Manickam

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:
milestone icon newton-2
Started by
Kanagaraj Manickam
Completed by
Sridhar Ramaswamy

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/audit-support,n,z

Addressed by: https://review.openstack.org/321370
    Tacker management resource event logging blue print

Addressed by: https://review.openstack.org/325169
    Adds audit support for VIM, VNFD and VNF tables

Addressed by: https://review.openstack.org/325718
    Enables soft deletion for VIM, VNFD and VNF

Addressed by: https://review.openstack.org/326102
    Adds event model/table for audit support

Addressed by: https://review.openstack.org/329652
    Support purge of soft-deleted resources from DB tables

Gerrit topic: https://review.openstack.org/#q,topic:audit-support,n,z

Gerrit topic: https://review.openstack.org/#q,topic:bp/audit-support-purge-db-tables,n,z

Addressed by: https://review.openstack.org/349153
    Logs events for VIM, VNFD and VNF operations

Addressed by: https://review.openstack.org/349755
    Adds audit support for VNF, VIM and VNFD resources

Gerrit topic: https://review.openstack.org/#q,topic:bp/audit-support-log-resource-events,n,z

Addressed by: https://review.openstack.org/358678
    Adds functional tests for common services plugin

Addressed by: https://review.openstack.org/361680
    Logs events for VNF monitoring and actions

Addressed by: https://review.openstack.org/363946
    Logs events for VNF scale operations

Addressed by: https://review.openstack.org/366226
    VNF monitoring event capture: Functional test

Addressed by: https://review.openstack.org/366433
    VNF Scaling event capture: Functional Test

Addressed by: https://review.openstack.org/367697
    Move functional tests from commonservices directory

Addressed by: https://review.openstack.org/369142
    Ensures common services plugin is always loaded

Addressed by: https://review.openstack.org/370428
    Devref for event logging feature

Addressed by: https://review.openstack.org/371086
    Events functional tests: verify resource state.

Addressed by: https://review.openstack.org/372677
    VIM event type fixed to be of type Monitor

(?)

Work Items

Work items:
Spec - https://review.openstack.org/#/c/321370 : DONE
Client - https://review.openstack.org/349722 : DONE
Server - Adds audit support for VIM, VNFD and VNF - https://review.openstack.org/325169 : DONE
Server - Enables soft deletion for VIM, VNFD and VNF - https://review.openstack.org/325718 : DONE
Server - Adds event plugin for audit support - https://review.openstack.org/326102 : DONE
Server - Logs events for VIM, VNFD and VNF operations - https://review.openstack.org/349153 : DONE
Server - Support purge of soft-deleted resources from DB tables - https://review.openstack.org/329652 : DONE
Server: Emit events for monitor, scaling: https://review.openstack.org/#/c/363946/ https://review.openstack.org/#/c/361680/ : DONE
Horizon UI - https://review.openstack.org/349755 : DONE
Func test - common services: https://review.openstack.org/#/c/358678 : DONE
Func test - health monitor events - https://review.openstack.org/#/c/366226 : DONE
Func test - vnf scaling events - https://review.openstack.org/#/c/366433/: DONE
Server: Move from service-plugin to core-plugin: https://review.openstack.org/369142 : DONE
Doc - devref user guide: https://review.openstack.org/#/c/370428/: DONE

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.