
- 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
52 lines
1.3 KiB
YAML
52 lines
1.3 KiB
YAML
tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0
|
|
|
|
description: Sample VNFFG parameterized template
|
|
|
|
topology_template:
|
|
|
|
inputs:
|
|
net_src_port_id:
|
|
type: string
|
|
description: Port UUID of source VM.
|
|
|
|
dst_port_range:
|
|
type: string
|
|
description: Destination port range
|
|
|
|
ip_dst_pre:
|
|
type: string
|
|
description: Cidr format of destination ip.
|
|
|
|
node_templates:
|
|
|
|
Forwarding_path1:
|
|
type: tosca.nodes.nfv.FP.Tacker
|
|
description: creates path (CP12->CP22)
|
|
properties:
|
|
id: 51
|
|
policy:
|
|
type: ACL
|
|
criteria:
|
|
- network_src_port_id: { get_input: net_src_port_id }
|
|
destination_port_range: { get_input: dst_port_range }
|
|
ip_proto: 6
|
|
ip_dst_prefix: { get_input: ip_dst_pre }
|
|
path:
|
|
- forwarder: VNFD1
|
|
capability: CP12
|
|
- forwarder: VNFD2
|
|
capability: CP22
|
|
|
|
groups:
|
|
VNFFG1:
|
|
type: tosca.groups.nfv.VNFFG
|
|
description: HTTP to Corporate Net
|
|
properties:
|
|
vendor: tacker
|
|
version: 1.0
|
|
number_of_endpoints: 2
|
|
dependent_virtual_link: [VL12,VL22]
|
|
connection_point: [CP12,CP22]
|
|
constituent_vnfs: [VNFD1,VNFD2]
|
|
members: [Forwarding_path1]
|