watcher-specs/specs/queens/implemented/audit-scoper-for-storage-data-model.rst
Alexander Chadin 1e34f5b32f Move approved specs of Queens as implemented
Change-Id: I5cab3be742f3fbf0f816013b9ce5a389ac596e09
2018-02-12 13:17:55 +03:00

2.3 KiB

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:

<adi-sky17>

Other contributors:

<nakamura-h>

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