summaryrefslogtreecommitdiffstats
path: root/nokiav2/driver/src/test/resources/unittests/packageconverter/nodes.vnfd.cbam.yaml
blob: a5e18eec6ef1970f004c214aa4cf6985dfcd0e6a (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0_nokia

topology_template:
  substitution_mappings:
    node_type: tosca.nodes.nfv.VNF
    properties:
      descriptor_version: '1.0'
      provider: myProvider
      product_name: 'myName'
      software_version: '2.0'
      product_info_name: product_info_name
  node_templates:
    vduNode:
      type: tosca.nodes.nfv.VDU
      properties:
        description: myVduDesc
      requirements:
        - virtual_compute: myCompute
        - virtual_storage: myStorage1
        - virtual_storage: myStorage2


    myCompute:
      type: tosca.nodes.nfv.VirtualCompute
      properties:
        virtual_memory:
          virtual_mem_size: 8192 MB
        virtual_cpu:
          num_virtual_cpu: 4
          virtual_cpu_clock: 1234 Mhz
    myStorage1:
      type: tosca.nodes.nfv.VirtualStorage
      properties:
        id: myStorage1
        size_of_storage: 1G

    myStorage2:
      type: tosca.nodes.nfv.VirtualStorage
      properties:
        id: myStorage2
        size_of_storage: 2G

    myNetwork1:
      type: tosca.nodes.nfv.VL

    myNetwork2:
      type: tosca.nodes.nfv.VL

    icpWithOutEcp:
      type: tosca.nodes.nfv.ICP
      properties:
        layer_protocol: ipv4
        description: myDescription
      requirements:
        - virtual_binding: vduNode
        - virtual_link: myNetwork1

    icpWithEcp:
      type: tosca.nodes.nfv.ICP
      properties:
        layer_protocol: ipv4
        description: myDescription
      requirements:
        - virtual_binding: vduNode
        - virtual_link: myNetwork1

    myEcp:
      type: tosca.nodes.nfv.ECP
      properties:
        layer_protocol: ipv4
      requirements:
        - internal_connection_point: icpWithEcp

    icpWithOutVdu:
      type: tosca.nodes.nfv.ICP
      properties:
        layer_protocol: ipv4
        description: myDescription

    ecpWithIcpWithOutVdu:
      type: tosca.nodes.nfv.ECP
      properties:
        layer_protocol: ipv4
      requirements:
        - internal_connection_point: icpWithOutVdu