d50bb9578d
- Fix create_vnffgd cannot get 'description' and 'name' from TOSCA yaml file - Delete redundant 'description' line in vnffgd template file following the standard in vnffg_usage_guide.rst Change-Id: I9c384678058c5e27239e9afc8cc2ae1de01ff750 Closes-Bug: #1751433
48 lines
1.2 KiB
YAML
48 lines
1.2 KiB
YAML
tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0
|
|
|
|
description: Example VNFFG template
|
|
|
|
topology_template:
|
|
|
|
inputs:
|
|
net_src_port_id:
|
|
type: string
|
|
description: Port UUID of source VM.
|
|
|
|
node_templates:
|
|
|
|
Forwarding_path1:
|
|
type: tosca.nodes.nfv.FP.TackerV2
|
|
description: creates path (CP11->CP12->CP32)
|
|
properties:
|
|
id: 51
|
|
policy:
|
|
type: ACL
|
|
criteria:
|
|
- name: classifier_one
|
|
classifier:
|
|
network_src_port_id: { get_input: net_src_port_id }
|
|
destination_port_range: 80-1024
|
|
ip_proto: 6
|
|
ip_dst_prefix: 192.168.1.2/24
|
|
path:
|
|
- forwarder: VNF1
|
|
capability: CP11
|
|
- forwarder: VNF1
|
|
capability: CP12
|
|
- forwarder: VNF3
|
|
capability: CP32
|
|
|
|
groups:
|
|
VNFFG1:
|
|
type: tosca.groups.nfv.VNFFG
|
|
description: HTTP to Corporate Net
|
|
properties:
|
|
vendor: tacker
|
|
version: 1.0
|
|
number_of_endpoints: 3
|
|
dependent_virtual_link: [VL1,VL2,VL3]
|
|
connection_point: [CP11,CP12,CP32]
|
|
constituent_vnfs: [VNF1,VNF3]
|
|
members: [Forwarding_path1]
|