Support Cinder Custom Constraints

https://blueprints.launchpad.net/heat/+spec/cinder-custom-constraints

Support Cinder Custom Constraints, and apply them to related resources.

Problem description

Many resources have property Volume/Snapshot which related with cinder volume/snapshot, but we haven’t support corresponding custom constraints.

Proposed change

  1. Add cinder volume custom constraint, and to apply it for resources.

  2. Add cinder snapshot custom constraint, and to apply it for resources.

Alternatives

None

Implementation

Assignee(s)

Primary assignee:

huangtianhua@huawei.com

Milestones

Target Milestone for completion:

Kilo-1

Work Items

  1. Add/Apply cinder volume custom constraint.

  2. Add/Apply cinder snapshot custom constraint.

  3. Add UT/Tempest tests for all the changes.

Dependencies

None