From b5b88986de3d9cdd122b3543df7aa5ba498928c5 Mon Sep 17 00:00:00 2001 From: Hidekazu Nakamura Date: Thu, 2 Nov 2017 14:37:19 +0900 Subject: [PATCH] Add audit scoper for storage data model spec This patch adds spec to implement audit scoper for storage data model. Change-Id: I5b8a1478966a692f6daaf660a8bb98e29f191afc Implements: blueprint audit-scoper-for-storage-data-model --- .../audit-scoper-for-storage-data-model.rst | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 specs/queens/approved/audit-scoper-for-storage-data-model.rst diff --git a/specs/queens/approved/audit-scoper-for-storage-data-model.rst b/specs/queens/approved/audit-scoper-for-storage-data-model.rst new file mode 100644 index 00000000..126509b0 --- /dev/null +++ b/specs/queens/approved/audit-scoper-for-storage-data-model.rst @@ -0,0 +1,145 @@ +.. + This work is licensed under a Creative Commons Attribution 3.0 Unported + License. + + http://creativecommons.org/licenses/by/3.0/legalcode + +=================================== +Audit scoper for storage data model +=================================== + +https://blueprints.launchpad.net/watcher/+spec/audit-scoper-for-storage-data-model + +Problem description +=================== + +Storage cluster data model was introduced in Pike cycle. Since the model is +different from compute data model, we need CDM scoper for storage cluster +data model. + +Use Cases +---------- + +As a Watcher user, I want to restrict scope of storage cluster data model. + +Proposed change +=============== + +This spec adds storage cluster data model scoper which can restrict +the followings. + +* storage availability zone + +* volume type + +* exclude + + * volume + + * storage pools + + * volumes of project + +For adding it, we will implement as compute cluster data model scoper is +implemented. + +* Add JSON schema in cinder cluster data model collector. + +* Add storage audit scope handler which overrides BaseScope class + and implements get_scoped_model method. + +Alternatives +------------ + +Strategy developer can restrict storage cluster data model +in a strategy respectively. + +Data model impact +----------------- + +None + +REST API impact +--------------- + +None + +Security impact +--------------- + +None + +Notifications impact +-------------------- + +None + +Other end user impact +--------------------- + +End user can define audit scope for storage cluster data model in audit +template by specifying yaml or json file with --scope option in the same manner +for compute cluster data model. + +Performance Impact +------------------ + +None + +Other deployer impact +--------------------- + +None + +Developer impact +---------------- + +None + + +Implementation +============== + +Assignee(s) +----------- + +Primary assignee: + + +Other contributors: + + +Work Items +---------- + +* Add JSON schema in cinder cluster data model collector. + +* Add storage audit scope handler which overrides BaseScope class + and implements get_scoped_model method. + + +Dependencies +============ + +None + +Testing +======= + +Unit test will be added. + +Documentation Impact +==================== + +Update the help message in python-watcherclient, provide details how to add +scope for storage data model. + +References +========== + +None + +History +======= + +None