Matteo Scandolo | a4e6e9a | 2016-08-23 12:04:45 -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 | no-delete: true |
| 14 | no-create: true |
| 15 | no-update: true |
| 16 | |
| 17 | /opt/xos/services/vrouter/admin.py: |
| 18 | type: tosca.nodes.XOSVolume |
| 19 | properties: |
| 20 | host_path: { path_join: [ SELF, CONFIG_DIR, /opt/xos_services/vrouter/xos/admin.py, ENV_VAR ] } |
| 21 | read_only: false |
| 22 | requirements: |
| 23 | - xos: |
| 24 | node: xos |
| 25 | relationship: tosca.relationships.UsedByXOS |