blob: 1f15cef9c74b9e22fdff20c4b75bcf7dd51deab5 [file] [log] [blame]
Scott Baker50421662016-06-27 22:09:48 -07001tosca_definitions_version: tosca_simple_yaml_1_0
2
3description: Onboard the exampleservice
4
5imports:
6 - custom_types/xos.yaml
7
8topology_template:
9 node_templates:
10 xos:
11 type: tosca.nodes.XOS
12 properties:
13 ui_port: 9999
14 bootstrap_ui_port: 9998
15 docker_project_name: frontend
16 db_container_name: frontendbs_xos_db_1
17 frontend_only: true
18
19 /opt/xos/xos_configuration/xos_common_config:
20 type: tosca.nodes.XOSVolume
21 properties:
22 host_path: { path_join: [ SELF, CONFIG_DIR, ../common/xos_common_config, ENV_VAR ] }
23 read_only: false
24 requirements:
25 - xos:
26 node: xos
27 relationship: tosca.relationships.UsedByXOS
28
29 /opt/xos/xos_configuration/xos_vtn_config:
30 type: tosca.nodes.XOSVolume
31 properties:
32 host_path: { path_join: [ SELF, CONFIG_DIR, ../cord-pod/files/xos_vtn_config, ENV_VAR ] }
33 read_only: true
34 requirements:
35 - xos:
36 node: xos
37 relationship: tosca.relationships.UsedByXOS
38
Matteo Scandolofade3ec2016-08-02 10:17:53 -070039 /opt/xos/core/templatetags:
40 type: tosca.nodes.XOSVolume
41 properties:
42 host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/templatetags/, ENV_VAR ] }
43 read_only: false
44 requirements:
45 - xos:
46 node: xos
47 relationship: tosca.relationships.UsedByXOS
48
49 /opt/xos/core/xoslib/dashboards:
50 type: tosca.nodes.XOSVolume
51 properties:
52 host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/xoslib/dashboards/, ENV_VAR ] }
53 read_only: false
54 requirements:
55 - xos:
56 node: xos
57 relationship: tosca.relationships.UsedByXOS
58
59 /opt/xos/core/xoslib/static/css:
60 type: tosca.nodes.XOSVolume
61 properties:
62 host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/xoslib/static/css/, ENV_VAR ] }
63 read_only: false
64 requirements:
65 - xos:
66 node: xos
67 relationship: tosca.relationships.UsedByXOS
68
69 /opt/xos/core/xoslib/static/images:
70 type: tosca.nodes.XOSVolume
71 properties:
72 host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/xoslib/static/images/, ENV_VAR ] }
73 read_only: false
74 requirements:
75 - xos:
76 node: xos
77 relationship: tosca.relationships.UsedByXOS
78
79 /opt/xos/core/xoslib/static/js:
80 type: tosca.nodes.XOSVolume
81 properties:
82 host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/xoslib/static/js/, ENV_VAR ] }
83 read_only: false
84 requirements:
85 - xos:
86 node: xos
87 relationship: tosca.relationships.UsedByXOS
88
Matteo Scandolo0da50d12016-07-08 11:07:38 -070089 /opt/xos/templates:
90 type: tosca.nodes.XOSVolume
91 properties:
92 host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/templates/, ENV_VAR ] }
93 read_only: false
94 requirements:
95 - xos:
96 node: xos
Matteo Scandolo1aeb49f2016-07-20 15:36:22 -070097 relationship: tosca.relationships.UsedByXOS
98
Matteo Scandolo6b3ee5d2016-08-05 10:49:09 -070099 # The following volumes are sometimes used in development,
100 # but they are not tested and they can break part of the system, handle with care.
Matteo Scandolo1aeb49f2016-07-20 15:36:22 -0700101
Matteo Scandolo6b3ee5d2016-08-05 10:49:09 -0700102 # /opt/xos/tosca:
103 # type: tosca.nodes.XOSVolume
104 # properties:
105 # host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/tosca/, ENV_VAR ] }
106 # read_only: false
107 # requirements:
108 # - xos:
109 # node: xos
110 # relationship: tosca.relationships.UsedByXOS
111
112 # /opt/xos/xos:
113 # type: tosca.nodes.XOSVolume
114 # properties:
115 # host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/xos/, ENV_VAR ] }
116 # read_only: false
117 # requirements:
118 # - xos:
119 # node: xos
120 # relationship: tosca.relationships.UsedByXOS
121
122 # /opt/xos/core/models:
123 # type: tosca.nodes.XOSVolume
124 # properties:
125 # host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/models/, ENV_VAR ] }
126 # read_only: false
127 # requirements:
128 # - xos:
129 # node: xos
130 # relationship: tosca.relationships.UsedByXOS
131
132 # /opt/xos/api/utility:
133 # type: tosca.nodes.XOSVolume
134 # properties:
135 # host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/api/utility/, ENV_VAR ] }
136 # read_only: false
137 # requirements:
138 # - xos:
139 # node: xos
140 # relationship: tosca.relationships.UsedByXOS