234 lines
7.1 KiB
YAML
234 lines
7.1 KiB
YAML
tosca_definitions_version: tosca_simple_yaml_1_2
|
|
|
|
description: >
|
|
Template for deploying six VDUs with unsupported scope type.
|
|
|
|
imports:
|
|
- etsi_nfv_sol001_common_types.yaml
|
|
- etsi_nfv_sol001_vnfd_types.yaml
|
|
|
|
topology_template:
|
|
node_templates:
|
|
VDU1:
|
|
type: tosca.nodes.nfv.Vdu.Compute
|
|
properties:
|
|
name: VDU1
|
|
description: VDU1 compute node
|
|
vdu_profile:
|
|
min_number_of_instances: 1
|
|
max_number_of_instances: 1
|
|
sw_image_data:
|
|
name: Software of VDU1
|
|
version: '0.4.0'
|
|
checksum:
|
|
algorithm: sha-512
|
|
hash: 6513f21e44aa3da349f248188a44bc304a3653a04122d8fb4535423c8e1d14cd6a153f735bb0982e2161b5b5186106570c17a9e58b64dd39390617cd5a350f78
|
|
container_format: bare
|
|
disk_format: qcow2
|
|
min_disk: 1 GiB
|
|
size: 1 GiB
|
|
artifacts:
|
|
sw_image:
|
|
type: tosca.artifacts.nfv.SwImage
|
|
file: Files/images/cirros-0.4.0-x86_64-disk.img
|
|
capabilities:
|
|
virtual_compute:
|
|
properties:
|
|
virtual_memory:
|
|
virtual_mem_size: 512 MiB
|
|
virtual_cpu:
|
|
num_virtual_cpu: 1
|
|
virtual_local_storage:
|
|
- size_of_storage: 1 GiB
|
|
VDU2:
|
|
type: tosca.nodes.nfv.Vdu.Compute
|
|
properties:
|
|
name: VDU2
|
|
description: VDU2 compute node
|
|
vdu_profile:
|
|
min_number_of_instances: 1
|
|
max_number_of_instances: 1
|
|
sw_image_data:
|
|
name: Software of VDU2
|
|
version: '0.4.0'
|
|
checksum:
|
|
algorithm: sha-512
|
|
hash: 6513f21e44aa3da349f248188a44bc304a3653a04122d8fb4535423c8e1d14cd6a153f735bb0982e2161b5b5186106570c17a9e58b64dd39390617cd5a350f78
|
|
container_format: bare
|
|
disk_format: qcow2
|
|
min_disk: 1 GiB
|
|
size: 1 GiB
|
|
artifacts:
|
|
sw_image:
|
|
type: tosca.artifacts.nfv.SwImage
|
|
file: Files/images/cirros-0.4.0-x86_64-disk.img
|
|
capabilities:
|
|
virtual_compute:
|
|
properties:
|
|
virtual_memory:
|
|
virtual_mem_size: 512 MiB
|
|
virtual_cpu:
|
|
num_virtual_cpu: 1
|
|
virtual_local_storage:
|
|
- size_of_storage: 1 GiB
|
|
VDU3:
|
|
type: tosca.nodes.nfv.Vdu.Compute
|
|
properties:
|
|
name: VDU3
|
|
description: VDU3 compute node
|
|
vdu_profile:
|
|
min_number_of_instances: 1
|
|
max_number_of_instances: 1
|
|
sw_image_data:
|
|
name: Software of VDU3
|
|
version: '0.4.0'
|
|
checksum:
|
|
algorithm: sha-512
|
|
hash: 6513f21e44aa3da349f248188a44bc304a3653a04122d8fb4535423c8e1d14cd6a153f735bb0982e2161b5b5186106570c17a9e58b64dd39390617cd5a350f78
|
|
container_format: bare
|
|
disk_format: qcow2
|
|
min_disk: 1 GiB
|
|
size: 1 GiB
|
|
artifacts:
|
|
sw_image:
|
|
type: tosca.artifacts.nfv.SwImage
|
|
file: Files/images/cirros-0.4.0-x86_64-disk.img
|
|
capabilities:
|
|
virtual_compute:
|
|
properties:
|
|
properties:
|
|
virtual_memory:
|
|
virtual_mem_size: 512 MiB
|
|
virtual_cpu:
|
|
num_virtual_cpu: 1
|
|
virtual_local_storage:
|
|
- size_of_storage: 1 GiB
|
|
VDU4:
|
|
type: tosca.nodes.nfv.Vdu.Compute
|
|
properties:
|
|
name: VDU4
|
|
description: VDU4 compute node
|
|
vdu_profile:
|
|
min_number_of_instances: 1
|
|
max_number_of_instances: 1
|
|
sw_image_data:
|
|
name: Software of VDU4
|
|
version: '0.4.0'
|
|
checksum:
|
|
algorithm: sha-512
|
|
hash: 6513f21e44aa3da349f248188a44bc304a3653a04122d8fb4535423c8e1d14cd6a153f735bb0982e2161b5b5186106570c17a9e58b64dd39390617cd5a350f78
|
|
container_format: bare
|
|
disk_format: qcow2
|
|
min_disk: 1 GiB
|
|
size: 1 GiB
|
|
artifacts:
|
|
sw_image:
|
|
type: tosca.artifacts.nfv.SwImage
|
|
file: Files/images/cirros-0.4.0-x86_64-disk.img
|
|
capabilities:
|
|
virtual_compute:
|
|
properties:
|
|
properties:
|
|
virtual_memory:
|
|
virtual_mem_size: 512 MiB
|
|
virtual_cpu:
|
|
num_virtual_cpu: 1
|
|
virtual_local_storage:
|
|
- size_of_storage: 1 GiB
|
|
VDU5:
|
|
type: tosca.nodes.nfv.Vdu.Compute
|
|
properties:
|
|
name: VDU5
|
|
description: VDU5 compute node
|
|
vdu_profile:
|
|
min_number_of_instances: 1
|
|
max_number_of_instances: 1
|
|
sw_image_data:
|
|
name: Software of VDU5
|
|
version: '0.4.0'
|
|
checksum:
|
|
algorithm: sha-512
|
|
hash: 6513f21e44aa3da349f248188a44bc304a3653a04122d8fb4535423c8e1d14cd6a153f735bb0982e2161b5b5186106570c17a9e58b64dd39390617cd5a350f78
|
|
container_format: bare
|
|
disk_format: qcow2
|
|
min_disk: 1 GiB
|
|
size: 1 GiB
|
|
artifacts:
|
|
sw_image:
|
|
type: tosca.artifacts.nfv.SwImage
|
|
file: Files/images/cirros-0.4.0-x86_64-disk.img
|
|
capabilities:
|
|
virtual_compute:
|
|
properties:
|
|
properties:
|
|
virtual_memory:
|
|
virtual_mem_size: 512 MiB
|
|
virtual_cpu:
|
|
num_virtual_cpu: 1
|
|
virtual_local_storage:
|
|
- size_of_storage: 1 GiB
|
|
VDU6:
|
|
type: tosca.nodes.nfv.Vdu.Compute
|
|
properties:
|
|
name: VDU6
|
|
description: VDU6 compute node
|
|
vdu_profile:
|
|
min_number_of_instances: 1
|
|
max_number_of_instances: 1
|
|
sw_image_data:
|
|
name: Software of VDU6
|
|
version: '0.4.0'
|
|
checksum:
|
|
algorithm: sha-512
|
|
hash: 6513f21e44aa3da349f248188a44bc304a3653a04122d8fb4535423c8e1d14cd6a153f735bb0982e2161b5b5186106570c17a9e58b64dd39390617cd5a350f78
|
|
container_format: bare
|
|
disk_format: qcow2
|
|
min_disk: 1 GiB
|
|
size: 1 GiB
|
|
artifacts:
|
|
sw_image:
|
|
type: tosca.artifacts.nfv.SwImage
|
|
file: Files/images/cirros-0.4.0-x86_64-disk.img
|
|
capabilities:
|
|
virtual_compute:
|
|
properties:
|
|
properties:
|
|
virtual_memory:
|
|
virtual_mem_size: 512 MiB
|
|
virtual_cpu:
|
|
num_virtual_cpu: 1
|
|
virtual_local_storage:
|
|
- size_of_storage: 1 GiB
|
|
|
|
policies:
|
|
- Affinity:
|
|
type: tosca.policies.nfv.AffinityRule
|
|
targets: [ VDU1 ]
|
|
properties:
|
|
scope: nfvi_pop
|
|
- AntiAffinity:
|
|
type: tosca.policies.nfv.AffinityRule
|
|
targets: [ VDU2 ]
|
|
properties:
|
|
scope: zone
|
|
- Affinity:
|
|
type: tosca.policies.nfv.AffinityRule
|
|
targets: [ VDU3 ]
|
|
properties:
|
|
scope: zone_group
|
|
- Affinity:
|
|
type: tosca.policies.nfv.AntiAffinityRule
|
|
targets: [ VDU4 ]
|
|
properties:
|
|
scope: nfvi_pop
|
|
- AntiAffinity:
|
|
type: tosca.policies.nfv.AntiAffinityRule
|
|
targets: [ VDU5 ]
|
|
properties:
|
|
scope: zone
|
|
- Affinity:
|
|
type: tosca.policies.nfv.AntiAffinityRule
|
|
targets: [ VDU6 ]
|
|
properties:
|
|
scope: zone_group
|