blob: caa4b860107fde97fdd0f2687d6a0e8d0c82fbe4 [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
39 /opt/xos/core/xoslib/static:
40 type: tosca.nodes.XOSVolume
41 properties:
42 host_path: { path_join: [ SELF, CONFIG_DIR, ../../core/xoslib/static/, ENV_VAR ] }
43 read_only: false
44 requirements:
45 - xos:
46 node: xos
47 relationship: tosca.relationships.UsedByXOS