Fixed ip's for dhcp-relay provision interfaces
The IP addresses for the dhcp-relay service on the provision networks need to be fixed. If we end up using an address on the dhcp-relay instance that overlaps the address range in the Undercloud's provisioning networks we end up with conflicts.
This commit is contained in:
parent
6f5481816f
commit
96a7582143
|
@ -19,6 +19,21 @@ parameters:
|
|||
The base image for the dhcrelay instance. A CentOS 7 image is currently
|
||||
the only one supported.
|
||||
|
||||
dhcp_relay_provision_address:
|
||||
type: string
|
||||
description: DHCP relay address on the provision network subnet
|
||||
default: 192.168.24.253
|
||||
|
||||
dhcp_relay_provision2_address:
|
||||
type: string
|
||||
description: DHCP relay address on the provision2 network subnet
|
||||
default: 192.168.25.253
|
||||
|
||||
dhcp_relay_provision3_address:
|
||||
type: string
|
||||
description: DHCP relay address on the provision3 network subnet
|
||||
default: 192.168.26.253
|
||||
|
||||
dhcp_ips:
|
||||
type: json
|
||||
description: |
|
||||
|
@ -44,6 +59,8 @@ resources:
|
|||
name: dhcp_relay_port_provision
|
||||
network: {get_param: [networks, provision]}
|
||||
port_security_enabled: False
|
||||
fixed_ips:
|
||||
- ip_address: {get_param: dhcp_relay_provision_address}
|
||||
|
||||
dhcp_relay_port_provision2:
|
||||
type: OS::Neutron::Port
|
||||
|
@ -51,6 +68,8 @@ resources:
|
|||
name: dhcp_relay_port_provision2
|
||||
network: {get_param: [networks, provision2]}
|
||||
port_security_enabled: False
|
||||
fixed_ips:
|
||||
- ip_address: {get_param: dhcp_relay_provision2_address}
|
||||
|
||||
dhcp_relay_port_provision3:
|
||||
type: OS::Neutron::Port
|
||||
|
@ -58,6 +77,8 @@ resources:
|
|||
name: dhcp_relay_port_provision3
|
||||
network: {get_param: [networks, provision3]}
|
||||
port_security_enabled: False
|
||||
fixed_ips:
|
||||
- ip_address: {get_param: dhcp_relay_provision3_address}
|
||||
|
||||
init_networks:
|
||||
type: OS::Heat::CloudConfig
|
||||
|
|
Loading…
Reference in New Issue