add to cinder_driver encryption and attachment info
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
congress |
Fix Released
|
Undecided
|
Eric K |
Bug Description
Add to cinder_driver encryption and attachment info in order to support a policy similar to
unencrypted(
cinder:
cinder:
cinder:
# the attachment and the encryption informations are currently missing from congress drivers
https:/
An issue to consider is how to add new information without breaking backward compatibility with existing policy rules. Adding additional columns to existing tables (say 'encrypted' to the 'volumes' table) break existing rules that refer to that table with positional arguments. There are several options:
A. Add new information only as new tables (as shown in the above example). This option preserves backward compatibility, but it can quickly make the schema very complex and unnatural.
B. Change Congress to allow too few positional arguments provided in a policy rule, simply filling in anonymous variables for the remaining positions. This option preserves backward compatibility, but has the (minor?) disadvantage of reducing error-checking in rule authoring. I believe it's minor because rules typically use named arguments anyway.
Changed in congress: | |
assignee: | nobody → Eric K (ekcs) |
status: | Confirmed → In Progress |
Related fix proposed to branch: master /review. openstack. org/448828
Review: https:/