aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/resources/OS_Neutron_Net/expectedoutputfiles/MainServiceTemplate.yaml
blob: c93363e85059dcd2255afe0a3c2bf8e197506914 (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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
tosca_definitions_version: tosca_simple_yaml_1_0_0
metadata:
  template_name: Main
imports:
  ContrailComputeGlobalTypes:
    file: ContrailComputeGlobalTypesServiceTemplate.yaml
  CinderVolumeGlobalTypes:
    file: CinderVolumeGlobalTypesServiceTemplate.yaml
  ContrailVirtualNetworkGlobalType:
    file: ContrailVirtualNetworkGlobalTypeServiceTemplate.yaml
  AbstractSubstituteGlobalTypes:
    file: AbstractSubstituteGlobalTypesServiceTemplate.yaml
  ContrailPortGlobalTypes:
    file: ContrailPortGlobalTypesServiceTemplate.yaml
  NeutronPortGlobalTypes:
    file: NeutronPortGlobalTypesServiceTemplate.yaml
  NeutronNetGlobalTypes:
    file: NeutronNetGlobalTypesServiceTemplate.yaml
  CommonGlobalTypes:
    file: CommonGlobalTypesServiceTemplate.yaml
  ContrailAbstractSubstituteGlobalTypes:
    file: ContrailAbstractSubstituteGlobalTypesServiceTemplate.yaml
  ContrailNetworkRuleGlobalType:
    file: ContrailNetworkRuleGlobalTypeServiceTemplate.yaml
  NeutronSecurityRulesGlobalTypes:
    file: NeutronSecurityRulesGlobalTypesServiceTemplate.yaml
  NovaServerGlobalTypes:
    file: NovaServerGlobalTypesServiceTemplate.yaml
  ContrailV2VirtualMachineInterfaceGlobalType:
    file: ContrailV2VirtualMachineInterfaceGlobalTypeServiceTemplate.yaml
topology_template:
  inputs:
    param_number:
      hidden: false
      immutable: false
      type: float
      description: param number - float
    jsa_cidr:
      hidden: false
      immutable: false
      type: string
      description: CIDR of jsa log network
      default: 107.243.7.128/26
    param_string:
      hidden: false
      immutable: false
      type: string
      description: param String - string
    param_json:
      hidden: false
      immutable: false
      type: json
      description: param json - map<String>
    param_comma_delimited_list:
      hidden: false
      immutable: false
      type: list
      description: param comma_delimited_list - List
      entry_schema:
        type: string
    user_name:
      label: User Name
      hidden: true
      immutable: false
      type: string
      description: User name to be configured for the application
      constraints:
      - max_length: 8
      - min_length: 6
      - pattern: '[A-Z]+[a-zA-Z0-9]*'
      - in_range:
        - 0
        - 10
    param_boolean:
      hidden: false
      immutable: false
      type: boolean
      description: param boolean - boolean
    instance_type:
      label: Instance Type
      hidden: false
      immutable: false
      type: string
      description: Instance type for compute instances
      constraints:
      - valid_values:
        - m1.small
        - m1.medium
        - m1.large
    jsa_net_name:
      hidden: false
      immutable: false
      type: string
      description: network name of jsa log network
      default: jsa_log_net_0
  node_templates:
    jsa_net:
      type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
      properties:
        shared: true
        network_name:
          get_input: jsa_net_name
        subnets:
          jsa_subnet:
            cidr:
              get_input: jsa_cidr
    jsa_net_test_get_attribute_2_params:
      type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
      properties:
        dhcp_agent_ids:
        - '1000'
        - '1001'
        - '1002'
        tenant_id: 23456
        port_security_enabled: true
        shared: true
        admin_state_up: false
        qos_policy: full
        network_name:
          get_attribute:
          - jsa_net
          - network_name
        value_specs:
          key1: spec1
    jsa_net_test_get_attribute_3_params:
      type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
      properties:
        dhcp_agent_ids:
        - '1000'
        - '1001'
        - '1002'
        tenant_id: 23456
        port_security_enabled: true
        shared: true
        admin_state_up: false
        qos_policy: full
        network_name:
          get_attribute:
          - jsa_net
          - network_name
          - 0
        value_specs:
          key1: spec1
    jsa_net_test_get_attribute_4_params:
      type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
      properties:
        dhcp_agent_ids:
        - '1000'
        - '1001'
        - '1002'
        tenant_id: 23456
        port_security_enabled: true
        shared: true
        admin_state_up: false
        qos_policy: full
        network_name:
          get_attribute:
          - jsa_net
          - network_name
          - 0
          - a1
        value_specs:
          key1: spec1
    jsa_net_test_get_attribute_5_params:
      type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
      properties:
        dhcp_agent_ids:
        - '1000'
        - '1001'
        - '1002'
        tenant_id: 23456
        port_security_enabled: true
        shared: true
        admin_state_up: false
        qos_policy: full
        network_name:
          get_attribute:
          - jsa_net
          - network_name
          - 0
          - a1
          - a2
        value_specs:
          key1: spec1
    jsa_net_test_full_attribute:
      type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
      properties:
        dhcp_agent_ids:
        - '1000'
        - '1001'
        - '1002'
        tenant_id: 23456
        port_security_enabled: true
        shared: true
        admin_state_up: false
        qos_policy: full
        network_name:
          get_input: jsa_net_name
        subnets:
          jsa_net_test_full_attribute_subnet:
            cidr:
              get_input: jsa_cidr
        value_specs:
          key1: spec1
          key2: spec2
  groups:
    ep-jsa_net:
      type: org.openecomp.groups.heat.HeatStack
      properties:
        heat_file: ../Artifacts/ep-jsa_net.yaml
        description: |
          Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
      members:
      - jsa_net
      - jsa_net_test_get_attribute_2_params
      - jsa_net_test_get_attribute_3_params
      - jsa_net_test_get_attribute_4_params
      - jsa_net_test_get_attribute_5_params
      - jsa_net_test_full_attribute