From fd4b4306da5645b704f5e1c64857fde6b0ec0cff Mon Sep 17 00:00:00 2001 From: Manuel Rodriguez Date: Wed, 11 Sep 2024 23:09:05 -0400 Subject: [PATCH] include bootstrapExternalStatic* variables in doc Starting in OCP 4.12 there are some variables that allow to statically assign IP/GW in the external net and DNS in 4.14. Also update bootstrapProvisioningIP references for 4.6. --- ansible-ipi-install/inventory/hosts.sample | 20 ++++++++++++++++++- ...ook-modifying-the-inventoryhosts-file.adoc | 20 ++++++++++++++++++- ...-additional-install-config-parameters.adoc | 16 +++++++++++++++ 3 files changed, 54 insertions(+), 2 deletions(-) diff --git a/ansible-ipi-install/inventory/hosts.sample b/ansible-ipi-install/inventory/hosts.sample index 37898a7977..90cdcda754 100644 --- a/ansible-ipi-install/inventory/hosts.sample +++ b/ansible-ipi-install/inventory/hosts.sample @@ -172,10 +172,28 @@ pullsecret="" # (Optional) Enable RedFish VirtualMedia/iDRAC VirtualMedia #enable_virtualmedia=True -# (Required when enable_virtualmedia is set to True) Set an available IP address from the baremetal net for these two variables +# (Required when enable_virtualmedia is set to True in OCP 4.6) Set an available IP address from the baremetal net for these two variables #provisioningHostIP= #bootstrapProvisioningIP= +# (Optional in OCP >= 4.7) Set an available IP address from the provisioning network when provisioning network is enabled. Not used when enable_virtualmedia=True +#bootstrapProvisioningIP= + +# (Optional in OCP >= 4.12 ) Allows to set bootstrapExternalStatic* variables starting. +#static_bootstrap_extnet=false + +# (Optional in OCP >= 4.12 ) Set this parameter to the appropriate IP address on the baremetal network +# when the provisioningNetwork configuration setting is set to Disabled, enable_virtualmedia is set to True and static_bootstrap_extnet is set to True. +#bootstrapExternalStaticIP= + +# (Optional in OCP >= 4.12 ) Set this parameter to the appropriate GW address on the baremetal network +# when the provisioningNetwork configuration setting is set to Disabled, enable_virtualmedia is set to True and static_bootstrap_extnet is set to True. +#bootstrapExternalStaticGateway= + +# (Optional in OCP >= 4.14 ) Set this parameter to the appropriate DNS address on the baremetal network +# when the provisioningNetwork configuration setting is set to Disabled, enable_virtualmedia is set to True and static_bootstrap_extnet is set to True. +#bootstrapExternalStaticDNS= + # (Optional) Change the boot mode of the OpenShift cluster nodes to legacy mode (BIOS). Default is UEFI. #bootmode=legacy diff --git a/documentation/ansible-playbook/modules/ansible-playbook-modifying-the-inventoryhosts-file.adoc b/documentation/ansible-playbook/modules/ansible-playbook-modifying-the-inventoryhosts-file.adoc index c6e4fdaf48..26c504ca92 100644 --- a/documentation/ansible-playbook/modules/ansible-playbook-modifying-the-inventoryhosts-file.adoc +++ b/documentation/ansible-playbook/modules/ansible-playbook-modifying-the-inventoryhosts-file.adoc @@ -164,10 +164,28 @@ pullsecret="" # (Optional) Enable RedFish VirtualMedia/iDRAC VirtualMedia #enable_virtualmedia=True -# (Required when enable_virtualmedia is set to True) Set an available IP address from the baremetal net for these two variables +# (Required when enable_virtualmedia is set to True in OCP 4.6) Set an available IP address from the baremetal net for these two variables #provisioningHostIP= #bootstrapProvisioningIP= +# (Optional in OCP >= 4.7) Set an available IP address from the provisioning network when provisioning network is enabled. Not used when enable_virtualmedia=True +#bootstrapProvisioningIP= + +# (Optional in OCP >= 4.12 ) Allows to set bootstrapExternalStatic* variables starting. +#static_bootstrap_extnet=false + +# (Optional in OCP >= 4.12 ) Set this parameter to the appropriate IP address on the baremetal network +# when the provisioningNetwork configuration setting is set to Disabled, enable_virtualmedia is set to True and static_bootstrap_extnet is set to True. +#bootstrapExternalStaticIP= + +# (Optional in OCP >= 4.12 ) Set this parameter to the appropriate GW address on the baremetal network +# when the provisioningNetwork configuration setting is set to Disabled, enable_virtualmedia is set to True and static_bootstrap_extnet is set to True. +#bootstrapExternalStaticGateway= + +# (Optional in OCP >= 4.14 ) Set this parameter to the appropriate DNS address on the baremetal network +# when the provisioningNetwork configuration setting is set to Disabled, enable_virtualmedia is set to True and static_bootstrap_extnet is set to True. +#bootstrapExternalStaticDNS= + # (Optional) A MAC address to use for the external NIC on the bootstrap VM. This is optional and if blank is generated by libvirt. #externalMACAddress="52:54:00:XX:XX:XX" diff --git a/documentation/ipi-install/modules/ipi-install-additional-install-config-parameters.adoc b/documentation/ipi-install/modules/ipi-install-additional-install-config-parameters.adoc index a62e7102ff..0d8caa85a4 100644 --- a/documentation/ipi-install/modules/ipi-install-additional-install-config-parameters.adoc +++ b/documentation/ipi-install/modules/ipi-install-additional-install-config-parameters.adoc @@ -212,6 +212,22 @@ ifeval::[{product-version} > 4.4] | Set this parameter to the appropriate list of exclusions for proxy usage within your environment. endif::[] +ifeval::[{product-version} >= 4.12] +| `bootstrapExternalStaticIP` +| +| Set this parameter to the appropriate IP address on the `baremetal` network when the `provisioningNetwork` configuration setting is set to `Disabled`. + +| `bootstrapExternalStaticGateway` +| +| Set this parameter to the appropriate GW address on the `baremetal` network when the `provisioningNetwork` configuration setting is set to `Disabled`. +endif::[] + +ifeval::[{product-version} >= 4.14] +| `bootstrapExternalStaticDNS` +| +| Set this parameter to the appropriate DNS address on the `baremetal` network when the `provisioningNetwork` configuration setting is set to `Disabled`. +endif::[] + |=== [id="hoststable"]