422055b9ba
This patch will add VNFFG support for NS. In NSD, users can describe VNFDs and nested VNFFGDs inside. When NS is created, VNFs and VNFFGs are also created too. Work items of this patch: 1. Add sample nsd templates 2. Update NFVO plugin to adapt VNFFGD template extraction from NSD and create VNFFGs using that template 3. Modify Mistral workflow to create/delete VNFFGs using NSD User guide, defref will be added in following patches. Co-Authored-By: Cong Phuoc Hoang <hoangphuocbk2.07@gmail.com> Change-Id: Id5827e66aec0231bf27e87fc96d8fc6bc5cb9c26 Partially-implements: blueprint vnffg-ns
41 lines
1.0 KiB
YAML
41 lines
1.0 KiB
YAML
tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0
|
|
|
|
description: Sample VNFFG template
|
|
|
|
topology_template:
|
|
|
|
node_templates:
|
|
|
|
Forwarding_path1:
|
|
type: tosca.nodes.nfv.FP.TackerV2
|
|
description: creates path (CP12->CP22)
|
|
properties:
|
|
id: 51
|
|
policy:
|
|
type: ACL
|
|
criteria:
|
|
- name: block_tcp
|
|
classifier:
|
|
network_src_port_id: 14ad4f29-629f-4b97-8bc8-86e96cb49974
|
|
destination_port_range: 80-1024
|
|
ip_proto: 6
|
|
ip_dst_prefix: 10.10.0.5/24
|
|
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]
|