aboutsummaryrefslogtreecommitdiffstats
path: root/sfc/tests/functest/vnffgd-templates/test-vnffgd.yaml
blob: b1fd574c673aba7853b16b879fd19fd63900e77e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0
description: test-case1

topology_template:
  description: topology-template-test1

  node_templates:
    Forwarding_path1:
      type: tosca.nodes.nfv.FP.Tacker
      description: creates path
      properties:
        id: 1
        policy:
          type: ACL
          criteria:
            - source_port_range: 0-0
            - destination_port_range: 80-80
            - ip_proto: 6
        path:
          - forwarder: test-vnfd1
            capability: CP1
          - forwarder: test-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: [test-vnfd1, test-vnfd2]
      members: [Forwarding_path1]