Cinder Data Source Driver

https://blueprints.launchpad.net/congress/+spec/cinder-data-source-driver

This blueprint is to add a data source driver for cinder.

Problem description

A datasource driver is required to expose block storage parameters to the Congress policy framework so that we can write policies involving block storage entities. Cinder is the OpenStack component that provides block storage service. The cinder-datasource-driver interacts with cinderclient to provide block storage specific states to congress for policy monitoring.

Proposed change

Add data source driver that integrates congress with cinder.

Alternatives

N/A

Policy

This will use the congress language. cinder:volumes(X) etc.

Policy Actions

Just monitoring right now.

Data Sources

Cinder

Data model impact

TBD

REST API impact

N/A

Security impact

N/A

Notifications impact

N/A

Other end user impact

N/A

Performance impact

N/A

Other deployer impact

N/A

Developer impact

N/A

Implementation

Assignee(s)

Samta Rangare srangare@mvista.com

Work items

  • Implement cinder driver with essential tables

  • Implement test code to test the driver

  • Implement tempest code for real-time tests

Dependencies

python-cinderclient

Testing

  • Will need to add unit test code

  • Will add tempest tests.

Documentation impact

N/A

References

N/A