aboutsummaryrefslogtreecommitdiffstats
path: root/sfc/tests/functest/vnffgd-templates/test-vnffgd.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'sfc/tests/functest/vnffgd-templates/test-vnffgd.yaml')
-rw-r--r--sfc/tests/functest/vnffgd-templates/test-vnffgd.yaml42
1 files changed, 42 insertions, 0 deletions
diff --git a/sfc/tests/functest/vnffgd-templates/test-vnffgd.yaml b/sfc/tests/functest/vnffgd-templates/test-vnffgd.yaml
new file mode 100644
index 00000000..43cded97
--- /dev/null
+++ b/sfc/tests/functest/vnffgd-templates/test-vnffgd.yaml
@@ -0,0 +1,42 @@
+tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0
+description: test-case1
+
+topology_template:
+ description: topology-template-test1
+ inputs:
+ net_src_id:
+ type: string
+ ip_dst:
+ type: string
+
+ node_templates:
+ Forwarding_path1:
+ type: tosca.nodes.nfv.FP.Tacker
+ description: creates path
+ properties:
+ id: 1
+ policy:
+ type: ACL
+ criteria:
+ - network_src_port_id: { get_input: net_src_id }
+ - destination_port_range: 80-80
+ - ip_proto: 6
+ - ip_dst_prefix: { get_input: ip_dst }
+ path:
+ - forwarder: VNFD1
+ capability: CP1
+ - forwarder: VNFD2
+ capability: CP1
+
+ groups:
+ VNFFG1:
+ type: tosca.groups.nfv.VNFFG
+ description: creates chain
+ properties:
+ vendor: tacker
+ version: 1.0
+ number_of_endpoints: 2
+ dependent_virtual_link: [VL1,VL1]
+ connection_point: [CP1,CP1]
+ constituent_vnfs: [VNFD1,VNFD2]
+ members: [Forwarding_path1] \ No newline at end of file