heat-translator/translator
dineshbhor fd75f0c5de Fix 'Placement' policies not translated
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
2018-05-30 01:52:36 -07:00
..
common Use id to identify images from Glance 2017-09-20 11:41:43 +02:00
conf Formatters ConfigParser NoSectionError 2016-04-14 19:43:23 +05:30
container/docker Add sample dockerfile to build translator container 2017-03-09 11:51:02 -08:00
custom Accept defined unknown node types if they inherit a known TOSCA root type 2016-01-25 17:19:16 +01:00
hot Fix 'Placement' policies not translated 2018-05-30 01:52:36 -07:00
osc Provide support for legacy translate api 2017-01-05 14:14:52 -08:00
tests Fix 'Placement' policies not translated 2018-05-30 01:52:36 -07:00
__init__.py Fix installation package name 2015-05-26 19:08:55 +00:00
shell.py Ignore error if the log config file is not present 2017-09-19 14:38:16 +02:00