137 lines
3.4 KiB
YAML
137 lines
3.4 KiB
YAML
tosca_definitions_version: tosca_simple_yaml_1_2
|
|
|
|
description: Simple deployment flavour for Sample VNF
|
|
|
|
imports:
|
|
- etsi_nfv_sol001_common_types.yaml
|
|
- etsi_nfv_sol001_vnfd_types.yaml
|
|
- sample_vnfd_types.yaml
|
|
|
|
topology_template:
|
|
inputs:
|
|
id:
|
|
type: string
|
|
vendor:
|
|
type: string
|
|
version:
|
|
type: version
|
|
descriptor_id:
|
|
type: string
|
|
descriptor_version:
|
|
type: string
|
|
provider:
|
|
type: string
|
|
product_name:
|
|
type: string
|
|
software_version:
|
|
type: string
|
|
vnfm_info:
|
|
type: list
|
|
entry_schema:
|
|
type: string
|
|
flavour_id:
|
|
type: string
|
|
flavour_description:
|
|
type: string
|
|
|
|
substitution_mappings:
|
|
node_type: company.provider.VNF
|
|
properties:
|
|
flavour_id: simple
|
|
requirements:
|
|
virtual_link_external: []
|
|
|
|
node_templates:
|
|
VNF:
|
|
type: company.provider.VNF
|
|
properties:
|
|
flavour_description: A simple flavour
|
|
interfaces:
|
|
Vnflcm:
|
|
# supporting only 'instantiate', 'terminate', 'modify',
|
|
# and 'heal'
|
|
# not supporting LCM script, supporting only default LCM
|
|
instantiate: []
|
|
# instantiate_start: []
|
|
# instantiate_end: []
|
|
terminate: []
|
|
# terminate_start: []
|
|
# terminate_end: []
|
|
modify_information: []
|
|
# modify_information_start: []
|
|
# modify_information_end: []
|
|
# change_flavour: []
|
|
# change_flavour_start: []
|
|
# change_flavour_end: []
|
|
# change_external_connectivity: []
|
|
# change_external_connectivity_start: []
|
|
# change_external_connectivity_end: []
|
|
# operate: []
|
|
# operate_start: []
|
|
# operate_end: []
|
|
heal: []
|
|
# heal_start: []
|
|
# heal_end: []
|
|
# scale: []
|
|
# scale_start: []
|
|
# scale_end: []
|
|
# scale_to_level: []
|
|
# scale_to_level_start: []
|
|
# scale_to_level_end: []
|
|
|
|
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: cirros-0.5.2-x86_64-disk
|
|
version: '0.5.2'
|
|
checksum:
|
|
algorithm: sha-256
|
|
hash: 932fcae93574e242dc3d772d5235061747dfe537668443a1f0567d893614b464
|
|
container_format: bare
|
|
disk_format: qcow2
|
|
min_disk: 1 GB
|
|
size: 1 GB
|
|
|
|
capabilities:
|
|
virtual_compute:
|
|
properties:
|
|
virtual_memory:
|
|
virtual_mem_size: 512 MB
|
|
virtual_cpu:
|
|
num_virtual_cpu: 1
|
|
virtual_local_storage:
|
|
- size_of_storage: 1 GB
|
|
|
|
CP1:
|
|
type: tosca.nodes.nfv.VduCp
|
|
properties:
|
|
layer_protocols: [ ipv4 ]
|
|
requirements:
|
|
- virtual_binding: VDU1
|
|
- virtual_link: internalVL1
|
|
|
|
internalVL1:
|
|
type: tosca.nodes.nfv.VnfVirtualLink
|
|
properties:
|
|
connectivity_type:
|
|
layer_protocols: [ ipv4 ]
|
|
description: Internal Virtual link in the VNF
|
|
vl_profile:
|
|
max_bitrate_requirements:
|
|
root: 1048576
|
|
leaf: 1048576
|
|
min_bitrate_requirements:
|
|
root: 1048576
|
|
leaf: 1048576
|
|
virtual_link_protocol_data:
|
|
- associated_layer_protocol: ipv4
|
|
l3_protocol_data:
|
|
ip_version: ipv4
|
|
cidr: 10.0.0.0/24
|