Updates to opencloud playbook to work more like CORD
changes to work with new service-profile
reworked xos-start to have per-config settings
add to cord_single_defaults.yml too
generate TOSCA config in platform-install
moved user/deployment creation to earlier in process
add stubs for Site/Deployment
fix empty compute group case
use tosca generator for cord-pod, and supply paths to images
reorg of config variables
remove whitespace
enable copy of service-profile for testing
generate more Tosca in platform-install
more templating, whitespace
list of copied Tosca files is now a parameter
template the vtn config when onboarding new compute notes
fix ipaddr template, which was incorrectly documented
recreate nodes and vtn config when adding compute nodes
fixes for xos on head node change
more fixes for XOS on head node
more fixes for xos delayering
fixes to image loading and 'make vtn' task
use hostname rather than full fqdn in tosca
fix secondary location of nodes/vtn template
readd management_hosts_template to management-net.yaml
update opencloud bits to current, remove obsolete roles
fix UI paths, which were escaped
make diag role work with xos container not in vm, collect more docker
logs
integrate make module changes
move pauses to service-profile
dedicated openstack config
fix openstack.yaml.j2
apply changes to vtn.yaml in both places
add more head diag
fix ssl issue

Change-Id: I7526b954b3b93f121b1d329dc1e412502d194fc1
diff --git a/roles/xos-install/templates/nodes.yaml.j2 b/roles/xos-install/templates/nodes.yaml.j2
new file mode 100644
index 0000000..7ba953b
--- /dev/null
+++ b/roles/xos-install/templates/nodes.yaml.j2
@@ -0,0 +1,31 @@
+tosca_definitions_version: tosca_simple_yaml_1_0
+
+imports:
+   - custom_types/xos.yaml
+
+description: list of compute nodes, created by platform-install
+
+topology_template:
+  node_templates:
+
+# Site/Deployment, fully defined in deployment.yaml
+    {{ site_name }}:
+      type: tosca.nodes.Site
+
+    {{ deployment_type }}:
+      type: tosca.nodes.Deployment
+
+# compute nodes
+{% for node in groups["compute"] %}
+    {{ hostvars[node]['ansible_hostname'] }}:
+      type: tosca.nodes.Node
+      requirements:
+        - site:
+            node: {{ site_name }}
+            relationship: tosca.relationships.MemberOfSite
+        - deployment:
+            node: {{ deployment_type }}
+            relationship: tosca.relationships.MemberOfDeployment
+
+{% endfor %}
+