made opencloud profile more configurable from platform-install, ordering in common tosca
Change-Id: I40fe533b139f181164ba3eedc30a341eba3af208
diff --git a/common/tosca/fixtures.yaml b/common/tosca/fixtures.yaml
index fcb58e0..9ac1a93 100644
--- a/common/tosca/fixtures.yaml
+++ b/common/tosca/fixtures.yaml
@@ -75,6 +75,9 @@
m1.large:
type: tosca.nodes.Flavor
+ m1.xlarge:
+ type: tosca.nodes.Flavor
+
# -----------------------------------------------------------------------------
# Dashboard Views
# -----------------------------------------------------------------------------
diff --git a/common/tosca/mydeployment.yaml b/common/tosca/mydeployment.yaml
index 1205723..2adfdff 100644
--- a/common/tosca/mydeployment.yaml
+++ b/common/tosca/mydeployment.yaml
@@ -7,13 +7,14 @@
topology_template:
node_templates:
- m1.large:
+
+ m1.small:
type: tosca.nodes.Flavor
m1.medium:
type: tosca.nodes.Flavor
- m1.small:
+ m1.large:
type: tosca.nodes.Flavor
m1.xlarge:
@@ -22,17 +23,17 @@
MyDeployment:
type: tosca.nodes.Deployment
requirements:
- - m1.xlarge:
- node: m1.large
- relationship: tosca.relationships.SupportsFlavor
- - m1.large:
- node: m1.large
+ - m1.small:
+ node: m1.small
relationship: tosca.relationships.SupportsFlavor
- m1.medium:
node: m1.medium
relationship: tosca.relationships.SupportsFlavor
- - m1.small:
- node: m1.small
+ - m1.large:
+ node: m1.large
+ relationship: tosca.relationships.SupportsFlavor
+ - m1.xlarge:
+ node: m1.xlarge
relationship: tosca.relationships.SupportsFlavor
mysite: