Matteo Scandolo | 9ce1825 | 2017-06-22 10:48:25 -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 |
Matteo Scandolo | 485b713 | 2017-06-30 11:46:47 -0700 | [diff] [blame] | 7 | - custom_types/site.yaml |
Matteo Scandolo | 9ce1825 | 2017-06-22 10:48:25 -0700 | [diff] [blame] | 8 | - custom_types/xosguiextension.yaml |
| 9 | |
| 10 | topology_template: |
| 11 | node_templates: |
| 12 | |
| 13 | # UI Extension |
| 14 | test: |
| 15 | type: tosca.nodes.XOSGuiExtension |
| 16 | properties: |
| 17 | name: test |
| 18 | files: /spa/extensions/test/vendor.js, /spa/extensions/test/app.js |
| 19 | |
Matteo Scandolo | 485b713 | 2017-06-30 11:46:47 -0700 | [diff] [blame] | 20 | # Site |
Matteo Scandolo | 8bbb03a | 2017-07-05 14:03:33 -0700 | [diff] [blame] | 21 | site_onlab: |
Matteo Scandolo | 485b713 | 2017-06-30 11:46:47 -0700 | [diff] [blame] | 22 | type: tosca.nodes.Site |
| 23 | properties: |
| 24 | name: Open Networking Lab |
| 25 | site_url: http://onlab.us/ |
| 26 | hosts_nodes: True |
| 27 | |
| 28 | # User |
Matteo Scandolo | 8bbb03a | 2017-07-05 14:03:33 -0700 | [diff] [blame] | 29 | user_test: |
Matteo Scandolo | 9ce1825 | 2017-06-22 10:48:25 -0700 | [diff] [blame] | 30 | type: tosca.nodes.User |
| 31 | properties: |
Matteo Scandolo | 8bbb03a | 2017-07-05 14:03:33 -0700 | [diff] [blame] | 32 | username: test@opencord.org |
| 33 | email: test@opencord.org |
Matteo Scandolo | 485b713 | 2017-06-30 11:46:47 -0700 | [diff] [blame] | 34 | password: mypwd |
| 35 | firstname: User |
| 36 | lastname: Test |
| 37 | is_admin: True |
| 38 | requirements: |
| 39 | - site: |
Matteo Scandolo | 8bbb03a | 2017-07-05 14:03:33 -0700 | [diff] [blame] | 40 | node: site_onlab |
Matteo Scandolo | 485b713 | 2017-06-30 11:46:47 -0700 | [diff] [blame] | 41 | relationship: tosca.relationships.BelongsToOne |