Matteo Scandolo | 1105c5b | 2016-10-03 11:25:34 -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 | # You can use this recipe to load the dashboard in the system: |
| 12 | Mcord-slicing: |
| 13 | type: tosca.nodes.DashboardView |
| 14 | properties: |
| 15 | url: template:xosMcord-slicing |
| 16 | |
| 17 | # And this recipe to activate the dashboard for a user: |
| 18 | padmin@vicci.org: |
| 19 | type: tosca.nodes.User |
| 20 | properties: |
| 21 | no-create: true |
| 22 | no-delete: true |
| 23 | requirements: |
| 24 | - mcord-slicing_dashboard: |
| 25 | node: Mcord-slicing |
| 26 | relationship: tosca.relationships.UsesDashboard |