blob: 57e3e17abcf648e459adc2d542bb9bb7b9962d43 (
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
|
heat_template_version: 2015-04-30
#FIRSTNET - FW -FGI// Contrail 3.0 Version 2 Template
#AUTHORS: Rajesh Anne (ja702x)
description: >
HOT template to create SecurityGroup//ServerGroup//ServiceTemplate:
#####################
parameters:
#####################
## GLOBAL//Basic Parameters
## OPENECOMP VNF//VM Parameters
vnf_name:
type: string
description: Unique name for this VF instance
# For manual spinups, value must be in the ENV file. Must be removed from ENV before uploading to ASDC
domain:
type: string
description: domain for the ServiceTemplate
# For manual spinups, value must be in the ENV file. Must be removed from ENV before uploading to ASDC
vnf_id:
type: string
description: Unique ID for this VF instance
# For manual spinups, value must be in the ENV file. Must be removed from ENV before uploading to ASDC
vf_module_id:
type: string
description: Unique ID for this VF Module instance
# For manual spinups, value must be in the ENV file. Must be removed from ENV before uploading to ASDC
vf_module_name:
type: string
description: Unique name for this VF Module instance
# For manual spinups, value must be in the ENV file. Must be removed from ENV before uploading to ASDC
## GLOBAL//Network Parameters
sgi_protected_interface_type:
type: string
description: service_interface_type for ServiceInstance
sgi_direct_interface_type:
type: string
description: service_interface_type for ServiceInstance
oam_protected_net_fqdn:
type: string
description: fq_name for the VirtualNetwork
sgi_protected_net_dummy:
type: string
description: name for the VirtualNetwork
sgi_protected_net_dummy1:
type: string
description: name for the VirtualNetwork
sgi_protected_net_dummy_fqdn:
type: string
description: fq_name for the VirtualNetwork
sgi_direct_net_fqdn:
type: string
description: fq_name for the VirtualNetwork
nimbus_hsl_net_fqdn:
type: string
description: fq_name for the VirtualNetwork
oam_protected_interface_type:
type: string
description: service_interface_type for ServiceInstance
nimbus_hsl_interface_type:
type: string
description: service_interface_type for ServiceInstance
## PT//PortTuple Parameters
cgi_fw_pt_vlan_VM1_name_fqdn:
type: json
description: fqdn of the ServiceInstance in PortTuple Resource
cgi_fw_pt_vlan_VM2_name_fqdn:
type: json
description: fqdn of the ServiceInstance in PortTuple Resource
## ST//ServiceTemplate Parameters
cgi_fw_st_version:
type: number
description: version for the ServiceTemplate
constraints:
- range: { min: 0, max: 99 }
description: Must be a number between 0 and 99
cgi_fw_st_mode:
type: string
description: service_mode for the ServiceTemplate
cgi_fw_st_type:
type: string
description: service_type for the ServiceTemplate
cgi_fw_st_virtualization_type:
type: string
description: service_virtualization_type for the ServiceTemplate
## VMI//VirtualMachineInterface ECMP Parameters
cgi_fw_vmi_ecmp_configured:
type: boolean
description: hashing_configured for the VirtualMachineInterface
cgi_fw_vmi_ecmp_src_ip:
type: boolean
description: source_ip for the VirtualMachineInterface
cgi_fw_vmi_ecmp_dst_ip:
type: boolean
description: destination_ip for the VirtualMachineInterface
cgi_fw_vmi_ecmp_ip_protocol:
type: boolean
description: ip_protocol for the VirtualMachineInterface
cgi_fw_vmi_ecmp_src_port:
type: boolean
description: source_port for the VirtualMachineInterface
cgi_fw_vmi_ecmp_dst_port:
type: boolean
description: destination_port for the VirtualMachineInterface
## II//InstanceIp
sgi_direct_family_v6:
type: string
description: IP Family Address for InstanceIp
sgi_direct_subnet_id:
type: string
description: Subnet UUID for InstanceIp
sgi_direct_ipv6_subnet_id:
type: string
description: Subnet UUID for InstanceIp
## VM//NovaServer Parameters
cgi_fw_image_name:
type: string
description: image_name for the ServiceInstance VM
cgi_fw_flavor_name:
type: string
description: flavor for the ServiceInstance VM
availability_zone_0:
type: string
description: availability_zone for the ServiceInstance
availability_zone_1:
type: string
description: availability_zone for the ServiceInstance
cgi_fw_names:
type: comma_delimited_list
label: Firewall VM Name
description: Comma Delimited List of Names for ServiceInstance VMs
cgi_fw_oam_protected_ips:
type: comma_delimited_list
description: the ips of the management network for CGI FW
contrail_vmi_subinterface:
type: string
port_name:
type: string
subinterface_name_prefix:
type: string
#####################
resources:
#####################
template_VMInt_INT1_VLC:
type: OS::Heat::ResourceGroup
properties:
count: 3
resource_def:
type: firstnet_fgi_frwl.yml
properties:
virtual_machine_interface_properties:
{
virtual_machine_interface_properties_service_interface_type: { get_param: contrail_vmi_subinterface },
}
|