blob: e5b9fbd035e25acae8fb921b8923a920a2962528 [file] [log] [blame]
Matteo Scandolo9ce18252017-06-22 10:48:25 -07001tosca_definitions_version: tosca_simple_yaml_1_0
2
3description: Persist xos-sample-gui-extension
4
5imports:
6 - custom_types/user.yaml
Matteo Scandolo485b7132017-06-30 11:46:47 -07007 - custom_types/site.yaml
Matteo Scandolo9ce18252017-06-22 10:48:25 -07008 - custom_types/xosguiextension.yaml
9
10topology_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 Scandolo485b7132017-06-30 11:46:47 -070020 # Site
21 onlab:
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
29 test@opencord.org:
Matteo Scandolo9ce18252017-06-22 10:48:25 -070030 type: tosca.nodes.User
31 properties:
Matteo Scandolo485b7132017-06-30 11:46:47 -070032 password: mypwd
33 firstname: User
34 lastname: Test
35 is_admin: True
36 requirements:
37 - site:
38 node: onlab
39 relationship: tosca.relationships.BelongsToOne