blob: e73141f2b7a55eaf6fd9c2bd977d223572950be1 [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:
Matteo Scandoloa317b872017-01-10 12:02:41 -080013 ui_port: 9000
14 bootstrap_ui_port: 9001
Scott Baker50421662016-06-27 22:09:48 -070015 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
Scott Baker2d1a1762017-01-17 14:54:04 -080040 /opt/cord:
41 type: tosca.nodes.XOSVolume
42 properties:
43 # note: The following path should be set to the place where `repo init`
44 # was run to checkout your CORD hierarchy.
45 host_path: "/opt/cord"
46 read_only: true
47 requirements:
48 - xos:
49 node: xos
50 relationship: tosca.relationships.UsedByXOS
51
Matteo Scandolofade3ec2016-08-02 10:17:53 -070052 /opt/xos/core/templatetags:
53 type: tosca.nodes.XOSVolume
54 properties:
55 host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/templatetags/, ENV_VAR ] }
56 read_only: false
57 requirements:
58 - xos:
59 node: xos
60 relationship: tosca.relationships.UsedByXOS
61
62 /opt/xos/core/xoslib/dashboards:
63 type: tosca.nodes.XOSVolume
64 properties:
65 host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/xoslib/dashboards/, ENV_VAR ] }
66 read_only: false
67 requirements:
68 - xos:
69 node: xos
70 relationship: tosca.relationships.UsedByXOS
71
72 /opt/xos/core/xoslib/static/css:
73 type: tosca.nodes.XOSVolume
74 properties:
75 host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/xoslib/static/css/, ENV_VAR ] }
76 read_only: false
77 requirements:
78 - xos:
79 node: xos
80 relationship: tosca.relationships.UsedByXOS
81
82 /opt/xos/core/xoslib/static/images:
83 type: tosca.nodes.XOSVolume
84 properties:
85 host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/xoslib/static/images/, ENV_VAR ] }
86 read_only: false
87 requirements:
88 - xos:
89 node: xos
90 relationship: tosca.relationships.UsedByXOS
91
92 /opt/xos/core/xoslib/static/js:
93 type: tosca.nodes.XOSVolume
94 properties:
95 host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/xoslib/static/js/, ENV_VAR ] }
96 read_only: false
97 requirements:
98 - xos:
99 node: xos
100 relationship: tosca.relationships.UsedByXOS
101
Matteo Scandolo0da50d12016-07-08 11:07:38 -0700102 /opt/xos/templates:
103 type: tosca.nodes.XOSVolume
104 properties:
105 host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/templates/, ENV_VAR ] }
106 read_only: false
107 requirements:
108 - xos:
109 node: xos
Matteo Scandolo1aeb49f2016-07-20 15:36:22 -0700110 relationship: tosca.relationships.UsedByXOS
111
Matteo Scandolo6b3ee5d2016-08-05 10:49:09 -0700112 # The following volumes are sometimes used in development,
113 # but they are not tested and they can break part of the system, handle with care.
Matteo Scandolo1aeb49f2016-07-20 15:36:22 -0700114
Matteo Scandolo6b3ee5d2016-08-05 10:49:09 -0700115 # /opt/xos/tosca:
116 # type: tosca.nodes.XOSVolume
117 # properties:
118 # host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/tosca/, ENV_VAR ] }
119 # read_only: false
120 # requirements:
121 # - xos:
122 # node: xos
123 # relationship: tosca.relationships.UsedByXOS
124
125 # /opt/xos/xos:
126 # type: tosca.nodes.XOSVolume
127 # properties:
128 # host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/xos/, ENV_VAR ] }
129 # read_only: false
130 # requirements:
131 # - xos:
132 # node: xos
133 # relationship: tosca.relationships.UsedByXOS
134
135 # /opt/xos/core/models:
136 # type: tosca.nodes.XOSVolume
137 # properties:
138 # host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/models/, ENV_VAR ] }
139 # read_only: false
140 # requirements:
141 # - xos:
142 # node: xos
143 # relationship: tosca.relationships.UsedByXOS
144
145 # /opt/xos/api/utility:
146 # type: tosca.nodes.XOSVolume
147 # properties:
148 # host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/api/utility/, ENV_VAR ] }
149 # read_only: false
150 # requirements:
151 # - xos:
152 # node: xos
153 # relationship: tosca.relationships.UsedByXOS