From 436ebad75d53ea9c64a131a0ee92dfdb101d7b9d 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 Change-Id: I675aa165c8580dc1416dfc87613e88940a88491f --- .../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 013c33aa4e..0fe775c46c 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.