42 lines
1021 B
YAML
42 lines
1021 B
YAML
tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0
|
|
description: Demo example
|
|
metadata:
|
|
template_name: sample-tosca-vnfd
|
|
topology_template:
|
|
node_templates:
|
|
VDU1:
|
|
type: tosca.nodes.nfv.VDU.Tacker
|
|
capabilities:
|
|
nfv_compute:
|
|
properties:
|
|
disk_size: 10 GB
|
|
mem_size: 512 MB
|
|
num_cpus: 2
|
|
properties:
|
|
image: ubuntu-xenial
|
|
mgmt_driver: noop
|
|
config_drive: true
|
|
availability_zone: nova
|
|
key_name: mykey
|
|
mgmt_driver: noop
|
|
user_data_format: RAW
|
|
user_data: |
|
|
#!/bin/sh
|
|
echo 1 > /proc/sys/net/ipv4/ip_forward
|
|
|
|
CP1:
|
|
type: tosca.nodes.nfv.CP.Tacker
|
|
properties:
|
|
management: true
|
|
anti_spoofing_protection: false
|
|
requirements:
|
|
- virtualLink:
|
|
node: VL1
|
|
- virtualBinding:
|
|
node: VDU1
|
|
VL1:
|
|
type: tosca.nodes.nfv.VL
|
|
properties:
|
|
network_name: net_sfc
|
|
vendor: Tacker
|