Pingping Lin | b7a7d2b | 2016-08-19 18:11:36 +0000 | [diff] [blame] | 1 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 2 | |
| 3 | description: Onboard M-CORD service |
| 4 | |
| 5 | imports: |
| 6 | - custom_types/xos.yaml |
| 7 | |
| 8 | topology_template: |
| 9 | node_templates: |
| 10 | xos: |
| 11 | type: tosca.nodes.XOS |
| 12 | properties: |
Matteo Scandolo | a317b87 | 2017-01-10 12:02:41 -0800 | [diff] [blame] | 13 | ui_port: 9000 |
| 14 | bootstrap_ui_port: 9001 |
Pingping Lin | b7a7d2b | 2016-08-19 18:11:36 +0000 | [diff] [blame] | 15 | docker_project_name: mcord |
| 16 | db_container_name: mcordbs_xos_db_1 |
JianHao | 2f6dca2 | 2016-12-22 03:44:52 +0000 | [diff] [blame] | 17 | redis_container_name: mcordbs_xos_redis_1 |
Gabe Black | 7c5aebc | 2017-01-12 22:30:09 +0000 | [diff] [blame] | 18 | extra_hosts: controller:10.128.13.3, computeBBU1:10.102.81.6, computeBBU2:10.102.81.7, compute9:10.102.81.9 |
Pingping Lin | b7a7d2b | 2016-08-19 18:11:36 +0000 | [diff] [blame] | 19 | |
| 20 | /opt/xos/xos_configuration/xos_common_config: |
| 21 | type: tosca.nodes.XOSVolume |
| 22 | properties: |
| 23 | host_path: { path_join: [ SELF, CONFIG_DIR, ../common/xos_common_config, ENV_VAR ] } |
| 24 | read_only: true |
| 25 | requirements: |
| 26 | - xos: |
| 27 | node: xos |
| 28 | relationship: tosca.relationships.UsedByXOS |
| 29 | |
Matteo Scandolo | 53e3e3b | 2016-09-22 14:53:50 -0700 | [diff] [blame] | 30 | /opt/xos/xos_configuration/xos_mcord_config: |
Pingping Lin | b7a7d2b | 2016-08-19 18:11:36 +0000 | [diff] [blame] | 31 | type: tosca.nodes.XOSVolume |
| 32 | properties: |
Matteo Scandolo | 53e3e3b | 2016-09-22 14:53:50 -0700 | [diff] [blame] | 33 | host_path: { path_join: [ SELF, CONFIG_DIR, xos_mcord_config, ENV_VAR ] } |
Pingping Lin | b7a7d2b | 2016-08-19 18:11:36 +0000 | [diff] [blame] | 34 | read_only: true |
| 35 | requirements: |
| 36 | - xos: |
| 37 | node: xos |
| 38 | relationship: tosca.relationships.UsedByXOS |
| 39 | |
| 40 | /opt/xos/xos_configuration/xos_vtn_config: |
| 41 | type: tosca.nodes.XOSVolume |
| 42 | properties: |
| 43 | host_path: { path_join: [ SELF, CONFIG_DIR, files/xos_vtn_config, ENV_VAR ] } |
| 44 | read_only: true |
| 45 | requirements: |
| 46 | - xos: |
| 47 | node: xos |
| 48 | relationship: tosca.relationships.UsedByXOS |
| 49 | |
| 50 | /root/setup: |
| 51 | type: tosca.nodes.XOSVolume |
| 52 | properties: |
| 53 | host_path: { path_join: [ SELF, CONFIG_DIR, ., ENV_VAR ] } |
| 54 | read_only: true |
| 55 | requirements: |
| 56 | - xos: |
| 57 | node: xos |
| 58 | relationship: tosca.relationships.UsedByXOS |
| 59 | |
| 60 | /opt/xos/images: |
| 61 | type: tosca.nodes.XOSVolume |
| 62 | properties: |
| 63 | host_path: { path_join: [ SELF, CONFIG_DIR, images, ENV_VAR ] } |
| 64 | read_only: true |
| 65 | requirements: |
| 66 | - xos: |
| 67 | node: xos |
| 68 | relationship: tosca.relationships.UsedByXOS |