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: |
| 13 | ui_port: 80 |
| 14 | bootstrap_ui_port: 81 |
| 15 | docker_project_name: mcord |
| 16 | db_container_name: mcordbs_xos_db_1 |
Pingping Lin | da087bd | 2016-09-26 14:44:21 -0700 | [diff] [blame] | 17 | extra_hosts: onos-cord:10.102.81.101, 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] | 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: true |
| 24 | requirements: |
| 25 | - xos: |
| 26 | node: xos |
| 27 | relationship: tosca.relationships.UsedByXOS |
| 28 | |
Matteo Scandolo | 53e3e3b | 2016-09-22 14:53:50 -0700 | [diff] [blame] | 29 | /opt/xos/xos_configuration/xos_mcord_config: |
Pingping Lin | b7a7d2b | 2016-08-19 18:11:36 +0000 | [diff] [blame] | 30 | type: tosca.nodes.XOSVolume |
| 31 | properties: |
Matteo Scandolo | 53e3e3b | 2016-09-22 14:53:50 -0700 | [diff] [blame] | 32 | host_path: { path_join: [ SELF, CONFIG_DIR, xos_mcord_config, ENV_VAR ] } |
Pingping Lin | b7a7d2b | 2016-08-19 18:11:36 +0000 | [diff] [blame] | 33 | read_only: true |
| 34 | requirements: |
| 35 | - xos: |
| 36 | node: xos |
| 37 | relationship: tosca.relationships.UsedByXOS |
| 38 | |
| 39 | /opt/xos/xos_configuration/xos_vtn_config: |
| 40 | type: tosca.nodes.XOSVolume |
| 41 | properties: |
| 42 | host_path: { path_join: [ SELF, CONFIG_DIR, files/xos_vtn_config, ENV_VAR ] } |
| 43 | read_only: true |
| 44 | requirements: |
| 45 | - xos: |
| 46 | node: xos |
| 47 | relationship: tosca.relationships.UsedByXOS |
| 48 | |
| 49 | /root/setup: |
| 50 | type: tosca.nodes.XOSVolume |
| 51 | properties: |
| 52 | host_path: { path_join: [ SELF, CONFIG_DIR, ., ENV_VAR ] } |
| 53 | read_only: true |
| 54 | requirements: |
| 55 | - xos: |
| 56 | node: xos |
| 57 | relationship: tosca.relationships.UsedByXOS |
| 58 | |
| 59 | /opt/xos/images: |
| 60 | type: tosca.nodes.XOSVolume |
| 61 | properties: |
| 62 | host_path: { path_join: [ SELF, CONFIG_DIR, images, ENV_VAR ] } |
| 63 | read_only: true |
| 64 | requirements: |
| 65 | - xos: |
| 66 | node: xos |
| 67 | relationship: tosca.relationships.UsedByXOS |