aboutsummaryrefslogtreecommitdiffstats
path: root/sfc/tests/functest/vnffgd-templates/test2-vnffgd2.yaml
blob: 5d46d24b9035de7ad2104d3ead47a74ec8036e51 (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
tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0
description: test-case2: SSH Test

topology_template:
  description: topology-template-test2
  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: 2
        policy:
          type: ACL
          criteria:
            - network_src_port_id: { get_input: net_src_id }
            - destination_port_range: 22-22
            - 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]