Rizwan Haider | 752a48c | 2016-08-18 15:37:06 -0400 | [diff] [blame] | 1 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 2 | |
| 3 | description: Onboard the exampleservice |
| 4 | |
| 5 | imports: |
| 6 | - custom_types/xos.yaml |
| 7 | |
| 8 | topology_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: metronetwork |
Zack Williams | 3670f44 | 2016-10-04 17:37:12 -0700 | [diff] [blame] | 16 | db_container_name: metronetworkbs_xos_db_1 |
Rizwan Haider | 752a48c | 2016-08-18 15:37:06 -0400 | [diff] [blame] | 17 | |
| 18 | /opt/xos/xos_configuration/xos_common_config: |
| 19 | type: tosca.nodes.XOSVolume |
| 20 | properties: |
| 21 | host_path: { path_join: [ SELF, CONFIG_DIR, ../common/xos_common_config, ENV_VAR ] } |
| 22 | read_only: false |
| 23 | requirements: |
| 24 | - xos: |
| 25 | node: xos |
| 26 | relationship: tosca.relationships.UsedByXOS |
Matteo Scandolo | 74a062a | 2016-09-23 14:15:06 -0700 | [diff] [blame] | 27 | |
| 28 | /opt/xos/xos_configuration/xos_ecord_config: |
| 29 | type: tosca.nodes.XOSVolume |
| 30 | properties: |
| 31 | host_path: { path_join: [ SELF, CONFIG_DIR, ./xos_ecord_config, ENV_VAR ] } |
| 32 | read_only: true |
| 33 | requirements: |
| 34 | - xos: |
| 35 | node: xos |
| 36 | relationship: tosca.relationships.UsedByXOS |