blob: 9d2c951be07754ea7d7fac4cc87fb18ee36c4b80 [file] [log] [blame]
tosca_definitions_version: tosca_simple_yaml_1_0
description: Some basic fixtures
imports:
- custom_types/xos.yaml
topology_template:
node_templates:
m1.large:
type: tosca.nodes.Flavor
m1.medium:
type: tosca.nodes.Flavor
m1.small:
type: tosca.nodes.Flavor
MyDeployment:
type: tosca.nodes.Deployment
requirements:
- m1.large:
node: m1.large
relationship: tosca.relationships.SupportsFlavor
- m1.medium:
node: m1.medium
relationship: tosca.relationships.SupportsFlavor
- m1.small:
node: m1.small
relationship: tosca.relationships.SupportsFlavor
mysite:
type: tosca.nodes.Site
properties:
display_name: MySite
requirements:
- deployment:
node: MyDeployment
relationship: tosca.relationships.SiteDeployment
# Include the Tenant view so we can make it a default of padmin@vicci.org
Tenant:
type: tosca.nodes.DashboardView
properties:
no-create: true
no-update: true
no-delete: true
padmin@vicci.org:
type: tosca.nodes.User
properties:
password: letmein
# encrypted_password: pbkdf2_sha256$12000$Qufx9iqtaYma$xs0YurPOcj9qYQna/Qrb3K+im9Yr2XEVr0J4Kqek7AE=
firstname: XOS
lastname: admin
is_admin: true
requirements:
- site:
node: mysite
relationship: tosca.relationships.MemberOfSite
- tenant_dashboard:
node: Tenant
relationship: tosca.relationships.UsesDashboard