Define the scope of an Audit as a pool of resources

Registered by Antoine Cabot

As a cloud administrator, I want to be able to define the pool of resources on which an Audit will apply.
This scope will be called "Audit scope" and will be configured in an Audit Template as a list of managed resource ids.

It will enable Watcher to provide a very generic auditing system which will be able to audit :
- any kind of resources : compute nodes, host aggregates, storage nodes, network equipments, network links, Hadoop cluster, ...
- for any kinf of goal (energy optimization, servers consolidation, network latency optimization, network bandwidth optimization, ...).

Each managed resource will be identified with its unique UUID and audit scope will also contain, for each managed resource, its resource type (so that it's easier for Watcher to know what OpenStack module is in charge of this type of resource).
For consistency with the OpenStack core modules, the resource type can be any type belonging to the list provided in HEAT and Watcher will use the same naming as HEAT:
http://docs.openstack.org/developer/heat/template_guide/openstack.html

Blueprint information

Status:
Complete
Approver:
Antoine Cabot
Priority:
Medium
Drafter:
Vincent Mahe
Direction:
Approved
Assignee:
Alexander Chadin
Definition:
Approved
Series goal:
Accepted for ocata
Implementation:
Implemented
Milestone target:
milestone icon ocata-1
Started by
Antoine Cabot
Completed by
Antoine Cabot

Related branches

Sprints

Whiteboard

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

Addressed by: https://review.openstack.org/273556
    Define the scope of an Audit as pool of resources

Addressed by: https://review.openstack.org/339456
    Update define-the-audit-scope spec

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

Addressed by: https://review.openstack.org/359963
    [WIP] Add Audit Scope Handler

Addressed by: https://review.openstack.org/364251
    Change host aggregates id type to integer

Addressed by: https://review.openstack.org/393846
    Added the audit scope field in dashboard

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.