| tosca_definitions_version: tosca_simple_yaml_1_0 |
| |
| description: Template for deploying a single server with predefined properties. |
| |
| imports: |
| - custom_types/xos.yaml |
| |
| topology_template: |
| node_templates: |
| # CORD Services |
| service_volt: |
| type: tosca.nodes.Service |
| requirements: |
| - vcpe_tenant: |
| node: service_vcpe |
| relationship: tosca.relationships.IsTenantOf |
| |
| service_vcpe: |
| type: tosca.nodes.Service |
| requirements: |
| - vbng_tenant: |
| node: service_vbng |
| relationship: tosca.relationships.IsTenantOf |
| |
| service_vbng: |
| type: tosca.nodes.Service |
| |
| mysite_volt: |
| description: vOLT Controller Slice |
| type: tosca.nodes.Slice |
| requirements: |
| - volt_service: |
| node: service_volt |
| relationship: tosca.relationships.MemberOfService |
| |
| volt_controller: |
| type: tosca.nodes.Compute |
| capabilities: |
| # Host container properties |
| host: |
| properties: |
| num_cpus: 1 |
| disk_size: 10 GB |
| mem_size: 4 MB |
| # Guest Operating System properties |
| os: |
| properties: |
| # host Operating System image properties |
| architecture: x86_64 |
| type: linux |
| distribution: rhel |
| version: 6.5 |
| requirements: |
| - slice: |
| node: mysite_volt |
| relationship: tosca.relationships.MemberOfSlice |