blob: ff633739374b1243adf0853a5cd4731403b597b2 [file] [log] [blame]
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
* Create a new deployment, controller, and site.
* Add a SiteDeployment from the site to the deployment using the controller.
* Create a Slice in the Site, with one Instance
imports:
- custom_types/xos.yaml
topology_template:
node_templates:
mysite:
type: tosca.nodes.Site
trusty-server-multi-nic:
type: tosca.nodes.Image
m1.small:
type: tosca.nodes.Flavor
mysite_test1:
type: tosca.nodes.Slice
requirements:
- slice:
node: mysite
relationship: tosca.relationships.MemberOfSite
- default_image:
node: trusty-server-multi-nic
relationship: tosca.relationships.DefaultImage
-default_flavor:
node: m1.small
relationship: tosca.relationships.DefaultFlavor