4819b827c8
This patch attaches already created volume to vnf using volume id. The existing volume id can be added to tosca.nodes.BlockStorage node, in this case, no new volume will be created while vnf deployment. Implementation: * Set tosca.nodes.BlockStorage.Tacker "size" required as false, this override property definition mention in tosca.nodes.Storage.BlockStorage present in tosca parser. Please refer [1] for tosca.nodes.Storage.BlockStorage details. * Add a local dictionary to store volume id present in tosca.nodes.BlockStorage.Tacker. This dictionary is use in to determine cinder volume mapping. Additionally update block_storage_usage_guide.rst with changes required to attach existing volume. Added cinderclient in test_requirement for functional test case. Add release notes for feature. [1]: http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.2/csprd01/TOSCA-Simple-Profile-YAML-v1.2-csprd01.html Change-Id: If5d386a64f98603de843f96287c1e296ae6a2e1f Implements: blueprint attach-existing-volume |
||
---|---|---|
.. | ||
source | ||
requirements.txt |