summaryrefslogtreecommitdiffstats
path: root/nokiav2/driver/src/test/resources/unittests/packageconverter/nodes.vnfd.cbam.yaml
blob: 3870605ff870429fc8667a7cf1cb0cb4a4809e94 (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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0_nokia

topology_template:
  substitution_mappings:
    node_type: tosca.nodes.nfv.VNF
    properties:
      descriptor_id: Nokia~Maria DB~1.0~1.0
      descriptor_version: '1.0'
      provider: myProvider
      product_name: 'myName'
      software_version: '2.0'
      product_info_name: product_info_name
      product_info_description: Relational database, non-scalable
    capabilities:
      deployment_flavour:
        properties:
          flavour_id: scalableRouted
          description: flavorDescription
          vdu_profile:
            vduNode:
              min_number_of_instances: 3
              max_number_of_instances: 11
  node_templates:
    vduNode:
      type: tosca.nodes.nfv.VDU
      properties:
        description: myVduDesc
      requirements:
        - virtual_compute: myCompute
        - virtual_storage: myStorage1
        - virtual_storage: myStorage2
        - unhandled_type: unknown

    unknownType:
      type: tosca.nodes.nfv.Unknown

    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: 1 GB

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

    myNetwork1:
      type: tosca.nodes.nfv.VL
      properties:
        connectivity_type:
          layer_protocol: ipv4
          flow_pattern: mesh
        description: myDescription

    myNetwork2:
      type: tosca.nodes.nfv.VL
      properties:
        connectivity_type:
          layer_protocol: ipv4
          flow_pattern: mesh
        description: myDescription

    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

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

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

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

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

    myEcpWithDescription:
      type: tosca.nodes.nfv.ECP
      properties:
        layer_protocol: ipv4
      requirements:
        - internal_connection_point: icpWithOutDescription

    myEcpWithoutIcpWithoutVdu:
      type: tosca.nodes.nfv.ECP
      properties:
        layer_protocol: ipv4
      requirements:
        - internal_connection_point: icpWithoutVdu

    myEcpWithoutIcpWithoutIcpReq:
      type: tosca.nodes.nfv.ECP
      properties:
        layer_protocol: ipv4
      requirements:
        - internal_connection_point: icpWithOutRequiements

    myEcpWithoutIcp:
      type: tosca.nodes.nfv.ECP
      properties:
        layer_protocol: ipv4
      requirements:
        - not_valid: d

    icpWithOutVdu:
      type: tosca.nodes.nfv.ICP
      properties:
        layer_protocol: ipv4
        description: myDescription
      requirements:
        - not_valid: a

    icpWithOutRequiements:
      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

    ecpWithIcpWithOutRequirements:
      type: tosca.nodes.nfv.ECP
      properties:
        layer_protocol: ipv4