[CORD-1943] Adding service graph constraints to rcord
Change-Id: I815574342ffe87a5d623723bd29c84d11b4d9b49
(cherry picked from commit 686f70224ac0b562f3c977a22693aa8c29985376)
diff --git a/roles/cord-profile/templates/service-graph-constraints.yaml.j2 b/roles/cord-profile/templates/service-graph-constraints.yaml.j2
new file mode 100644
index 0000000..f1897b1
--- /dev/null
+++ b/roles/cord-profile/templates/service-graph-constraints.yaml.j2
@@ -0,0 +1,14 @@
+tosca_definitions_version: tosca_simple_yaml_1_0
+
+imports:
+ - custom_types/servicegraphconstraint.yaml
+
+description: Constraints on the Services position in the graph
+
+topology_template:
+ node_templates:
+
+ constraints:
+ type: tosca.nodes.ServiceGraphConstraint
+ properties:
+ constraints: '{{xos_gui_service_graph_constranints}}'
\ No newline at end of file