@openshift-assisted/ui-lib 2.17.1-cim → 2.18.0-cim

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1122) hide show
  1. package/build/@types/cim/components/Agent/BMHEventsModal.d.ts.map +1 -1
  2. package/build/@types/cim/components/Agent/BMHStatusInfo.d.ts.map +1 -1
  3. package/build/@types/cim/components/Agent/MinimalHWRequirements.d.ts.map +1 -1
  4. package/build/@types/cim/components/Agent/NoAgentsAlert.d.ts.map +1 -1
  5. package/build/@types/cim/components/Agent/tableColumns.d.ts.map +1 -1
  6. package/build/@types/cim/components/Agent/tableUtils.d.ts +2 -1
  7. package/build/@types/cim/components/Agent/tableUtils.d.ts.map +1 -1
  8. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardContext.d.ts +1 -1
  9. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardContext.d.ts.map +1 -1
  10. package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.d.ts.map +1 -1
  11. package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.d.ts +0 -1
  12. package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.d.ts.map +1 -1
  13. package/build/@types/cim/components/ClusterDeployment/components/ClusterDeploymentHostsSelectionAdvanced.d.ts.map +1 -1
  14. package/build/@types/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.d.ts.map +1 -1
  15. package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.d.ts +1 -1
  16. package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.d.ts.map +1 -1
  17. package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapForm.d.ts.map +1 -1
  18. package/build/@types/cim/components/ClusterDeployment/helpers.d.ts.map +1 -1
  19. package/build/@types/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.d.ts.map +1 -1
  20. package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.d.ts.map +1 -1
  21. package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionAdvanced.d.ts.map +1 -1
  22. package/build/@types/cim/components/ClusterDeployment/review/ReviewConfigMapsTable.d.ts.map +1 -1
  23. package/build/@types/cim/components/ClusterDeployment/use-networking-formik.d.ts +1 -1
  24. package/build/@types/cim/components/ClusterDeployment/use-networking-formik.d.ts.map +1 -1
  25. package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts +1 -1
  26. package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts.map +1 -1
  27. package/build/@types/cim/components/Hypershift/DetailsPage/ConditionsTable.d.ts.map +1 -1
  28. package/build/@types/cim/components/Hypershift/DetailsPage/HostedClusterProgress.d.ts.map +1 -1
  29. package/build/@types/cim/components/Hypershift/DetailsPage/NodePoolsProgress.d.ts.map +1 -1
  30. package/build/@types/cim/components/Hypershift/DetailsPage/NodePoolsTable.d.ts +1 -0
  31. package/build/@types/cim/components/Hypershift/DetailsPage/NodePoolsTable.d.ts.map +1 -1
  32. package/build/@types/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.d.ts.map +1 -1
  33. package/build/@types/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.d.ts.map +1 -1
  34. package/build/@types/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.d.ts.map +1 -1
  35. package/build/@types/cim/components/Hypershift/hooks/useTemptiflySync.d.ts.map +1 -1
  36. package/build/@types/cim/components/Hypershift/utils/labels.d.ts.map +1 -1
  37. package/build/@types/cim/components/Hypershift/utils/status.d.ts +2 -2
  38. package/build/@types/cim/components/Hypershift/utils/status.d.ts.map +1 -1
  39. package/build/@types/cim/components/InfraEnv/EnvironmentDetails.d.ts.map +1 -1
  40. package/build/@types/cim/components/InfraEnv/InfraEnvFormPage.d.ts +1 -1
  41. package/build/@types/cim/components/InfraEnv/InfraEnvFormPage.d.ts.map +1 -1
  42. package/build/@types/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.d.ts.map +1 -1
  43. package/build/@types/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.d.ts.map +1 -1
  44. package/build/@types/cim/components/YamlPreview/YamlPreview.d.ts +1 -1
  45. package/build/@types/cim/components/YamlPreview/YamlPreview.d.ts.map +1 -1
  46. package/build/@types/cim/components/common/CpuArchitectureDropdown.d.ts +2 -2
  47. package/build/@types/cim/components/common/CpuArchitectureDropdown.d.ts.map +1 -1
  48. package/build/@types/cim/components/common/SpecSyncErrAlert.d.ts.map +1 -1
  49. package/build/@types/cim/components/helpers/agentStatus.d.ts +1 -1
  50. package/build/@types/cim/components/helpers/agentStatus.d.ts.map +1 -1
  51. package/build/@types/cim/components/helpers/status.d.ts +1 -1
  52. package/build/@types/cim/components/helpers/status.d.ts.map +1 -1
  53. package/build/@types/cim/components/helpers/toAssisted.d.ts +3 -3
  54. package/build/@types/cim/components/helpers/toAssisted.d.ts.map +1 -1
  55. package/build/@types/cim/components/helpers/versions.d.ts +1 -1
  56. package/build/@types/cim/components/helpers/versions.d.ts.map +1 -1
  57. package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationFormFields.d.ts.map +1 -1
  58. package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationModal.d.ts.map +1 -1
  59. package/build/@types/cim/components/modals/CimConfiguration/persist.d.ts +2 -2
  60. package/build/@types/cim/components/modals/CimConfiguration/persist.d.ts.map +1 -1
  61. package/build/@types/cim/components/modals/CimConfiguration/types.d.ts +1 -1
  62. package/build/@types/cim/components/modals/CimConfiguration/utils.d.ts +4 -4
  63. package/build/@types/cim/components/modals/CimConfiguration/utils.d.ts.map +1 -1
  64. package/build/@types/cim/components/modals/EditProxyModal.d.ts.map +1 -1
  65. package/build/@types/cim/components/modals/EditSSHKeyModal.d.ts.map +1 -1
  66. package/build/@types/cim/components/modals/MassApproveAgentModal.d.ts.map +1 -1
  67. package/build/@types/cim/components/modals/MassDeleteAgentModal.d.ts.map +1 -1
  68. package/build/@types/cim/components/modals/ProvisioningConfigErrorAlert.d.ts.map +1 -1
  69. package/build/@types/cim/components/modals/utils.d.ts.map +1 -1
  70. package/build/@types/cim/utils.d.ts +1 -1
  71. package/build/@types/cim/utils.d.ts.map +1 -1
  72. package/build/@types/common/api/assisted-service/ClustersAPI.d.ts +0 -4
  73. package/build/@types/common/api/assisted-service/ClustersAPI.d.ts.map +1 -1
  74. package/build/@types/common/api/axiosClient.d.ts.map +1 -1
  75. package/build/@types/common/components/AddHosts/AddHostsContext.d.ts +1 -1
  76. package/build/@types/common/components/AddHosts/AddHostsContext.d.ts.map +1 -1
  77. package/build/@types/common/components/AlertsContextProvider.d.ts +1 -1
  78. package/build/@types/common/components/AlertsContextProvider.d.ts.map +1 -1
  79. package/build/@types/common/components/ErrorHandling/ErrorMonitorContext.d.ts +1 -1
  80. package/build/@types/common/components/ErrorHandling/ErrorMonitorContext.d.ts.map +1 -1
  81. package/build/@types/common/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts +3 -3
  82. package/build/@types/common/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -1
  83. package/build/@types/common/components/clusterConfiguration/DiscoveryImageConfigForm.d.ts +1 -1
  84. package/build/@types/common/components/clusterConfiguration/DiscoveryImageConfigForm.d.ts.map +1 -1
  85. package/build/@types/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.d.ts.map +1 -1
  86. package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/TangServers.d.ts.map +1 -1
  87. package/build/@types/common/components/clusterConfiguration/ExternalPlatformsDropdown.d.ts.map +1 -1
  88. package/build/@types/common/components/clusterConfiguration/ProxyFields.d.ts.map +1 -1
  89. package/build/@types/common/components/clusterConfiguration/utils.d.ts.map +1 -1
  90. package/build/@types/common/components/clusterDetail/ClusterProgressItem.d.ts.map +1 -1
  91. package/build/@types/common/components/clusterDetail/FinalizingProgress.d.ts +1 -1
  92. package/build/@types/common/components/clusterDetail/FinalizingProgress.d.ts.map +1 -1
  93. package/build/@types/common/components/clusterDetail/OperatorsProgressItem.d.ts.map +1 -1
  94. package/build/@types/common/components/clusterDetail/ProgressBarTexts.d.ts.map +1 -1
  95. package/build/@types/common/components/clusterWizard/ClusterWizardStepHeader.d.ts +1 -1
  96. package/build/@types/common/components/clusterWizard/ClusterWizardStepHeader.d.ts.map +1 -1
  97. package/build/@types/common/components/clusterWizard/ClusterWizardStepValidationsAlert.d.ts.map +1 -1
  98. package/build/@types/common/components/clusterWizard/ReviewHostsInventory.d.ts +1 -1
  99. package/build/@types/common/components/clusterWizard/ReviewHostsInventory.d.ts.map +1 -1
  100. package/build/@types/common/components/clusterWizard/ReviewValidations.d.ts.map +1 -1
  101. package/build/@types/common/components/clusterWizard/clusterDetailsValidation.d.ts +6 -6
  102. package/build/@types/common/components/clusterWizard/clusterDetailsValidation.d.ts.map +1 -1
  103. package/build/@types/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.d.ts.map +1 -1
  104. package/build/@types/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.d.ts.map +1 -1
  105. package/build/@types/common/components/clusterWizard/validationsInfoUtils.d.ts +3 -3
  106. package/build/@types/common/components/clusterWizard/validationsInfoUtils.d.ts.map +1 -1
  107. package/build/@types/common/components/clusters/PullSecret.d.ts +2 -0
  108. package/build/@types/common/components/clusters/PullSecret.d.ts.map +1 -1
  109. package/build/@types/common/components/hosts/AITable.d.ts +1 -22
  110. package/build/@types/common/components/hosts/AITable.d.ts.map +1 -1
  111. package/build/@types/common/components/hosts/AdditionalNTPSourcesDialog.d.ts.map +1 -1
  112. package/build/@types/common/components/hosts/EditHostForm.d.ts.map +1 -1
  113. package/build/@types/common/components/hosts/HostProgress.d.ts.map +1 -1
  114. package/build/@types/common/components/hosts/HostPropertyValidationPopover.d.ts +1 -1
  115. package/build/@types/common/components/hosts/HostPropertyValidationPopover.d.ts.map +1 -1
  116. package/build/@types/common/components/hosts/HostStatus.d.ts +1 -1
  117. package/build/@types/common/components/hosts/HostStatus.d.ts.map +1 -1
  118. package/build/@types/common/components/hosts/HostValidationGroups.d.ts.map +1 -1
  119. package/build/@types/common/components/hosts/Hostname.d.ts.map +1 -1
  120. package/build/@types/common/components/hosts/HostsTableDetailContext.d.ts +1 -1
  121. package/build/@types/common/components/hosts/HostsTableDetailContext.d.ts.map +1 -1
  122. package/build/@types/common/components/hosts/MassChangeHostnameModal.d.ts.map +1 -1
  123. package/build/@types/common/components/hosts/TableToolbar.d.ts +1 -1
  124. package/build/@types/common/components/hosts/TableToolbar.d.ts.map +1 -1
  125. package/build/@types/common/components/hosts/VMRebootConfigurationInfo.d.ts.map +1 -1
  126. package/build/@types/common/components/hosts/status.d.ts.map +1 -1
  127. package/build/@types/common/components/hosts/tableUtils.d.ts.map +1 -1
  128. package/build/@types/common/components/hosts/usePagination.d.ts +1 -1
  129. package/build/@types/common/components/hosts/usePagination.d.ts.map +1 -1
  130. package/build/@types/common/components/operators/operatorSpecs.d.ts +1 -1
  131. package/build/@types/common/components/operators/operatorSpecs.d.ts.map +1 -1
  132. package/build/@types/common/components/storage/DisksTable.d.ts.map +1 -1
  133. package/build/@types/common/components/storage/StorageUtils.d.ts +1 -1
  134. package/build/@types/common/components/storage/StorageUtils.d.ts.map +1 -1
  135. package/build/@types/common/components/ui/Alerts.d.ts +1 -1
  136. package/build/@types/common/components/ui/Alerts.d.ts.map +1 -1
  137. package/build/@types/common/components/ui/CustomToolbarFilter.d.ts.map +1 -1
  138. package/build/@types/common/components/ui/GridGap.d.ts +1 -1
  139. package/build/@types/common/components/ui/GridGap.d.ts.map +1 -1
  140. package/build/@types/common/components/ui/OpenShiftSelectWithSearch.d.ts.map +1 -1
  141. package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts +2 -4
  142. package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts.map +1 -1
  143. package/build/@types/common/components/ui/OpenShiftVersionModal.d.ts +2 -2
  144. package/build/@types/common/components/ui/OpenShiftVersionModal.d.ts.map +1 -1
  145. package/build/@types/common/components/ui/StaticTextField.d.ts +3 -3
  146. package/build/@types/common/components/ui/StaticTextField.d.ts.map +1 -1
  147. package/build/@types/common/components/ui/Toolbar/ToolbarSecondaryGroup.d.ts +1 -1
  148. package/build/@types/common/components/ui/Toolbar/ToolbarSecondaryGroup.d.ts.map +1 -1
  149. package/build/@types/common/components/ui/WizardNavItem.d.ts.map +1 -1
  150. package/build/@types/common/components/ui/formik/CertificatesUploadField.d.ts +1 -1
  151. package/build/@types/common/components/ui/formik/CertificatesUploadField.d.ts.map +1 -1
  152. package/build/@types/common/components/ui/formik/InputField.d.ts +2 -2
  153. package/build/@types/common/components/ui/formik/InputField.d.ts.map +1 -1
  154. package/build/@types/common/components/ui/formik/LabelField.d.ts +7 -4
  155. package/build/@types/common/components/ui/formik/LabelField.d.ts.map +1 -1
  156. package/build/@types/common/components/ui/formik/NumberInputField.d.ts +1 -1
  157. package/build/@types/common/components/ui/formik/NumberInputField.d.ts.map +1 -1
  158. package/build/@types/common/components/ui/formik/PullSecretField.d.ts.map +1 -1
  159. package/build/@types/common/components/ui/formik/RemovableField.d.ts.map +1 -1
  160. package/build/@types/common/components/ui/formik/RichInputField.d.ts.map +1 -1
  161. package/build/@types/common/components/ui/formik/SelectFieldWithSearch.d.ts +3 -3
  162. package/build/@types/common/components/ui/formik/SelectFieldWithSearch.d.ts.map +1 -1
  163. package/build/@types/common/components/ui/formik/TextAreaField.d.ts +1 -1
  164. package/build/@types/common/components/ui/formik/TextAreaField.d.ts.map +1 -1
  165. package/build/@types/common/components/ui/formik/UploadField.d.ts +1 -1
  166. package/build/@types/common/components/ui/formik/UploadField.d.ts.map +1 -1
  167. package/build/@types/common/components/ui/formik/index.d.ts +0 -2
  168. package/build/@types/common/components/ui/formik/index.d.ts.map +1 -1
  169. package/build/@types/common/components/ui/formik/utils.d.ts +1 -1
  170. package/build/@types/common/components/ui/formik/utils.d.ts.map +1 -1
  171. package/build/@types/common/components/ui/index.d.ts +0 -1
  172. package/build/@types/common/components/ui/index.d.ts.map +1 -1
  173. package/build/@types/common/components/ui/utils.d.ts +3 -0
  174. package/build/@types/common/components/ui/utils.d.ts.map +1 -1
  175. package/build/@types/common/config/constants.d.ts +2 -2
  176. package/build/@types/common/config/constants.d.ts.map +1 -1
  177. package/build/@types/common/config/docs_links.d.ts +1 -0
  178. package/build/@types/common/config/docs_links.d.ts.map +1 -1
  179. package/build/@types/common/features/featureGate.d.ts +2 -2
  180. package/build/@types/common/features/featureGate.d.ts.map +1 -1
  181. package/build/@types/common/hooks/useDeepCompareMemoize.d.ts.map +1 -1
  182. package/build/@types/common/hooks/useFormikHelpers.d.ts.map +1 -1
  183. package/build/@types/common/hooks/useStateSafely.d.ts.map +1 -1
  184. package/build/@types/common/index.d.ts +1 -0
  185. package/build/@types/common/index.d.ts.map +1 -1
  186. package/build/@types/common/types/index.d.ts +1 -0
  187. package/build/@types/common/types/index.d.ts.map +1 -1
  188. package/build/@types/common/types/networkType.d.ts +12 -0
  189. package/build/@types/common/types/networkType.d.ts.map +1 -0
  190. package/build/@types/common/types/ui-settings.d.ts +0 -1
  191. package/build/@types/common/types/ui-settings.d.ts.map +1 -1
  192. package/build/@types/common/utils.d.ts +2 -2
  193. package/build/@types/common/utils.d.ts.map +1 -1
  194. package/build/@types/common/validationSchemas/addressValidation.d.ts +18 -0
  195. package/build/@types/common/validationSchemas/addressValidation.d.ts.map +1 -0
  196. package/build/@types/common/validationSchemas/clusterDetailsValidation.d.ts +8 -0
  197. package/build/@types/common/validationSchemas/clusterDetailsValidation.d.ts.map +1 -0
  198. package/build/@types/common/{components/ui/formik → validationSchemas}/constants.d.ts +1 -3
  199. package/build/@types/common/validationSchemas/constants.d.ts.map +1 -0
  200. package/build/@types/common/validationSchemas/hostnameValidation.d.ts +4 -0
  201. package/build/@types/common/validationSchemas/hostnameValidation.d.ts.map +1 -0
  202. package/build/@types/common/validationSchemas/index.d.ts +11 -0
  203. package/build/@types/common/validationSchemas/index.d.ts.map +1 -0
  204. package/build/@types/common/validationSchemas/networkingValidation.d.ts +18 -0
  205. package/build/@types/common/validationSchemas/networkingValidation.d.ts.map +1 -0
  206. package/build/@types/common/validationSchemas/ntpValidation.d.ts +4 -0
  207. package/build/@types/common/validationSchemas/ntpValidation.d.ts.map +1 -0
  208. package/build/@types/common/validationSchemas/proxyValidation.d.ts +11 -0
  209. package/build/@types/common/validationSchemas/proxyValidation.d.ts.map +1 -0
  210. package/build/@types/common/validationSchemas/pullSecretValidation.d.ts +4 -0
  211. package/build/@types/common/validationSchemas/pullSecretValidation.d.ts.map +1 -0
  212. package/build/@types/common/validationSchemas/regexes.d.ts +14 -0
  213. package/build/@types/common/validationSchemas/regexes.d.ts.map +1 -0
  214. package/build/@types/common/validationSchemas/sshValidation.d.ts +5 -0
  215. package/build/@types/common/validationSchemas/sshValidation.d.ts.map +1 -0
  216. package/build/@types/common/validationSchemas/utils.d.ts +7 -0
  217. package/build/@types/common/validationSchemas/utils.d.ts.map +1 -0
  218. package/build/@types/ocm/components/AddHosts/InventoryAddHost.d.ts +1 -1
  219. package/build/@types/ocm/components/AddHosts/InventoryAddHost.d.ts.map +1 -1
  220. package/build/@types/ocm/components/AddHosts/day2Wizard/Day2DiscoveryImageModalButton.d.ts.map +1 -1
  221. package/build/@types/ocm/components/AddHosts/day2Wizard/Day2StaticIP.d.ts.map +1 -1
  222. package/build/@types/ocm/components/AddHosts/day2Wizard/Day2StaticIpHostConfigurations.d.ts.map +1 -1
  223. package/build/@types/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContentErrors.d.ts.map +1 -1
  224. package/build/@types/ocm/components/Routes.d.ts +1 -2
  225. package/build/@types/ocm/components/Routes.d.ts.map +1 -1
  226. package/build/@types/ocm/components/SentryErrorMonitorContextProvider.d.ts +1 -1
  227. package/build/@types/ocm/components/SentryErrorMonitorContextProvider.d.ts.map +1 -1
  228. package/build/@types/ocm/components/clusterConfiguration/ClusterDefaultConfigurationContext.d.ts +1 -1
  229. package/build/@types/ocm/components/clusterConfiguration/ClusterDefaultConfigurationContext.d.ts.map +1 -1
  230. package/build/@types/ocm/components/clusterConfiguration/HostInventory.d.ts.map +1 -1
  231. package/build/@types/ocm/components/clusterConfiguration/InformationAndAlerts.d.ts.map +1 -1
  232. package/build/@types/ocm/components/clusterConfiguration/OcmBaseDomainField.d.ts +2 -2
  233. package/build/@types/ocm/components/clusterConfiguration/OcmBaseDomainField.d.ts.map +1 -1
  234. package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts +3 -7
  235. package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts.map +1 -1
  236. package/build/@types/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.d.ts.map +1 -1
  237. package/build/@types/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.d.ts +2 -3
  238. package/build/@types/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.d.ts.map +1 -1
  239. package/build/@types/ocm/components/clusterConfiguration/OcmOperatorProgressItem.d.ts.map +1 -1
  240. package/build/@types/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.d.ts.map +1 -1
  241. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.d.ts.map +1 -1
  242. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/DeleteCustomManifestModal.d.ts.map +1 -1
  243. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifest.d.ts.map +1 -1
  244. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifests.d.ts.map +1 -1
  245. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.d.ts.map +1 -1
  246. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/customManifestsValidationSchema.d.ts +2 -1
  247. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/customManifestsValidationSchema.d.ts.map +1 -1
  248. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.d.ts.map +1 -1
  249. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.d.ts.map +1 -1
  250. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkTypeDropdown.d.ts +8 -0
  251. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkTypeDropdown.d.ts.map +1 -0
  252. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.d.ts +2 -1
  253. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.d.ts.map +1 -1
  254. package/build/@types/ocm/components/clusterConfiguration/operators/OperatorCheckbox.d.ts +2 -2
  255. package/build/@types/ocm/components/clusterConfiguration/operators/OperatorCheckbox.d.ts.map +1 -1
  256. package/build/@types/ocm/components/clusterConfiguration/operators/bundleSpecs.d.ts.map +1 -1
  257. package/build/@types/ocm/components/clusterConfiguration/operators/utils.d.ts.map +1 -1
  258. package/build/@types/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.d.ts.map +1 -1
  259. package/build/@types/ocm/components/clusterConfiguration/review/ReviewClusterDetailTable.d.ts.map +1 -1
  260. package/build/@types/ocm/components/clusterConfiguration/review/ReviewCustomManifestsTable.d.ts.map +1 -1
  261. package/build/@types/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.d.ts.map +1 -1
  262. package/build/@types/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.d.ts.map +1 -1
  263. package/build/@types/ocm/components/clusterConfiguration/review/ReviewPlatformTable.d.ts.map +1 -1
  264. package/build/@types/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.d.ts.map +1 -1
  265. package/build/@types/ocm/components/clusterConfiguration/review/ReviewStep.d.ts.map +1 -1
  266. package/build/@types/ocm/components/clusterConfiguration/review/ReviewSummary.d.ts.map +1 -1
  267. package/build/@types/ocm/components/clusterConfiguration/review/TableSummaryExpandable.d.ts +1 -1
  268. package/build/@types/ocm/components/clusterConfiguration/review/TableSummaryExpandable.d.ts.map +1 -1
  269. package/build/@types/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.d.ts.map +1 -1
  270. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHosts.d.ts.map +1 -1
  271. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/formViewHostsValidationSchema.d.ts +2 -1
  272. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/formViewHostsValidationSchema.d.ts.map +1 -1
  273. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWideFields.d.ts.map +1 -1
  274. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.d.ts +1 -1
  275. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.d.ts.map +1 -1
  276. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.d.ts.map +1 -1
  277. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.d.ts.map +1 -1
  278. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/YamlView/MacIpMapping.d.ts.map +1 -1
  279. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlView.d.ts.map +1 -1
  280. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/YamlView/yamlViewValidationSchema.d.ts +2 -1
  281. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/YamlView/yamlViewValidationSchema.d.ts.map +1 -1
  282. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/propTypes.d.ts +1 -1
  283. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/propTypes.d.ts.map +1 -1
  284. package/build/@types/ocm/components/clusterDetail/ClusterPollingErrorModal.d.ts +2 -2
  285. package/build/@types/ocm/components/clusterDetail/ClusterPollingErrorModal.d.ts.map +1 -1
  286. package/build/@types/ocm/components/clusterDetail/ClusterProperties.d.ts.map +1 -1
  287. package/build/@types/ocm/components/clusterDetail/HostInventoryExpandable.d.ts +1 -1
  288. package/build/@types/ocm/components/clusterDetail/HostInventoryExpandable.d.ts.map +1 -1
  289. package/build/@types/ocm/components/clusterDetail/OpenShiftVersionDetail.d.ts.map +1 -1
  290. package/build/@types/ocm/components/clusterDetail/ResetClusterModal.d.ts.map +1 -1
  291. package/build/@types/ocm/components/clusterWizard/ClusterDetails.d.ts.map +1 -1
  292. package/build/@types/ocm/components/clusterWizard/ClusterDetailsForm.d.ts +2 -2
  293. package/build/@types/ocm/components/clusterWizard/ClusterDetailsForm.d.ts.map +1 -1
  294. package/build/@types/ocm/components/clusterWizard/ClusterWizardContext.d.ts +0 -5
  295. package/build/@types/ocm/components/clusterWizard/ClusterWizardContext.d.ts.map +1 -1
  296. package/build/@types/ocm/components/clusterWizard/ClusterWizardContextProvider.d.ts +4 -4
  297. package/build/@types/ocm/components/clusterWizard/ClusterWizardContextProvider.d.ts.map +1 -1
  298. package/build/@types/ocm/components/clusterWizard/ClusterWizardFooter.d.ts +1 -2
  299. package/build/@types/ocm/components/clusterWizard/ClusterWizardFooter.d.ts.map +1 -1
  300. package/build/@types/ocm/components/clusterWizard/ClusterWizardNavigation.d.ts +1 -1
  301. package/build/@types/ocm/components/clusterWizard/ClusterWizardNavigation.d.ts.map +1 -1
  302. package/build/@types/ocm/components/clusterWizard/CustomManifestStep.d.ts.map +1 -1
  303. package/build/@types/ocm/components/clusterWizard/HostDiscovery.d.ts.map +1 -1
  304. package/build/@types/ocm/components/clusterWizard/NewClusterWizard.d.ts.map +1 -1
  305. package/build/@types/ocm/components/clusterWizard/OpenShiftVersionsContext.d.ts.map +1 -1
  306. package/build/@types/ocm/components/clusterWizard/Operators.d.ts.map +1 -1
  307. package/build/@types/ocm/components/clusterWizard/OperatorsBundle.d.ts +1 -1
  308. package/build/@types/ocm/components/clusterWizard/OperatorsBundle.d.ts.map +1 -1
  309. package/build/@types/ocm/components/clusterWizard/OperatorsSelect.d.ts +1 -1
  310. package/build/@types/ocm/components/clusterWizard/OperatorsSelect.d.ts.map +1 -1
  311. package/build/@types/ocm/components/clusterWizard/Storage.d.ts.map +1 -1
  312. package/build/@types/ocm/components/clusterWizard/constants.d.ts.map +1 -1
  313. package/build/@types/ocm/components/clusterWizard/disconnected/BasicStep.d.ts.map +1 -1
  314. package/build/@types/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.d.ts +1 -1
  315. package/build/@types/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.d.ts.map +1 -1
  316. package/build/@types/ocm/components/clusterWizard/disconnected/ReviewStep.d.ts.map +1 -1
  317. package/build/@types/ocm/components/clusterWizard/index.d.ts +0 -1
  318. package/build/@types/ocm/components/clusterWizard/index.d.ts.map +1 -1
  319. package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts +2 -2
  320. package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts.map +1 -1
  321. package/build/@types/ocm/components/clusters/ClusterBreadcrumbs.d.ts +1 -1
  322. package/build/@types/ocm/components/clusters/ClusterBreadcrumbs.d.ts.map +1 -1
  323. package/build/@types/ocm/components/clusters/ClusterPage.d.ts.map +1 -1
  324. package/build/@types/ocm/components/clusters/ClusterStatus.d.ts.map +1 -1
  325. package/build/@types/ocm/components/clusters/ClusterToolbar.d.ts +1 -1
  326. package/build/@types/ocm/components/clusters/ClusterToolbar.d.ts.map +1 -1
  327. package/build/@types/ocm/components/clusters/clusterPolling.d.ts.map +1 -1
  328. package/build/@types/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.d.ts.map +1 -1
  329. package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts.map +1 -1
  330. package/build/@types/ocm/components/hosts/HardwareStatus.d.ts +2 -2
  331. package/build/@types/ocm/components/hosts/HardwareStatus.d.ts.map +1 -1
  332. package/build/@types/ocm/components/hosts/HostsStorageTable.d.ts.map +1 -1
  333. package/build/@types/ocm/components/hosts/ModalDialogsContext.d.ts +1 -1
  334. package/build/@types/ocm/components/hosts/ModalDialogsContext.d.ts.map +1 -1
  335. package/build/@types/ocm/components/hosts/StorageAlerts.d.ts.map +1 -1
  336. package/build/@types/ocm/components/hosts/UpdateDay2ApiVipForm.d.ts.map +1 -1
  337. package/build/@types/ocm/components/hosts/utils.d.ts.map +1 -1
  338. package/build/@types/ocm/components/ui/AssistedUILibVersion.d.ts +1 -1
  339. package/build/@types/ocm/components/ui/AssistedUILibVersion.d.ts.map +1 -1
  340. package/build/@types/ocm/components/ui/InfoLinkWithModal.d.ts.map +1 -1
  341. package/build/@types/ocm/hooks/usePullSecret.d.ts +1 -1
  342. package/build/@types/ocm/hooks/usePullSecret.d.ts.map +1 -1
  343. package/build/@types/ocm/hooks/useUISettings.d.ts.map +1 -1
  344. package/build/@types/ocm/services/ClusterDetailsService.d.ts +6 -7
  345. package/build/@types/ocm/services/ClusterDetailsService.d.ts.map +1 -1
  346. package/build/@types/ocm/services/ClustersService.d.ts +0 -4
  347. package/build/@types/ocm/services/ClustersService.d.ts.map +1 -1
  348. package/build/@types/ocm/services/types.d.ts +1 -2
  349. package/build/@types/ocm/services/types.d.ts.map +1 -1
  350. package/build/@types/ocm/store/hooks.d.ts +1 -1
  351. package/build/@types/ocm/store/slices/clusters/selectors.d.ts +1 -2
  352. package/build/@types/ocm/store/slices/clusters/selectors.d.ts.map +1 -1
  353. package/build/@types/ocm/store/slices/clusters/slice.d.ts +1 -1
  354. package/build/@types/ocm/store/slices/clusters/slice.d.ts.map +1 -1
  355. package/build/@types/ocm/store/slices/current-cluster/slice.d.ts +5 -5
  356. package/build/@types/ocm/store/slices/current-cluster/slice.d.ts.map +1 -1
  357. package/build/@types/ocm/store/slices/current-user/slice.d.ts +1 -1
  358. package/build/@types/ocm/store/slices/current-user/slice.d.ts.map +1 -1
  359. package/build/@types/ocm/store/slices/feature-flags/slice.d.ts +1 -1
  360. package/build/@types/ocm/store/slices/feature-flags/slice.d.ts.map +1 -1
  361. package/build/@types/ocm/store/slices/infra-envs/slice.d.ts +1 -1
  362. package/build/@types/ocm/store/slices/infra-envs/slice.d.ts.map +1 -1
  363. package/build/@types/ocm/store/store-day1.d.ts +1 -1
  364. package/build/@types/ocm/store/store-day1.d.ts.map +1 -1
  365. package/build/cjs/cim/components/Agent/AgentsSelectionHostCountAlerts.js.map +1 -1
  366. package/build/cjs/cim/components/Agent/AgentsSelectionTable.js.map +1 -1
  367. package/build/cjs/cim/components/Agent/AgentsSelectionUtils.js.map +1 -1
  368. package/build/cjs/cim/components/Agent/BMCForm.js +4 -4
  369. package/build/cjs/cim/components/Agent/BMCForm.js.map +1 -1
  370. package/build/cjs/cim/components/Agent/BMHEventsModal.js.map +1 -1
  371. package/build/cjs/cim/components/Agent/BMHStatusInfo.js +4 -4
  372. package/build/cjs/cim/components/Agent/BMHStatusInfo.js.map +1 -1
  373. package/build/cjs/cim/components/Agent/MinimalHWRequirements.js +2 -2
  374. package/build/cjs/cim/components/Agent/MinimalHWRequirements.js.map +1 -1
  375. package/build/cjs/cim/components/Agent/tableColumns.js +1 -1
  376. package/build/cjs/cim/components/Agent/tableColumns.js.map +1 -1
  377. package/build/cjs/cim/components/Agent/tableUtils.js.map +1 -1
  378. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentCredentials.js.map +1 -1
  379. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentKubeconfigDownload.js.map +1 -1
  380. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentValidationsOverview.js.map +1 -1
  381. package/build/cjs/cim/components/ClusterDeployment/LocationsSelector.js.map +1 -1
  382. package/build/cjs/cim/components/ClusterDeployment/NetworkConfiguration.js.map +1 -1
  383. package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.js +9 -15
  384. package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.js.map +1 -1
  385. package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsStep.js +1 -1
  386. package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsStep.js.map +1 -1
  387. package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.js +10 -12
  388. package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.js.map +1 -1
  389. package/build/cjs/cim/components/ClusterDeployment/components/ClusterDeploymentHostsSelectionAdvanced.js +8 -6
  390. package/build/cjs/cim/components/ClusterDeployment/components/ClusterDeploymentHostsSelectionAdvanced.js.map +1 -1
  391. package/build/cjs/cim/components/ClusterDeployment/constants.js +1 -1
  392. package/build/cjs/cim/components/ClusterDeployment/constants.js.map +1 -1
  393. package/build/cjs/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.js.map +1 -1
  394. package/build/cjs/cim/components/ClusterDeployment/customManifests/ConfigMapForm.js +1 -1
  395. package/build/cjs/cim/components/ClusterDeployment/customManifests/ConfigMapForm.js.map +1 -1
  396. package/build/cjs/cim/components/ClusterDeployment/helpers.js +1 -1
  397. package/build/cjs/cim/components/ClusterDeployment/helpers.js.map +1 -1
  398. package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostDiscoveryTable.js.map +1 -1
  399. package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.js +8 -6
  400. package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.js.map +1 -1
  401. package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscoveryStep.js.map +1 -1
  402. package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.js +3 -5
  403. package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.js.map +1 -1
  404. package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelection.js.map +1 -1
  405. package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionAdvanced.js +8 -6
  406. package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionAdvanced.js.map +1 -1
  407. package/build/cjs/cim/components/ClusterDeployment/networkConfigurationValidation.js +3 -3
  408. package/build/cjs/cim/components/ClusterDeployment/networkConfigurationValidation.js.map +1 -1
  409. package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentHostsNetworkTable.js.map +1 -1
  410. package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingForm.js.map +1 -1
  411. package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingStep.js.map +1 -1
  412. package/build/cjs/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.js.map +1 -1
  413. package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js +16 -15
  414. package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js.map +1 -1
  415. package/build/cjs/cim/components/ClusterDeployment/wizardTransition.js.map +1 -1
  416. package/build/cjs/cim/components/Hypershift/DetailsPage/ConditionsTable.js +7 -6
  417. package/build/cjs/cim/components/Hypershift/DetailsPage/ConditionsTable.js.map +1 -1
  418. package/build/cjs/cim/components/Hypershift/DetailsPage/HostedClusterProgress.js +3 -2
  419. package/build/cjs/cim/components/Hypershift/DetailsPage/HostedClusterProgress.js.map +1 -1
  420. package/build/cjs/cim/components/Hypershift/DetailsPage/HypershiftKubeconfigDownload.js.map +1 -1
  421. package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsProgress.js +2 -2
  422. package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsProgress.js.map +1 -1
  423. package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsTable.js +1 -1
  424. package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsTable.js.map +1 -1
  425. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.js +4 -8
  426. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.js.map +1 -1
  427. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsStep.js +2 -2
  428. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsStep.js.map +1 -1
  429. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.js +16 -17
  430. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.js.map +1 -1
  431. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.js +2 -11
  432. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.js.map +1 -1
  433. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.js.map +1 -1
  434. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/NetworkStep/AdvancedNetworkFields.js.map +1 -1
  435. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkStep.js +8 -8
  436. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkStep.js.map +1 -1
  437. package/build/cjs/cim/components/Hypershift/hooks/useSupportedOCPVersions.js.map +1 -1
  438. package/build/cjs/cim/components/Hypershift/modals/AddNodePoolModal.js.map +1 -1
  439. package/build/cjs/cim/components/Hypershift/modals/ManageHostsModal.js.map +1 -1
  440. package/build/cjs/cim/components/Hypershift/modals/NodePoolForm.js.map +1 -1
  441. package/build/cjs/cim/components/Hypershift/modals/RemoveNodePoolModal.js.map +1 -1
  442. package/build/cjs/cim/components/Hypershift/utils/status.js +8 -7
  443. package/build/cjs/cim/components/Hypershift/utils/status.js.map +1 -1
  444. package/build/cjs/cim/components/InfraEnv/EnvironmentDetails.js +4 -4
  445. package/build/cjs/cim/components/InfraEnv/EnvironmentDetails.js.map +1 -1
  446. package/build/cjs/cim/components/InfraEnv/EnvironmentErrors.js.map +1 -1
  447. package/build/cjs/cim/components/InfraEnv/InfraEnvAgentTable.js.map +1 -1
  448. package/build/cjs/cim/components/InfraEnv/InfraEnvFormPage.js +9 -7
  449. package/build/cjs/cim/components/InfraEnv/InfraEnvFormPage.js.map +1 -1
  450. package/build/cjs/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.js +3 -3
  451. package/build/cjs/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.js.map +1 -1
  452. package/build/cjs/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.js.map +1 -1
  453. package/build/cjs/cim/components/InfraEnv/InfraTableToolbar.js.map +1 -1
  454. package/build/cjs/cim/components/YamlPreview/YamlPreview.js +10 -11
  455. package/build/cjs/cim/components/YamlPreview/YamlPreview.js.map +1 -1
  456. package/build/cjs/cim/components/YamlPreview/useYAMLPreview.js.map +1 -1
  457. package/build/cjs/cim/components/common/CpuArchitectureDropdown.js.map +1 -1
  458. package/build/cjs/cim/components/common/ResourceAlerts.js.map +1 -1
  459. package/build/cjs/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.js.map +1 -1
  460. package/build/cjs/cim/components/featureSupportLevels/featureStateUtils.js.map +1 -1
  461. package/build/cjs/cim/components/helpers/agentClusterInstall.js.map +1 -1
  462. package/build/cjs/cim/components/helpers/agentStatus.js +3 -2
  463. package/build/cjs/cim/components/helpers/agentStatus.js.map +1 -1
  464. package/build/cjs/cim/components/helpers/agents.js.map +1 -1
  465. package/build/cjs/cim/components/helpers/clusterDeployment.js.map +1 -1
  466. package/build/cjs/cim/components/helpers/conditions.js.map +1 -1
  467. package/build/cjs/cim/components/helpers/network.js.map +1 -1
  468. package/build/cjs/cim/components/helpers/status.js.map +1 -1
  469. package/build/cjs/cim/components/helpers/storage.js.map +1 -1
  470. package/build/cjs/cim/components/helpers/toAssisted.js +1 -1
  471. package/build/cjs/cim/components/helpers/toAssisted.js.map +1 -1
  472. package/build/cjs/cim/components/helpers/units.js.map +1 -1
  473. package/build/cjs/cim/components/helpers/versions.js +42 -27
  474. package/build/cjs/cim/components/helpers/versions.js.map +1 -1
  475. package/build/cjs/cim/components/modals/AddBmcHostYamlForm.js.map +1 -1
  476. package/build/cjs/cim/components/modals/AddHostModal.js.map +1 -1
  477. package/build/cjs/cim/components/modals/CimConfiguration/CimConfigProgressAlert.js.map +1 -1
  478. package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationFormFields.js +7 -3
  479. package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationFormFields.js.map +1 -1
  480. package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationModal.js +13 -6
  481. package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationModal.js.map +1 -1
  482. package/build/cjs/cim/components/modals/CimConfiguration/persist.js +12 -5
  483. package/build/cjs/cim/components/modals/CimConfiguration/persist.js.map +1 -1
  484. package/build/cjs/cim/components/modals/CimConfiguration/utils.js.map +1 -1
  485. package/build/cjs/cim/components/modals/EditAgentModal.js +1 -1
  486. package/build/cjs/cim/components/modals/EditAgentModal.js.map +1 -1
  487. package/build/cjs/cim/components/modals/EditBMHModal.js.map +1 -1
  488. package/build/cjs/cim/components/modals/EditNtpSourcesModal.js.map +1 -1
  489. package/build/cjs/cim/components/modals/EditProxyModal.js +5 -3
  490. package/build/cjs/cim/components/modals/EditProxyModal.js.map +1 -1
  491. package/build/cjs/cim/components/modals/EditPullSecretModal.js +1 -1
  492. package/build/cjs/cim/components/modals/EditPullSecretModal.js.map +1 -1
  493. package/build/cjs/cim/components/modals/EditSSHKeyModal.js +3 -3
  494. package/build/cjs/cim/components/modals/EditSSHKeyModal.js.map +1 -1
  495. package/build/cjs/cim/components/modals/MassApproveAgentModal.js +1 -1
  496. package/build/cjs/cim/components/modals/MassApproveAgentModal.js.map +1 -1
  497. package/build/cjs/cim/components/modals/MassDeleteAgentModal.js +2 -2
  498. package/build/cjs/cim/components/modals/MassDeleteAgentModal.js.map +1 -1
  499. package/build/cjs/cim/components/modals/ProvisioningConfigErrorAlert.js.map +1 -1
  500. package/build/cjs/cim/components/modals/ScaleUpModal.js.map +1 -1
  501. package/build/cjs/cim/components/modals/utils.js +1 -1
  502. package/build/cjs/cim/components/modals/utils.js.map +1 -1
  503. package/build/cjs/cim/types/k8s/cluster-version.js +1 -1
  504. package/build/cjs/cim/types/k8s/cluster-version.js.map +1 -1
  505. package/build/cjs/cim/utils.js.map +1 -1
  506. package/build/cjs/common/api/accounts-management-service/organizations-api.js +2 -2
  507. package/build/cjs/common/api/accounts-management-service/organizations-api.js.map +1 -1
  508. package/build/cjs/common/api/assisted-service/ClustersAPI.js +0 -3
  509. package/build/cjs/common/api/assisted-service/ClustersAPI.js.map +1 -1
  510. package/build/cjs/common/api/axiosClient.js +0 -1
  511. package/build/cjs/common/api/axiosClient.js.map +1 -1
  512. package/build/cjs/common/api/utils.js.map +1 -1
  513. package/build/cjs/common/components/AddHosts/AddHostsContext.js.map +1 -1
  514. package/build/cjs/common/components/AlertsContextProvider.js.map +1 -1
  515. package/build/cjs/common/components/ErrorHandling/WithErrorBoundary.js +1 -1
  516. package/build/cjs/common/components/ErrorHandling/WithErrorBoundary.js.map +1 -1
  517. package/build/cjs/common/components/clusterConfiguration/CertificateFields.js.map +1 -1
  518. package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js.map +1 -1
  519. package/build/cjs/common/components/clusterConfiguration/DiscoveryImageConfigForm.js +7 -6
  520. package/build/cjs/common/components/clusterConfiguration/DiscoveryImageConfigForm.js.map +1 -1
  521. package/build/cjs/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.js +2 -1
  522. package/build/cjs/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.js.map +1 -1
  523. package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.js.map +1 -1
  524. package/build/cjs/common/components/clusterConfiguration/ExternalPlatformsDropdown.js.map +1 -1
  525. package/build/cjs/common/components/clusterConfiguration/ProxyFields.js +5 -2
  526. package/build/cjs/common/components/clusterConfiguration/ProxyFields.js.map +1 -1
  527. package/build/cjs/common/components/clusterConfiguration/SecurityFields.js +1 -1
  528. package/build/cjs/common/components/clusterConfiguration/SecurityFields.js.map +1 -1
  529. package/build/cjs/common/components/clusterConfiguration/utils.js +1 -1
  530. package/build/cjs/common/components/clusterConfiguration/utils.js.map +1 -1
  531. package/build/cjs/common/components/clusterConfiguration/utils.test.js +1 -1
  532. package/build/cjs/common/components/clusterConfiguration/utils.test.js.map +1 -1
  533. package/build/cjs/common/components/clusterDetail/ClusterCredentials.js.map +1 -1
  534. package/build/cjs/common/components/clusterDetail/ClusterProgress.js.map +1 -1
  535. package/build/cjs/common/components/clusterDetail/FinalizingProgress.js +8 -7
  536. package/build/cjs/common/components/clusterDetail/FinalizingProgress.js.map +1 -1
  537. package/build/cjs/common/components/clusterDetail/KubeconfigDownload.js.map +1 -1
  538. package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js +4 -4
  539. package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js.map +1 -1
  540. package/build/cjs/common/components/clusterDetail/ProgressBarTexts.js +5 -4
  541. package/build/cjs/common/components/clusterDetail/ProgressBarTexts.js.map +1 -1
  542. package/build/cjs/common/components/clusterWizard/ClusterWizardStepHeader.js +1 -1
  543. package/build/cjs/common/components/clusterWizard/ClusterWizardStepHeader.js.map +1 -1
  544. package/build/cjs/common/components/clusterWizard/ClusterWizardStepValidationsAlert.js.map +1 -1
  545. package/build/cjs/common/components/clusterWizard/ReviewHostsInventory.js.map +1 -1
  546. package/build/cjs/common/components/clusterWizard/ReviewValidations.js +7 -6
  547. package/build/cjs/common/components/clusterWizard/ReviewValidations.js.map +1 -1
  548. package/build/cjs/common/components/clusterWizard/clusterDetailsValidation.js +8 -8
  549. package/build/cjs/common/components/clusterWizard/clusterDetailsValidation.js.map +1 -1
  550. package/build/cjs/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.js.map +1 -1
  551. package/build/cjs/common/components/clusterWizard/networkingSteps/NetworkTypeControlGroup.js +3 -3
  552. package/build/cjs/common/components/clusterWizard/networkingSteps/NetworkTypeControlGroup.js.map +1 -1
  553. package/build/cjs/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.js +3 -2
  554. package/build/cjs/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.js.map +1 -1
  555. package/build/cjs/common/components/clusterWizard/networkingSteps/SubnetsDropdown.js.map +1 -1
  556. package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js +4 -3
  557. package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js.map +1 -1
  558. package/build/cjs/common/components/clusterWizard/networkingSteps/reorderNetworks.js.map +1 -1
  559. package/build/cjs/common/components/clusterWizard/validationsInfoUtils.js.map +1 -1
  560. package/build/cjs/common/components/clusters/PullSecret.js +17 -16
  561. package/build/cjs/common/components/clusters/PullSecret.js.map +1 -1
  562. package/build/cjs/common/components/featureSupportLevels/FeatureSupportLevelBadge.js.map +1 -1
  563. package/build/cjs/common/components/featureSupportLevels/FeatureSupportLevelContext.js.map +1 -1
  564. package/build/cjs/common/components/fetching/EventListFetch.js.map +1 -1
  565. package/build/cjs/common/components/hosts/AITable.js.map +1 -1
  566. package/build/cjs/common/components/hosts/AdditionalNTPSourcesDialog.js +2 -1
  567. package/build/cjs/common/components/hosts/AdditionalNTPSourcesDialog.js.map +1 -1
  568. package/build/cjs/common/components/hosts/DiskLimitations.js.map +1 -1
  569. package/build/cjs/common/components/hosts/DiskRole.js.map +1 -1
  570. package/build/cjs/common/components/hosts/EditHostForm.js +3 -2
  571. package/build/cjs/common/components/hosts/EditHostForm.js.map +1 -1
  572. package/build/cjs/common/components/hosts/EditHostModal.js.map +1 -1
  573. package/build/cjs/common/components/hosts/FormatDiskCheckbox.js.map +1 -1
  574. package/build/cjs/common/components/hosts/HostProgress.js.map +1 -1
  575. package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js +7 -7
  576. package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js.map +1 -1
  577. package/build/cjs/common/components/hosts/HostRowDetail.js.map +1 -1
  578. package/build/cjs/common/components/hosts/HostStatus.js +2 -1
  579. package/build/cjs/common/components/hosts/HostStatus.js.map +1 -1
  580. package/build/cjs/common/components/hosts/HostValidationGroups.js +6 -6
  581. package/build/cjs/common/components/hosts/HostValidationGroups.js.map +1 -1
  582. package/build/cjs/common/components/hosts/Hostname.js +4 -3
  583. package/build/cjs/common/components/hosts/Hostname.js.map +1 -1
  584. package/build/cjs/common/components/hosts/HostsTableDetailContext.js +1 -1
  585. package/build/cjs/common/components/hosts/HostsTableDetailContext.js.map +1 -1
  586. package/build/cjs/common/components/hosts/MassChangeHostnameModal.js +9 -8
  587. package/build/cjs/common/components/hosts/MassChangeHostnameModal.js.map +1 -1
  588. package/build/cjs/common/components/hosts/MassDeleteHostModal.js.map +1 -1
  589. package/build/cjs/common/components/hosts/NtpValidationStatus.js.map +1 -1
  590. package/build/cjs/common/components/hosts/OcpConsoleNodesSectionLink.js.map +1 -1
  591. package/build/cjs/common/components/hosts/RoleDropdown.js.map +1 -1
  592. package/build/cjs/common/components/hosts/TableToolbar.js.map +1 -1
  593. package/build/cjs/common/components/hosts/VMRebootConfigurationInfo.js +2 -1
  594. package/build/cjs/common/components/hosts/VMRebootConfigurationInfo.js.map +1 -1
  595. package/build/cjs/common/components/hosts/hardwareInfo.js.map +1 -1
  596. package/build/cjs/common/components/hosts/status.js +19 -13
  597. package/build/cjs/common/components/hosts/status.js.map +1 -1
  598. package/build/cjs/common/components/hosts/tableColumns.js.map +1 -1
  599. package/build/cjs/common/components/hosts/tableUtils.js +2 -2
  600. package/build/cjs/common/components/hosts/tableUtils.js.map +1 -1
  601. package/build/cjs/common/components/hosts/utils.js.map +1 -1
  602. package/build/cjs/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.js.map +1 -1
  603. package/build/cjs/common/components/newFeatureSupportLevels/NewFeatureSupportLevelContext.js.map +1 -1
  604. package/build/cjs/common/components/newFeatureSupportLevels/utils.js.map +1 -1
  605. package/build/cjs/common/components/operators/operatorSpecs.js.map +1 -1
  606. package/build/cjs/common/components/storage/DisksTable.js +4 -2
  607. package/build/cjs/common/components/storage/DisksTable.js.map +1 -1
  608. package/build/cjs/common/components/storage/StorageUtils.js +3 -2
  609. package/build/cjs/common/components/storage/StorageUtils.js.map +1 -1
  610. package/build/cjs/common/components/ui/Alerts.js.map +1 -1
  611. package/build/cjs/common/components/ui/BorderedIcon/BorderedIcon.js.map +1 -1
  612. package/build/cjs/common/components/ui/ClusterEventsToolbar.js.map +1 -1
  613. package/build/cjs/common/components/ui/CustomToolbarFilter.js +5 -5
  614. package/build/cjs/common/components/ui/CustomToolbarFilter.js.map +1 -1
  615. package/build/cjs/common/components/ui/EventsList.js.map +1 -1
  616. package/build/cjs/common/components/ui/ExternalLink.js.map +1 -1
  617. package/build/cjs/common/components/ui/GridGap.js +1 -1
  618. package/build/cjs/common/components/ui/GridGap.js.map +1 -1
  619. package/build/cjs/common/components/ui/OpenShiftSelectWithSearch.js +21 -30
  620. package/build/cjs/common/components/ui/OpenShiftSelectWithSearch.js.map +1 -1
  621. package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js +27 -34
  622. package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js.map +1 -1
  623. package/build/cjs/common/components/ui/OpenShiftVersionModal.js +8 -9
  624. package/build/cjs/common/components/ui/OpenShiftVersionModal.js.map +1 -1
  625. package/build/cjs/common/components/ui/PreviewBadge.js +1 -1
  626. package/build/cjs/common/components/ui/PreviewBadge.js.map +1 -1
  627. package/build/cjs/common/components/ui/PrismCode.js.map +1 -1
  628. package/build/cjs/common/components/ui/StaticTextField.js.map +1 -1
  629. package/build/cjs/common/components/ui/Toolbar/ToolbarSecondaryGroup.js.map +1 -1
  630. package/build/cjs/common/components/ui/WizardFooter.js +1 -1
  631. package/build/cjs/common/components/ui/WizardFooter.js.map +1 -1
  632. package/build/cjs/common/components/ui/WizardNavItem.js +2 -2
  633. package/build/cjs/common/components/ui/WizardNavItem.js.map +1 -1
  634. package/build/cjs/common/components/ui/formik/AdditionalNTPSourcesField.js.map +1 -1
  635. package/build/cjs/common/components/ui/formik/AlertFormikError.js.map +1 -1
  636. package/build/cjs/common/components/ui/formik/CertificatesUploadField.js.map +1 -1
  637. package/build/cjs/common/components/ui/formik/CodeField.js.map +1 -1
  638. package/build/cjs/common/components/ui/formik/FormikAutoSave.js.map +1 -1
  639. package/build/cjs/common/components/ui/formik/InputField.js.map +1 -1
  640. package/build/cjs/common/components/ui/formik/LabelField.js +63 -45
  641. package/build/cjs/common/components/ui/formik/LabelField.js.map +1 -1
  642. package/build/cjs/common/components/ui/formik/MultiSelectField.js.map +1 -1
  643. package/build/cjs/common/components/ui/formik/NumberInputField.js.map +1 -1
  644. package/build/cjs/common/components/ui/formik/PullSecretField.js.map +1 -1
  645. package/build/cjs/common/components/ui/formik/RemovableField.js +3 -3
  646. package/build/cjs/common/components/ui/formik/RemovableField.js.map +1 -1
  647. package/build/cjs/common/components/ui/formik/RichInputField.js +4 -4
  648. package/build/cjs/common/components/ui/formik/RichInputField.js.map +1 -1
  649. package/build/cjs/common/components/ui/formik/SelectFieldWithSearch.js.map +1 -1
  650. package/build/cjs/common/components/ui/formik/SwitchField.js.map +1 -1
  651. package/build/cjs/common/components/ui/formik/TextAreaField.js +6 -2
  652. package/build/cjs/common/components/ui/formik/TextAreaField.js.map +1 -1
  653. package/build/cjs/common/components/ui/formik/TextAreaSecretField.js.map +1 -1
  654. package/build/cjs/common/components/ui/formik/UploadField.js +4 -5
  655. package/build/cjs/common/components/ui/formik/UploadField.js.map +1 -1
  656. package/build/cjs/common/components/ui/formik/index.js +0 -2
  657. package/build/cjs/common/components/ui/formik/index.js.map +1 -1
  658. package/build/cjs/common/components/ui/formik/utils.js.map +1 -1
  659. package/build/cjs/common/components/ui/index.js +1 -3
  660. package/build/cjs/common/components/ui/index.js.map +1 -1
  661. package/build/cjs/common/components/ui/table/utils.js.map +1 -1
  662. package/build/cjs/common/components/ui/utils.js +5 -1
  663. package/build/cjs/common/components/ui/utils.js.map +1 -1
  664. package/build/cjs/common/config/constants.js +4 -4
  665. package/build/cjs/common/config/constants.js.map +1 -1
  666. package/build/cjs/common/config/docs_links.js +4 -3
  667. package/build/cjs/common/config/docs_links.js.map +1 -1
  668. package/build/cjs/common/features/featureGate.js.map +1 -1
  669. package/build/cjs/common/hooks/useDeepCompareMemoize.js.map +1 -1
  670. package/build/cjs/common/hooks/useFieldErrorMsg.js.map +1 -1
  671. package/build/cjs/common/hooks/useStateSafely.js.map +1 -1
  672. package/build/cjs/common/index.js +1 -0
  673. package/build/cjs/common/index.js.map +1 -1
  674. package/build/cjs/common/selectors/clusterSelectors.js.map +1 -1
  675. package/build/cjs/common/services/DateAndTime.js.map +1 -1
  676. package/build/cjs/common/types/cpuArchitecture.js +2 -2
  677. package/build/cjs/common/types/cpuArchitecture.js.map +1 -1
  678. package/build/cjs/common/types/index.js +1 -0
  679. package/build/cjs/common/types/index.js.map +1 -1
  680. package/build/cjs/common/types/networkType.js +28 -0
  681. package/build/cjs/common/types/networkType.js.map +1 -0
  682. package/build/cjs/common/types/resource-ui-state.js +1 -1
  683. package/build/cjs/common/types/resource-ui-state.js.map +1 -1
  684. package/build/cjs/common/utils.js +5 -3
  685. package/build/cjs/common/utils.js.map +1 -1
  686. package/build/cjs/common/validationSchemas/addressValidation.js +258 -0
  687. package/build/cjs/common/validationSchemas/addressValidation.js.map +1 -0
  688. package/build/cjs/common/validationSchemas/clusterDetailsValidation.js +104 -0
  689. package/build/cjs/common/validationSchemas/clusterDetailsValidation.js.map +1 -0
  690. package/build/cjs/common/{components/ui/formik → validationSchemas}/constants.js +3 -5
  691. package/build/cjs/common/validationSchemas/constants.js.map +1 -0
  692. package/build/cjs/common/validationSchemas/hostnameValidation.js +36 -0
  693. package/build/cjs/common/validationSchemas/hostnameValidation.js.map +1 -0
  694. package/build/cjs/common/validationSchemas/index.js +17 -0
  695. package/build/cjs/common/validationSchemas/index.js.map +1 -0
  696. package/build/cjs/common/validationSchemas/networkingValidation.js +74 -0
  697. package/build/cjs/common/validationSchemas/networkingValidation.js.map +1 -0
  698. package/build/cjs/common/validationSchemas/ntpValidation.js +30 -0
  699. package/build/cjs/common/validationSchemas/ntpValidation.js.map +1 -0
  700. package/build/cjs/common/validationSchemas/proxyValidation.js +43 -0
  701. package/build/cjs/common/validationSchemas/proxyValidation.js.map +1 -0
  702. package/build/cjs/common/validationSchemas/pullSecretValidation.js +22 -0
  703. package/build/cjs/common/validationSchemas/pullSecretValidation.js.map +1 -0
  704. package/build/cjs/common/validationSchemas/regexes.js +17 -0
  705. package/build/cjs/common/validationSchemas/regexes.js.map +1 -0
  706. package/build/cjs/common/validationSchemas/sshValidation.js +32 -0
  707. package/build/cjs/common/validationSchemas/sshValidation.js.map +1 -0
  708. package/build/cjs/common/validationSchemas/utils.js +40 -0
  709. package/build/cjs/common/validationSchemas/utils.js.map +1 -0
  710. package/build/cjs/ocm/components/AddHosts/AddHosts.js.map +1 -1
  711. package/build/cjs/ocm/components/AddHosts/InventoryAddHost.js.map +1 -1
  712. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.js.map +1 -1
  713. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2GenerateISO.js.map +1 -1
  714. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2StaticIP.js +1 -1
  715. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2StaticIP.js.map +1 -1
  716. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2Wizard.js.map +1 -1
  717. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2WizardContext.js.map +1 -1
  718. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2WizardContextProvider.js.map +1 -1
  719. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2WizardNav.js.map +1 -1
  720. package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.js.map +1 -1
  721. package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabMock.js.map +1 -1
  722. package/build/cjs/ocm/components/HostsClusterDetailTab/utils.js.map +1 -1
  723. package/build/cjs/ocm/components/Routes.js +3 -5
  724. package/build/cjs/ocm/components/Routes.js.map +1 -1
  725. package/build/cjs/ocm/components/SentryErrorMonitorContextProvider.js +2 -2
  726. package/build/cjs/ocm/components/SentryErrorMonitorContextProvider.js.map +1 -1
  727. package/build/cjs/ocm/components/clusterConfiguration/ClusterDefaultConfigurationContext.js.map +1 -1
  728. package/build/cjs/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.js.map +1 -1
  729. package/build/cjs/ocm/components/clusterConfiguration/CpuArchitectureDropdown.js.map +1 -1
  730. package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageForm.js.map +1 -1
  731. package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageModal.js.map +1 -1
  732. package/build/cjs/ocm/components/clusterConfiguration/HostsNetworkConfigurationControlGroup.js.map +1 -1
  733. package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +6 -11
  734. package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js.map +1 -1
  735. package/build/cjs/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.js +7 -6
  736. package/build/cjs/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.js.map +1 -1
  737. package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js +14 -18
  738. package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js.map +1 -1
  739. package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js +4 -4
  740. package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js.map +1 -1
  741. package/build/cjs/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.js +5 -2
  742. package/build/cjs/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.js.map +1 -1
  743. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.js +96 -6
  744. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.js.map +1 -1
  745. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifest.js.map +1 -1
  746. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifests.js +4 -2
  747. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifests.js.map +1 -1
  748. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.js +4 -1
  749. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.js.map +1 -1
  750. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsForm.js +1 -1
  751. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsForm.js.map +1 -1
  752. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/customManifestsValidationSchema.js +7 -6
  753. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/customManifestsValidationSchema.js.map +1 -1
  754. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/utils.js.map +1 -1
  755. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js +3 -6
  756. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js.map +1 -1
  757. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js +7 -3
  758. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js.map +1 -1
  759. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkTypeDropdown.js +61 -0
  760. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkTypeDropdown.js.map +1 -0
  761. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.js +11 -11
  762. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.js.map +1 -1
  763. package/build/cjs/ocm/components/clusterConfiguration/operators/OperatorCheckbox.js.map +1 -1
  764. package/build/cjs/ocm/components/clusterConfiguration/operators/bundleSpecs.js +3 -0
  765. package/build/cjs/ocm/components/clusterConfiguration/operators/bundleSpecs.js.map +1 -1
  766. package/build/cjs/ocm/components/clusterConfiguration/operators/utils.js.map +1 -1
  767. package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js.map +1 -1
  768. package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.js +5 -3
  769. package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.js.map +1 -1
  770. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewClusterDetailTable.js.map +1 -1
  771. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.js +1 -1
  772. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.js.map +1 -1
  773. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.js.map +1 -1
  774. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.js +11 -7
  775. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.js.map +1 -1
  776. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewStep.js +8 -14
  777. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewStep.js.map +1 -1
  778. package/build/cjs/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.js.map +1 -1
  779. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/CollapsedHost.js.map +1 -1
  780. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHosts.js +3 -1
  781. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHosts.js.map +1 -1
  782. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.js.map +1 -1
  783. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/formViewHostsValidationSchema.js +6 -6
  784. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/formViewHostsValidationSchema.js.map +1 -1
  785. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWide.js.map +1 -1
  786. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWideFields.js.map +1 -1
  787. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/formViewNetworkWideValidationSchema.js.map +1 -1
  788. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.js +30 -26
  789. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.js.map +1 -1
  790. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.js.map +1 -1
  791. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.js +10 -12
  792. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.js.map +1 -1
  793. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpViewRadioGroup.js.map +1 -1
  794. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlView.js +3 -1
  795. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlView.js.map +1 -1
  796. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlViewFields.js.map +1 -1
  797. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/yamlViewValidationSchema.js +12 -12
  798. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/yamlViewValidationSchema.js.map +1 -1
  799. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/dataTypes.js +2 -2
  800. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/dataTypes.js.map +1 -1
  801. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/dummyData.js.map +1 -1
  802. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/formDataFromInfraEnvField.js.map +1 -1
  803. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.js.map +1 -1
  804. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/fromInfraEnv.js.map +1 -1
  805. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/nmstateTypes.js +1 -1
  806. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/nmstateTypes.js.map +1 -1
  807. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/nmstateYaml.js.map +1 -1
  808. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/protocolVersion.js.map +1 -1
  809. package/build/cjs/ocm/components/clusterDetail/AssistedInstallerDetailCard.js.map +1 -1
  810. package/build/cjs/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.js.map +1 -1
  811. package/build/cjs/ocm/components/clusterDetail/CancelInstallationModal.js.map +1 -1
  812. package/build/cjs/ocm/components/clusterDetail/ClusterDetail.js.map +1 -1
  813. package/build/cjs/ocm/components/clusterDetail/ClusterDetailStatusVarieties.js.map +1 -1
  814. package/build/cjs/ocm/components/clusterDetail/ClusterProperties.js +1 -5
  815. package/build/cjs/ocm/components/clusterDetail/ClusterProperties.js.map +1 -1
  816. package/build/cjs/ocm/components/clusterDetail/HostInventoryExpandable.js +5 -4
  817. package/build/cjs/ocm/components/clusterDetail/HostInventoryExpandable.js.map +1 -1
  818. package/build/cjs/ocm/components/clusterDetail/OpenShiftVersionDetail.js +4 -3
  819. package/build/cjs/ocm/components/clusterDetail/OpenShiftVersionDetail.js.map +1 -1
  820. package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js.map +1 -1
  821. package/build/cjs/ocm/components/clusterDetail/ResetClusterModal.js +4 -2
  822. package/build/cjs/ocm/components/clusterDetail/ResetClusterModal.js.map +1 -1
  823. package/build/cjs/ocm/components/clusterDetail/getProgressBarAlerts.js.map +1 -1
  824. package/build/cjs/ocm/components/clusterDetail/utils.js.map +1 -1
  825. package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js +18 -11
  826. package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js.map +1 -1
  827. package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js +11 -15
  828. package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js.map +1 -1
  829. package/build/cjs/ocm/components/clusterWizard/ClusterWizard.js.map +1 -1
  830. package/build/cjs/ocm/components/clusterWizard/ClusterWizardContext.js.map +1 -1
  831. package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js +14 -28
  832. package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js.map +1 -1
  833. package/build/cjs/ocm/components/clusterWizard/ClusterWizardFooter.js +6 -21
  834. package/build/cjs/ocm/components/clusterWizard/ClusterWizardFooter.js.map +1 -1
  835. package/build/cjs/ocm/components/clusterWizard/ClusterWizardNavigation.js.map +1 -1
  836. package/build/cjs/ocm/components/clusterWizard/CredentialsDownload.js.map +1 -1
  837. package/build/cjs/ocm/components/clusterWizard/CustomManifestStep.js +1 -1
  838. package/build/cjs/ocm/components/clusterWizard/CustomManifestStep.js.map +1 -1
  839. package/build/cjs/ocm/components/clusterWizard/HostDiscovery.js.map +1 -1
  840. package/build/cjs/ocm/components/clusterWizard/NewClusterWizard.js +0 -3
  841. package/build/cjs/ocm/components/clusterWizard/NewClusterWizard.js.map +1 -1
  842. package/build/cjs/ocm/components/clusterWizard/OpenShiftVersionsContext.js +40 -36
  843. package/build/cjs/ocm/components/clusterWizard/OpenShiftVersionsContext.js.map +1 -1
  844. package/build/cjs/ocm/components/clusterWizard/Operators.js.map +1 -1
  845. package/build/cjs/ocm/components/clusterWizard/OperatorsBundle.js.map +1 -1
  846. package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.js.map +1 -1
  847. package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.test.js +3 -3
  848. package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.test.js.map +1 -1
  849. package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js.map +1 -1
  850. package/build/cjs/ocm/components/clusterWizard/StaticIp.js +1 -1
  851. package/build/cjs/ocm/components/clusterWizard/StaticIp.js.map +1 -1
  852. package/build/cjs/ocm/components/clusterWizard/constants.js +1 -1
  853. package/build/cjs/ocm/components/clusterWizard/constants.js.map +1 -1
  854. package/build/cjs/ocm/components/clusterWizard/disconnected/BasicStep.js +1 -45
  855. package/build/cjs/ocm/components/clusterWizard/disconnected/BasicStep.js.map +1 -1
  856. package/build/cjs/ocm/components/clusterWizard/disconnected/ReviewStep.js +5 -40
  857. package/build/cjs/ocm/components/clusterWizard/disconnected/ReviewStep.js.map +1 -1
  858. package/build/cjs/ocm/components/clusterWizard/index.js +1 -3
  859. package/build/cjs/ocm/components/clusterWizard/index.js.map +1 -1
  860. package/build/cjs/ocm/components/clusterWizard/wizardTransition.js +9 -4
  861. package/build/cjs/ocm/components/clusterWizard/wizardTransition.js.map +1 -1
  862. package/build/cjs/ocm/components/clusters/ClusterPage.js.map +1 -1
  863. package/build/cjs/ocm/components/clusters/ClusterStatus.js +13 -7
  864. package/build/cjs/ocm/components/clusters/ClusterStatus.js.map +1 -1
  865. package/build/cjs/ocm/components/clusters/ClusterToolbar.js +1 -1
  866. package/build/cjs/ocm/components/clusters/ClusterToolbar.js.map +1 -1
  867. package/build/cjs/ocm/components/clusters/Clusters.js.map +1 -1
  868. package/build/cjs/ocm/components/clusters/ClustersListToolbar.js.map +1 -1
  869. package/build/cjs/ocm/components/clusters/ClustersTable.js +1 -1
  870. package/build/cjs/ocm/components/clusters/ClustersTable.js.map +1 -1
  871. package/build/cjs/ocm/components/clusters/clusterPolling.js.map +1 -1
  872. package/build/cjs/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.js.map +1 -1
  873. package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js +7 -6
  874. package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js.map +1 -1
  875. package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js +15 -0
  876. package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js.map +1 -1
  877. package/build/cjs/ocm/components/fetching/fetchEvents.js.map +1 -1
  878. package/build/cjs/ocm/components/hosts/HostRequirementsContent.js.map +1 -1
  879. package/build/cjs/ocm/components/hosts/HostsStorageTable.js.map +1 -1
  880. package/build/cjs/ocm/components/hosts/ModalDialogsContext.js.map +1 -1
  881. package/build/cjs/ocm/components/hosts/StorageAlerts.js.map +1 -1
  882. package/build/cjs/ocm/components/hosts/UpdateDay2ApiVipForm.js +2 -1
  883. package/build/cjs/ocm/components/hosts/UpdateDay2ApiVipForm.js.map +1 -1
  884. package/build/cjs/ocm/components/hosts/use-hosts-table.js.map +1 -1
  885. package/build/cjs/ocm/components/hosts/utils.js.map +1 -1
  886. package/build/cjs/ocm/components/ui/AssistedUILibVersion.js.map +1 -1
  887. package/build/cjs/ocm/components/ui/InfoLinkWithModal.js +2 -2
  888. package/build/cjs/ocm/components/ui/InfoLinkWithModal.js.map +1 -1
  889. package/build/cjs/ocm/config/constants.js.map +1 -1
  890. package/build/cjs/ocm/hooks/useClusterCustomManifests.js.map +1 -1
  891. package/build/cjs/ocm/hooks/useClusterPreflightRequirements.js.map +1 -1
  892. package/build/cjs/ocm/hooks/useInfraEnv.js.map +1 -1
  893. package/build/cjs/ocm/hooks/useInfraEnvHosts.js.map +1 -1
  894. package/build/cjs/ocm/hooks/useInfraEnvId.js.map +1 -1
  895. package/build/cjs/ocm/hooks/useInfraEnvImageUrl.js.map +1 -1
  896. package/build/cjs/ocm/hooks/useInfraEnvIpxeImageUrl.js.map +1 -1
  897. package/build/cjs/ocm/hooks/useLateBinding.js.map +1 -1
  898. package/build/cjs/ocm/hooks/useManagedDomains.js.map +1 -1
  899. package/build/cjs/ocm/hooks/usePullSecret.js +31 -7
  900. package/build/cjs/ocm/hooks/usePullSecret.js.map +1 -1
  901. package/build/cjs/ocm/hooks/useSetClusterPermissions.js.map +1 -1
  902. package/build/cjs/ocm/hooks/useSupportLevelsAPI.js.map +1 -1
  903. package/build/cjs/ocm/hooks/useUISettings.js +0 -1
  904. package/build/cjs/ocm/hooks/useUISettings.js.map +1 -1
  905. package/build/cjs/ocm/hooks/useUsedClusterNames.js.map +1 -1
  906. package/build/cjs/ocm/sentry.js.map +1 -1
  907. package/build/cjs/ocm/services/ClusterDetailsService.js +19 -4
  908. package/build/cjs/ocm/services/ClusterDetailsService.js.map +1 -1
  909. package/build/cjs/ocm/services/ClustersService.js +3 -9
  910. package/build/cjs/ocm/services/ClustersService.js.map +1 -1
  911. package/build/cjs/ocm/services/CpuArchitectureService.js.map +1 -1
  912. package/build/cjs/ocm/services/Day2ClusterService.js +2 -2
  913. package/build/cjs/ocm/services/Day2ClusterService.js.map +1 -1
  914. package/build/cjs/ocm/services/HostDiscoveryService.js.map +1 -1
  915. package/build/cjs/ocm/services/HostsService.js.map +1 -1
  916. package/build/cjs/ocm/services/InfraEnvIdsCacheService.js.map +1 -1
  917. package/build/cjs/ocm/services/InfraEnvsService.js.map +1 -1
  918. package/build/cjs/ocm/services/types.js +1 -1
  919. package/build/cjs/ocm/services/types.js.map +1 -1
  920. package/build/cjs/ocm/store/slices/clusters/selectors.js +1 -1
  921. package/build/cjs/ocm/store/slices/clusters/selectors.js.map +1 -1
  922. package/build/cjs/ocm/store/slices/clusters/slice.js +1 -1
  923. package/build/cjs/ocm/store/slices/clusters/slice.js.map +1 -1
  924. package/build/cjs/ocm/store/slices/current-cluster/selectors.js.map +1 -1
  925. package/build/cjs/ocm/store/slices/current-cluster/slice.js +1 -1
  926. package/build/cjs/ocm/store/slices/current-cluster/slice.js.map +1 -1
  927. package/build/cjs/ocm/store/slices/current-user/slice.js.map +1 -1
  928. package/build/cjs/ocm/store/slices/feature-flags/slice.js +1 -1
  929. package/build/cjs/ocm/store/slices/feature-flags/slice.js.map +1 -1
  930. package/build/cjs/ocm/store/slices/infra-envs/thunks.js.map +1 -1
  931. package/lib/cim/components/Agent/BMCForm.tsx +3 -3
  932. package/lib/cim/components/Agent/BMHStatusInfo.tsx +12 -4
  933. package/lib/cim/components/Agent/MinimalHWRequirements.tsx +4 -2
  934. package/lib/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.tsx +8 -18
  935. package/lib/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.tsx +9 -22
  936. package/lib/cim/components/ClusterDeployment/components/ClusterDeploymentHostsSelectionAdvanced.tsx +17 -15
  937. package/lib/cim/components/ClusterDeployment/customManifests/ConfigMapForm.tsx +1 -1
  938. package/lib/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.tsx +23 -21
  939. package/lib/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.tsx +1 -3
  940. package/lib/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionAdvanced.tsx +17 -15
  941. package/lib/cim/components/ClusterDeployment/networkConfigurationValidation.ts +1 -1
  942. package/lib/cim/components/ClusterDeployment/use-networking-formik.ts +19 -15
  943. package/lib/cim/components/Hypershift/DetailsPage/ConditionsTable.tsx +13 -7
  944. package/lib/cim/components/Hypershift/DetailsPage/HostedClusterProgress.tsx +8 -4
  945. package/lib/cim/components/Hypershift/DetailsPage/NodePoolsProgress.tsx +6 -2
  946. package/lib/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.tsx +4 -14
  947. package/lib/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsStep.tsx +2 -2
  948. package/lib/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.tsx +56 -22
  949. package/lib/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.tsx +2 -13
  950. package/lib/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkStep.tsx +8 -8
  951. package/lib/cim/components/Hypershift/utils/status.tsx +20 -9
  952. package/lib/cim/components/InfraEnv/EnvironmentDetails.tsx +11 -4
  953. package/lib/cim/components/InfraEnv/InfraEnvFormPage.tsx +10 -8
  954. package/lib/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.tsx +4 -6
  955. package/lib/cim/components/YamlPreview/YamlPreview.tsx +31 -26
  956. package/lib/cim/components/helpers/agentStatus.tsx +7 -3
  957. package/lib/cim/components/helpers/versions.ts +51 -34
  958. package/lib/cim/components/modals/CimConfiguration/CimConfigurationFormFields.tsx +7 -5
  959. package/lib/cim/components/modals/CimConfiguration/CimConfigurationModal.tsx +13 -6
  960. package/lib/cim/components/modals/CimConfiguration/persist.ts +11 -0
  961. package/lib/cim/components/modals/CimConfiguration/types.ts +1 -1
  962. package/lib/cim/components/modals/EditProxyModal.tsx +6 -3
  963. package/lib/cim/components/modals/EditPullSecretModal.tsx +1 -1
  964. package/lib/cim/components/modals/EditSSHKeyModal.tsx +8 -6
  965. package/lib/cim/components/modals/MassApproveAgentModal.tsx +6 -5
  966. package/lib/cim/components/modals/MassDeleteAgentModal.tsx +18 -11
  967. package/lib/common/api/assisted-service/ClustersAPI.ts +0 -6
  968. package/lib/common/components/AddHosts/AddHostsContext.tsx +1 -1
  969. package/lib/common/components/AlertsContextProvider.tsx +1 -1
  970. package/lib/common/components/clusterConfiguration/DiscoveryImageConfigForm.tsx +9 -8
  971. package/lib/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.tsx +5 -2
  972. package/lib/common/components/clusterConfiguration/ProxyFields.tsx +5 -0
  973. package/lib/common/components/clusterConfiguration/SecurityFields.tsx +1 -1
  974. package/lib/common/components/clusterDetail/FinalizingProgress.tsx +21 -10
  975. package/lib/common/components/clusterDetail/OperatorsProgressItem.tsx +11 -5
  976. package/lib/common/components/clusterDetail/ProgressBarTexts.tsx +17 -5
  977. package/lib/common/components/clusterWizard/ClusterWizardStepHeader.tsx +4 -2
  978. package/lib/common/components/clusterWizard/ReviewValidations.tsx +15 -6
  979. package/lib/common/components/clusterWizard/clusterDetailsValidation.ts +21 -11
  980. package/lib/common/components/clusterWizard/networkingSteps/NetworkTypeControlGroup.tsx +1 -1
  981. package/lib/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.tsx +5 -6
  982. package/lib/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.tsx +2 -4
  983. package/lib/common/components/clusters/PullSecret.tsx +40 -28
  984. package/lib/common/components/hosts/AITable.tsx +1 -1
  985. package/lib/common/components/hosts/AdditionalNTPSourcesDialog.tsx +3 -6
  986. package/lib/common/components/hosts/EditHostForm.tsx +2 -8
  987. package/lib/common/components/hosts/HostPropertyValidationPopover.tsx +17 -7
  988. package/lib/common/components/hosts/HostStatus.tsx +18 -5
  989. package/lib/common/components/hosts/HostValidationGroups.tsx +9 -5
  990. package/lib/common/components/hosts/Hostname.tsx +7 -4
  991. package/lib/common/components/hosts/HostsTableDetailContext.tsx +3 -6
  992. package/lib/common/components/hosts/MassChangeHostnameModal.tsx +15 -10
  993. package/lib/common/components/hosts/TableToolbar.tsx +1 -1
  994. package/lib/common/components/hosts/VMRebootConfigurationInfo.tsx +12 -3
  995. package/lib/common/components/hosts/status.tsx +46 -13
  996. package/lib/common/components/storage/DisksTable.tsx +18 -5
  997. package/lib/common/components/storage/StorageUtils.tsx +6 -4
  998. package/lib/common/components/ui/CustomToolbarFilter.tsx +6 -4
  999. package/lib/common/components/ui/GridGap.tsx +3 -1
  1000. package/lib/common/components/ui/OpenShiftSelectWithSearch.tsx +22 -43
  1001. package/lib/common/components/ui/OpenShiftVersionDropdown.tsx +41 -57
  1002. package/lib/common/components/ui/OpenShiftVersionModal.tsx +9 -11
  1003. package/lib/common/components/ui/StaticTextField.tsx +9 -3
  1004. package/lib/common/components/ui/Toolbar/ToolbarSecondaryGroup.tsx +1 -1
  1005. package/lib/common/components/ui/WizardFooter.tsx +1 -1
  1006. package/lib/common/components/ui/WizardNavItem.tsx +4 -7
  1007. package/lib/common/components/ui/formik/CertificatesUploadField.tsx +1 -1
  1008. package/lib/common/components/ui/formik/InputField.tsx +3 -1
  1009. package/lib/common/components/ui/formik/LabelField.tsx +119 -79
  1010. package/lib/common/components/ui/formik/NumberInputField.tsx +1 -1
  1011. package/lib/common/components/ui/formik/PullSecretField.tsx +0 -1
  1012. package/lib/common/components/ui/formik/RemovableField.tsx +8 -4
  1013. package/lib/common/components/ui/formik/RichInputField.tsx +10 -6
  1014. package/lib/common/components/ui/formik/SelectFieldWithSearch.tsx +1 -1
  1015. package/lib/common/components/ui/formik/TextAreaField.tsx +6 -3
  1016. package/lib/common/components/ui/formik/UploadField.tsx +7 -6
  1017. package/lib/common/components/ui/formik/index.tsx +0 -2
  1018. package/lib/common/components/ui/index.ts +0 -2
  1019. package/lib/common/components/ui/utils.ts +7 -0
  1020. package/lib/common/config/constants.ts +2 -3
  1021. package/lib/common/config/docs_links.ts +3 -1
  1022. package/lib/common/features/featureGate.tsx +5 -3
  1023. package/lib/common/index.ts +2 -0
  1024. package/lib/common/types/index.ts +1 -0
  1025. package/lib/common/types/networkType.ts +37 -0
  1026. package/lib/common/types/ui-settings.ts +0 -1
  1027. package/lib/common/utils.ts +5 -7
  1028. package/lib/common/{components/ui/formik → validationSchemas}/_validationSchemas.test.ts +51 -39
  1029. package/lib/common/validationSchemas/addressValidation.tsx +354 -0
  1030. package/lib/common/validationSchemas/clusterDetailsValidation.tsx +168 -0
  1031. package/lib/common/{components/ui/formik → validationSchemas}/constants.tsx +3 -6
  1032. package/lib/common/validationSchemas/hostnameValidation.tsx +46 -0
  1033. package/lib/common/validationSchemas/index.tsx +11 -0
  1034. package/lib/common/validationSchemas/networkingValidation.tsx +113 -0
  1035. package/lib/common/validationSchemas/ntpValidation.tsx +36 -0
  1036. package/lib/common/validationSchemas/proxyValidation.tsx +67 -0
  1037. package/lib/common/validationSchemas/pullSecretValidation.tsx +23 -0
  1038. package/lib/common/validationSchemas/regexes.tsx +22 -0
  1039. package/lib/common/validationSchemas/sshValidation.tsx +46 -0
  1040. package/lib/common/validationSchemas/utils.tsx +36 -0
  1041. package/lib/ocm/components/AddHosts/day2Wizard/Day2StaticIP.tsx +7 -2
  1042. package/lib/ocm/components/Routes.tsx +1 -6
  1043. package/lib/ocm/components/SentryErrorMonitorContextProvider.tsx +3 -1
  1044. package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +20 -25
  1045. package/lib/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.tsx +17 -15
  1046. package/lib/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.tsx +21 -28
  1047. package/lib/ocm/components/clusterConfiguration/OcmOperatorProgressItem.tsx +11 -5
  1048. package/lib/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.tsx +8 -7
  1049. package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.tsx +163 -19
  1050. package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifests.tsx +4 -2
  1051. package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.tsx +5 -1
  1052. package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/customManifestsValidationSchema.tsx +31 -31
  1053. package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.tsx +7 -10
  1054. package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx +15 -5
  1055. package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkTypeDropdown.tsx +142 -0
  1056. package/lib/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.ts +14 -16
  1057. package/lib/ocm/components/clusterConfiguration/operators/bundleSpecs.tsx +3 -0
  1058. package/lib/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.tsx +6 -3
  1059. package/lib/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.tsx +3 -7
  1060. package/lib/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.tsx +28 -15
  1061. package/lib/ocm/components/clusterConfiguration/review/ReviewStep.tsx +10 -12
  1062. package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHosts.tsx +3 -1
  1063. package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/formViewHostsValidationSchema.tsx +11 -6
  1064. package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.tsx +33 -29
  1065. package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.tsx +20 -15
  1066. package/lib/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlView.tsx +5 -1
  1067. package/lib/ocm/components/clusterConfiguration/staticIp/components/YamlView/yamlViewValidationSchema.tsx +33 -28
  1068. package/lib/ocm/components/clusterConfiguration/staticIp/components/propTypes.ts +1 -1
  1069. package/lib/ocm/components/clusterDetail/ClusterProperties.tsx +2 -6
  1070. package/lib/ocm/components/clusterDetail/HostInventoryExpandable.tsx +11 -5
  1071. package/lib/ocm/components/clusterDetail/OpenShiftVersionDetail.tsx +8 -5
  1072. package/lib/ocm/components/clusterDetail/ResetClusterModal.tsx +6 -3
  1073. package/lib/ocm/components/clusterWizard/ClusterDetails.tsx +22 -15
  1074. package/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx +17 -22
  1075. package/lib/ocm/components/clusterWizard/ClusterWizardContext.tsx +0 -5
  1076. package/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx +16 -47
  1077. package/lib/ocm/components/clusterWizard/ClusterWizardFooter.tsx +5 -26
  1078. package/lib/ocm/components/clusterWizard/NewClusterWizard.tsx +1 -3
  1079. package/lib/ocm/components/clusterWizard/OpenShiftVersionsContext.tsx +22 -18
  1080. package/lib/ocm/components/clusterWizard/constants.ts +1 -1
  1081. package/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx +1 -52
  1082. package/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx +7 -39
  1083. package/lib/ocm/components/clusterWizard/index.ts +0 -1
  1084. package/lib/ocm/components/clusterWizard/wizardTransition.ts +10 -6
  1085. package/lib/ocm/components/clusters/ClusterStatus.tsx +30 -8
  1086. package/lib/ocm/components/clusters/ClusterToolbar.tsx +4 -1
  1087. package/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx +12 -8
  1088. package/lib/ocm/components/featureSupportLevels/featureStateUtils.ts +17 -0
  1089. package/lib/ocm/components/hosts/ModalDialogsContext.tsx +1 -1
  1090. package/lib/ocm/components/hosts/UpdateDay2ApiVipForm.tsx +3 -7
  1091. package/lib/ocm/components/ui/AssistedUILibVersion.tsx +1 -1
  1092. package/lib/ocm/components/ui/InfoLinkWithModal.tsx +4 -2
  1093. package/lib/ocm/hooks/usePullSecret.ts +33 -8
  1094. package/lib/ocm/hooks/useUISettings.ts +0 -1
  1095. package/lib/ocm/services/ClusterDetailsService.ts +23 -4
  1096. package/lib/ocm/services/ClustersService.ts +1 -7
  1097. package/lib/ocm/services/types.ts +1 -2
  1098. package/lib/ocm/store/slices/clusters/selectors.tsx +6 -4
  1099. package/package.json +19 -23
  1100. package/build/@types/common/components/ui/UiIcon.d.ts +0 -11
  1101. package/build/@types/common/components/ui/UiIcon.d.ts.map +0 -1
  1102. package/build/@types/common/components/ui/formik/constants.d.ts.map +0 -1
  1103. package/build/@types/common/components/ui/formik/validationSchemas.d.ts +0 -50
  1104. package/build/@types/common/components/ui/formik/validationSchemas.d.ts.map +0 -1
  1105. package/build/@types/ocm/components/clusterConfiguration/CustomManifestCheckbox.d.ts +0 -8
  1106. package/build/@types/ocm/components/clusterConfiguration/CustomManifestCheckbox.d.ts.map +0 -1
  1107. package/build/@types/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.d.ts +0 -4
  1108. package/build/@types/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.d.ts.map +0 -1
  1109. package/build/cjs/common/components/ui/UiIcon.js +0 -11
  1110. package/build/cjs/common/components/ui/UiIcon.js.map +0 -1
  1111. package/build/cjs/common/components/ui/formik/constants.js.map +0 -1
  1112. package/build/cjs/common/components/ui/formik/validationSchemas.js +0 -553
  1113. package/build/cjs/common/components/ui/formik/validationSchemas.js.map +0 -1
  1114. package/build/cjs/ocm/components/clusterConfiguration/CustomManifestCheckbox.js +0 -58
  1115. package/build/cjs/ocm/components/clusterConfiguration/CustomManifestCheckbox.js.map +0 -1
  1116. package/build/cjs/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.js +0 -128
  1117. package/build/cjs/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.js.map +0 -1
  1118. package/lib/@types/global.d.ts +0 -1
  1119. package/lib/common/components/ui/UiIcon.tsx +0 -21
  1120. package/lib/common/components/ui/formik/validationSchemas.ts +0 -803
  1121. package/lib/ocm/components/clusterConfiguration/CustomManifestCheckbox.tsx +0 -114
  1122. package/lib/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.tsx +0 -201
