Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 1 | --- |
| 2 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 3 | |
| 4 | description: Have the XOS container mount the exampleservice volume |
| 5 | |
| 6 | imports: |
| 7 | - custom_types/xos.yaml |
| 8 | |
| 9 | topology_template: |
| 10 | node_templates: |
| 11 | |
| 12 | xos: |
| 13 | type: tosca.nodes.XOS |
| 14 | |
| 15 | /opt/xos_services/exampleservice: |
| 16 | type: tosca.nodes.XOSVolume |
| 17 | properties: |
| 18 | host_path: "{{ cord_dir }}/orchestration/xos_services/exampleservice" |
| 19 | read_only: True |
| 20 | requirements: |
| 21 | - xos: |
| 22 | node: xos |
| 23 | relationship: tosca.relationships.UsedByXOS |
| 24 | |