Matteo Scandolo | d12be21 | 2017-07-07 10:44:34 -0700 | [diff] [blame^] | 1 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 2 | |
| 3 | description: Persist xos-sample-gui-extension |
| 4 | |
| 5 | imports: |
| 6 | - custom_types/user.yaml |
| 7 | - custom_types/site.yaml |
| 8 | - custom_types/xosguiextension.yaml |
| 9 | |
| 10 | topology_template: |
| 11 | node_templates: |
| 12 | |
| 13 | # Site |
| 14 | site_onlab: |
| 15 | type: tosca.nodes.Site |
| 16 | properties: |
| 17 | name: Open Networking Lab |
| 18 | must-exist: True |
| 19 | |
| 20 | # User |
| 21 | user_test: |
| 22 | type: tosca.nodes.User |
| 23 | properties: |
| 24 | username: test@opencord.org |
| 25 | email: test@opencord.org |
| 26 | password: mypwd |
| 27 | firstname: User |
| 28 | lastname: Test |
| 29 | is_admin: True |
| 30 | requirements: |
| 31 | - site: |
| 32 | node: site_onlab |
| 33 | relationship: tosca.relationships.BelongsToOne |