@@ -1,803 +0,0 @@
1
- import { overlap } from 'cidr-tools';
2
- import { Address4, Address6 } from 'ip-address';
3
- import isCIDR from 'is-cidr';
4
- import { isInSubnet } from 'is-in-subnet';
5
- import * as Yup from 'yup';
6
- import parseUrl from 'parse-url';
7
-
8
- import { TFunction } from 'i18next';
9
- import {
10
- ClusterNetwork,
11
- MachineNetwork,
12
- ServiceNetwork,
13
- } from '@openshift-assisted/types/assisted-installer-service';
14
- import { NO_SUBNET_SET } from '../../../config/constants';
15
- import { ProxyFieldsType } from '../../../types';
16
- import { HostSubnets, NetworkConfigurationValues } from '../../../types/clusters';
17
- import { getSubnet } from '../../clusterConfiguration/utils';
18
- import {
19
- bmcAddressValidationMessages,
20
- clusterNameValidationMessages,
21
- CLUSTER_NAME_MAX_LENGTH,
22
- FORBIDDEN_HOSTNAMES,
23
- hostnameValidationMessages,
24
- locationValidationMessages,
25
- nameValidationMessages,
26
- } from './constants';
27
- import { allSubnetsIPv4, getAddress, trimCommaSeparatedList, trimSshPublicKey } from './utils';
28
- import { isMajorMinorVersionEqualOrGreater } from '../../../utils';
29
- import { ClusterDetailsValues } from '../../clusterWizard/types';
30
-
31
- const ALPHANUMERIC_REGEX = /^[a-zA-Z0-9]+$/;
32
- const NAME_START_END_REGEX = /^[a-z0-9](.*[a-z0-9])?$/;
33
- const NAME_CHARS_REGEX = /^[a-z0-9-.]*$/;
34
- const CLUSTER_NAME_START_END_REGEX = /^[a-z0-9](.*[a-z0-9])?$/;
35
- const CLUSTER_NAME_VALID_CHARS_REGEX = /^[a-z0-9-]*$/;
36
- const SSH_PUBLIC_KEY_REGEX =
37
- /^(ssh-rsa AAAAB3NzaC1yc2|ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNT|ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzOD|ecdsa-sha2-nistp521 AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1Mj|ssh-ed25519 AAAAC3NzaC1lZDI1NTE5|ssh-dss AAAAB3NzaC1kc3)[0-9A-Za-z+/]+[=]{0,3}( .*)?$/;
38
- const DNS_NAME_REGEX = /^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$/;
39
-
40
- const PROXY_DNS_REGEX =
41
- /(^\.?([a-zA-Z0-9_]{1}[a-zA-Z0-9_-]{0,62}){1}(\.[a-zA-Z0-9_]{1}[a-zA-Z0-9_-]{0,62})*$)/;
42
- const IP_V4_ZERO = '0.0.0.0';
43
- const IP_V6_ZERO = '0000:0000:0000:0000:0000:0000:0000:0000';
44
- const MAC_REGEX = /^([0-9A-Fa-f]{2}[:]){5}([0-9A-Fa-f]{2})$/;
45
- const HOST_NAME_REGEX = /^[^.]{1,63}(?:[.][^.]{1,63})*$/;
46
- const LOCATION_CHARS_REGEX = /^[a-zA-Z0-9-._]*$/;
47
-
48
- export const nameValidationSchema = (
49
- t: TFunction,
50
- usedClusterNames: string[],
51
- baseDnsDomain = '',
52
- validateUniqueName?: boolean,
53
- isOcm = false,
54
- ) => {
55
- const clusterNameValidationMessagesList = clusterNameValidationMessages(t);
56
- return Yup.string()
57
- .required(t('ai:Required field'))
58
- .matches(CLUSTER_NAME_VALID_CHARS_REGEX, {
59
- message: clusterNameValidationMessagesList.INVALID_VALUE,
60
- excludeEmptyString: true,
61
- })
62
- .matches(CLUSTER_NAME_START_END_REGEX, {
63
- message: clusterNameValidationMessagesList.INVALID_START_END,
64
- excludeEmptyString: true,
65
- })
66
- .min(
67
- isOcm ? 1 : 2,
68
- isOcm
69
- ? clusterNameValidationMessagesList.INVALID_LENGTH_OCM
70
- : clusterNameValidationMessagesList.INVALID_LENGTH_ACM,
71
- )
72
- .max(
73
- CLUSTER_NAME_MAX_LENGTH,
74
- isOcm
75
- ? clusterNameValidationMessagesList.INVALID_LENGTH_OCM
76
- : clusterNameValidationMessagesList.INVALID_LENGTH_ACM,
77
- )
78
- .when('useRedHatDnsService', {
79
- is: (useRedHatDnsService: ClusterDetailsValues['useRedHatDnsService']) =>
80
- useRedHatDnsService === true,
81
- then: (schema) =>
82
- schema.test(
83
- 'is-name-unique',
84
- clusterNameValidationMessagesList.NOT_UNIQUE,
85
- (value?: string) => {
86
- const clusterFullName = `${value || ''}.${baseDnsDomain}`;
87
- return !value || !usedClusterNames.includes(clusterFullName);
88
- },
89
- ),
90
- otherwise: (schema) =>
91
- schema.test(
92
- 'is-name-unique',
93
- clusterNameValidationMessagesList.NOT_UNIQUE,
94
- (value?: string) => {
95
- // in CIM cluster name is ClusterDeployment CR name which must be unique
96
- return validateUniqueName ? !value || !usedClusterNames.includes(value) : true;
97
- },
98
- ),
99
- });
100
- };
101
-
102
- export const sshPublicKeyValidationSchema = Yup.string().test(
103
- 'ssh-public-key',
104
- 'SSH public key must consist of "[TYPE] key [[EMAIL]]", supported types are: ssh-rsa, ssh-ed25519, ecdsa-[VARIANT]. A single key can be provided only.',
105
- (value?: string) => {
106
- if (!value) {
107
- return true;
108
- }
109
-
110
- return !!trimSshPublicKey(value).match(SSH_PUBLIC_KEY_REGEX);
111
- },
112
- );
113
-
114
- export const sshPublicKeyListValidationSchema = Yup.string()
115
- .test(
116
- 'ssh-public-keys',
117
- 'SSH public key must consist of "[TYPE] key [[EMAIL]]", supported types are: ssh-rsa, ssh-ed25519, ecdsa-[VARIANT].',
118
- (value?: string) => {
119
- if (!value) {
120
- return true;
121
- }
122
-
123
- return (
124
- trimSshPublicKey(value)
125
- .split('\n')
126
- .find((line: string) => !line.match(SSH_PUBLIC_KEY_REGEX)) === undefined
127
- );
128
- },
129
- )
130
- .test('ssh-public-keys-unique', 'SSH public keys must be unique.', (value?: string) => {
131
- if (!value) {
132
- return true;
133
- }
134
- const keyList = trimSshPublicKey(value).split('\n');
135
- return new Set(keyList).size === keyList.length;
136
- });
137
-
138
- export const pullSecretValidationSchema = Yup.string().test(
139
- 'is-well-formed-json',
140
- "Invalid pull secret format. You must use your Red Hat account's pull secret.",
141
- (value?: string) => {
142
- const isValid = true;
143
- if (!value) return isValid;
144
- try {
145
- const pullSecret = JSON.parse(value) as {
146
- auths: string;
147
- };
148
- return (
149
- pullSecret.constructor.name === 'Object' &&
150
- !!pullSecret?.auths &&
151
- pullSecret.auths.constructor.name === 'Object'
152
- );
153
- } catch {
154
- return !isValid;
155
- }
156
- },
157
- );
158
-
159
- const isValidIpWithoutSuffix = (addr: string) => {
160
- const address = getAddress(addr);
161
- return !!address && address.address === address.addressMinusSuffix;
162
- };
163
-
164
- export const ipValidationSchema = Yup.string().test(
165
- 'ip-validation',
166
- 'Not a valid IP address',
167
- (value?: string) => Address4.isValid(value || '') || Address6.isValid(value || ''),
168
- );
169
-
170
- // Helpers to classify literal IPs more robustly
171
- const isIPv4Address = (ip?: string) => {
172
- if (!ip) return false;
173
- return ip.includes('.') && Address4.isValid(ip);
174
- };
175
-
176
- const isIPv6Address = (ip?: string) => {
177
- if (!ip) return false;
178
- return ip.includes(':') && Address6.isValid(ip);
179
- };
180
-
181
- export const ipNoSuffixValidationSchema = Yup.string().test(
182
- 'ip-validation-no-suffix',
183
- 'Not a valid IP address',
184
- (value?: string) => {
185
- return isValidIpWithoutSuffix(value || '');
186
- },
187
- );
188
-
189
- export const macAddressValidationSchema = Yup.string().matches(MAC_REGEX, {
190
- message: 'Value "${value}" is not valid MAC address.', // eslint-disable-line no-template-curly-in-string
191
- excludeEmptyString: true,
192
- });
193
-
194
- export const vipRangeValidationSchema = (
195
- hostSubnets: HostSubnets,
196
- { machineNetworks }: NetworkConfigurationValues,
197
- allowSuffix: boolean,
198
- ) =>
199
- Yup.string().test('vip-validation', 'IP Address is outside of selected subnet', (value) => {
200
- if (!value) {
201
- return true;
202
- }
203
-
204
- try {
205
- const validator = allowSuffix ? ipValidationSchema : ipNoSuffixValidationSchema;
206
- validator.validateSync(value);
207
- } catch (err) {
208
- return true;
209
- }
210
- // Find host subnets that match the selected machine networks
211
- const cidrs = machineNetworks?.map((network) => network.cidr) ?? [];
212
- const matchingSubnets = hostSubnets.filter((hostSubnet) => cidrs.includes(hostSubnet.subnet));
213
-
214
- for (const hostSubnet of matchingSubnets) {
215
- if (hostSubnet?.subnet) {
216
- // Workaround for bug in CIM backend. hostIDs are empty
217
- if (!hostSubnet.hostIDs.length) {
218
- return true;
219
- } else if (isInSubnet(value, hostSubnet.subnet)) {
220
- return true;
221
- }
222
- }
223
- }
224
- return false;
225
- });
226
-
227
- const vipBroadcastValidationSchema = ({ machineNetworks }: NetworkConfigurationValues) =>
228
- Yup.string().test(
229
- 'vip-no-broadcast',
230
- 'The IP address cannot be a network or broadcast address',
231
- function (value?: string) {
232
- if (!value) {
233
- return true;
234
- }
235
-
236
- const vipAddress = getAddress(value)?.address;
237
- if (!vipAddress) {
238
- return true;
239
- }
240
-
241
- const index = getArrayIndexFromPath(this.path || '');
242
- const machineNetworkCidr = machineNetworks?.[index]?.cidr ?? machineNetworks?.[0]?.cidr ?? '';
243
- if (!machineNetworkCidr) {
244
- return true;
245
- }
246
-
247
- const machineNetwork = getAddress(machineNetworkCidr);
248
- if (!machineNetwork) {
249
- return true;
250
- }
251
-
252
- const machineNetworkBroadcast = machineNetwork.endAddress().address;
253
- const machineNetworkAddress = machineNetwork.startAddress().address;
254
-
255
- return vipAddress !== machineNetworkBroadcast && vipAddress !== machineNetworkAddress;
256
- },
257
- );
258
-
259
- const alwaysRequired = (message?: string) =>
260
- Yup.string().test(
261
- 'always-required',
262
- message || 'The value is required.',
263
- (value?: string): boolean => !!value,
264
- );
265
-
266
- const getArrayIndexFromPath = (path: string): number => {
267
- const match = path.match(/\[(\d+)\][^\[]*$/); // Prefer the last [...] occurrence for nested array paths like "foo[0].bar[1].ip"
268
- return match ? parseInt(match[1], 10) : NaN;
269
- };
270
-
271
- export const hostSubnetValidationSchema = Yup.string().when(['managedNetworkingType'], {
272
- is: (managedNetworkingType: NetworkConfigurationValues['managedNetworkingType']) =>
273
- managedNetworkingType === 'clusterManaged',
274
- then: () => Yup.string().notOneOf([NO_SUBNET_SET], 'Host subnet must be selected.'),
275
- });
276
-
277
- export const vipNoSuffixValidationSchema = (
278
- hostSubnets: HostSubnets,
279
- values: NetworkConfigurationValues,
280
- ) =>
281
- Yup.mixed().when(['vipDhcpAllocation', 'managedNetworkingType'], {
282
- is: (
283
- vipDhcpAllocation: NetworkConfigurationValues['vipDhcpAllocation'],
284
- managedNetworkingType: NetworkConfigurationValues['managedNetworkingType'],
285
- ) => !vipDhcpAllocation && managedNetworkingType !== 'userManaged',
286
- then: () => {
287
- // Per-item schema for VIPs (apiVips[*].ip / ingressVips[*].ip)
288
- // 1) Require value once set
289
- // 2) Validate IP without suffix
290
- // 3) Ensure VIP family matches machineNetworks[idx] family
291
- // 4) Validate range vs selected subnets
292
- // 5) No broadcast/network address
293
- // 6) Uniqueness across API/Ingress
294
- const vipFamilyMatchSchema = Yup.string().test(
295
- 'vip-family-match-machine-network',
296
- 'IP family must match the corresponding machine network family.',
297
- function (value?: string) {
298
- if (!value) {
299
- return true;
300
- }
301
- const index = getArrayIndexFromPath(this.path || '');
302
- if (Number.isNaN(index)) {
303
- return true;
304
- }
305
- const cidr = values.machineNetworks?.[index]?.cidr || '';
306
- const mnIsV4 = isCIDR.v4(cidr);
307
- const mnIsV6 = isCIDR.v6(cidr);
308
- // If machine network at index is not selected/valid, don't block validation here
309
- if (!mnIsV4 && !mnIsV6) {
310
- return true;
311
- }
312
- const ipIsV4 = isIPv4Address(value);
313
- const ipIsV6 = isIPv6Address(value);
314
- if (!ipIsV4 && !ipIsV6) {
315
- return true;
316
- }
317
- return mnIsV4 ? ipIsV4 : ipIsV6;
318
- },
319
- );
320
- // Ensure API and Ingress VIPs at the same index are not the same
321
- const vipUniqueSchema = Yup.string().test('vip-uniqueness', function (value?: string) {
322
- if (!value) {
323
- return true;
324
- }
325
- const index = getArrayIndexFromPath(this.path || '');
326
- if (Number.isNaN(index)) {
327
- return true;
328
- }
329
- const apiVip = values.apiVips?.[index]?.ip;
330
- const ingressVip = values.ingressVips?.[index]?.ip;
331
- if (!apiVip || !ingressVip) {
332
- return true;
333
- }
334
- if (apiVip === ingressVip) {
335
- const label = index === 0 ? 'primary' : 'secondary';
336
- return this.createError({
337
- message: `The ${label} Ingress and API IP addresses cannot be the same.`,
338
- });
339
- }
340
- return true;
341
- });
342
-
343
- return alwaysRequired('Required. Please provide an IP address')
344
- .concat(ipNoSuffixValidationSchema)
345
- .concat(vipFamilyMatchSchema)
346
- .concat(vipRangeValidationSchema(hostSubnets, values, false))
347
- .concat(vipBroadcastValidationSchema(values))
348
- .concat(vipUniqueSchema);
349
- },
350
- });
351
-
352
- export const vipArrayValidationSchema = <T extends Yup.Maybe<Yup.AnyObject>>(
353
- hostSubnets: HostSubnets,
354
- values: NetworkConfigurationValues,
355
- ) =>
356
- values.managedNetworkingType === 'clusterManaged'
357
- ? Yup.array<T>().of(
358
- Yup.object({
359
- clusterId: Yup.string(),
360
- ip: vipNoSuffixValidationSchema(hostSubnets, values),
361
- }),
362
- )
363
- : Yup.array<T>();
364
-
365
- export const ipBlockValidationSchema = (reservedCidrs: string | string[] | undefined) =>
366
- Yup.string()
367
- .required('A value is required.')
368
- .test(
369
- 'valid-ip-address',
370
- 'Invalid IP address block. Expected value is a network expressed in CIDR notation (IP/netmask). For example: 123.123.123.0/24, 2055:d7a::/116',
371
- (value?: string): boolean => !!value && (isCIDR.v4(value) || isCIDR.v6(value)),
372
- )
373
- .test(
374
- 'valid-netmask',
375
- 'IPv4 netmask must be between 1-25 and include at least 128 addresses.\nIPv6 netmask must be between 8-128 and include at least 256 addresses.',
376
- (value?: string) => {
377
- const suffix = parseInt((value || '').split('/')[1]);
378
-
379
- return (
380
- (isCIDR.v4(value || '') && 0 < suffix && suffix < 26) ||
381
- (isCIDR.v6(value || '') && 7 < suffix && suffix < 129)
382
- );
383
- },
384
- )
385
- .test(
386
- 'cidr-is-not-unspecified',
387
- 'The specified CIDR is invalid because its resulting routing prefix matches the unspecified address.',
388
- (cidr: string) => {
389
- const ip = getSubnet(cidr);
390
- if (ip === null) {
391
- return false;
392
- }
393
-
394
- // The first address is used to represent the network
395
- const startAddress = ip.startAddress().address;
396
-
397
- return startAddress !== IP_V4_ZERO && startAddress !== IP_V6_ZERO;
398
- },
399
- )
400
- .test(
401
- 'valid-cidr-base-address',
402
- ({ value }) => `${value as string} is not a valid CIDR`,
403
- (cidr: string) => {
404
- const ip = getSubnet(cidr);
405
- if (ip === null) {
406
- return false;
407
- }
408
-
409
- const networkAddress = ip.startAddress().parsedAddress;
410
- const ipAddress = ip.parsedAddress;
411
- const result = ipAddress.every((part, idx) => part === networkAddress[idx]);
412
-
413
- return result;
414
- },
415
- )
416
- .test('cidrs-can-not-overlap', 'Provided CIDRs can not overlap.', (cidr: string) => {
417
- try {
418
- if (cidr && reservedCidrs && reservedCidrs.length > 0) {
419
- return !overlap(cidr, reservedCidrs);
420
- }
421
- } catch {
422
- return false;
423
- }
424
- // passing by default
425
- return true;
426
- });
427
-
428
- export const dnsNameValidationSchema = Yup.string()
429
- .test(
430
- 'dns-name-label-length',
431
- 'Single label of the DNS name can not be longer than 63 characters.',
432
- (value?: string) => (value || '').split('.').every((label: string) => label.length <= 63),
433
- )
434
- .matches(DNS_NAME_REGEX, {
435
- message: 'Value "${value}" is not valid DNS name. Example: basedomain.example.com', // eslint-disable-line no-template-curly-in-string
436
- excludeEmptyString: true,
437
- });
438
-
439
- export const baseDomainValidationSchema = Yup.string().test(
440
- 'dns-name-label-length',
441
- 'Every single host component in the base domain name cannot contain more than 63 characters and must not contain spaces.',
442
- (value?: string) => {
443
- // Check if the value contains any spaces
444
- if (/\s/.test(value as string)) {
445
- return false; // Value contains spaces, validation fails
446
- }
447
-
448
- // Check the label lengths
449
- const labels = (value || '').split('.');
450
- return labels.every((label: string) => label.length <= 63);
451
- },
452
- );
453
-
454
- export const hostPrefixValidationSchema = (
455
- clusterNetworkCidr: NetworkConfigurationValues['clusterNetworkCidr'],
456
- ) => {
457
- const requiredText = 'The host prefix is required.';
458
- const minMaxText =
459
- 'The host prefix is a number between 1 and 32 for IPv4 and between 8 and 128 for IPv6.';
460
- const netBlock = (clusterNetworkCidr || '').split('/')[1];
461
- if (!netBlock) {
462
- return Yup.number().required(requiredText).min(1, minMaxText).max(32, minMaxText);
463
- }
464
-
465
- let netBlockNumber = parseInt(netBlock);
466
- if (isNaN(netBlockNumber)) {
467
- netBlockNumber = 1;
468
- }
469
-
470
- const errorMsgPrefix =
471
- 'The host prefix is a number between size of the cluster network CIDR range';
472
- const errorMsgIPv4 = `${errorMsgPrefix} (${netBlockNumber}) and 25.`;
473
- const errorMsgIPv6 = `${errorMsgPrefix} (8) and 128.`;
474
-
475
- if (isCIDR.v6(clusterNetworkCidr || '')) {
476
- return Yup.number().required(requiredText).min(8, errorMsgIPv6).max(128, errorMsgIPv6);
477
- }
478
-
479
- if (isCIDR.v4(clusterNetworkCidr || '')) {
480
- return Yup.number()
481
- .required(requiredText)
482
- .min(netBlockNumber, errorMsgIPv4)
483
- .max(25, errorMsgIPv4);
484
- }
485
-
486
- return Yup.number().required(requiredText);
487
- };
488
-
489
- export const richNameValidationSchema = (t: TFunction, usedNames: string[], origName?: string) => {
490
- const nameValidationMessagesList = nameValidationMessages(t);
491
- return Yup.string()
492
- .min(1, nameValidationMessagesList.INVALID_LENGTH)
493
- .max(253, nameValidationMessagesList.INVALID_LENGTH)
494
- .test(
495
- nameValidationMessagesList.INVALID_START_END,
496
- nameValidationMessagesList.INVALID_START_END,
497
- (value?: string) => {
498
- const trimmed = value?.trim();
499
- if (!trimmed) {
500
- return true;
501
- }
502
- return (
503
- !!trimmed[0].match(NAME_START_END_REGEX) &&
504
- (trimmed[trimmed.length - 1]
505
- ? !!trimmed[trimmed.length - 1].match(NAME_START_END_REGEX)
506
- : true)
507
- );
508
- },
509
- )
510
- .matches(HOST_NAME_REGEX, nameValidationMessagesList.INVALID_FORMAT)
511
- .matches(NAME_CHARS_REGEX, {
512
- message: nameValidationMessagesList.INVALID_VALUE,
513
- excludeEmptyString: true,
514
- })
515
- .test(nameValidationMessagesList.NOT_UNIQUE, nameValidationMessagesList.NOT_UNIQUE, (value) => {
516
- if (!value || value === origName) {
517
- return true;
518
- }
519
- return !usedNames.find((n) => n === value);
520
- })
521
- .notOneOf(FORBIDDEN_HOSTNAMES, hostnameValidationMessages(t).LOCALHOST_ERR);
522
- };
523
-
524
- export const richHostnameValidationSchema = (
525
- t: TFunction,
526
- usedNames: string[],
527
- origName?: string,
528
- ) => {
529
- const hostnameValidationMessagesList = hostnameValidationMessages(t);
530
- return Yup.string()
531
- .min(1, hostnameValidationMessagesList.INVALID_LENGTH)
532
- .max(63, hostnameValidationMessagesList.INVALID_LENGTH)
533
- .test(
534
- hostnameValidationMessagesList.INVALID_START_END,
535
- hostnameValidationMessagesList.INVALID_START_END,
536
- (value?: string) => {
537
- const trimmed = value?.trim();
538
- if (!trimmed) {
539
- return true;
540
- }
541
- return (
542
- !!trimmed[0].match(NAME_START_END_REGEX) &&
543
- (trimmed[trimmed.length - 1]
544
- ? !!trimmed[trimmed.length - 1].match(NAME_START_END_REGEX)
545
- : true)
546
- );
547
- },
548
- )
549
- .matches(NAME_CHARS_REGEX, {
550
- message: hostnameValidationMessagesList.INVALID_VALUE,
551
- excludeEmptyString: true,
552
- })
553
- .test(
554
- hostnameValidationMessagesList.NOT_UNIQUE,
555
- hostnameValidationMessagesList.NOT_UNIQUE,
556
- (value) => {
557
- if (!value || value === origName) {
558
- return true;
559
- }
560
- return !usedNames.find((n) => n === value);
561
- },
562
- )
563
- .notOneOf(FORBIDDEN_HOSTNAMES, hostnameValidationMessagesList.LOCALHOST_ERR);
564
- };
565
-
566
- const httpProxyValidationMessage = 'Provide a valid HTTP URL.';
567
- export const httpProxyValidationSchema = ({
568
- values,
569
- pairValueName,
570
- allowEmpty,
571
- }: {
572
- values: ProxyFieldsType;
573
- pairValueName: 'httpProxy' | 'httpsProxy';
574
- allowEmpty?: boolean;
575
- }) => {
576
- const validation = Yup.string().test(
577
- 'http-proxy-validation',
578
- httpProxyValidationMessage,
579
- (value?: string) => {
580
- if (!value) {
581
- return true;
582
- }
583
-
584
- if (!value.startsWith('http://')) {
585
- return false;
586
- }
587
-
588
- try {
589
- new URL(value);
590
- } catch {
591
- return false;
592
- }
593
- return true;
594
- },
595
- );
596
-
597
- if (allowEmpty) {
598
- return validation;
599
- }
600
-
601
- return validation.test(
602
- 'http-proxy-no-empty-validation',
603
- 'At least one of the HTTP or HTTPS proxy URLs is required.',
604
- (value) => !values.enableProxy || !!value || !!values[pairValueName],
605
- );
606
- };
607
-
608
- const isIPorDN = (value?: string, dnsRegex = DNS_NAME_REGEX) => {
609
- if ((value as string).match(dnsRegex)) {
610
- return true;
611
- }
612
- try {
613
- ipValidationSchema.validateSync(value);
614
- return true;
615
- } catch (err) {
616
- return false;
617
- }
618
- };
619
-
620
- export const noProxyValidationSchema = Yup.string().test(
621
- 'no-proxy-validation',
622
- 'Provide a comma separated list of valid DNS names or IP addresses.',
623
- (value?: string) => {
624
- if (!value || value === '*') {
625
- return true;
626
- }
627
-
628
- // https://docs.openshift.com/container-platform/4.5/installing/installing_bare_metal/installing-restricted-networks-bare-metal.html#installation-configure-proxy_installing-restricted-networks-bare-metal
629
- // A comma-separated list of destination domain names, domains, IP addresses, or other network CIDRs to exclude proxying.
630
- // Preface a domain with . to match subdomains only. For example, .y.com matches x.y.com, but not y.com.
631
- // Use * to bypass proxy for all destinations.
632
- const noProxyList = trimCommaSeparatedList(value).split(',');
633
- return noProxyList.every((p) => isIPorDN(p, PROXY_DNS_REGEX));
634
- },
635
- );
636
-
637
- export const ntpSourceValidationSchema = Yup.string()
638
- .test(
639
- 'ntp-source-validation',
640
- 'Provide a comma separated list of valid DNS names or IP addresses.',
641
- (value?: string) => {
642
- if (!value || value === '') {
643
- return true;
644
- }
645
- return trimCommaSeparatedList(value)
646
- .split(',')
647
- .every((v) => isIPorDN(v));
648
- },
649
- )
650
- .test(
651
- 'ntp-source-validation-unique',
652
- 'DNS names and IP addresses must be unique.',
653
- (value?: string) => {
654
- if (!value || value === '') {
655
- return true;
656
- }
657
- const arr = trimCommaSeparatedList(value).split(',');
658
- return arr.length === new Set(arr).size;
659
- },
660
- );
661
-
662
- export const day2ApiVipValidationSchema = Yup.string().test(
663
- 'day2-api-vip',
664
- 'Provide a valid DNS name or IP Address',
665
- (value?: string) => {
666
- if (!value) {
667
- return true;
668
- }
669
- return isIPorDN(value);
670
- },
671
- );
672
-
673
- export const bmcAddressValidationSchema = (t: TFunction) => {
674
- const bmcAddressValidationMessagesList = bmcAddressValidationMessages(t);
675
-
676
- return Yup.string()
677
- .required()
678
- .test('valid-bmc-address', bmcAddressValidationMessagesList.INVALID_VALUE, (val) => {
679
- try {
680
- const url = parseUrl(val);
681
- return ['redfish-virtualmedia', 'idrac-virtualmedia'].includes(url.protocol as string);
682
- } catch (error) {
683
- return false;
684
- }
685
- });
686
- };
687
- export const locationValidationSchema = (t: TFunction) => {
688
- const locationValidationMessagesList = locationValidationMessages(t);
689
- return Yup.string()
690
- .min(1, locationValidationMessagesList.INVALID_LENGTH)
691
- .max(63, locationValidationMessagesList.INVALID_LENGTH)
692
- .test(
693
- locationValidationMessagesList.INVALID_START_END,
694
- locationValidationMessagesList.INVALID_START_END,
695
- (value?: string) => {
696
- const trimmed = value?.trim();
697
- if (!trimmed) {
698
- return true;
699
- }
700
- return (
701
- !!trimmed[0].match(ALPHANUMERIC_REGEX) &&
702
- (trimmed[trimmed.length - 1]
703
- ? !!trimmed[trimmed.length - 1].match(ALPHANUMERIC_REGEX)
704
- : true)
705
- );
706
- },
707
- )
708
- .matches(LOCATION_CHARS_REGEX, {
709
- message: locationValidationMessagesList.INVALID_VALUE,
710
- excludeEmptyString: true,
711
- });
712
- };
713
-
714
- export const machineNetworksValidationSchema = Yup.array().of(
715
- Yup.object({ cidr: hostSubnetValidationSchema, clusterId: Yup.string() }),
716
- );
717
-
718
- export const clusterNetworksValidationSchema = Yup.array().of(
719
- Yup.lazy((values: ClusterNetwork) =>
720
- Yup.object({
721
- cidr: ipBlockValidationSchema(
722
- undefined /* So far used in OCM only and so validated by backend */,
723
- ),
724
- hostPrefix: hostPrefixValidationSchema(values.cidr),
725
- clusterId: Yup.string(),
726
- }),
727
- ),
728
- );
729
-
730
- export const serviceNetworkValidationSchema = Yup.array().of(
731
- Yup.object({
732
- cidr: ipBlockValidationSchema(
733
- undefined /* So far used in OCM only and so validated by backend */,
734
- ),
735
- clusterId: Yup.string(),
736
- }),
737
- );
738
-
739
- export const dualStackValidationSchema = (field: string, openshiftVersion?: string) =>
740
- Yup.array()
741
- .max(2, `Maximum number of ${field} subnets in dual stack is 2.`)
742
- .test(
743
- 'dual-stack-ipv4',
744
- openshiftVersion && isMajorMinorVersionEqualOrGreater(openshiftVersion, '4.12')
745
- ? 'First network has to be a valid IPv4 or IPv6 subnet.'
746
- : 'First network has to be IPv4 subnet.',
747
- (values?: { cidr: MachineNetwork['cidr'] }[]): boolean => {
748
- // For OCP versions > 4.11, allow IPv6 as primary network
749
- if (openshiftVersion && isMajorMinorVersionEqualOrGreater(openshiftVersion, '4.12')) {
750
- return !!values?.[0].cidr && (isCIDR.v4(values[0].cidr) || isCIDR.v6(values[0].cidr));
751
- }
752
- // For older versions, require IPv4 as primary network
753
- return !!values?.[0].cidr && isCIDR.v4(values[0].cidr);
754
- },
755
- )
756
- .test(
757
- 'dual-stack-unique-cidrs',
758
- `Provided ${field} subnets must be unique.`,
759
- (values?: { cidr?: MachineNetwork['cidr'] }[]) => {
760
- if (!values || values.length < 2) {
761
- return true;
762
- }
763
- const first = values[0]?.cidr || '';
764
- const second = values[1]?.cidr || '';
765
- if (!first || !second) {
766
- return true;
767
- }
768
- const firstIsCidr = isCIDR.v4(first) || isCIDR.v6(first);
769
- const secondIsCidr = isCIDR.v4(second) || isCIDR.v6(second);
770
- if (!firstIsCidr || !secondIsCidr) {
771
- return true;
772
- }
773
- return first !== second;
774
- },
775
- )
776
- .test(
777
- 'dual-stack-opposite-families',
778
- `When two ${field} are provided, one must be IPv4 and the other IPv6.`,
779
- (values?: { cidr?: MachineNetwork['cidr'] }[]) => {
780
- if (!values || values.length < 2) {
781
- return true;
782
- }
783
- const a = values[0]?.cidr || '';
784
- const b = values[1]?.cidr || '';
785
- if (!a || !b) {
786
- return true;
787
- }
788
- const a4 = isCIDR.v4(a);
789
- const a6 = isCIDR.v6(a);
790
- const b4 = isCIDR.v4(b);
791
- const b6 = isCIDR.v6(b);
792
- if (!((a4 || a6) && (b4 || b6))) {
793
- return true;
794
- }
795
- return (a4 && b6) || (a6 && b4);
796
- },
797
- );
798
-
799
- export const IPv4ValidationSchema = Yup.array().test(
800
- 'single-stack',
801
- `All network subnets must be IPv4.`,
802
- (values?: (MachineNetwork | ClusterNetwork | ServiceNetwork)[]) => allSubnetsIPv4(values),
803
- );