Scott Baker | 8ed63bb | 2016-07-07 14:20:08 -0700 | [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: devel |
| 16 | db_container_name: develbs_xos_db_1 |
Scott Baker | 5ccabfe | 2016-08-22 16:49:14 -0700 | [diff] [blame] | 17 | extra_hosts: ctl:CTLIP |
Scott Baker | 8ed63bb | 2016-07-07 14:20:08 -0700 | [diff] [blame] | 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 | /root/setup: |
| 30 | type: tosca.nodes.XOSVolume |
| 31 | properties: |
| 32 | host_path: { path_join: [ SELF, CONFIG_DIR, ../setup, ENV_VAR ] } |
| 33 | read_only: false |
| 34 | requirements: |
| 35 | - xos: |
| 36 | node: xos |
Scott Baker | 785f711 | 2016-08-19 10:04:05 -0700 | [diff] [blame] | 37 | relationship: tosca.relationships.UsedByXOS |
| 38 | |
| 39 | /opt/xos/images: |
| 40 | type: tosca.nodes.XOSVolume |
| 41 | properties: |
| 42 | host_path: { path_join: [ SELF, CONFIG_DIR, images, ENV_VAR ] } |
| 43 | read_only: true |
| 44 | requirements: |
| 45 | - xos: |
| 46 | node: xos |
Scott Baker | 8ed63bb | 2016-07-07 14:20:08 -0700 | [diff] [blame] | 47 | relationship: tosca.relationships.UsedByXOS |