summaryrefslogtreecommitdiffstats
path: root/sfc/tests/functest/vnffgd-templates/test-one-chain-vnffgd.yaml-queens
blob: 544d6e8e677d6a4ba8fee64063fcf55496a422f5 (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
38
39
40
---
tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0
description: test-case1

topology_template:
  description: topology-template-test1
  inputs:
    net_src_port_id:
      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_port_id}
              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]