Scott Baker | 5042166 | 2016-06-27 22:09:48 -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: |
Scott Baker | 0d369d1 | 2016-11-08 16:37:30 -0800 | [diff] [blame] | 13 | ui_port: 8888 |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 14 | bootstrap_ui_port: 81 |
| 15 | docker_project_name: cordpod |
| 16 | db_container_name: cordpodbs_xos_db_1 |
| 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: true |
| 23 | requirements: |
| 24 | - xos: |
| 25 | node: xos |
| 26 | relationship: tosca.relationships.UsedByXOS |
| 27 | |
| 28 | /opt/xos/xos_configuration/xos_cord_config: |
| 29 | type: tosca.nodes.XOSVolume |
| 30 | properties: |
| 31 | host_path: { path_join: [ SELF, CONFIG_DIR, xos_cord_config, ENV_VAR ] } |
| 32 | read_only: true |
| 33 | requirements: |
| 34 | - xos: |
| 35 | node: xos |
| 36 | relationship: tosca.relationships.UsedByXOS |
| 37 | |
| 38 | /opt/xos/xos_configuration/xos_vtn_config: |
| 39 | type: tosca.nodes.XOSVolume |
| 40 | properties: |
| 41 | host_path: { path_join: [ SELF, CONFIG_DIR, files/xos_vtn_config, ENV_VAR ] } |
| 42 | read_only: true |
| 43 | requirements: |
| 44 | - xos: |
| 45 | node: xos |
| 46 | relationship: tosca.relationships.UsedByXOS |
| 47 | |
| 48 | /root/setup: |
| 49 | type: tosca.nodes.XOSVolume |
| 50 | properties: |
| 51 | host_path: { path_join: [ SELF, CONFIG_DIR, ., ENV_VAR ] } |
| 52 | read_only: true |
| 53 | requirements: |
| 54 | - xos: |
| 55 | node: xos |
| 56 | relationship: tosca.relationships.UsedByXOS |
| 57 | |
Scott Baker | 254c479 | 2016-08-18 16:44:00 -0700 | [diff] [blame] | 58 | /opt/xos/images: |
| 59 | type: tosca.nodes.XOSVolume |
| 60 | properties: |
| 61 | host_path: { path_join: [ SELF, CONFIG_DIR, images, ENV_VAR ] } |
| 62 | read_only: true |
| 63 | requirements: |
| 64 | - xos: |
| 65 | node: xos |
| 66 | relationship: tosca.relationships.UsedByXOS |