openstack-helm/tools/gate/files/heat-public-net-deployment.yaml
Pete Birley ff6e6d19f9 Gate: Heat functional test
This PS adds a functional test of heat in the OSH gates, it also moves
most params to a seperate file - making config of the gate in non-zuul
environments simpler.

Change-Id: I37a1bc0dcc8000c5da8067a8d376c78f7cd6f7ab
2017-08-21 13:55:53 -05:00

44 lines
876 B
YAML

heat_template_version: 2016-10-14
parameters:
network_name:
type: string
default: public
physical_network_name:
type: string
default: public
subnet_name:
type: string
default: public
subnet_cidr:
type: string
default: 172.24.4.0/24
subnet_gateway:
type: string
default: 172.24.4.1
resources:
public_net:
type: OS::Neutron::ProviderNet
properties:
name: {get_param: network_name}
router_external: true
physical_network: {get_param: physical_network_name}
network_type: flat
private_subnet:
type: OS::Neutron::Subnet
properties:
name: {get_param: subnet_name}
network: { get_resource: public_net }
cidr: {get_param: subnet_cidr}
gateway_ip: {get_param: subnet_gateway}
enable_dhcp: false
dns_nameservers:
- 8.8.8.8
- 8.8.4.4