aboutsummaryrefslogtreecommitdiffstats
path: root/sfc/tests/functest/vnfd-templates/test3-vnfd1.yaml
blob: 7f8f178762d43fa1c0b31ee228860d268ee09ec9 (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
46
47
48
49
50
51
52
53
---
tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0
description: firewall3-example
metadata:
  template_name: test-vnfd1

topology_template:
  inputs:
    zone:
      type: string
  node_templates:
    VDU1:
      type: tosca.nodes.nfv.VDU.Tacker
      capabilities:
        nfv_compute:
          properties:
            num_cpus: 1
            mem_size: 2 GB
            disk_size: 10 GB
      properties:
        image: sfc_nsh_danube
        availability_zone: {get_input: zone}
        mgmt_driver: noop
        service_type: firewall
        monitoring_policy:
          name: ping
          parameters:
            monitoring_delay: 10
            count: 3
            interval: 2
            timeout: 2
            action:
              failure: respawn
            retry: 5
            port: 22

    CP1:
      type: tosca.nodes.nfv.CP.Tacker
      properties:
        management: true
        order: 0
        anti_spoofing_protection: true
      requirements:
        - virtualLink:
            node: VL1
        - virtualBinding:
            node: VDU1

    VL1:
      type: tosca.nodes.nfv.VL
      properties:
        network_name: example-net
        vendor: Tacker