openstack-helm/tools/gate/files/heat-public-net-deployment.yaml
portdirect c6b7fc2764 Dev-Deploy: move to k8s DNS addr for private network
This PS moves the DNS nameservers used in the smoketest heat
template to use the k8s DNS on the dev host.

Change-Id: I3a5f9eb2689f01ee2ef216843b80fbe2607eb5bc
2018-02-19 14:26:26 +00:00

43 lines
861 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:
- 10.96.0.10