From 5263884b9244e2fef8dc16e6aca8f4f9fe1a2319 Mon Sep 17 00:00:00 2001 From: shangxdy Date: Wed, 27 Apr 2016 04:44:41 -0400 Subject: Add affinity policy type definition Add two definition in parser: tosca.policy.Placement.Colocate tosca.policy.Placement.Antilocate JIRA:PARSER-33 Change-Id: I0259bbc1ce2616dcbc28a912c34a7513e9432ff5 Signed-off-by: shangxdy --- .../toscaparser/elements/TOSCA_definition_1_0.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tosca2heat/tosca-parser/toscaparser') diff --git a/tosca2heat/tosca-parser/toscaparser/elements/TOSCA_definition_1_0.yaml b/tosca2heat/tosca-parser/toscaparser/elements/TOSCA_definition_1_0.yaml index f8d781c..c1c1cd4 100644 --- a/tosca2heat/tosca-parser/toscaparser/elements/TOSCA_definition_1_0.yaml +++ b/tosca2heat/tosca-parser/toscaparser/elements/TOSCA_definition_1_0.yaml @@ -898,6 +898,16 @@ tosca.policies.Placement: description: The TOSCA Policy Type definition that is used to govern placement of TOSCA nodes or groups of nodes. +tosca.policies.Placement.Colocate: + derived_from: tosca.policies.Placement + description: The TOSCA Policy Type definition that is used to govern + colocate placement of TOSCA nodes or groups of nodes. + +tosca.policies.Placement.Antilocate: + derived_from: tosca.policies.Placement + description: The TOSCA Policy Type definition that is used to govern + anti-locate placement of TOSCA nodes or groups of nodes. + tosca.policies.Scaling: derived_from: tosca.policies.Root description: The TOSCA Policy Type definition that is used to govern -- cgit 1.2.3-korg