topology_template:
inputs: VDU_IP: type: string default: 10.0.0.159 description: IP for the VDU
node_templates:
VDU3: type: tosca.nodes.nfv.VDU artifacts: image: type: tosca.artifacts.Deployment.Image.VM.Qcow2 file: Alpine.qcow2
capabilities: host: properties: disk_size: 10 GB num_cpus: 1 mem_size: 512 MB
requirements: - connection1: node: VDU4 relationship: type: tosca.relationships.DependsOn
interfaces: Standard: create: ../Scripts/create.sh configure: implementation: ../Scripts/config.sh inputs: VDU_ip: { get_input: VDU_IP } start: ../Scripts/start.sh
topology_template:
inputs:
VDU_IP:
type: string
default: 10.0.0.159
description: IP for the VDU
node_templates:
VDU3: .Deployment. Image.VM. Qcow2
type: tosca.nodes.nfv.VDU
artifacts:
image:
type: tosca.artifacts
file: Alpine.qcow2
capabilities:
properties:
disk_ size: 10 GB
num_ cpus: 1
mem_ size: 512 MB
host:
requirements:
relations hip:
type: tosca.relations hips.DependsOn
- connection1:
node: VDU4
interfaces: create. sh
configure:
implementa tion: ../Scripts/ config. sh
VDU_ip: { get_input: VDU_IP }
Standard:
create: ../Scripts/
inputs:
start: ../Scripts/start.sh