aboutsummaryrefslogtreecommitdiffstats
path: root/sfc/tests/functest/vnffgd-templates/test-two-chains-vnffgd2.yaml-queens
blob: 4d0763aa1d6b4b73766ef1b32873a4d3198c7441 (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
41
42
43
44
45
---
tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0
description: test-two-chains_SSH Test

topology_template:
  description: topology-template-test-two-chains
  inputs:
    net_src_port_id:
      type: string

  node_templates:
    Forwarding_path1:
      type: tosca.nodes.nfv.FP.TackerV2
      description: creates path
      properties:
        id: 2
        policy:
          type: ACL
          criteria:
            - name: get_ssh
              classifier:
                network_src_port_id: {get_input: net_src_port_id}
                destination_port_range: 22-22
                ip_proto: 6
            - name: get_http
              classifier:
                network_src_port_id: {get_input: net_src_port_id}
                destination_port_range: 80-80
                ip_proto: 6
         path:
          - forwarder: test-vnfd2
            capability: CP1

  groups:
    VNFFG1:
      type: tosca.groups.nfv.VNFFG
      description: creates chain
      properties:
        vendor: tacker
        version: 1.0
        number_of_endpoints: 1
        dependent_virtual_link: [VL1]
        connection_point: [CP1]
        constituent_vnfs: [test-vnfd2]
      members: [Forwarding_path1]