Add IronicDhcpv6StatefulAddressCount parameter

Support fo additional ip address allocations when using
dhcpv6 stateful was added in https://review.opendev.org/700002
and backported to stein in https://review.opendev.org/717205.

This change adds support in the tripleo-heat-templates to
configurie the amount of addresses to allocate.

Closes-Bug: #1872998
Depends-On: https://review.opendev.org/720204
Depends-On: https://review.opendev.org/720441
Change-Id: I675aa165c8580dc1416dfc87613e88940a88491f
(cherry picked from commit 436ebad75d)
This commit is contained in:
Harald Jensås 2020-04-15 16:20:24 +02:00
parent f46bbb9882
commit 6978003601
2 changed files with 18 additions and 0 deletions

View File

@ -236,6 +236,16 @@ parameters:
default: 4
description: The IP version that will be used for PXE booting.
type: string
IronicDhcpv6StatefulAddressCount:
default: 4
description: Number of IPv6 addresses to allocate for ports created for
provisioning, cleaning, rescue or inspection on DHCPv6-stateful
networks. Different stages of the chain-loading process will
request addresses with different CLID/IAID. Due to non-
identical identifiers multiple addresses must be reserved for
the host to ensure each step of the boot process can
successfully lease addresses.
type: string
conditions:
default_deploy_interface_unset: {equals : [{get_param: IronicDefaultDeployInterface}, '']}
@ -404,6 +414,7 @@ outputs:
ironic::neutron::project_name: 'service'
ironic::neutron::user_domain_name: 'Default'
ironic::neutron::project_domain_name: 'Default'
ironic::neutron::dhcpv6_stateful_address_count: {get_param: IronicDhcpv6StatefulAddressCount}
ironic::service_catalog::auth_url: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix]}
ironic::service_catalog::username: 'ironic'
ironic::service_catalog::password: {get_param: IronicPassword}

View File

@ -0,0 +1,7 @@
---
features:
- |
For baremetal operations on DHCPv6-stateful networks multiple IPv6 addresses
can now be allocated for neutron ports created for provisioning, cleaning,
rescue or inspection. The new parameter ``IronicDhcpv6StatefulAddressCount``
controls the number of addresses to allocate.