Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 1 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 2 | |
| 3 | description: > |
| 4 | * Some sample data to populate the demo frontend |
| 5 | |
| 6 | imports: |
| 7 | - custom_types/xos.yaml |
| 8 | |
| 9 | topology_template: |
| 10 | node_templates: |
| 11 | trusty-server-multi-nic: |
| 12 | type: tosca.nodes.Image |
| 13 | properties: |
| 14 | disk_format: QCOW2 |
| 15 | container_format: BARE |
| 16 | |
| 17 | MyDeployment: |
| 18 | type: tosca.nodes.Deployment |
| 19 | properties: |
| 20 | flavors: m1.large, m1.medium, m1.small |
| 21 | requirements: |
| 22 | - image: |
| 23 | node: trusty-server-multi-nic |
| 24 | relationship: tosca.relationships.SupportsImage |
| 25 | |
| 26 | CloudLab: |
| 27 | type: tosca.nodes.Controller |
| 28 | requirements: |
| 29 | - deployment: |
| 30 | node: MyDeployment |
| 31 | relationship: tosca.relationships.ControllerDeployment |
| 32 | properties: |
| 33 | backend_type: OpenStack |
| 34 | version: Juno |
| 35 | auth_url: http://sample/v2 |
| 36 | admin_user: admin |
| 37 | admin_password: adminpassword |
| 38 | admin_tenant: admin |
| 39 | domain: Default |
| 40 | |
| 41 | mysite: |
| 42 | type: tosca.nodes.Site |
| 43 | properties: |
| 44 | display_name: MySite |
| 45 | site_url: http://opencloud.us/ |
| 46 | requirements: |
| 47 | - deployment: |
| 48 | node: MyDeployment |
Scott Baker | 039cb68 | 2016-10-06 15:18:46 -0700 | [diff] [blame] | 49 | relationship: tosca.relationships.MemberOfDeployment |
| 50 | - controller: |
| 51 | node: CloudLab |
| 52 | relationship: tosca.relationships.UsesController |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 53 | |
| 54 | Public shared IPv4: |
| 55 | type: tosca.nodes.NetworkTemplate |
| 56 | properties: |
| 57 | visibility: private |
| 58 | translation: NAT |
| 59 | |
| 60 | padmin@vicci.org: |
| 61 | type: tosca.nodes.User |
| 62 | requirements: |
| 63 | - site: |
| 64 | node: mysite |
| 65 | relationship: tosca.relationships.MemberOfSite |
| 66 | properties: |
| 67 | is_admin: true |
| 68 | is_active: true |
| 69 | firstname: XOS |
| 70 | lastname: admin |
| 71 | |
| 72 | node1.opencloud.us: |
| 73 | type: tosca.nodes.Node |
| 74 | requirements: |
| 75 | - site: |
| 76 | node: mysite |
| 77 | relationship: tosca.relationships.MemberOfSite |
| 78 | - deployment: |
| 79 | node: MyDeployment |
| 80 | relationship: tosca.relationships.MemberOfDeployment |
| 81 | |
| 82 | node2.opencloud.us: |
| 83 | type: tosca.nodes.Node |
| 84 | requirements: |
| 85 | - site: |
| 86 | node: mysite |
| 87 | relationship: tosca.relationships.MemberOfSite |
| 88 | - deployment: |
| 89 | node: MyDeployment |
| 90 | relationship: tosca.relationships.MemberOfDeployment |