blob: 261e6ddae03b60a8f6aa08e291b50bb7330abdab [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
Matteo Scandoloae7e83e2016-12-12 14:06:40 -080017 redis_container_name: frontendbs_xos_redis_1
Scott Baker50421662016-06-27 22:09:48 -070018 frontend_only: true
19
20 /opt/xos/xos_configuration/xos_common_config:
21 type: tosca.nodes.XOSVolume
22 properties:
23 host_path: { path_join: [ SELF, CONFIG_DIR, ../common/xos_common_config, ENV_VAR ] }
24 read_only: false
25 requirements:
26 - xos:
27 node: xos
28 relationship: tosca.relationships.UsedByXOS
29
30 /opt/xos/xos_configuration/xos_vtn_config:
31 type: tosca.nodes.XOSVolume
32 properties:
33 host_path: { path_join: [ SELF, CONFIG_DIR, ../cord-pod/files/xos_vtn_config, ENV_VAR ] }
34 read_only: true
35 requirements:
36 - xos:
37 node: xos
38 relationship: tosca.relationships.UsedByXOS
39
Matteo Scandolofade3ec2016-08-02 10:17:53 -070040 /opt/xos/core/templatetags:
41 type: tosca.nodes.XOSVolume
42 properties:
43 host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/templatetags/, ENV_VAR ] }
44 read_only: false
45 requirements:
46 - xos:
47 node: xos
48 relationship: tosca.relationships.UsedByXOS
49
50 /opt/xos/core/xoslib/dashboards:
51 type: tosca.nodes.XOSVolume
52 properties:
53 host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/xoslib/dashboards/, ENV_VAR ] }
54 read_only: false
55 requirements:
56 - xos:
57 node: xos
58 relationship: tosca.relationships.UsedByXOS
59
60 /opt/xos/core/xoslib/static/css:
61 type: tosca.nodes.XOSVolume
62 properties:
63 host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/xoslib/static/css/, ENV_VAR ] }
64 read_only: false
65 requirements:
66 - xos:
67 node: xos
68 relationship: tosca.relationships.UsedByXOS
69
70 /opt/xos/core/xoslib/static/images:
71 type: tosca.nodes.XOSVolume
72 properties:
73 host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/xoslib/static/images/, ENV_VAR ] }
74 read_only: false
75 requirements:
76 - xos:
77 node: xos
78 relationship: tosca.relationships.UsedByXOS
79
80 /opt/xos/core/xoslib/static/js:
81 type: tosca.nodes.XOSVolume
82 properties:
83 host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/xoslib/static/js/, ENV_VAR ] }
84 read_only: false
85 requirements:
86 - xos:
87 node: xos
88 relationship: tosca.relationships.UsedByXOS
89
Matteo Scandolo0da50d12016-07-08 11:07:38 -070090 /opt/xos/templates:
91 type: tosca.nodes.XOSVolume
92 properties:
93 host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/templates/, ENV_VAR ] }
94 read_only: false
95 requirements:
96 - xos:
97 node: xos
Matteo Scandolo1aeb49f2016-07-20 15:36:22 -070098 relationship: tosca.relationships.UsedByXOS
99
Matteo Scandolo6b3ee5d2016-08-05 10:49:09 -0700100 # The following volumes are sometimes used in development,
101 # but they are not tested and they can break part of the system, handle with care.
Matteo Scandolo1aeb49f2016-07-20 15:36:22 -0700102
Matteo Scandolo6b3ee5d2016-08-05 10:49:09 -0700103 # /opt/xos/tosca:
104 # type: tosca.nodes.XOSVolume
105 # properties:
106 # host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/tosca/, ENV_VAR ] }
107 # read_only: false
108 # requirements:
109 # - xos:
110 # node: xos
111 # relationship: tosca.relationships.UsedByXOS
112
113 # /opt/xos/xos:
114 # type: tosca.nodes.XOSVolume
115 # properties:
116 # host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/xos/, ENV_VAR ] }
117 # read_only: false
118 # requirements:
119 # - xos:
120 # node: xos
121 # relationship: tosca.relationships.UsedByXOS
122
123 # /opt/xos/core/models:
124 # type: tosca.nodes.XOSVolume
125 # properties:
126 # host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/models/, ENV_VAR ] }
127 # read_only: false
128 # requirements:
129 # - xos:
130 # node: xos
131 # relationship: tosca.relationships.UsedByXOS
132
133 # /opt/xos/api/utility:
134 # type: tosca.nodes.XOSVolume
135 # properties:
136 # host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/api/utility/, ENV_VAR ] }
137 # read_only: false
138 # requirements:
139 # - xos:
140 # node: xos
141 # relationship: tosca.relationships.UsedByXOS