From f7b240c6893a48d71da29974e54cb560b6575eb3 Mon Sep 17 00:00:00 2001 From: shangxdy Date: Sun, 26 Feb 2017 16:22:30 +0800 Subject: Sync heat-translator code Sync heat-translator code from upstream JIRA:PARSER-119 Change-Id: I2287b78ad38bc54f7740fd1ee5f08989d5e680bf Signed-off-by: shangxdy --- .../data/hot_output/policies/hot_policies.yaml | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 tosca2heat/heat-translator/translator/tests/data/hot_output/policies/hot_policies.yaml (limited to 'tosca2heat/heat-translator/translator/tests/data/hot_output/policies') diff --git a/tosca2heat/heat-translator/translator/tests/data/hot_output/policies/hot_policies.yaml b/tosca2heat/heat-translator/translator/tests/data/hot_output/policies/hot_policies.yaml new file mode 100644 index 0000000..786a2e9 --- /dev/null +++ b/tosca2heat/heat-translator/translator/tests/data/hot_output/policies/hot_policies.yaml @@ -0,0 +1,26 @@ +heat_template_version: 2013-05-23 + +description: > + Template for deploying the nodes based on given policies. + +parameters: {} + +resources: + my_server: + type: OS::Nova::Server + properties: + flavor: m1.medium + image: rhel-6.5-test-image + scheduler_hints: + group: + get_resource: my_compute_placement_policy + user_data_format: SOFTWARE_CONFIG + software_config_transport: POLL_SERVER_HEAT + my_compute_placement_policy: + type: OS::Nova::ServerGroup + properties: + name: my_compute_placement_policy + policies: + - affinity + +outputs: {} \ No newline at end of file -- cgit 1.2.3-korg