blob: 8648af7eea2e96430a6e1b30a693a302ec5548f4 [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: cordpod
16 db_container_name: cordpodbs_xos_db_1
Srikanth Vavilapalli8e0160b2016-11-17 03:32:57 +000017 redis_container_name: cordpodbs_xos_redis_1
Scott Baker50421662016-06-27 22:09:48 -070018
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: true
24 requirements:
25 - xos:
26 node: xos
27 relationship: tosca.relationships.UsedByXOS
28
29 /opt/xos/xos_configuration/xos_cord_config:
30 type: tosca.nodes.XOSVolume
31 properties:
32 host_path: { path_join: [ SELF, CONFIG_DIR, xos_cord_config, ENV_VAR ] }
33 read_only: true
34 requirements:
35 - xos:
36 node: xos
37 relationship: tosca.relationships.UsedByXOS
38
39 /opt/xos/xos_configuration/xos_vtn_config:
40 type: tosca.nodes.XOSVolume
41 properties:
42 host_path: { path_join: [ SELF, CONFIG_DIR, files/xos_vtn_config, ENV_VAR ] }
43 read_only: true
44 requirements:
45 - xos:
46 node: xos
47 relationship: tosca.relationships.UsedByXOS
48
Scott Baker2d1a1762017-01-17 14:54:04 -080049 /opt/cord:
50 type: tosca.nodes.XOSVolume
51 properties:
52 host_path: "/opt/cord"
53 read_only: true
54 requirements:
55 - xos:
56 node: xos
57 relationship: tosca.relationships.UsedByXOS
58
Scott Baker50421662016-06-27 22:09:48 -070059 /root/setup:
60 type: tosca.nodes.XOSVolume
61 properties:
62 host_path: { path_join: [ SELF, CONFIG_DIR, ., ENV_VAR ] }
63 read_only: true
64 requirements:
65 - xos:
66 node: xos
67 relationship: tosca.relationships.UsedByXOS
68
Scott Baker254c4792016-08-18 16:44:00 -070069 /opt/xos/images:
70 type: tosca.nodes.XOSVolume
71 properties:
72 host_path: { path_join: [ SELF, CONFIG_DIR, images, ENV_VAR ] }
73 read_only: true
74 requirements:
75 - xos:
76 node: xos
77 relationship: tosca.relationships.UsedByXOS