summaryrefslogtreecommitdiffstats
path: root/nokiav2/driver/src/test/resources/unittests/packageconverter/nodes.vnfd.onap.yaml
blob: 5a3871af3d48ee43a943a335c7bb5fced68f74d7 (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
tosca_definitions_version: tosca_simple_yaml_1_0

metadata:
  vendor: Nokia
  csarVersion: 1.0
  csarProvider: myProvider
  id: Simple
  version: 2.0
  csarType: NFAR
  name: myName
  vnfdVersion: 1.0

topology_template:
  inputs:
    etsi_config:
      type: string
      description: The ETSI configuration
  node_templates:
    vduNode:
      type: tosca.nodes.nfv.VDU.Compute
      capabilities:
        virtual_compute:
          properties:
            virtual_memory:
              virtual_mem_size: 8192
            virtual_cpu:
              num_virtual_cpu: 4
      requirements:
        - virtual_storage:
            capability: tosca.capabilities.nfv.VirtualStorage
            node: myStorage1
        - virtual_storage:
            capability: tosca.capabilities.nfv.VirtualStorage
            node: myStorage2
    myStorage1:
      type: tosca.nodes.nfv.VDU.VirtualStorage
      properties:
        id: myStorage1
        type_of_storage: volume
        size_of_storage: 1
    myStorage2:
      type: tosca.nodes.nfv.VDU.VirtualStorage
      properties:
        id: myStorage2
        type_of_storage: volume
        size_of_storage: 2
    myNetwork1:
      type: tosca.nodes.nfv.VnfVirtualLinkDesc
      properties:
        vl_flavours:
          flavours:
            flavourId: notUsed
    myNetwork2:
      type: tosca.nodes.nfv.VnfVirtualLinkDesc
      properties:
        vl_flavours:
          flavours:
            flavourId: notUsed
    icpWithOutEcp:
      type: tosca.nodes.nfv.VduCpd
      properties:
        layer_protocol: ipv4
        role: leaf
        description: myDescription
      requirements:
        - virtual_binding: vduNode
        - virtual_link: myNetwork1
    icpWithEcp:
      type: tosca.nodes.nfv.VduCpd
      properties:
        layer_protocol: ipv4
        role: leaf
        description: myDescription
      requirements:
        - virtual_binding: vduNode
        - virtual_link: myNetwork1
    icpWithOutDescription:
      type: tosca.nodes.nfv.VduCpd
      properties:
        layer_protocol: ipv4
        role: leaf
      requirements:
        - virtual_binding: vduNode
        - virtual_link: myNetwork1
    myEcp:
      type: tosca.nodes.nfv.VduCpd
      properties:
        layer_protocol: ipv4
        role: leaf
        description: myDescription
      requirements:
        - virtual_binding: vduNode
    myEcpWithDescription:
      type: tosca.nodes.nfv.VduCpd
      properties:
        layer_protocol: ipv4
        role: leaf
      requirements:
        - virtual_binding: vduNode