
This PR updates the yaml linter configuration to align it with what we have in the osh-infra repo. Change-Id: I3585fdc6663b2ae7bfb5c1d8a13672ac3055bf86
62 lines
1.1 KiB
YAML
62 lines
1.1 KiB
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
|
|
|
|
allocation_pool_start:
|
|
type: string
|
|
default: 172.24.4.10
|
|
|
|
allocation_pool_end:
|
|
type: string
|
|
default: 172.24.4.254
|
|
|
|
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:
|
|
- get_param: subnet_gateway
|
|
allocation_pools:
|
|
- start: {get_param: allocation_pool_start}
|
|
end: {get_param: allocation_pool_end}
|
|
...
|