1 ##########################################################################
3 #==================LICENSE_START==========================================
6 # Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
8 # Licensed under the Apache License, Version 2.0 (the "License");
9 # you may not use this file except in compliance with the License.
10 # You may obtain a copy of the License at
11 # http://www.apache.org/licenses/LICENSE-2.0
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
19 #==================LICENSE_END============================================
21 # ECOMP is a trademark and service mark of AT&T Intellectual Property.
23 ##########################################################################
25 heat_template_version: 2013-05-23
27 description: Heat template that deploys a private network for ONAP VNFs
36 int_private1_net_cidr:
38 label: Unprotected private network CIDR
39 description: The CIDR of the unprotected private network
40 int_private2_net_cidr:
42 label: Protected private network CIDR
43 description: The CIDR of the protected private network
47 description: Public key to be installed on the compute instance
53 label: VNF software version
54 description: VNF software version
65 type: OS::Nova::KeyPair
69 template: vnfname_key_name
71 vnfname: { get_param: vnf_name }
72 public_key: { get_param: pub_key }
73 save_private_key: false
76 type: OS::Neutron::Net
80 template: vnfname_int_private1_net
82 vnfname: { get_param: vnf_name }
85 type: OS::Neutron::Subnet
89 template: vnfname_int_private1_subnet
91 vnfname: { get_param: vnf_name }
92 network: { get_resource: int_private1_network }
93 cidr: { get_param: int_private1_net_cidr }
96 type: OS::Neutron::Net
100 template: vnfname_int_private2_net
102 vnfname: { get_param: vnf_name }
105 type: OS::Neutron::Subnet
109 template: vnfname_int_private2_subnet
111 vnfname: { get_param: vnf_name }
112 network: { get_resource: int_private2_network }
113 cidr: { get_param: int_private2_net_cidr }
117 value: { get_resource: int_private1_network }
118 int_private1_subnet_id:
119 value: { get_resource: int_private1_subnet }
121 value: { get_resource: int_private2_network }
122 int_private2_subnet_id:
123 value: { get_resource: int_private2_subnet }
124 int_private2_net_cidr:
125 value: { get_param: int_private2_net_cidr }
126 int_private1_net_cidr:
127 value: { get_param: int_private1_net_cidr }
129 value: { get_resource: my_keypair }