blob: 91b95c7444419707bd1959a8449f10e235fcb7af [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
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
properties:
default_flavor: m1.small