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
60 type: OS::Nova::KeyPair
64 template: vnfname_key_name
66 vnfname: { get_param: vnf_name }
67 public_key: { get_param: pub_key }
68 save_private_key: false
71 type: OS::Neutron::Net
75 template: vnfname_int_private1_net
77 vnfname: { get_param: vnf_name }
80 type: OS::Neutron::Subnet
84 template: vnfname_int_private1_subnet
86 vnfname: { get_param: vnf_name }
87 network: { get_resource: int_private1_network }
88 cidr: { get_param: int_private1_net_cidr }
91 type: OS::Neutron::Net
95 template: vnfname_int_private2_net
97 vnfname: { get_param: vnf_name }
100 type: OS::Neutron::Subnet
104 template: vnfname_int_private2_subnet
106 vnfname: { get_param: vnf_name }
107 network: { get_resource: int_private2_network }
108 cidr: { get_param: int_private2_net_cidr }
112 value: { get_resource: int_private1_network }
113 int_private1_subnet_id:
114 value: { get_resource: int_private1_subnet }
116 value: { get_resource: int_private2_network }
117 int_private2_subnet_id:
118 value: { get_resource: int_private2_subnet }
119 int_private2_net_cidr:
120 value: { get_param: int_private2_net_cidr }
121 int_private1_net_cidr:
122 value: { get_param: int_private1_net_cidr }
124 value: { get_resource: my_keypair }