add default_flavor and fix dependency issue
Change-Id: I43dff04c531f5fc935b7683536bcda3155f40bc2
diff --git a/cord-pod/pod-exampleservice.yaml b/cord-pod/pod-exampleservice.yaml
index 0182a59..dd433cf 100644
--- a/cord-pod/pod-exampleservice.yaml
+++ b/cord-pod/pod-exampleservice.yaml
@@ -9,6 +9,9 @@
topology_template:
node_templates:
+ m1.small:
+ type: tosca.nodes.Flavor
+
Private:
type: tosca.nodes.NetworkTemplate
@@ -68,6 +71,9 @@
- image:
node: trusty-server-multi-nic
relationship: tosca.relationships.DefaultImage
+ - default_flavor:
+ node: m1.small
+ relationship: tosca.relationships.DefaultFlavor
service#exampleservice:
type: tosca.nodes.ExampleService
@@ -92,3 +98,6 @@
- tenant:
node: service#exampleservice
relationship: tosca.relationships.TenantOfService
+ - dependency:
+ node: mysite_exampleservice
+ relationship: tosca.relationships.DependsOn