blob: b49b2ca96f520769fd815656675d987e1d12bd23 (
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
|
heat_template_version: 2013-05-23
description: cmaui server template for vMMSC
parameters:
p1:
type: string
description: UID of OAM network
cmaui_names:
type: comma_delimited_list
description: CMAUI1, CMAUI2 server names
security_group_name:
type: comma_delimited_list
description: CMAUI1, CMAUI2 server names
cmaui_image:
type: string
description: Image for CMAUI server
availability_zone_0:
type: string
label: availabilityzone name
description: availabilityzone name
cmaui_flavor:
type: string
description: Flavor for CMAUI server
shared_network_id:
type: string
description: Flavor for CMAUI server
shared_network_id1:
type: string
description: Flavor for CMAUI server
shared_network_id2:
type: comma_delimited_list
description: Flavor for CMAUI server
cmaui_oam_ips:
type: string
oam_sec_group_name:
type: string
lb_st_interface_type_oam:
type: string
template_PortTuple_LB1:
type: string
lb_st_vlan_type_oam:
description: dummy
type: string
mac_address:
type: string
virtual_ip_address:
type: string
virtual_ipv6_address:
type: string
vlan_ids:
type: string
subinterface_name_prefix:
type: string
subinterface_instance_index:
type: number
resources:
template_VMInt_OAM_lb_1:
type: OS::ContrailV2::VirtualMachineInterface
properties:
virtual_machine_interface_properties:
{
virtual_machine_interface_properties_service_interface_type: { get_param: lb_st_interface_type_oam },
}
virtual_network_refs: [{ get_param: shared_network_id }]
port_tuple_refs: [{ get_param: template_PortTuple_LB1 }]
security_group_refs: [{ get_param: oam_sec_group_name}]
template_VMInt_OAM_lb_2:
type: OS::ContrailV2::VirtualMachineInterface
properties:
virtual_machine_interface_properties:
{
virtual_machine_interface_properties_service_interface_type: { get_param: lb_st_interface_type_oam },
}
virtual_network_refs: [{ get_param: shared_network_id }, { get_param: shared_network_id1 }]
port_tuple_refs: [{ get_param: template_PortTuple_LB1 }]
security_group_refs: [{ get_param: oam_sec_group_name}]
template_VMInt_OAM_lb_3:
type: OS::ContrailV2::VirtualMachineInterface
properties:
virtual_machine_interface_properties:
{
virtual_machine_interface_properties_service_interface_type: { get_param: lb_st_interface_type_oam },
}
virtual_network_refs: [{ get_param: [ shared_network_id2, 0] }]
port_tuple_refs: [{ get_param: template_PortTuple_LB1 }]
security_group_refs: [{ get_param: oam_sec_group_name}]
test_nested1:
type: vlan.yml
properties:
shared_network_id1: { get_param: shared_network_id1}
p2: { get_param: shared_network_id2}
p3: { get_resource: template_VMInt_OAM_lb_1}
p4: { get_resource: template_VMInt_OAM_lb_2}
p5: { get_resource: template_VMInt_OAM_lb_3}
|