44 lines
1.0 KiB
YAML
44 lines
1.0 KiB
YAML
tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0
|
|
|
|
description: Example Floating IP - Allocate one IP from floating network and attach to CP.
|
|
|
|
metadata:
|
|
template_name: sample-tosca-vnfd-test-fip-with-floating-network
|
|
|
|
topology_template:
|
|
node_templates:
|
|
VDU1:
|
|
type: tosca.nodes.nfv.VDU.Tacker
|
|
capabilities:
|
|
nfv_compute:
|
|
properties:
|
|
disk_size: 1 GB
|
|
mem_size: 512 MB
|
|
num_cpus: 1
|
|
properties:
|
|
image: cirros-0.5.2-x86_64-disk
|
|
mgmt_driver: noop
|
|
|
|
CP1:
|
|
type: tosca.nodes.nfv.CP.Tacker
|
|
properties:
|
|
management: true
|
|
requirements:
|
|
- virtualLink:
|
|
node: VL1
|
|
- virtualBinding:
|
|
node: VDU1
|
|
|
|
VL1:
|
|
type: tosca.nodes.nfv.VL
|
|
properties:
|
|
network_name: net_mgmt
|
|
vendor: Tacker
|
|
|
|
FIP1:
|
|
type: tosca.nodes.network.FloatingIP
|
|
properties:
|
|
floating_network: public
|
|
requirements:
|
|
- link:
|
|
node: CP1 |