blob: 9fc2246092817f82462b595127e7e986ae42a962 [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
Matteo Scandolo8bbb03a2017-07-05 14:03:33 -070021 site_onlab:
Matteo Scandolo485b7132017-06-30 11:46:47 -070022 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 Scandolo8bbb03a2017-07-05 14:03:33 -070029 user_test:
Matteo Scandolo9ce18252017-06-22 10:48:25 -070030 type: tosca.nodes.User
31 properties:
Matteo Scandolo8bbb03a2017-07-05 14:03:33 -070032 username: test@opencord.org
33 email: test@opencord.org
Matteo Scandolo485b7132017-06-30 11:46:47 -070034 password: mypwd
35 firstname: User
36 lastname: Test
37 is_admin: True
38 requirements:
39 - site:
Matteo Scandolo8bbb03a2017-07-05 14:03:33 -070040 node: site_onlab
Matteo Scandolo485b7132017-06-30 11:46:47 -070041 relationship: tosca.relationships.BelongsToOne