blob: ed642b190c04005aab667a117ae3dd1aacbcb10d [file] [log] [blame]
Pingping Linb7a7d2b2016-08-19 18:11:36 +00001tosca_definitions_version: tosca_simple_yaml_1_0
2
3description: Onboard M-CORD service
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
Pingping Linb7a7d2b2016-08-19 18:11:36 +000015 docker_project_name: mcord
16 db_container_name: mcordbs_xos_db_1
JianHao2f6dca22016-12-22 03:44:52 +000017 redis_container_name: mcordbs_xos_redis_1
Gabe Black7c5aebc2017-01-12 22:30:09 +000018 extra_hosts: controller:10.128.13.3, computeBBU1:10.102.81.6, computeBBU2:10.102.81.7, compute9:10.102.81.9
Pingping Linb7a7d2b2016-08-19 18:11:36 +000019
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: true
25 requirements:
26 - xos:
27 node: xos
28 relationship: tosca.relationships.UsedByXOS
29
Matteo Scandolo53e3e3b2016-09-22 14:53:50 -070030 /opt/xos/xos_configuration/xos_mcord_config:
Pingping Linb7a7d2b2016-08-19 18:11:36 +000031 type: tosca.nodes.XOSVolume
32 properties:
Matteo Scandolo53e3e3b2016-09-22 14:53:50 -070033 host_path: { path_join: [ SELF, CONFIG_DIR, xos_mcord_config, ENV_VAR ] }
Pingping Linb7a7d2b2016-08-19 18:11:36 +000034 read_only: true
35 requirements:
36 - xos:
37 node: xos
38 relationship: tosca.relationships.UsedByXOS
39
40 /opt/xos/xos_configuration/xos_vtn_config:
41 type: tosca.nodes.XOSVolume
42 properties:
43 host_path: { path_join: [ SELF, CONFIG_DIR, files/xos_vtn_config, ENV_VAR ] }
44 read_only: true
45 requirements:
46 - xos:
47 node: xos
48 relationship: tosca.relationships.UsedByXOS
49
Scott Baker2d1a1762017-01-17 14:54:04 -080050 /opt/cord:
51 type: tosca.nodes.XOSVolume
52 properties:
53 host_path: "/opt/cord"
54 read_only: true
55 requirements:
56 - xos:
57 node: xos
58 relationship: tosca.relationships.UsedByXOS
59
Pingping Linb7a7d2b2016-08-19 18:11:36 +000060 /root/setup:
61 type: tosca.nodes.XOSVolume
62 properties:
63 host_path: { path_join: [ SELF, CONFIG_DIR, ., ENV_VAR ] }
64 read_only: true
65 requirements:
66 - xos:
67 node: xos
68 relationship: tosca.relationships.UsedByXOS
69
70 /opt/xos/images:
71 type: tosca.nodes.XOSVolume
72 properties:
73 host_path: { path_join: [ SELF, CONFIG_DIR, images, ENV_VAR ] }
74 read_only: true
75 requirements:
76 - xos:
77 node: xos
78 relationship: tosca.relationships.UsedByXOS