aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-core/src/test/resources/mock/toscaConverter/convertCsar/out/MainServiceTemplate.yaml
blob: 590ee413b8d8e8cf2c816712fcb6f2899fd74171 (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
tosca_definitions_version: tosca_simple_yaml_1_1
metadata:
  template_name: Main
  resourceVendor: zte
  name: SPGW
  resourceVendorModelNumber: ''
  description: SPGW
  invariantUUID: 3c677981-34bf-47a0-a21b-c0d81f93d438
  UUID: 5e74136f-3ca0-48eb-b0e7-b3740e170030
  type: VF
  category: Application L4+
  subcategory: Firewall
  resourceVendorRelease: v1.0
imports:
- openecomp_heat_index:
    file: openecomp-heat/_index.yml
- onap_index:
    file: onap/_index.yml
- GlobalSubstitutionTypes:
    file: GlobalSubstitutionTypesServiceTemplate.yaml
topology_template:
  inputs:
    nf_naming:
      type: org.openecomp.datatypes.Naming
      default:
        ecomp_generated_naming: true
    nf_naming_code:
      type: string
      default: {
        }
    nf_function:
      type: string
      default: {
        }
    availability_zone_max_count:
      type: integer
      default: 1
    nf_role:
      type: string
      default: {
        }
    max_instances:
      type: integer
      default: {
        }
    min_instances:
      type: integer
      default: {
        }
    nf_type:
      type: string
      default: {
        }
  node_templates:
    Cpd 0:
      type: tosca.nodes.nfv.VduCpd
    BlockStorage 0:
      type: tosca.nodes.BlockStorage
    ExtCP 0:
      type: org.openecomp.resource.cp.extCP
      properties:
        mac_requirements:
          mac_count_required:
            is_required: false
        exCP_naming:
          ecomp_generated_naming: true
    Network 0:
      type: tosca.nodes.network.Network
      properties:
        dhcp_enabled: true
        ip_version: 4
    Compute 0:
      type: tosca.nodes.Compute
  substitution_mappings:
    node_type: org.openecomp.resource.vf.Spgw
    capabilities:
      extcp0.feature:
      - ExtCP 0
      - feature
      compute0.binding:
      - Compute 0
      - binding
      extcp0.internal_connectionPoint:
      - ExtCP 0
      - internal_connectionPoint
      blockstorage0.feature:
      - BlockStorage 0
      - feature
      compute0.feature:
      - Compute 0
      - feature
      compute0.host:
      - Compute 0
      - host
      network0.feature:
      - Network 0
      - feature
      compute0.scalable:
      - Compute 0
      - scalable
      compute0.endpoint:
      - Compute 0
      - endpoint
      blockstorage0.attachment:
      - BlockStorage 0
      - attachment
      compute0.os:
      - Compute 0
      - os
      network0.link:
      - Network 0
      - link
      cpd0.feature:
      - Cpd 0
      - feature
    requirements:
      extcp0.virtualBinding:
      - ExtCP 0
      - virtualBinding
      blockstorage0.dependency:
      - BlockStorage 0
      - dependency
      cpd0.dependency:
      - Cpd 0
      - dependency
      compute0.dependency:
      - Compute 0
      - dependency
      extcp0.external_virtualLink:
      - ExtCP 0
      - external_virtualLink
      extcp0.dependency:
      - ExtCP 0
      - dependency
      network0.dependency:
      - Network 0
      - dependency
      cpd0.virtual_link:
      - Cpd 0
      - virtual_link
      extcp0.virtualLink:
      - ExtCP 0
      - virtualLink
      compute0.local_storage:
      - Compute 0
      - local_storage
      cpd0.virtual_binding:
      - Cpd 0
      - virtual_binding