fd75f0c5de
Some policies derived from standard policies are translated by base policy translator. For example, a policy which has `tosca.policies.tacker.Alarming` type derived from `tosca.policies.Monitoring` type is translated by a translator to `tosca.policies.Monitoring` type. A policy which has a type derived from tosca.policies.Placement doesn't seems to be translated by a translator to `tosca.policies.Placement`. This patch fixes this issue by adding the `tosca.policies.Placement` specific check while translating nodetemplates. This policy translation support is required to implement below tacker blueprint: https://blueprints.launchpad.net/tacker/+spec/vdu-affinity-policy Closes-Bug: #1755433 Change-Id: Ib265ac3add18027c91a601140a4f03a661603615 |
||
---|---|---|
.. | ||
data | ||
__init__.py | ||
base.py | ||
test_conf.py | ||
test_shell.py | ||
test_template.py | ||
test_tosca_hot_translation.py | ||
test_utils.py |