blob: a6a720cf902d9bd86dc2f6f17a84b3671456d970 [file] [log] [blame]
Matteo Scandolod12be212017-07-07 10:44:34 -07001tosca_definitions_version: tosca_simple_yaml_1_0
2
3description: Persist xos-sample-gui-extension
4
5imports:
6 - custom_types/user.yaml
7 - custom_types/site.yaml
8 - custom_types/xosguiextension.yaml
9
10topology_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