From 69780036018d2bdd1ad834626703fd844c581189 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Harald=20Jens=C3=A5s?= Date: Wed, 15 Apr 2020 16:20:24 +0200 Subject: [PATCH] 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 436ebad75d53ea9c64a131a0ee92dfdb101d7b9d) --- .../ironic/ironic-conductor-container-puppet.yaml | 11 +++++++++++ ...hcpv6-stateful-address-count-ca568a32f07aec53.yaml | 7 +++++++ 2 files changed, 18 insertions(+) create mode 100644 releasenotes/notes/ironic-dhcpv6-stateful-address-count-ca568a32f07aec53.yaml diff --git a/deployment/ironic/ironic-conductor-container-puppet.yaml b/deployment/ironic/ironic-conductor-container-puppet.yaml index 7f1cdf72c4..62ce45b01b 100644 --- a/deployment/ironic/ironic-conductor-container-puppet.yaml +++ b/deployment/ironic/ironic-conductor-container-puppet.yaml @@ -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} diff --git a/releasenotes/notes/ironic-dhcpv6-stateful-address-count-ca568a32f07aec53.yaml b/releasenotes/notes/ironic-dhcpv6-stateful-address-count-ca568a32f07aec53.yaml new file mode 100644 index 0000000000..941b3e01c9 --- /dev/null +++ b/releasenotes/notes/ironic-dhcpv6-stateful-address-count-ca568a32f07aec53.yaml @@ -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.