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
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
metadata:
template_name: Main
imports:
- openecomp_heat_index:
file: openecomp-heat/_index.yml
node_types:
org.openecomp.resource.vfc.nodes.heat.FSB1:
derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
topology_template:
inputs:
vipr_atm_name_0:
label: vipr_atm_name_0
hidden: false
immutable: false
type: string
description: vipr_atm_name_0
network_name:
label: network_name
hidden: false
immutable: false
type: string
description: network_name
port_name:
label: port_name
hidden: false
immutable: false
type: string
description: port_name
fsb_zone:
label: fsb_zone
hidden: false
immutable: false
type: string
description: fsb_zone
fsb1-flavor:
label: fsb1-flavor
hidden: false
immutable: false
type: string
description: fsb1-flavor
fsb1-Internal1-mac:
label: fsb1-flavor
hidden: false
immutable: false
type: string
description: fsb1-flavor
node_templates:
VMI_1:
type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface
properties:
name:
str_replace:
template: VM_NAME_PORT_3
params:
VM_NAME:
get_input: vipr_atm_name_0
virtual_network_refs:
- get_input: network_name
virtual_machine_interface_properties:
service_interface_type: left
port_tuple_refs:
- get_input: port_name
FSB1:
type: org.openecomp.resource.vfc.nodes.heat.FSB1
properties:
flavor:
get_input: fsb1-flavor
availability_zone:
get_input: fsb_zone
name:
get_attribute:
- VMI_1
- name
FSB1_Port_1:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
mac_address:
get_input: fsb1-Internal1-mac
network: Internal1-net
requirements:
- binding:
capability: tosca.capabilities.network.Bindable
node: FSB1
relationship: tosca.relationships.network.BindsTo
cmaui_volume_test_compute_properties:
type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
properties:
availability_zone: {get_attribute: [FSB1, availability_zone ] }
backup_id: {get_attribute: [FSB1, admin_pass ] }
description: {get_attribute: [FSB1, flavor ] }
image: {get_attribute: [FSB1, config_drive ] }
metadata: {get_attribute: [FSB1, metadata ] }
multiattach: {get_attribute: [FSB1, flavor_update_policy ] }
name: {get_attribute: [FSB1, image ] }
read_only: {get_attribute: [FSB1, image_update_policy ] }
scheduler_hints: {get_attribute: [FSB1, key_name ] }
size: {get_attribute: [FSB1, diskConfig ] }
snapshot_id: {get_attribute: [FSB1, name ] }
source_volid: {get_attribute: [FSB1, personality ] }
volume_id: {get_attribute: [FSB1, reservation_id ] }
volume_type: {get_attribute: [FSB1, scheduler_hints ] }
delete_on_termination: {get_attribute: [FSB1, security_groups ] }
volume_size: {get_attribute: [FSB1, software_config_transport ] }
device_type: {get_attribute: [FSB1, user_data_format ] }
disk_bus: {get_attribute: [FSB1, user_data_update_policy ] }
swap_size: {get_attribute: [FSB1, accessIPv4 ] }
image_id: {get_attribute: [FSB1, accessIPv6 ] }
attachments: {get_attribute: [FSB1, addresses ] }
encrypted: {get_attribute: [FSB1, console_urls ] }
created_at: {get_attribute: [FSB1, instance_name ] }
display_description: {get_attribute: [FSB1, show ] }
cmaui_volume_test_neutron_port_properties:
type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
properties:
availability_zone: {get_attribute: [FSB1_Port_1, ip_address ] }
backup_id: {get_attribute: [FSB1_Port_1, network ] }
#description: {get_attribute: [FSB1_Port_1, subnet ] }
image: {get_attribute: [FSB1_Port_1, admin_state_up ] }
metadata: {get_attribute: [FSB1_Port_1, allowed_address_pairs ] }
multiattach: {get_attribute: [FSB1_Port_1, "binding:vnic_type" ] }
name: {get_attribute: [FSB1_Port_1, device_id ] }
read_only: {get_attribute: [FSB1_Port_1, device_owner ] }
scheduler_hints: {get_attribute: [FSB1_Port_1, fixed_ips ] }
#size: {get_attribute: [FSB1_Port_1, mac_address ] }
snapshot_id: {get_attribute: [FSB1_Port_1, name ] }
source_volid: {get_attribute: [FSB1_Port_1, port_security_enabled ] }
volume_id: {get_attribute: [FSB1_Port_1, qos_policy ] }
volume_type: {get_attribute: [FSB1_Port_1, security_groups ] }
delete_on_termination: {get_attribute: [FSB1_Port_1, value_specs ] }
volume_size: {get_attribute: [FSB1_Port_1, replacement_policy ] }
device_type: {get_attribute: [FSB1_Port_1, show ] }
disk_bus: {get_attribute: [FSB1_Port_1, subnets ] }
swap_size: {get_attribute: [FSB1_Port_1, tenant_id ] }
cmaui_volume_test_contrailv2_VMI_properties:
type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
properties:
availability_zone: {get_attribute: [VMI_1, virtual_machine_interface_mac_addresses ] }
#backup_id: {get_attribute: [VMI_1, mac_address ] }
description: {get_attribute: [VMI_1, virtual_network_refs ] }
image: {get_attribute: [VMI_1, port_tuple_refs ] }
metadata: {get_attribute: [VMI_1, security_group_refs ] }
multiattach: {get_attribute: [VMI_1, virtual_machine_interface_properties ] }
name: {get_attribute: [VMI_1, name ] }
#read_only: {get_attribute: [VMI_1, service_interface_type ] }
#scheduler_hints: {get_attribute: [VMI_1, sub_interface_vlan_tag ] }
size: {get_attribute: [VMI_1, virtual_machine_interface_allowed_address_pairs ] }
#snapshot_id: {get_attribute: [VMI_1, allowed_address_pair ] }
#source_volid: {get_attribute: [VMI_1, port_security_enabled ] }
#volume_id: {get_attribute: [VMI_1, address_mode ] }
#volume_type: {get_attribute: [VMI_1, mac ] }
#delete_on_termination: {get_attribute: [VMI_1, ip ] }
#volume_size: {get_attribute: [VMI_1, ip_prefix ] }
#device_type: {get_attribute: [VMI_1, ip_prefix_len ] }
#disk_bus: {get_attribute: [VMI_1, virtual_machine_interface_refs ] }
#swap_size: {get_attribute: [VMI_1, virtual_machine_interface_properties_service_interface_type ] }
created_at: {get_attribute: [VMI_1, fq_name ] }
display_description: {get_attribute: [VMI_1, show ] }
groups:
ep-jsa_net_group:
type: org.openecomp.groups.heat.HeatStack
properties:
heat_file: ../Artifacts/ep-jsa_net.yaml
description: |
Version 2.0 02-09-2016 (Authors: Paul Phillips, pp2854 PROD)
members:
- VMI_1
- FSB1
- FSB1_Port_1
- cmaui_volume_test_compute_properties
- cmaui_volume_test_neutron_port_properties
- cmaui_volume_test_contrailv2_VMI_properties
outputs:
simpleOutput1:
value: {get_attribute: [ FSB1, accessIPv4 ] }
simpleOutput2:
value: {get_attribute: [ FSB1, addresses, key1 ] }
complexOutput1:
value: {get_attribute: [ FSB1, addresses, {get_attribute: [ FSB2_Internal2,tenant_id ] } ]}
complexOutput2:
description: cgi fw01 left interface Mac-Address
value: { get_attribute: [FSB1_Port_1, device_owner, get_input: [CMAUI_volume_type,{get_attribute: [FSB1,user_data_format ] }], 0, "OS-EXT-IPS-MAC:mac_addr"] }
complexOutput3:
description: cgi fw01 left interface Mac-Address
value: { get_input: [a, addresses, get_input: [CMAUI_volume_type, {get_attribute: [FSB1,accessIPv6 ] }], 0, "OS-EXT-IPS-MAC:mac_addr"] }
|