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: |
| 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 | |
Matteo Scandolo | 4e3bc2a | 2016-07-22 11:19:19 -0700 | [diff] [blame] | 39 | /opt/xos/core/models: |
Matteo Scandolo | bfe740d | 2016-07-06 16:59:30 -0700 | [diff] [blame] | 40 | type: tosca.nodes.XOSVolume |
| 41 | properties: |
Matteo Scandolo | 4e3bc2a | 2016-07-22 11:19:19 -0700 | [diff] [blame] | 42 | host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/models/, ENV_VAR ] } |
Matteo Scandolo | bfe740d | 2016-07-06 16:59:30 -0700 | [diff] [blame] | 43 | read_only: false |
| 44 | requirements: |
| 45 | - xos: |
| 46 | node: xos |
| 47 | relationship: tosca.relationships.UsedByXOS |
| 48 | |
Matteo Scandolo | 0da50d1 | 2016-07-08 11:07:38 -0700 | [diff] [blame] | 49 | /opt/xos/templates: |
| 50 | type: tosca.nodes.XOSVolume |
| 51 | properties: |
| 52 | host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/templates/, ENV_VAR ] } |
| 53 | read_only: false |
| 54 | requirements: |
| 55 | - xos: |
| 56 | node: xos |
Matteo Scandolo | 1aeb49f | 2016-07-20 15:36:22 -0700 | [diff] [blame] | 57 | relationship: tosca.relationships.UsedByXOS |
| 58 | |
| 59 | /opt/xos/tosca: |
| 60 | type: tosca.nodes.XOSVolume |
| 61 | properties: |
| 62 | host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/tosca/, ENV_VAR ] } |
| 63 | read_only: false |
| 64 | requirements: |
| 65 | - xos: |
| 66 | node: xos |
| 67 | relationship: tosca.relationships.UsedByXOS |
| 68 | |
| 69 | /opt/xos/xos: |
| 70 | type: tosca.nodes.XOSVolume |
| 71 | properties: |
| 72 | host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/xos/, ENV_VAR ] } |
| 73 | read_only: false |
| 74 | requirements: |
| 75 | - xos: |
| 76 | node: xos |
Matteo Scandolo | 0da50d1 | 2016-07-08 11:07:38 -0700 | [diff] [blame] | 77 | relationship: tosca.relationships.UsedByXOS |