script for installing tosca
diff --git a/xos/tosca/install_tosca.sh b/xos/tosca/install_tosca.sh
new file mode 100755
index 0000000..1702f7d
--- /dev/null
+++ b/xos/tosca/install_tosca.sh
@@ -0,0 +1,12 @@
+#! /usr/bin/bash
+
+rm -rf /tmp/tosca_install
+mkdir /tmp/tosca_install
+cd /tmp/tosca_install
+git clone https://github.com/openstack/heat-translator.git
+cd heat-translator
+git reset --hard a951b93c16e54046ed2d233d814860181c772e30
+rm -rf /opt/tosca
+mkdir /opt/tosca
+cp -a /tmp/tosca_install/heat-translator/translator /opt/tosca/
+echo > /opt/tosca/translator/__init__.py
diff --git a/xos/tosca/samples/cdn.yaml b/xos/tosca/samples/cdn.yaml
index 782c601..197bba2 100644
--- a/xos/tosca/samples/cdn.yaml
+++ b/xos/tosca/samples/cdn.yaml
@@ -32,6 +32,17 @@
     mysite:
       type: tosca.nodes.Site
 
+    mysite_cmi:
+      description: CMI Slice
+      type: tosca.nodes.Slice
+      requirements:
+          - cdn_service:
+              node: HyperCache
+              relationship: tosca.relationships.MemberOfService
+          - site:
+              node: mysite
+              relationship: tosca.relationships.MemberOfSite
+
     mysite_hpc:
       description: HyperCache Slice
       type: tosca.nodes.Slice
@@ -65,6 +76,18 @@
               node: mysite
               relationship: tosca.relationships.MemberOfSite
 
+    cmi_server:
+      type: tosca.nodes.Compute
+      capabilities:
+        host:
+          properties: *large_compute_node
+        os:
+          properties: *hpc_os
+      requirements:
+          - slice:
+                node: mysite_cmi
+                relationship: tosca.relationships.MemberOfSlice
+
     hpc_server:
       type: tosca.nodes.Compute
       capabilities: