scalable service sample
diff --git a/xos/tosca/samples/scalable_service.yaml b/xos/tosca/samples/scalable_service.yaml
index 4b2a2f6..bbcb297 100644
--- a/xos/tosca/samples/scalable_service.yaml
+++ b/xos/tosca/samples/scalable_service.yaml
@@ -7,38 +7,11 @@
topology_template:
node_templates:
- mysite:
- type: tosca.nodes.Site
-
- mysite_tosca_scalable:
- type: tosca.nodes.Slice
- requirements:
- - slice:
- node: mysite
- relationship: tosca.relationships.MemberOfSite
-
- my_scalable_server:
- type: tosca.nodes.Compute
+ scalable_service:
+ type: tosca.nodes.Service
capabilities:
- # Host container properties
- host:
- properties:
- num_cpus: 1
- disk_size: 10 GB
- mem_size: 4 MB
- scalable:
- min_instances: 1
- max_instances: 25
- default_instances: 13
- # Guest Operating System properties
- os:
- properties:
- # host Operating System image properties
- architecture: x86_64
- type: linux
- distribution: rhel
- version: 6.5
- requirements:
- - slice:
- node: mysite_tosca_scalable
- relationship: tosca.relationships.MemberOfSlice
+ scalable:
+ properties:
+ max_instances: 25
+ min_instances: 1
+ default_instances: 1