@openshift-assisted/ui-lib 2.49.0 → 2.50.0

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 (1206) hide show
  1. package/build/@types/cim/components/Agent/AgentStatus.d.ts +1 -0
  2. package/build/@types/cim/components/Agent/AgentStatus.d.ts.map +1 -1
  3. package/build/@types/cim/components/Agent/AgentTable.d.ts.map +1 -1
  4. package/build/@types/cim/components/Agent/AgentsSelectionTable.d.ts.map +1 -1
  5. package/build/@types/cim/components/Agent/BMCForm.d.ts.map +1 -1
  6. package/build/@types/cim/components/Agent/BMHEventsModal.d.ts +8 -0
  7. package/build/@types/cim/components/Agent/BMHEventsModal.d.ts.map +1 -0
  8. package/build/@types/cim/components/Agent/BMHStatus.d.ts +2 -0
  9. package/build/@types/cim/components/Agent/BMHStatus.d.ts.map +1 -1
  10. package/build/@types/cim/components/Agent/BMHStatusInfo.d.ts +8 -0
  11. package/build/@types/cim/components/Agent/BMHStatusInfo.d.ts.map +1 -0
  12. package/build/@types/cim/components/Agent/MinimalHWRequirements.d.ts.map +1 -1
  13. package/build/@types/cim/components/Agent/NoAgentsAlert.d.ts.map +1 -1
  14. package/build/@types/cim/components/Agent/index.d.ts +2 -0
  15. package/build/@types/cim/components/Agent/index.d.ts.map +1 -1
  16. package/build/@types/cim/components/Agent/tableColumns.d.ts +29 -0
  17. package/build/@types/cim/components/Agent/tableColumns.d.ts.map +1 -0
  18. package/build/@types/cim/components/Agent/tableUtils.d.ts +4 -23
  19. package/build/@types/cim/components/Agent/tableUtils.d.ts.map +1 -1
  20. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardContext.d.ts +1 -1
  21. package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentWizardContext.d.ts.map +1 -1
  22. package/build/@types/cim/components/ClusterDeployment/NetworkConfiguration.d.ts +1 -1
  23. package/build/@types/cim/components/ClusterDeployment/NetworkConfiguration.d.ts.map +1 -1
  24. package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.d.ts.map +1 -1
  25. package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.d.ts +0 -1
  26. package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.d.ts.map +1 -1
  27. package/build/@types/cim/components/ClusterDeployment/components/ClusterDeploymentHostsSelectionAdvanced.d.ts.map +1 -1
  28. package/build/@types/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.d.ts.map +1 -1
  29. package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.d.ts +1 -1
  30. package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.d.ts.map +1 -1
  31. package/build/@types/cim/components/ClusterDeployment/customManifests/ConfigMapForm.d.ts.map +1 -1
  32. package/build/@types/cim/components/ClusterDeployment/helpers.d.ts.map +1 -1
  33. package/build/@types/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostDiscoveryTable.d.ts.map +1 -1
  34. package/build/@types/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.d.ts.map +1 -1
  35. package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.d.ts.map +1 -1
  36. package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionAdvanced.d.ts.map +1 -1
  37. package/build/@types/cim/components/ClusterDeployment/networkConfigurationValidation.d.ts +1 -1
  38. package/build/@types/cim/components/ClusterDeployment/networkConfigurationValidation.d.ts.map +1 -1
  39. package/build/@types/cim/components/ClusterDeployment/networking/ClusterDeploymentHostsNetworkTable.d.ts.map +1 -1
  40. package/build/@types/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.d.ts.map +1 -1
  41. package/build/@types/cim/components/ClusterDeployment/review/ReviewConfigMapsTable.d.ts.map +1 -1
  42. package/build/@types/cim/components/ClusterDeployment/use-networking-formik.d.ts +9 -5
  43. package/build/@types/cim/components/ClusterDeployment/use-networking-formik.d.ts.map +1 -1
  44. package/build/@types/cim/components/Hypershift/DetailsPage/NodePoolsTable.d.ts +1 -0
  45. package/build/@types/cim/components/Hypershift/DetailsPage/NodePoolsTable.d.ts.map +1 -1
  46. package/build/@types/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.d.ts.map +1 -1
  47. package/build/@types/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.d.ts.map +1 -1
  48. package/build/@types/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.d.ts.map +1 -1
  49. package/build/@types/cim/components/Hypershift/HostedClusterWizard/NetworkStep/AdvancedNetworkFields.d.ts.map +1 -0
  50. package/build/@types/cim/components/Hypershift/hooks/useTemptiflySync.d.ts.map +1 -1
  51. package/build/@types/cim/components/Hypershift/modals/AddNodePoolModal.d.ts.map +1 -1
  52. package/build/@types/cim/components/Hypershift/modals/ManageHostsModal.d.ts.map +1 -1
  53. package/build/@types/cim/components/Hypershift/modals/RemoveNodePoolModal.d.ts.map +1 -1
  54. package/build/@types/cim/components/Hypershift/utils/labels.d.ts.map +1 -1
  55. package/build/@types/cim/components/InfraEnv/EnvironmentDetails.d.ts.map +1 -1
  56. package/build/@types/cim/components/InfraEnv/EnvironmentErrors.d.ts +0 -1
  57. package/build/@types/cim/components/InfraEnv/EnvironmentErrors.d.ts.map +1 -1
  58. package/build/@types/cim/components/InfraEnv/InfraEnvFormPage.d.ts +1 -1
  59. package/build/@types/cim/components/InfraEnv/InfraEnvFormPage.d.ts.map +1 -1
  60. package/build/@types/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.d.ts.map +1 -1
  61. package/build/@types/cim/components/YamlPreview/YamlPreview.d.ts +1 -1
  62. package/build/@types/cim/components/YamlPreview/YamlPreview.d.ts.map +1 -1
  63. package/build/@types/cim/components/common/CpuArchitectureDropdown.d.ts +2 -2
  64. package/build/@types/cim/components/common/CpuArchitectureDropdown.d.ts.map +1 -1
  65. package/build/@types/cim/components/common/SpecSyncErrAlert.d.ts.map +1 -1
  66. package/build/@types/cim/components/helpers/agentStatus.d.ts.map +1 -1
  67. package/build/@types/cim/components/helpers/status.d.ts +1 -1
  68. package/build/@types/cim/components/helpers/status.d.ts.map +1 -1
  69. package/build/@types/cim/components/helpers/toAssisted.d.ts +3 -3
  70. package/build/@types/cim/components/helpers/toAssisted.d.ts.map +1 -1
  71. package/build/@types/cim/components/helpers/versions.d.ts +1 -1
  72. package/build/@types/cim/components/helpers/versions.d.ts.map +1 -1
  73. package/build/@types/cim/components/modals/AddBmcHostModal.d.ts.map +1 -1
  74. package/build/@types/cim/components/modals/AddBmcHostYamlForm.d.ts.map +1 -1
  75. package/build/@types/cim/components/modals/AddBmcHostYamlModal.d.ts.map +1 -1
  76. package/build/@types/cim/components/modals/AddHostModal.d.ts.map +1 -1
  77. package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationFormFields.d.ts.map +1 -1
  78. package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationModal.d.ts.map +1 -1
  79. package/build/@types/cim/components/modals/CimConfiguration/persist.d.ts +2 -2
  80. package/build/@types/cim/components/modals/CimConfiguration/persist.d.ts.map +1 -1
  81. package/build/@types/cim/components/modals/CimConfiguration/types.d.ts +1 -1
  82. package/build/@types/cim/components/modals/CimConfiguration/utils.d.ts +4 -4
  83. package/build/@types/cim/components/modals/CimConfiguration/utils.d.ts.map +1 -1
  84. package/build/@types/cim/components/modals/EditBMHModal.d.ts.map +1 -1
  85. package/build/@types/cim/components/modals/EditNtpSourcesModal.d.ts.map +1 -1
  86. package/build/@types/cim/components/modals/EditProxyModal.d.ts.map +1 -1
  87. package/build/@types/cim/components/modals/EditPullSecretModal.d.ts.map +1 -1
  88. package/build/@types/cim/components/modals/EditSSHKeyModal.d.ts.map +1 -1
  89. package/build/@types/cim/components/modals/MassApproveAgentModal.d.ts.map +1 -1
  90. package/build/@types/cim/components/modals/ProvisioningConfigErrorAlert.d.ts.map +1 -1
  91. package/build/@types/cim/components/modals/ScaleUpModal.d.ts.map +1 -1
  92. package/build/@types/cim/components/modals/utils.d.ts.map +1 -1
  93. package/build/@types/cim/hooks/index.d.ts +1 -0
  94. package/build/@types/cim/hooks/index.d.ts.map +1 -1
  95. package/build/@types/cim/hooks/types.d.ts +1 -1
  96. package/build/@types/cim/hooks/types.d.ts.map +1 -1
  97. package/build/@types/cim/hooks/useEvents.d.ts +4 -0
  98. package/build/@types/cim/hooks/useEvents.d.ts.map +1 -0
  99. package/build/@types/cim/types/fromOCP/k8sTypes.d.ts +12 -0
  100. package/build/@types/cim/types/fromOCP/k8sTypes.d.ts.map +1 -1
  101. package/build/@types/cim/types/k8s/agent-cluster-install.d.ts +4 -0
  102. package/build/@types/cim/types/k8s/agent-cluster-install.d.ts.map +1 -1
  103. package/build/@types/cim/types/k8s/bare-metal-host.d.ts +20 -0
  104. package/build/@types/cim/types/k8s/bare-metal-host.d.ts.map +1 -1
  105. package/build/@types/cim/utils.d.ts +1 -1
  106. package/build/@types/cim/utils.d.ts.map +1 -1
  107. package/build/@types/common/api/assisted-service/ClustersAPI.d.ts +4 -0
  108. package/build/@types/common/api/assisted-service/ClustersAPI.d.ts.map +1 -1
  109. package/build/@types/common/api/axiosClient.d.ts.map +1 -1
  110. package/build/@types/common/components/AddHosts/AddHostsContext.d.ts +1 -1
  111. package/build/@types/common/components/AddHosts/AddHostsContext.d.ts.map +1 -1
  112. package/build/@types/common/components/AlertsContextProvider.d.ts +1 -1
  113. package/build/@types/common/components/AlertsContextProvider.d.ts.map +1 -1
  114. package/build/@types/common/components/ErrorHandling/ErrorMonitorContext.d.ts +1 -1
  115. package/build/@types/common/components/ErrorHandling/ErrorMonitorContext.d.ts.map +1 -1
  116. package/build/@types/common/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts +3 -3
  117. package/build/@types/common/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -1
  118. package/build/@types/common/components/clusterConfiguration/DiscoveryImageConfigForm.d.ts +1 -1
  119. package/build/@types/common/components/clusterConfiguration/DiscoveryImageConfigForm.d.ts.map +1 -1
  120. package/build/@types/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.d.ts.map +1 -1
  121. package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/TangServers.d.ts.map +1 -1
  122. package/build/@types/common/components/clusterConfiguration/ExternalPlatformsDropdown.d.ts.map +1 -1
  123. package/build/@types/common/components/clusterConfiguration/utils.d.ts +2 -2
  124. package/build/@types/common/components/clusterConfiguration/utils.d.ts.map +1 -1
  125. package/build/@types/common/components/clusterDetail/ClusterProgressItem.d.ts.map +1 -1
  126. package/build/@types/common/components/clusterWizard/ClusterWizardStepHeader.d.ts +1 -1
  127. package/build/@types/common/components/clusterWizard/ClusterWizardStepHeader.d.ts.map +1 -1
  128. package/build/@types/common/components/clusterWizard/ClusterWizardStepValidationsAlert.d.ts.map +1 -1
  129. package/build/@types/common/components/clusterWizard/ReviewHostsInventory.d.ts +1 -1
  130. package/build/@types/common/components/clusterWizard/ReviewHostsInventory.d.ts.map +1 -1
  131. package/build/@types/common/components/clusterWizard/ReviewValidations.d.ts.map +1 -1
  132. package/build/@types/common/components/clusterWizard/clusterDetailsValidation.d.ts +6 -6
  133. package/build/@types/common/components/clusterWizard/clusterDetailsValidation.d.ts.map +1 -1
  134. package/build/@types/common/components/clusterWizard/networkingSteps/AdvancedNetworkFields.d.ts +7 -0
  135. package/build/@types/common/components/clusterWizard/networkingSteps/AdvancedNetworkFields.d.ts.map +1 -0
  136. package/build/@types/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.d.ts +10 -6
  137. package/build/@types/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.d.ts.map +1 -1
  138. package/build/@types/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.d.ts +13 -0
  139. package/build/@types/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.d.ts.map +1 -0
  140. package/build/@types/{ocm/components/clusterConfiguration/networkConfiguration → common/components/clusterWizard/networkingSteps}/SubnetsDropdown.d.ts +1 -1
  141. package/build/@types/common/components/clusterWizard/networkingSteps/SubnetsDropdown.d.ts.map +1 -0
  142. package/build/@types/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.d.ts +4 -2
  143. package/build/@types/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.d.ts.map +1 -1
  144. package/build/@types/common/components/clusterWizard/networkingSteps/index.d.ts +7 -2
  145. package/build/@types/common/components/clusterWizard/networkingSteps/index.d.ts.map +1 -1
  146. package/build/@types/{ocm/components/clusterConfiguration/networkConfiguration → common/components/clusterWizard/networkingSteps}/reorderNetworks.d.ts +1 -1
  147. package/build/@types/common/components/clusterWizard/networkingSteps/reorderNetworks.d.ts.map +1 -0
  148. package/build/@types/common/components/clusterWizard/validationsInfoUtils.d.ts +3 -3
  149. package/build/@types/common/components/clusterWizard/validationsInfoUtils.d.ts.map +1 -1
  150. package/build/@types/common/components/hosts/AITable.d.ts +1 -22
  151. package/build/@types/common/components/hosts/AITable.d.ts.map +1 -1
  152. package/build/@types/common/components/hosts/AdditionalNTPSourcesDialog.d.ts.map +1 -1
  153. package/build/@types/common/components/hosts/EditHostForm.d.ts.map +1 -1
  154. package/build/@types/common/components/hosts/HostProgress.d.ts.map +1 -1
  155. package/build/@types/common/components/hosts/HostPropertyValidationPopover.d.ts +1 -1
  156. package/build/@types/common/components/hosts/HostPropertyValidationPopover.d.ts.map +1 -1
  157. package/build/@types/common/components/hosts/HostStatus.d.ts +1 -1
  158. package/build/@types/common/components/hosts/HostStatus.d.ts.map +1 -1
  159. package/build/@types/common/components/hosts/HostValidationGroups.d.ts.map +1 -1
  160. package/build/@types/common/components/hosts/HostsTableDetailContext.d.ts +1 -1
  161. package/build/@types/common/components/hosts/HostsTableDetailContext.d.ts.map +1 -1
  162. package/build/@types/common/components/hosts/MassChangeHostnameModal.d.ts.map +1 -1
  163. package/build/@types/common/components/hosts/TableToolbar.d.ts +1 -1
  164. package/build/@types/common/components/hosts/TableToolbar.d.ts.map +1 -1
  165. package/build/@types/common/components/hosts/index.d.ts +2 -0
  166. package/build/@types/common/components/hosts/index.d.ts.map +1 -1
  167. package/build/@types/common/components/hosts/tableColumns.d.ts +21 -0
  168. package/build/@types/common/components/hosts/tableColumns.d.ts.map +1 -0
  169. package/build/@types/common/components/hosts/tableUtils.d.ts +3 -21
  170. package/build/@types/common/components/hosts/tableUtils.d.ts.map +1 -1
  171. package/build/@types/common/components/hosts/types.d.ts +1 -0
  172. package/build/@types/common/components/hosts/types.d.ts.map +1 -1
  173. package/build/@types/common/components/hosts/usePagination.d.ts +1 -1
  174. package/build/@types/common/components/hosts/usePagination.d.ts.map +1 -1
  175. package/build/@types/common/components/operators/operatorSpecs.d.ts +1 -1
  176. package/build/@types/common/components/operators/operatorSpecs.d.ts.map +1 -1
  177. package/build/@types/common/components/storage/DisksTable.d.ts.map +1 -1
  178. package/build/@types/common/components/ui/Alerts.d.ts +1 -1
  179. package/build/@types/common/components/ui/Alerts.d.ts.map +1 -1
  180. package/build/@types/common/components/ui/CustomToolbarFilter.d.ts.map +1 -1
  181. package/build/@types/common/components/ui/EventsList.d.ts.map +1 -1
  182. package/build/@types/common/components/ui/GridGap.d.ts +1 -1
  183. package/build/@types/common/components/ui/GridGap.d.ts.map +1 -1
  184. package/build/@types/common/components/ui/OpenShiftSelectWithSearch.d.ts.map +1 -1
  185. package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts +2 -4
  186. package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts.map +1 -1
  187. package/build/@types/common/components/ui/OpenShiftVersionModal.d.ts +2 -2
  188. package/build/@types/common/components/ui/OpenShiftVersionModal.d.ts.map +1 -1
  189. package/build/@types/common/components/ui/PrismCode.d.ts +13 -11
  190. package/build/@types/common/components/ui/PrismCode.d.ts.map +1 -1
  191. package/build/@types/common/components/ui/StaticTextField.d.ts +3 -3
  192. package/build/@types/common/components/ui/StaticTextField.d.ts.map +1 -1
  193. package/build/@types/common/components/ui/Toolbar/ToolbarSecondaryGroup.d.ts +1 -1
  194. package/build/@types/common/components/ui/Toolbar/ToolbarSecondaryGroup.d.ts.map +1 -1
  195. package/build/@types/common/components/ui/formik/CertificatesUploadField.d.ts +1 -1
  196. package/build/@types/common/components/ui/formik/CertificatesUploadField.d.ts.map +1 -1
  197. package/build/@types/common/components/ui/formik/InputField.d.ts +2 -2
  198. package/build/@types/common/components/ui/formik/InputField.d.ts.map +1 -1
  199. package/build/@types/common/components/ui/formik/LabelField.d.ts +5 -10
  200. package/build/@types/common/components/ui/formik/LabelField.d.ts.map +1 -1
  201. package/build/@types/common/components/ui/formik/NumberInputField.d.ts +1 -1
  202. package/build/@types/common/components/ui/formik/NumberInputField.d.ts.map +1 -1
  203. package/build/@types/common/components/ui/formik/PullSecretField.d.ts.map +1 -1
  204. package/build/@types/common/components/ui/formik/SelectFieldWithSearch.d.ts +3 -3
  205. package/build/@types/common/components/ui/formik/SelectFieldWithSearch.d.ts.map +1 -1
  206. package/build/@types/common/components/ui/formik/TextAreaField.d.ts +1 -1
  207. package/build/@types/common/components/ui/formik/TextAreaField.d.ts.map +1 -1
  208. package/build/@types/common/components/ui/formik/UploadField.d.ts +1 -1
  209. package/build/@types/common/components/ui/formik/UploadField.d.ts.map +1 -1
  210. package/build/@types/common/components/ui/formik/index.d.ts +0 -2
  211. package/build/@types/common/components/ui/formik/index.d.ts.map +1 -1
  212. package/build/@types/common/components/ui/formik/utils.d.ts +1 -1
  213. package/build/@types/common/components/ui/formik/utils.d.ts.map +1 -1
  214. package/build/@types/common/components/ui/index.d.ts +1 -1
  215. package/build/@types/common/components/ui/index.d.ts.map +1 -1
  216. package/build/@types/common/components/ui/utils.d.ts +3 -0
  217. package/build/@types/common/components/ui/utils.d.ts.map +1 -1
  218. package/build/@types/common/config/constants.d.ts +2 -1
  219. package/build/@types/common/config/constants.d.ts.map +1 -1
  220. package/build/@types/common/features/featureGate.d.ts +2 -2
  221. package/build/@types/common/features/featureGate.d.ts.map +1 -1
  222. package/build/@types/common/hooks/useDeepCompareMemoize.d.ts.map +1 -1
  223. package/build/@types/common/hooks/useFormikHelpers.d.ts.map +1 -1
  224. package/build/@types/common/hooks/useStateSafely.d.ts.map +1 -1
  225. package/build/@types/common/index.d.ts +1 -0
  226. package/build/@types/common/index.d.ts.map +1 -1
  227. package/build/@types/common/types/clusters.d.ts +0 -1
  228. package/build/@types/common/types/clusters.d.ts.map +1 -1
  229. package/build/@types/common/utils.d.ts +2 -2
  230. package/build/@types/common/utils.d.ts.map +1 -1
  231. package/build/@types/common/validationSchemas/addressValidation.d.ts +18 -0
  232. package/build/@types/common/validationSchemas/addressValidation.d.ts.map +1 -0
  233. package/build/@types/common/validationSchemas/clusterDetailsValidation.d.ts +13 -0
  234. package/build/@types/common/validationSchemas/clusterDetailsValidation.d.ts.map +1 -0
  235. package/build/@types/common/{components/ui/formik → validationSchemas}/constants.d.ts +1 -3
  236. package/build/@types/common/validationSchemas/constants.d.ts.map +1 -0
  237. package/build/@types/common/validationSchemas/hostnameValidation.d.ts +4 -0
  238. package/build/@types/common/validationSchemas/hostnameValidation.d.ts.map +1 -0
  239. package/build/@types/common/validationSchemas/index.d.ts +11 -0
  240. package/build/@types/common/validationSchemas/index.d.ts.map +1 -0
  241. package/build/@types/common/validationSchemas/networkingValidation.d.ts +18 -0
  242. package/build/@types/common/validationSchemas/networkingValidation.d.ts.map +1 -0
  243. package/build/@types/common/validationSchemas/ntpValidation.d.ts +4 -0
  244. package/build/@types/common/validationSchemas/ntpValidation.d.ts.map +1 -0
  245. package/build/@types/common/validationSchemas/proxyValidation.d.ts +11 -0
  246. package/build/@types/common/validationSchemas/proxyValidation.d.ts.map +1 -0
  247. package/build/@types/common/validationSchemas/pullSecretValidation.d.ts +4 -0
  248. package/build/@types/common/validationSchemas/pullSecretValidation.d.ts.map +1 -0
  249. package/build/@types/common/validationSchemas/regexes.d.ts +14 -0
  250. package/build/@types/common/validationSchemas/regexes.d.ts.map +1 -0
  251. package/build/@types/common/validationSchemas/sshValidation.d.ts +5 -0
  252. package/build/@types/common/validationSchemas/sshValidation.d.ts.map +1 -0
  253. package/build/@types/common/validationSchemas/utils.d.ts +7 -0
  254. package/build/@types/common/validationSchemas/utils.d.ts.map +1 -0
  255. package/build/@types/ocm/components/AddHosts/InventoryAddHost.d.ts +1 -1
  256. package/build/@types/ocm/components/AddHosts/InventoryAddHost.d.ts.map +1 -1
  257. package/build/@types/ocm/components/AddHosts/day2Wizard/Day2DiscoveryImageModalButton.d.ts.map +1 -1
  258. package/build/@types/ocm/components/AddHosts/day2Wizard/Day2StaticIP.d.ts.map +1 -1
  259. package/build/@types/ocm/components/AddHosts/day2Wizard/Day2StaticIpHostConfigurations.d.ts.map +1 -1
  260. package/build/@types/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContentErrors.d.ts.map +1 -1
  261. package/build/@types/ocm/components/Routes.d.ts +1 -2
  262. package/build/@types/ocm/components/Routes.d.ts.map +1 -1
  263. package/build/@types/ocm/components/SentryErrorMonitorContextProvider.d.ts +1 -1
  264. package/build/@types/ocm/components/SentryErrorMonitorContextProvider.d.ts.map +1 -1
  265. package/build/@types/ocm/components/clusterConfiguration/ClusterDefaultConfigurationContext.d.ts +1 -1
  266. package/build/@types/ocm/components/clusterConfiguration/ClusterDefaultConfigurationContext.d.ts.map +1 -1
  267. package/build/@types/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.d.ts.map +1 -1
  268. package/build/@types/ocm/components/clusterConfiguration/HostInventory.d.ts.map +1 -1
  269. package/build/@types/ocm/components/clusterConfiguration/InformationAndAlerts.d.ts.map +1 -1
  270. package/build/@types/ocm/components/clusterConfiguration/OcmBaseDomainField.d.ts +2 -2
  271. package/build/@types/ocm/components/clusterConfiguration/OcmBaseDomainField.d.ts.map +1 -1
  272. package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts +3 -7
  273. package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts.map +1 -1
  274. package/build/@types/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.d.ts +2 -2
  275. package/build/@types/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.d.ts.map +1 -1
  276. package/build/@types/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.d.ts +2 -3
  277. package/build/@types/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.d.ts.map +1 -1
  278. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.d.ts.map +1 -1
  279. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/DeleteCustomManifestModal.d.ts.map +1 -1
  280. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifest.d.ts.map +1 -1
  281. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifests.d.ts.map +1 -1
  282. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/customManifestsValidationSchema.d.ts +2 -1
  283. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/customManifestsValidationSchema.d.ts.map +1 -1
  284. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.d.ts +1 -1
  285. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.d.ts.map +1 -1
  286. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.d.ts.map +1 -1
  287. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationTableBase.d.ts.map +1 -1
  288. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.d.ts +2 -1
  289. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.d.ts.map +1 -1
  290. package/build/@types/ocm/components/clusterConfiguration/operators/OperatorCheckbox.d.ts +2 -2
  291. package/build/@types/ocm/components/clusterConfiguration/operators/OperatorCheckbox.d.ts.map +1 -1
  292. package/build/@types/ocm/components/clusterConfiguration/operators/bundleSpecs.d.ts.map +1 -1
  293. package/build/@types/ocm/components/clusterConfiguration/operators/utils.d.ts.map +1 -1
  294. package/build/@types/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.d.ts.map +1 -1
  295. package/build/@types/ocm/components/clusterConfiguration/review/ReviewClusterDetailTable.d.ts.map +1 -1
  296. package/build/@types/ocm/components/clusterConfiguration/review/ReviewCustomManifestsTable.d.ts.map +1 -1
  297. package/build/@types/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.d.ts.map +1 -1
  298. package/build/@types/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.d.ts.map +1 -1
  299. package/build/@types/ocm/components/clusterConfiguration/review/ReviewPlatformTable.d.ts.map +1 -1
  300. package/build/@types/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.d.ts.map +1 -1
  301. package/build/@types/ocm/components/clusterConfiguration/review/ReviewStep.d.ts.map +1 -1
  302. package/build/@types/ocm/components/clusterConfiguration/review/ReviewSummary.d.ts.map +1 -1
  303. package/build/@types/ocm/components/clusterConfiguration/review/TableSummaryExpandable.d.ts +1 -1
  304. package/build/@types/ocm/components/clusterConfiguration/review/TableSummaryExpandable.d.ts.map +1 -1
  305. package/build/@types/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.d.ts.map +1 -1
  306. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHosts.d.ts.map +1 -1
  307. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/formViewHostsValidationSchema.d.ts +2 -1
  308. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/formViewHostsValidationSchema.d.ts.map +1 -1
  309. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWideFields.d.ts.map +1 -1
  310. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.d.ts +1 -1
  311. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.d.ts.map +1 -1
  312. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.d.ts.map +1 -1
  313. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.d.ts.map +1 -1
  314. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/YamlView/MacIpMapping.d.ts.map +1 -1
  315. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlView.d.ts.map +1 -1
  316. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/YamlView/yamlViewValidationSchema.d.ts +2 -1
  317. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/YamlView/yamlViewValidationSchema.d.ts.map +1 -1
  318. package/build/@types/ocm/components/clusterDetail/ClusterPollingErrorModal.d.ts +2 -2
  319. package/build/@types/ocm/components/clusterDetail/ClusterPollingErrorModal.d.ts.map +1 -1
  320. package/build/@types/ocm/components/clusterDetail/OpenShiftVersionDetail.d.ts.map +1 -1
  321. package/build/@types/ocm/components/clusterDetail/ResetClusterModal.d.ts.map +1 -1
  322. package/build/@types/ocm/components/clusterWizard/ClusterDetails.d.ts.map +1 -1
  323. package/build/@types/ocm/components/clusterWizard/ClusterDetailsForm.d.ts.map +1 -1
  324. package/build/@types/ocm/components/clusterWizard/ClusterWizardContext.d.ts +9 -0
  325. package/build/@types/ocm/components/clusterWizard/ClusterWizardContext.d.ts.map +1 -1
  326. package/build/@types/ocm/components/clusterWizard/ClusterWizardContextProvider.d.ts +4 -4
  327. package/build/@types/ocm/components/clusterWizard/ClusterWizardContextProvider.d.ts.map +1 -1
  328. package/build/@types/ocm/components/clusterWizard/ClusterWizardFooter.d.ts +2 -1
  329. package/build/@types/ocm/components/clusterWizard/ClusterWizardFooter.d.ts.map +1 -1
  330. package/build/@types/ocm/components/clusterWizard/ClusterWizardNavigation.d.ts +1 -1
  331. package/build/@types/ocm/components/clusterWizard/ClusterWizardNavigation.d.ts.map +1 -1
  332. package/build/@types/ocm/components/clusterWizard/CustomManifestStep.d.ts.map +1 -1
  333. package/build/@types/ocm/components/clusterWizard/HostDiscovery.d.ts.map +1 -1
  334. package/build/@types/ocm/components/clusterWizard/NewClusterWizard.d.ts.map +1 -1
  335. package/build/@types/ocm/components/clusterWizard/OpenShiftVersionsContext.d.ts.map +1 -1
  336. package/build/@types/ocm/components/clusterWizard/Operators.d.ts.map +1 -1
  337. package/build/@types/ocm/components/clusterWizard/OperatorsBundle.d.ts +1 -1
  338. package/build/@types/ocm/components/clusterWizard/OperatorsBundle.d.ts.map +1 -1
  339. package/build/@types/ocm/components/clusterWizard/OperatorsSelect.d.ts +1 -1
  340. package/build/@types/ocm/components/clusterWizard/OperatorsSelect.d.ts.map +1 -1
  341. package/build/@types/ocm/components/clusterWizard/Storage.d.ts.map +1 -1
  342. package/build/@types/ocm/components/clusterWizard/constants.d.ts.map +1 -1
  343. package/build/@types/ocm/components/clusterWizard/disconnected/BasicStep.d.ts.map +1 -1
  344. package/build/@types/ocm/components/clusterWizard/disconnected/DisconnectedStaticIp.d.ts +4 -0
  345. package/build/@types/ocm/components/clusterWizard/disconnected/DisconnectedStaticIp.d.ts.map +1 -0
  346. package/build/@types/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.d.ts +1 -1
  347. package/build/@types/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.d.ts.map +1 -1
  348. package/build/@types/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.d.ts +4 -0
  349. package/build/@types/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.d.ts.map +1 -0
  350. package/build/@types/ocm/components/clusterWizard/disconnected/ReviewStep.d.ts.map +1 -1
  351. package/build/@types/ocm/components/clusterWizard/index.d.ts +1 -0
  352. package/build/@types/ocm/components/clusterWizard/index.d.ts.map +1 -1
  353. package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts +1 -1
  354. package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts.map +1 -1
  355. package/build/@types/ocm/components/clusters/ClusterBreadcrumbs.d.ts +1 -1
  356. package/build/@types/ocm/components/clusters/ClusterBreadcrumbs.d.ts.map +1 -1
  357. package/build/@types/ocm/components/clusters/ClusterPage.d.ts.map +1 -1
  358. package/build/@types/ocm/components/clusters/ClusterToolbar.d.ts +1 -1
  359. package/build/@types/ocm/components/clusters/ClusterToolbar.d.ts.map +1 -1
  360. package/build/@types/ocm/components/clusters/clusterPolling.d.ts.map +1 -1
  361. package/build/@types/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.d.ts.map +1 -1
  362. package/build/@types/ocm/components/hosts/ClusterHostsTable.d.ts.map +1 -1
  363. package/build/@types/ocm/components/hosts/HardwareStatus.d.ts +2 -2
  364. package/build/@types/ocm/components/hosts/HardwareStatus.d.ts.map +1 -1
  365. package/build/@types/ocm/components/hosts/HostsDiscoveryTable.d.ts.map +1 -1
  366. package/build/@types/ocm/components/hosts/HostsStorageTable.d.ts.map +1 -1
  367. package/build/@types/ocm/components/hosts/ModalDialogsContext.d.ts +1 -1
  368. package/build/@types/ocm/components/hosts/ModalDialogsContext.d.ts.map +1 -1
  369. package/build/@types/ocm/components/hosts/StorageAlerts.d.ts.map +1 -1
  370. package/build/@types/ocm/components/hosts/UpdateDay2ApiVipForm.d.ts.map +1 -1
  371. package/build/@types/ocm/components/hosts/use-hosts-table.d.ts.map +1 -1
  372. package/build/@types/ocm/components/hosts/utils.d.ts.map +1 -1
  373. package/build/@types/ocm/components/ui/AssistedUILibVersion.d.ts +1 -1
  374. package/build/@types/ocm/components/ui/AssistedUILibVersion.d.ts.map +1 -1
  375. package/build/@types/ocm/services/ClusterDetailsService.d.ts +4 -4
  376. package/build/@types/ocm/services/ClusterDetailsService.d.ts.map +1 -1
  377. package/build/@types/ocm/services/ClustersService.d.ts +4 -0
  378. package/build/@types/ocm/services/ClustersService.d.ts.map +1 -1
  379. package/build/@types/ocm/services/InfraEnvsService.d.ts.map +1 -1
  380. package/build/@types/ocm/store/slices/clusters/selectors.d.ts.map +1 -1
  381. package/build/@types/ocm/store/slices/clusters/slice.d.ts +1 -1
  382. package/build/@types/ocm/store/slices/clusters/slice.d.ts.map +1 -1
  383. package/build/@types/ocm/store/slices/current-cluster/slice.d.ts +2 -2
  384. package/build/@types/ocm/store/slices/current-cluster/slice.d.ts.map +1 -1
  385. package/build/@types/ocm/store/slices/current-user/slice.d.ts +1 -1
  386. package/build/@types/ocm/store/slices/current-user/slice.d.ts.map +1 -1
  387. package/build/@types/ocm/store/slices/feature-flags/slice.d.ts +1 -1
  388. package/build/@types/ocm/store/slices/feature-flags/slice.d.ts.map +1 -1
  389. package/build/@types/ocm/store/slices/infra-envs/slice.d.ts +1 -1
  390. package/build/@types/ocm/store/slices/infra-envs/slice.d.ts.map +1 -1
  391. package/build/@types/ocm/store/store-day1.d.ts +1 -1
  392. package/build/@types/ocm/store/store-day1.d.ts.map +1 -1
  393. package/build/cjs/cim/components/Agent/AgentStatus.js +2 -2
  394. package/build/cjs/cim/components/Agent/AgentStatus.js.map +1 -1
  395. package/build/cjs/cim/components/Agent/AgentTable.js +10 -9
  396. package/build/cjs/cim/components/Agent/AgentTable.js.map +1 -1
  397. package/build/cjs/cim/components/Agent/AgentsSelectionHostCountAlerts.js.map +1 -1
  398. package/build/cjs/cim/components/Agent/AgentsSelectionTable.js +9 -8
  399. package/build/cjs/cim/components/Agent/AgentsSelectionTable.js.map +1 -1
  400. package/build/cjs/cim/components/Agent/AgentsSelectionUtils.js.map +1 -1
  401. package/build/cjs/cim/components/Agent/BMCForm.js +8 -9
  402. package/build/cjs/cim/components/Agent/BMCForm.js.map +1 -1
  403. package/build/cjs/cim/components/Agent/BMHEventsModal.js +54 -0
  404. package/build/cjs/cim/components/Agent/BMHEventsModal.js.map +1 -0
  405. package/build/cjs/cim/components/Agent/BMHStatus.js +3 -2
  406. package/build/cjs/cim/components/Agent/BMHStatus.js.map +1 -1
  407. package/build/cjs/cim/components/Agent/BMHStatusInfo.js +59 -0
  408. package/build/cjs/cim/components/Agent/BMHStatusInfo.js.map +1 -0
  409. package/build/cjs/cim/components/Agent/MinimalHWRequirements.js +6 -5
  410. package/build/cjs/cim/components/Agent/MinimalHWRequirements.js.map +1 -1
  411. package/build/cjs/cim/components/Agent/index.js +2 -0
  412. package/build/cjs/cim/components/Agent/index.js.map +1 -1
  413. package/build/cjs/cim/components/Agent/tableColumns.js +184 -0
  414. package/build/cjs/cim/components/Agent/tableColumns.js.map +1 -0
  415. package/build/cjs/cim/components/Agent/tableUtils.js +4 -174
  416. package/build/cjs/cim/components/Agent/tableUtils.js.map +1 -1
  417. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentCredentials.js.map +1 -1
  418. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsTable.js +10 -10
  419. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsTable.js.map +1 -1
  420. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentKubeconfigDownload.js.map +1 -1
  421. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentValidationsOverview.js.map +1 -1
  422. package/build/cjs/cim/components/ClusterDeployment/LocationsSelector.js +2 -2
  423. package/build/cjs/cim/components/ClusterDeployment/LocationsSelector.js.map +1 -1
  424. package/build/cjs/cim/components/ClusterDeployment/NetworkConfiguration.js +28 -38
  425. package/build/cjs/cim/components/ClusterDeployment/NetworkConfiguration.js.map +1 -1
  426. package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.js +9 -15
  427. package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.js.map +1 -1
  428. package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsStep.js +1 -1
  429. package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsStep.js.map +1 -1
  430. package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.js +11 -13
  431. package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.js.map +1 -1
  432. package/build/cjs/cim/components/ClusterDeployment/components/ClusterDeploymentHostsSelectionAdvanced.js +8 -6
  433. package/build/cjs/cim/components/ClusterDeployment/components/ClusterDeploymentHostsSelectionAdvanced.js.map +1 -1
  434. package/build/cjs/cim/components/ClusterDeployment/constants.js +1 -1
  435. package/build/cjs/cim/components/ClusterDeployment/constants.js.map +1 -1
  436. package/build/cjs/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.js.map +1 -1
  437. package/build/cjs/cim/components/ClusterDeployment/customManifests/ConfigMapForm.js +1 -1
  438. package/build/cjs/cim/components/ClusterDeployment/customManifests/ConfigMapForm.js.map +1 -1
  439. package/build/cjs/cim/components/ClusterDeployment/helpers.js +1 -1
  440. package/build/cjs/cim/components/ClusterDeployment/helpers.js.map +1 -1
  441. package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostDiscoveryTable.js +13 -14
  442. package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostDiscoveryTable.js.map +1 -1
  443. package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.js +8 -6
  444. package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.js.map +1 -1
  445. package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscoveryStep.js.map +1 -1
  446. package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.js +16 -15
  447. package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.js.map +1 -1
  448. package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelection.js.map +1 -1
  449. package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionAdvanced.js +8 -6
  450. package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionAdvanced.js.map +1 -1
  451. package/build/cjs/cim/components/ClusterDeployment/networkConfigurationValidation.js +19 -18
  452. package/build/cjs/cim/components/ClusterDeployment/networkConfigurationValidation.js.map +1 -1
  453. package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentHostsNetworkTable.js +9 -10
  454. package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentHostsNetworkTable.js.map +1 -1
  455. package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingForm.js +2 -2
  456. package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingForm.js.map +1 -1
  457. package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingStep.js +12 -8
  458. package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingStep.js.map +1 -1
  459. package/build/cjs/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.js +6 -4
  460. package/build/cjs/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.js.map +1 -1
  461. package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js +21 -14
  462. package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js.map +1 -1
  463. package/build/cjs/cim/components/ClusterDeployment/wizardTransition.js.map +1 -1
  464. package/build/cjs/cim/components/Hypershift/DetailsPage/ConditionsTable.js.map +1 -1
  465. package/build/cjs/cim/components/Hypershift/DetailsPage/HostedClusterProgress.js.map +1 -1
  466. package/build/cjs/cim/components/Hypershift/DetailsPage/HypershiftKubeconfigDownload.js.map +1 -1
  467. package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsProgress.js.map +1 -1
  468. package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsTable.js +3 -3
  469. package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsTable.js.map +1 -1
  470. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.js +4 -8
  471. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.js.map +1 -1
  472. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsStep.js +2 -2
  473. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsStep.js.map +1 -1
  474. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.js +17 -18
  475. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.js.map +1 -1
  476. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.js +2 -11
  477. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.js.map +1 -1
  478. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.js.map +1 -1
  479. package/build/cjs/{common/components/clusterConfiguration → cim/components/Hypershift/HostedClusterWizard/NetworkStep}/AdvancedNetworkFields.js +3 -3
  480. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/NetworkStep/AdvancedNetworkFields.js.map +1 -0
  481. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkForm.js +1 -1
  482. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkForm.js.map +1 -1
  483. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkStep.js +8 -8
  484. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkStep.js.map +1 -1
  485. package/build/cjs/cim/components/Hypershift/hooks/useSupportedOCPVersions.js.map +1 -1
  486. package/build/cjs/cim/components/Hypershift/modals/AddNodePoolModal.js +4 -4
  487. package/build/cjs/cim/components/Hypershift/modals/AddNodePoolModal.js.map +1 -1
  488. package/build/cjs/cim/components/Hypershift/modals/ManageHostsModal.js +4 -4
  489. package/build/cjs/cim/components/Hypershift/modals/ManageHostsModal.js.map +1 -1
  490. package/build/cjs/cim/components/Hypershift/modals/NodePoolForm.js +1 -1
  491. package/build/cjs/cim/components/Hypershift/modals/NodePoolForm.js.map +1 -1
  492. package/build/cjs/cim/components/Hypershift/modals/RemoveNodePoolModal.js +4 -4
  493. package/build/cjs/cim/components/Hypershift/modals/RemoveNodePoolModal.js.map +1 -1
  494. package/build/cjs/cim/components/Hypershift/utils/status.js.map +1 -1
  495. package/build/cjs/cim/components/InfraEnv/EnvironmentDetails.js +5 -2
  496. package/build/cjs/cim/components/InfraEnv/EnvironmentDetails.js.map +1 -1
  497. package/build/cjs/cim/components/InfraEnv/EnvironmentErrors.js +2 -4
  498. package/build/cjs/cim/components/InfraEnv/EnvironmentErrors.js.map +1 -1
  499. package/build/cjs/cim/components/InfraEnv/InfraEnvAgentTable.js +11 -11
  500. package/build/cjs/cim/components/InfraEnv/InfraEnvAgentTable.js.map +1 -1
  501. package/build/cjs/cim/components/InfraEnv/InfraEnvFormPage.js +9 -7
  502. package/build/cjs/cim/components/InfraEnv/InfraEnvFormPage.js.map +1 -1
  503. package/build/cjs/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.js.map +1 -1
  504. package/build/cjs/cim/components/InfraEnv/InfraEnvOpenShiftVersionDropdown.js.map +1 -1
  505. package/build/cjs/cim/components/InfraEnv/InfraTableToolbar.js.map +1 -1
  506. package/build/cjs/cim/components/YamlPreview/YamlPreview.js +10 -11
  507. package/build/cjs/cim/components/YamlPreview/YamlPreview.js.map +1 -1
  508. package/build/cjs/cim/components/YamlPreview/useYAMLPreview.js.map +1 -1
  509. package/build/cjs/cim/components/common/CpuArchitectureDropdown.js.map +1 -1
  510. package/build/cjs/cim/components/common/ResourceAlerts.js +2 -4
  511. package/build/cjs/cim/components/common/ResourceAlerts.js.map +1 -1
  512. package/build/cjs/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.js.map +1 -1
  513. package/build/cjs/cim/components/featureSupportLevels/featureStateUtils.js.map +1 -1
  514. package/build/cjs/cim/components/helpers/agentClusterInstall.js.map +1 -1
  515. package/build/cjs/cim/components/helpers/agentStatus.js +5 -0
  516. package/build/cjs/cim/components/helpers/agentStatus.js.map +1 -1
  517. package/build/cjs/cim/components/helpers/agents.js.map +1 -1
  518. package/build/cjs/cim/components/helpers/clusterDeployment.js.map +1 -1
  519. package/build/cjs/cim/components/helpers/conditions.js.map +1 -1
  520. package/build/cjs/cim/components/helpers/network.js.map +1 -1
  521. package/build/cjs/cim/components/helpers/status.js.map +1 -1
  522. package/build/cjs/cim/components/helpers/storage.js.map +1 -1
  523. package/build/cjs/cim/components/helpers/toAssisted.js +29 -27
  524. package/build/cjs/cim/components/helpers/toAssisted.js.map +1 -1
  525. package/build/cjs/cim/components/helpers/units.js.map +1 -1
  526. package/build/cjs/cim/components/helpers/versions.js +42 -27
  527. package/build/cjs/cim/components/helpers/versions.js.map +1 -1
  528. package/build/cjs/cim/components/modals/AddBmcHostModal.js +7 -5
  529. package/build/cjs/cim/components/modals/AddBmcHostModal.js.map +1 -1
  530. package/build/cjs/cim/components/modals/AddBmcHostYamlForm.js +2 -3
  531. package/build/cjs/cim/components/modals/AddBmcHostYamlForm.js.map +1 -1
  532. package/build/cjs/cim/components/modals/AddBmcHostYamlModal.js +7 -5
  533. package/build/cjs/cim/components/modals/AddBmcHostYamlModal.js.map +1 -1
  534. package/build/cjs/cim/components/modals/AddHostModal.js +9 -7
  535. package/build/cjs/cim/components/modals/AddHostModal.js.map +1 -1
  536. package/build/cjs/cim/components/modals/CimConfiguration/CimConfigProgressAlert.js.map +1 -1
  537. package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationFormFields.js +7 -3
  538. package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationFormFields.js.map +1 -1
  539. package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationModal.js +30 -28
  540. package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationModal.js.map +1 -1
  541. package/build/cjs/cim/components/modals/CimConfiguration/persist.js +12 -5
  542. package/build/cjs/cim/components/modals/CimConfiguration/persist.js.map +1 -1
  543. package/build/cjs/cim/components/modals/CimConfiguration/utils.js.map +1 -1
  544. package/build/cjs/cim/components/modals/EditAgentModal.js +1 -1
  545. package/build/cjs/cim/components/modals/EditAgentModal.js.map +1 -1
  546. package/build/cjs/cim/components/modals/EditBMHModal.js +4 -2
  547. package/build/cjs/cim/components/modals/EditBMHModal.js.map +1 -1
  548. package/build/cjs/cim/components/modals/EditNtpSourcesModal.js +4 -4
  549. package/build/cjs/cim/components/modals/EditNtpSourcesModal.js.map +1 -1
  550. package/build/cjs/cim/components/modals/EditProxyModal.js +9 -7
  551. package/build/cjs/cim/components/modals/EditProxyModal.js.map +1 -1
  552. package/build/cjs/cim/components/modals/EditPullSecretModal.js +5 -5
  553. package/build/cjs/cim/components/modals/EditPullSecretModal.js.map +1 -1
  554. package/build/cjs/cim/components/modals/EditSSHKeyModal.js +8 -8
  555. package/build/cjs/cim/components/modals/EditSSHKeyModal.js.map +1 -1
  556. package/build/cjs/cim/components/modals/MassApproveAgentModal.js +5 -5
  557. package/build/cjs/cim/components/modals/MassApproveAgentModal.js.map +1 -1
  558. package/build/cjs/cim/components/modals/MassDeleteAgentModal.js +1 -1
  559. package/build/cjs/cim/components/modals/MassDeleteAgentModal.js.map +1 -1
  560. package/build/cjs/cim/components/modals/ProvisioningConfigErrorAlert.js.map +1 -1
  561. package/build/cjs/cim/components/modals/ScaleUpModal.js +4 -4
  562. package/build/cjs/cim/components/modals/ScaleUpModal.js.map +1 -1
  563. package/build/cjs/cim/components/modals/utils.js +1 -1
  564. package/build/cjs/cim/components/modals/utils.js.map +1 -1
  565. package/build/cjs/cim/hooks/index.js +1 -0
  566. package/build/cjs/cim/hooks/index.js.map +1 -1
  567. package/build/cjs/cim/hooks/useEvents.js +12 -0
  568. package/build/cjs/cim/hooks/useEvents.js.map +1 -0
  569. package/build/cjs/cim/types/k8s/cluster-version.js +1 -1
  570. package/build/cjs/cim/types/k8s/cluster-version.js.map +1 -1
  571. package/build/cjs/cim/utils.js.map +1 -1
  572. package/build/cjs/common/api/accounts-management-service/organizations-api.js +2 -2
  573. package/build/cjs/common/api/accounts-management-service/organizations-api.js.map +1 -1
  574. package/build/cjs/common/api/assisted-service/ClustersAPI.js +3 -0
  575. package/build/cjs/common/api/assisted-service/ClustersAPI.js.map +1 -1
  576. package/build/cjs/common/api/axiosClient.js +0 -1
  577. package/build/cjs/common/api/axiosClient.js.map +1 -1
  578. package/build/cjs/common/api/utils.js.map +1 -1
  579. package/build/cjs/common/components/AddHosts/AddHostsContext.js.map +1 -1
  580. package/build/cjs/common/components/AlertsContextProvider.js.map +1 -1
  581. package/build/cjs/common/components/ErrorHandling/WithErrorBoundary.js +1 -1
  582. package/build/cjs/common/components/ErrorHandling/WithErrorBoundary.js.map +1 -1
  583. package/build/cjs/common/components/clusterConfiguration/CertificateFields.js.map +1 -1
  584. package/build/cjs/common/components/clusterConfiguration/ControlPlaneNodesDropdown.js.map +1 -1
  585. package/build/cjs/common/components/clusterConfiguration/DiscoveryImageConfigForm.js +7 -6
  586. package/build/cjs/common/components/clusterConfiguration/DiscoveryImageConfigForm.js.map +1 -1
  587. package/build/cjs/common/components/clusterConfiguration/DiscoveryInstructions.js +1 -1
  588. package/build/cjs/common/components/clusterConfiguration/DiscoveryInstructions.js.map +1 -1
  589. package/build/cjs/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.js +9 -9
  590. package/build/cjs/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.js.map +1 -1
  591. package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.js.map +1 -1
  592. package/build/cjs/common/components/clusterConfiguration/ExternalPlatformsDropdown.js.map +1 -1
  593. package/build/cjs/common/components/clusterConfiguration/ProxyFields.js +3 -3
  594. package/build/cjs/common/components/clusterConfiguration/ProxyFields.js.map +1 -1
  595. package/build/cjs/common/components/clusterConfiguration/SecurityFields.js.map +1 -1
  596. package/build/cjs/common/components/clusterConfiguration/utils.js +4 -5
  597. package/build/cjs/common/components/clusterConfiguration/utils.js.map +1 -1
  598. package/build/cjs/common/components/clusterConfiguration/utils.test.js +1 -1
  599. package/build/cjs/common/components/clusterConfiguration/utils.test.js.map +1 -1
  600. package/build/cjs/common/components/clusterDetail/ClusterCredentials.js.map +1 -1
  601. package/build/cjs/common/components/clusterDetail/ClusterProgress.js.map +1 -1
  602. package/build/cjs/common/components/clusterDetail/FinalizingProgress.js.map +1 -1
  603. package/build/cjs/common/components/clusterDetail/KubeconfigDownload.js.map +1 -1
  604. package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js.map +1 -1
  605. package/build/cjs/common/components/clusterDetail/ProgressBarTexts.js.map +1 -1
  606. package/build/cjs/common/components/clusterWizard/ClusterWizardStepHeader.js +1 -1
  607. package/build/cjs/common/components/clusterWizard/ClusterWizardStepHeader.js.map +1 -1
  608. package/build/cjs/common/components/clusterWizard/ClusterWizardStepValidationsAlert.js.map +1 -1
  609. package/build/cjs/common/components/clusterWizard/ReviewHostsInventory.js.map +1 -1
  610. package/build/cjs/common/components/clusterWizard/ReviewValidations.js.map +1 -1
  611. package/build/cjs/common/components/clusterWizard/clusterDetailsValidation.js +21 -12
  612. package/build/cjs/common/components/clusterWizard/clusterDetailsValidation.js.map +1 -1
  613. package/build/cjs/common/components/clusterWizard/networkingSteps/AdvancedNetworkFields.js +62 -0
  614. package/build/cjs/common/components/clusterWizard/networkingSteps/AdvancedNetworkFields.js.map +1 -0
  615. package/build/cjs/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.js +130 -46
  616. package/build/cjs/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.js.map +1 -1
  617. package/build/cjs/{ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.js → common/components/clusterWizard/networkingSteps/StackTypeControlGroup.js} +59 -38
  618. package/build/cjs/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.js.map +1 -0
  619. package/build/cjs/{ocm/components/clusterConfiguration/networkConfiguration → common/components/clusterWizard/networkingSteps}/SubnetsDropdown.js +7 -5
  620. package/build/cjs/common/components/clusterWizard/networkingSteps/SubnetsDropdown.js.map +1 -0
  621. package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js +96 -38
  622. package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js.map +1 -1
  623. package/build/cjs/common/components/clusterWizard/networkingSteps/index.js +13 -3
  624. package/build/cjs/common/components/clusterWizard/networkingSteps/index.js.map +1 -1
  625. package/build/cjs/{ocm/components/clusterConfiguration/networkConfiguration → common/components/clusterWizard/networkingSteps}/reorderNetworks.js +2 -2
  626. package/build/cjs/common/components/clusterWizard/networkingSteps/reorderNetworks.js.map +1 -0
  627. package/build/cjs/common/components/clusterWizard/validationsInfoUtils.js.map +1 -1
  628. package/build/cjs/common/components/clusters/PullSecret.js.map +1 -1
  629. package/build/cjs/common/components/featureSupportLevels/FeatureSupportLevelBadge.js.map +1 -1
  630. package/build/cjs/common/components/featureSupportLevels/FeatureSupportLevelContext.js.map +1 -1
  631. package/build/cjs/common/components/fetching/EventListFetch.js.map +1 -1
  632. package/build/cjs/common/components/hosts/AITable.js.map +1 -1
  633. package/build/cjs/common/components/hosts/AdditionalNTPSourcesDialog.js +2 -1
  634. package/build/cjs/common/components/hosts/AdditionalNTPSourcesDialog.js.map +1 -1
  635. package/build/cjs/common/components/hosts/DiskLimitations.js.map +1 -1
  636. package/build/cjs/common/components/hosts/DiskRole.js.map +1 -1
  637. package/build/cjs/common/components/hosts/EditHostForm.js +3 -2
  638. package/build/cjs/common/components/hosts/EditHostForm.js.map +1 -1
  639. package/build/cjs/common/components/hosts/EditHostModal.js.map +1 -1
  640. package/build/cjs/common/components/hosts/FormatDiskCheckbox.js.map +1 -1
  641. package/build/cjs/common/components/hosts/HostProgress.js.map +1 -1
  642. package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js +1 -1
  643. package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js.map +1 -1
  644. package/build/cjs/common/components/hosts/HostRowDetail.js.map +1 -1
  645. package/build/cjs/common/components/hosts/HostStatus.js +8 -6
  646. package/build/cjs/common/components/hosts/HostStatus.js.map +1 -1
  647. package/build/cjs/common/components/hosts/HostValidationGroups.js +2 -3
  648. package/build/cjs/common/components/hosts/HostValidationGroups.js.map +1 -1
  649. package/build/cjs/common/components/hosts/HostsTableDetailContext.js +1 -1
  650. package/build/cjs/common/components/hosts/HostsTableDetailContext.js.map +1 -1
  651. package/build/cjs/common/components/hosts/MassChangeHostnameModal.js +13 -18
  652. package/build/cjs/common/components/hosts/MassChangeHostnameModal.js.map +1 -1
  653. package/build/cjs/common/components/hosts/MassDeleteHostModal.js.map +1 -1
  654. package/build/cjs/common/components/hosts/NtpValidationStatus.js.map +1 -1
  655. package/build/cjs/common/components/hosts/OcpConsoleNodesSectionLink.js.map +1 -1
  656. package/build/cjs/common/components/hosts/RoleDropdown.js.map +1 -1
  657. package/build/cjs/common/components/hosts/TableToolbar.js.map +1 -1
  658. package/build/cjs/common/components/hosts/hardwareInfo.js.map +1 -1
  659. package/build/cjs/common/components/hosts/index.js +2 -0
  660. package/build/cjs/common/components/hosts/index.js.map +1 -1
  661. package/build/cjs/common/components/hosts/tableColumns.js +336 -0
  662. package/build/cjs/common/components/hosts/tableColumns.js.map +1 -0
  663. package/build/cjs/common/components/hosts/tableUtils.js +3 -333
  664. package/build/cjs/common/components/hosts/tableUtils.js.map +1 -1
  665. package/build/cjs/common/components/hosts/utils.js.map +1 -1
  666. package/build/cjs/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.js.map +1 -1
  667. package/build/cjs/common/components/newFeatureSupportLevels/NewFeatureSupportLevelContext.js.map +1 -1
  668. package/build/cjs/common/components/newFeatureSupportLevels/utils.js.map +1 -1
  669. package/build/cjs/common/components/operators/operatorSpecs.js.map +1 -1
  670. package/build/cjs/common/components/storage/DisksTable.js.map +1 -1
  671. package/build/cjs/common/components/ui/Alerts.js.map +1 -1
  672. package/build/cjs/common/components/ui/BorderedIcon/BorderedIcon.js.map +1 -1
  673. package/build/cjs/common/components/ui/ClusterEventsToolbar.js.map +1 -1
  674. package/build/cjs/common/components/ui/CustomToolbarFilter.js +5 -5
  675. package/build/cjs/common/components/ui/CustomToolbarFilter.js.map +1 -1
  676. package/build/cjs/common/components/ui/EventsList.js +1 -1
  677. package/build/cjs/common/components/ui/EventsList.js.map +1 -1
  678. package/build/cjs/common/components/ui/ExternalLink.js.map +1 -1
  679. package/build/cjs/common/components/ui/GridGap.js +1 -1
  680. package/build/cjs/common/components/ui/GridGap.js.map +1 -1
  681. package/build/cjs/common/components/ui/OpenShiftSelectWithSearch.js +21 -30
  682. package/build/cjs/common/components/ui/OpenShiftSelectWithSearch.js.map +1 -1
  683. package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js +27 -34
  684. package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js.map +1 -1
  685. package/build/cjs/common/components/ui/OpenShiftVersionModal.js +10 -9
  686. package/build/cjs/common/components/ui/OpenShiftVersionModal.js.map +1 -1
  687. package/build/cjs/common/components/ui/PreviewBadge.js +1 -1
  688. package/build/cjs/common/components/ui/PreviewBadge.js.map +1 -1
  689. package/build/cjs/common/components/ui/PrismCode.js +29 -20
  690. package/build/cjs/common/components/ui/PrismCode.js.map +1 -1
  691. package/build/cjs/common/components/ui/StaticTextField.js.map +1 -1
  692. package/build/cjs/common/components/ui/Toolbar/ToolbarSecondaryGroup.js.map +1 -1
  693. package/build/cjs/common/components/ui/WizardFooter.js +1 -1
  694. package/build/cjs/common/components/ui/WizardFooter.js.map +1 -1
  695. package/build/cjs/common/components/ui/WizardNavItem.js.map +1 -1
  696. package/build/cjs/common/components/ui/formik/AdditionalNTPSourcesField.js.map +1 -1
  697. package/build/cjs/common/components/ui/formik/AlertFormikError.js.map +1 -1
  698. package/build/cjs/common/components/ui/formik/CertificatesUploadField.js.map +1 -1
  699. package/build/cjs/common/components/ui/formik/CodeField.js.map +1 -1
  700. package/build/cjs/common/components/ui/formik/FormikAutoSave.js.map +1 -1
  701. package/build/cjs/common/components/ui/formik/InputField.js.map +1 -1
  702. package/build/cjs/common/components/ui/formik/LabelField.js +65 -39
  703. package/build/cjs/common/components/ui/formik/LabelField.js.map +1 -1
  704. package/build/cjs/common/components/ui/formik/MultiSelectField.js.map +1 -1
  705. package/build/cjs/common/components/ui/formik/NumberInputField.js.map +1 -1
  706. package/build/cjs/common/components/ui/formik/PullSecretField.js.map +1 -1
  707. package/build/cjs/common/components/ui/formik/RichInputField.js.map +1 -1
  708. package/build/cjs/common/components/ui/formik/SelectFieldWithSearch.js.map +1 -1
  709. package/build/cjs/common/components/ui/formik/SwitchField.js.map +1 -1
  710. package/build/cjs/common/components/ui/formik/TextAreaField.js.map +1 -1
  711. package/build/cjs/common/components/ui/formik/TextAreaSecretField.js.map +1 -1
  712. package/build/cjs/common/components/ui/formik/UploadField.js +4 -5
  713. package/build/cjs/common/components/ui/formik/UploadField.js.map +1 -1
  714. package/build/cjs/common/components/ui/formik/index.js +0 -2
  715. package/build/cjs/common/components/ui/formik/index.js.map +1 -1
  716. package/build/cjs/common/components/ui/formik/utils.js.map +1 -1
  717. package/build/cjs/common/components/ui/index.js +1 -2
  718. package/build/cjs/common/components/ui/index.js.map +1 -1
  719. package/build/cjs/common/components/ui/table/utils.js.map +1 -1
  720. package/build/cjs/common/components/ui/utils.js +5 -1
  721. package/build/cjs/common/components/ui/utils.js.map +1 -1
  722. package/build/cjs/common/config/constants.js +31 -4
  723. package/build/cjs/common/config/constants.js.map +1 -1
  724. package/build/cjs/common/config/docs_links.js +1 -1
  725. package/build/cjs/common/config/docs_links.js.map +1 -1
  726. package/build/cjs/common/features/featureGate.js.map +1 -1
  727. package/build/cjs/common/hooks/useDeepCompareMemoize.js.map +1 -1
  728. package/build/cjs/common/hooks/useFieldErrorMsg.js.map +1 -1
  729. package/build/cjs/common/hooks/useStateSafely.js.map +1 -1
  730. package/build/cjs/common/index.js +1 -0
  731. package/build/cjs/common/index.js.map +1 -1
  732. package/build/cjs/common/selectors/clusterSelectors.js.map +1 -1
  733. package/build/cjs/common/services/DateAndTime.js.map +1 -1
  734. package/build/cjs/common/types/clusters.js.map +1 -1
  735. package/build/cjs/common/types/cpuArchitecture.js +2 -2
  736. package/build/cjs/common/types/cpuArchitecture.js.map +1 -1
  737. package/build/cjs/common/types/resource-ui-state.js +1 -1
  738. package/build/cjs/common/types/resource-ui-state.js.map +1 -1
  739. package/build/cjs/common/utils.js +5 -3
  740. package/build/cjs/common/utils.js.map +1 -1
  741. package/build/cjs/common/validationSchemas/addressValidation.js +246 -0
  742. package/build/cjs/common/validationSchemas/addressValidation.js.map +1 -0
  743. package/build/cjs/common/validationSchemas/clusterDetailsValidation.js +133 -0
  744. package/build/cjs/common/validationSchemas/clusterDetailsValidation.js.map +1 -0
  745. package/build/cjs/common/{components/ui/formik → validationSchemas}/constants.js +3 -5
  746. package/build/cjs/common/validationSchemas/constants.js.map +1 -0
  747. package/build/cjs/common/validationSchemas/hostnameValidation.js +36 -0
  748. package/build/cjs/common/validationSchemas/hostnameValidation.js.map +1 -0
  749. package/build/cjs/common/validationSchemas/index.js +17 -0
  750. package/build/cjs/common/validationSchemas/index.js.map +1 -0
  751. package/build/cjs/common/validationSchemas/networkingValidation.js +74 -0
  752. package/build/cjs/common/validationSchemas/networkingValidation.js.map +1 -0
  753. package/build/cjs/common/validationSchemas/ntpValidation.js +25 -0
  754. package/build/cjs/common/validationSchemas/ntpValidation.js.map +1 -0
  755. package/build/cjs/common/validationSchemas/proxyValidation.js +43 -0
  756. package/build/cjs/common/validationSchemas/proxyValidation.js.map +1 -0
  757. package/build/cjs/common/validationSchemas/pullSecretValidation.js +21 -0
  758. package/build/cjs/common/validationSchemas/pullSecretValidation.js.map +1 -0
  759. package/build/cjs/common/validationSchemas/regexes.js +17 -0
  760. package/build/cjs/common/validationSchemas/regexes.js.map +1 -0
  761. package/build/cjs/common/validationSchemas/sshValidation.js +32 -0
  762. package/build/cjs/common/validationSchemas/sshValidation.js.map +1 -0
  763. package/build/cjs/common/validationSchemas/utils.js +40 -0
  764. package/build/cjs/common/validationSchemas/utils.js.map +1 -0
  765. package/build/cjs/ocm/components/AddHosts/AddHosts.js.map +1 -1
  766. package/build/cjs/ocm/components/AddHosts/InventoryAddHost.js.map +1 -1
  767. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.js.map +1 -1
  768. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2GenerateISO.js.map +1 -1
  769. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2StaticIP.js +1 -1
  770. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2StaticIP.js.map +1 -1
  771. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2Wizard.js.map +1 -1
  772. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2WizardContext.js.map +1 -1
  773. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2WizardContextProvider.js.map +1 -1
  774. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2WizardNav.js.map +1 -1
  775. package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.js.map +1 -1
  776. package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabMock.js.map +1 -1
  777. package/build/cjs/ocm/components/HostsClusterDetailTab/utils.js.map +1 -1
  778. package/build/cjs/ocm/components/Routes.js +4 -4
  779. package/build/cjs/ocm/components/Routes.js.map +1 -1
  780. package/build/cjs/ocm/components/SentryErrorMonitorContextProvider.js +2 -2
  781. package/build/cjs/ocm/components/SentryErrorMonitorContextProvider.js.map +1 -1
  782. package/build/cjs/ocm/components/clusterConfiguration/ClusterDefaultConfigurationContext.js.map +1 -1
  783. package/build/cjs/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.js.map +1 -1
  784. package/build/cjs/ocm/components/clusterConfiguration/CpuArchitectureDropdown.js.map +1 -1
  785. package/build/cjs/ocm/components/clusterConfiguration/CustomManifestCheckbox.js.map +1 -1
  786. package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageForm.js.map +1 -1
  787. package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageModal.js.map +1 -1
  788. package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.js +1 -0
  789. package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.js.map +1 -1
  790. package/build/cjs/ocm/components/clusterConfiguration/HostsNetworkConfigurationControlGroup.js.map +1 -1
  791. package/build/cjs/ocm/components/clusterConfiguration/OcmBaseDomainField.js +1 -1
  792. package/build/cjs/ocm/components/clusterConfiguration/OcmBaseDomainField.js.map +1 -1
  793. package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +6 -5
  794. package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js.map +1 -1
  795. package/build/cjs/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.js +8 -7
  796. package/build/cjs/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.js.map +1 -1
  797. package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js +14 -18
  798. package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js.map +1 -1
  799. package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js.map +1 -1
  800. package/build/cjs/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.js.map +1 -1
  801. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.js +2 -1
  802. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.js.map +1 -1
  803. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifest.js.map +1 -1
  804. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifests.js +4 -2
  805. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifests.js.map +1 -1
  806. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.js.map +1 -1
  807. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsForm.js +1 -1
  808. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsForm.js.map +1 -1
  809. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/customManifestsValidationSchema.js +7 -6
  810. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/customManifestsValidationSchema.js.map +1 -1
  811. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/utils.js.map +1 -1
  812. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js +6 -12
  813. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js.map +1 -1
  814. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js +2 -1
  815. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js.map +1 -1
  816. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationTableBase.js +8 -9
  817. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationTableBase.js.map +1 -1
  818. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.js +13 -23
  819. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.js.map +1 -1
  820. package/build/cjs/ocm/components/clusterConfiguration/operators/OperatorCheckbox.js.map +1 -1
  821. package/build/cjs/ocm/components/clusterConfiguration/operators/bundleSpecs.js +3 -0
  822. package/build/cjs/ocm/components/clusterConfiguration/operators/bundleSpecs.js.map +1 -1
  823. package/build/cjs/ocm/components/clusterConfiguration/operators/utils.js.map +1 -1
  824. package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js.map +1 -1
  825. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewClusterDetailTable.js.map +1 -1
  826. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewOperatorsTable.js.map +1 -1
  827. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.js.map +1 -1
  828. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewStep.js.map +1 -1
  829. package/build/cjs/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.js.map +1 -1
  830. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/CollapsedHost.js.map +1 -1
  831. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHosts.js +3 -1
  832. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHosts.js.map +1 -1
  833. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.js.map +1 -1
  834. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/formViewHostsValidationSchema.js +6 -6
  835. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/formViewHostsValidationSchema.js.map +1 -1
  836. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWide.js.map +1 -1
  837. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWideFields.js.map +1 -1
  838. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/formViewNetworkWideValidationSchema.js.map +1 -1
  839. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.js.map +1 -1
  840. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.js.map +1 -1
  841. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.js +2 -1
  842. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.js.map +1 -1
  843. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpViewRadioGroup.js.map +1 -1
  844. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlView.js +3 -1
  845. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlView.js.map +1 -1
  846. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlViewFields.js.map +1 -1
  847. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/yamlViewValidationSchema.js +12 -12
  848. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/yamlViewValidationSchema.js.map +1 -1
  849. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/dataTypes.js +2 -2
  850. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/dataTypes.js.map +1 -1
  851. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/dummyData.js.map +1 -1
  852. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/formDataFromInfraEnvField.js.map +1 -1
  853. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.js.map +1 -1
  854. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/fromInfraEnv.js.map +1 -1
  855. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/nmstateTypes.js +1 -1
  856. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/nmstateTypes.js.map +1 -1
  857. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/nmstateYaml.js.map +1 -1
  858. package/build/cjs/ocm/components/clusterConfiguration/staticIp/data/protocolVersion.js.map +1 -1
  859. package/build/cjs/ocm/components/clusterDetail/AssistedInstallerDetailCard.js.map +1 -1
  860. package/build/cjs/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.js.map +1 -1
  861. package/build/cjs/ocm/components/clusterDetail/CancelInstallationModal.js.map +1 -1
  862. package/build/cjs/ocm/components/clusterDetail/ClusterDetail.js.map +1 -1
  863. package/build/cjs/ocm/components/clusterDetail/ClusterDetailStatusVarieties.js.map +1 -1
  864. package/build/cjs/ocm/components/clusterDetail/ClusterProperties.js.map +1 -1
  865. package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js.map +1 -1
  866. package/build/cjs/ocm/components/clusterDetail/ResetClusterModal.js +1 -1
  867. package/build/cjs/ocm/components/clusterDetail/ResetClusterModal.js.map +1 -1
  868. package/build/cjs/ocm/components/clusterDetail/getProgressBarAlerts.js.map +1 -1
  869. package/build/cjs/ocm/components/clusterDetail/utils.js.map +1 -1
  870. package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js +1 -1
  871. package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js.map +1 -1
  872. package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js +1 -3
  873. package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js.map +1 -1
  874. package/build/cjs/ocm/components/clusterWizard/ClusterWizard.js.map +1 -1
  875. package/build/cjs/ocm/components/clusterWizard/ClusterWizardContext.js.map +1 -1
  876. package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js +69 -9
  877. package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js.map +1 -1
  878. package/build/cjs/ocm/components/clusterWizard/ClusterWizardFooter.js +21 -6
  879. package/build/cjs/ocm/components/clusterWizard/ClusterWizardFooter.js.map +1 -1
  880. package/build/cjs/ocm/components/clusterWizard/ClusterWizardNavigation.js.map +1 -1
  881. package/build/cjs/ocm/components/clusterWizard/CredentialsDownload.js.map +1 -1
  882. package/build/cjs/ocm/components/clusterWizard/CustomManifestStep.js +1 -1
  883. package/build/cjs/ocm/components/clusterWizard/CustomManifestStep.js.map +1 -1
  884. package/build/cjs/ocm/components/clusterWizard/HostDiscovery.js.map +1 -1
  885. package/build/cjs/ocm/components/clusterWizard/NewClusterWizard.js +11 -1
  886. package/build/cjs/ocm/components/clusterWizard/NewClusterWizard.js.map +1 -1
  887. package/build/cjs/ocm/components/clusterWizard/OpenShiftVersionsContext.js +40 -36
  888. package/build/cjs/ocm/components/clusterWizard/OpenShiftVersionsContext.js.map +1 -1
  889. package/build/cjs/ocm/components/clusterWizard/Operators.js.map +1 -1
  890. package/build/cjs/ocm/components/clusterWizard/OperatorsBundle.js.map +1 -1
  891. package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.js +1 -1
  892. package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.js.map +1 -1
  893. package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.test.js +3 -3
  894. package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.test.js.map +1 -1
  895. package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js.map +1 -1
  896. package/build/cjs/ocm/components/clusterWizard/StaticIp.js +1 -1
  897. package/build/cjs/ocm/components/clusterWizard/StaticIp.js.map +1 -1
  898. package/build/cjs/ocm/components/clusterWizard/constants.js +1 -0
  899. package/build/cjs/ocm/components/clusterWizard/constants.js.map +1 -1
  900. package/build/cjs/ocm/components/clusterWizard/disconnected/BasicStep.js +96 -18
  901. package/build/cjs/ocm/components/clusterWizard/disconnected/BasicStep.js.map +1 -1
  902. package/build/cjs/ocm/components/clusterWizard/disconnected/DisconnectedStaticIp.js +48 -0
  903. package/build/cjs/ocm/components/clusterWizard/disconnected/DisconnectedStaticIp.js.map +1 -0
  904. package/build/cjs/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.js +204 -0
  905. package/build/cjs/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.js.map +1 -0
  906. package/build/cjs/ocm/components/clusterWizard/disconnected/ReviewStep.js +10 -6
  907. package/build/cjs/ocm/components/clusterWizard/disconnected/ReviewStep.js.map +1 -1
  908. package/build/cjs/ocm/components/clusterWizard/index.js +3 -1
  909. package/build/cjs/ocm/components/clusterWizard/index.js.map +1 -1
  910. package/build/cjs/ocm/components/clusterWizard/wizardTransition.js +3 -0
  911. package/build/cjs/ocm/components/clusterWizard/wizardTransition.js.map +1 -1
  912. package/build/cjs/ocm/components/clusters/ClusterPage.js.map +1 -1
  913. package/build/cjs/ocm/components/clusters/ClusterStatus.js.map +1 -1
  914. package/build/cjs/ocm/components/clusters/ClusterToolbar.js +1 -1
  915. package/build/cjs/ocm/components/clusters/ClusterToolbar.js.map +1 -1
  916. package/build/cjs/ocm/components/clusters/Clusters.js.map +1 -1
  917. package/build/cjs/ocm/components/clusters/ClustersListToolbar.js.map +1 -1
  918. package/build/cjs/ocm/components/clusters/ClustersTable.js +1 -1
  919. package/build/cjs/ocm/components/clusters/ClustersTable.js.map +1 -1
  920. package/build/cjs/ocm/components/clusters/clusterPolling.js.map +1 -1
  921. package/build/cjs/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.js.map +1 -1
  922. package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js.map +1 -1
  923. package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js.map +1 -1
  924. package/build/cjs/ocm/components/fetching/fetchEvents.js.map +1 -1
  925. package/build/cjs/ocm/components/hosts/ClusterHostsTable.js +7 -8
  926. package/build/cjs/ocm/components/hosts/ClusterHostsTable.js.map +1 -1
  927. package/build/cjs/ocm/components/hosts/HostRequirementsContent.js.map +1 -1
  928. package/build/cjs/ocm/components/hosts/HostsDiscoveryTable.js +7 -8
  929. package/build/cjs/ocm/components/hosts/HostsDiscoveryTable.js.map +1 -1
  930. package/build/cjs/ocm/components/hosts/HostsStorageTable.js +5 -6
  931. package/build/cjs/ocm/components/hosts/HostsStorageTable.js.map +1 -1
  932. package/build/cjs/ocm/components/hosts/ModalDialogsContext.js.map +1 -1
  933. package/build/cjs/ocm/components/hosts/StorageAlerts.js.map +1 -1
  934. package/build/cjs/ocm/components/hosts/UpdateDay2ApiVipForm.js +2 -1
  935. package/build/cjs/ocm/components/hosts/UpdateDay2ApiVipForm.js.map +1 -1
  936. package/build/cjs/ocm/components/hosts/use-hosts-table.js +2 -3
  937. package/build/cjs/ocm/components/hosts/use-hosts-table.js.map +1 -1
  938. package/build/cjs/ocm/components/hosts/utils.js.map +1 -1
  939. package/build/cjs/ocm/components/ui/AssistedUILibVersion.js.map +1 -1
  940. package/build/cjs/ocm/config/constants.js.map +1 -1
  941. package/build/cjs/ocm/hooks/useClusterCustomManifests.js.map +1 -1
  942. package/build/cjs/ocm/hooks/useClusterPreflightRequirements.js.map +1 -1
  943. package/build/cjs/ocm/hooks/useInfraEnv.js.map +1 -1
  944. package/build/cjs/ocm/hooks/useInfraEnvHosts.js.map +1 -1
  945. package/build/cjs/ocm/hooks/useInfraEnvId.js +2 -2
  946. package/build/cjs/ocm/hooks/useInfraEnvId.js.map +1 -1
  947. package/build/cjs/ocm/hooks/useInfraEnvImageUrl.js.map +1 -1
  948. package/build/cjs/ocm/hooks/useInfraEnvIpxeImageUrl.js.map +1 -1
  949. package/build/cjs/ocm/hooks/useLateBinding.js.map +1 -1
  950. package/build/cjs/ocm/hooks/useManagedDomains.js.map +1 -1
  951. package/build/cjs/ocm/hooks/usePullSecret.js.map +1 -1
  952. package/build/cjs/ocm/hooks/useSetClusterPermissions.js.map +1 -1
  953. package/build/cjs/ocm/hooks/useSupportLevelsAPI.js.map +1 -1
  954. package/build/cjs/ocm/hooks/useUISettings.js.map +1 -1
  955. package/build/cjs/ocm/hooks/useUsedClusterNames.js.map +1 -1
  956. package/build/cjs/ocm/sentry.js.map +1 -1
  957. package/build/cjs/ocm/services/ClusterDetailsService.js.map +1 -1
  958. package/build/cjs/ocm/services/ClustersService.js +9 -3
  959. package/build/cjs/ocm/services/ClustersService.js.map +1 -1
  960. package/build/cjs/ocm/services/CpuArchitectureService.js.map +1 -1
  961. package/build/cjs/ocm/services/Day2ClusterService.js +2 -2
  962. package/build/cjs/ocm/services/Day2ClusterService.js.map +1 -1
  963. package/build/cjs/ocm/services/HostDiscoveryService.js.map +1 -1
  964. package/build/cjs/ocm/services/HostsService.js.map +1 -1
  965. package/build/cjs/ocm/services/InfraEnvIdsCacheService.js.map +1 -1
  966. package/build/cjs/ocm/services/InfraEnvsService.js +4 -1
  967. package/build/cjs/ocm/services/InfraEnvsService.js.map +1 -1
  968. package/build/cjs/ocm/services/types.js +1 -1
  969. package/build/cjs/ocm/services/types.js.map +1 -1
  970. package/build/cjs/ocm/store/slices/clusters/selectors.js +1 -1
  971. package/build/cjs/ocm/store/slices/clusters/selectors.js.map +1 -1
  972. package/build/cjs/ocm/store/slices/clusters/slice.js +1 -1
  973. package/build/cjs/ocm/store/slices/clusters/slice.js.map +1 -1
  974. package/build/cjs/ocm/store/slices/current-cluster/selectors.js.map +1 -1
  975. package/build/cjs/ocm/store/slices/current-cluster/slice.js +1 -1
  976. package/build/cjs/ocm/store/slices/current-cluster/slice.js.map +1 -1
  977. package/build/cjs/ocm/store/slices/current-user/slice.js.map +1 -1
  978. package/build/cjs/ocm/store/slices/feature-flags/slice.js +1 -1
  979. package/build/cjs/ocm/store/slices/feature-flags/slice.js.map +1 -1
  980. package/build/cjs/ocm/store/slices/infra-envs/thunks.js.map +1 -1
  981. package/lib/cim/components/Agent/AgentStatus.tsx +3 -0
  982. package/lib/cim/components/Agent/AgentTable.tsx +3 -2
  983. package/lib/cim/components/Agent/AgentsSelectionTable.tsx +3 -12
  984. package/lib/cim/components/Agent/BMCForm.tsx +11 -10
  985. package/lib/cim/components/Agent/BMHEventsModal.tsx +87 -0
  986. package/lib/cim/components/Agent/BMHStatus.tsx +17 -17
  987. package/lib/cim/components/Agent/BMHStatusInfo.tsx +94 -0
  988. package/lib/cim/components/Agent/MinimalHWRequirements.tsx +17 -12
  989. package/lib/cim/components/Agent/index.ts +2 -0
  990. package/lib/cim/components/Agent/tableColumns.tsx +257 -0
  991. package/lib/cim/components/Agent/tableUtils.tsx +4 -243
  992. package/lib/cim/components/ClusterDeployment/ClusterDeploymentDetailsTable.tsx +2 -2
  993. package/lib/cim/components/ClusterDeployment/LocationsSelector.tsx +2 -2
  994. package/lib/cim/components/ClusterDeployment/NetworkConfiguration.tsx +61 -44
  995. package/lib/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.tsx +8 -18
  996. package/lib/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.tsx +11 -24
  997. package/lib/cim/components/ClusterDeployment/components/ClusterDeploymentHostsSelectionAdvanced.tsx +17 -15
  998. package/lib/cim/components/ClusterDeployment/customManifests/ConfigMapForm.tsx +1 -1
  999. package/lib/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostDiscoveryTable.tsx +3 -5
  1000. package/lib/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.tsx +23 -21
  1001. package/lib/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.tsx +28 -31
  1002. package/lib/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelectionAdvanced.tsx +17 -15
  1003. package/lib/cim/components/ClusterDeployment/networkConfigurationValidation.ts +30 -36
  1004. package/lib/cim/components/ClusterDeployment/networking/ClusterDeploymentHostsNetworkTable.tsx +2 -7
  1005. package/lib/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingForm.tsx +3 -3
  1006. package/lib/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingStep.tsx +26 -26
  1007. package/lib/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.tsx +20 -6
  1008. package/lib/cim/components/ClusterDeployment/use-networking-formik.ts +41 -17
  1009. package/lib/cim/components/Hypershift/DetailsPage/NodePoolsTable.tsx +2 -2
  1010. package/lib/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.tsx +4 -14
  1011. package/lib/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsStep.tsx +2 -2
  1012. package/lib/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.tsx +57 -23
  1013. package/lib/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.tsx +2 -13
  1014. package/lib/{common/components/clusterConfiguration → cim/components/Hypershift/HostedClusterWizard/NetworkStep}/AdvancedNetworkFields.tsx +4 -4
  1015. package/lib/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkForm.tsx +1 -1
  1016. package/lib/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkStep.tsx +8 -8
  1017. package/lib/cim/components/Hypershift/modals/AddNodePoolModal.tsx +15 -16
  1018. package/lib/cim/components/Hypershift/modals/ManageHostsModal.tsx +15 -16
  1019. package/lib/cim/components/Hypershift/modals/NodePoolForm.tsx +1 -1
  1020. package/lib/cim/components/Hypershift/modals/RemoveNodePoolModal.tsx +14 -11
  1021. package/lib/cim/components/InfraEnv/EnvironmentDetails.tsx +6 -3
  1022. package/lib/cim/components/InfraEnv/EnvironmentErrors.tsx +1 -6
  1023. package/lib/cim/components/InfraEnv/InfraEnvAgentTable.tsx +6 -6
  1024. package/lib/cim/components/InfraEnv/InfraEnvFormPage.tsx +10 -8
  1025. package/lib/cim/components/YamlPreview/YamlPreview.tsx +31 -26
  1026. package/lib/cim/components/common/ResourceAlerts.tsx +4 -4
  1027. package/lib/cim/components/helpers/agentStatus.tsx +5 -0
  1028. package/lib/cim/components/helpers/toAssisted.ts +15 -15
  1029. package/lib/cim/components/helpers/versions.ts +51 -34
  1030. package/lib/cim/components/modals/AddBmcHostModal.tsx +14 -13
  1031. package/lib/cim/components/modals/AddBmcHostYamlForm.tsx +6 -5
  1032. package/lib/cim/components/modals/AddBmcHostYamlModal.tsx +8 -7
  1033. package/lib/cim/components/modals/AddHostModal.tsx +22 -11
  1034. package/lib/cim/components/modals/CimConfiguration/CimConfigurationFormFields.tsx +7 -5
  1035. package/lib/cim/components/modals/CimConfiguration/CimConfigurationModal.tsx +83 -72
  1036. package/lib/cim/components/modals/CimConfiguration/persist.ts +11 -0
  1037. package/lib/cim/components/modals/CimConfiguration/types.ts +1 -1
  1038. package/lib/cim/components/modals/EditBMHModal.tsx +2 -3
  1039. package/lib/cim/components/modals/EditNtpSourcesModal.tsx +15 -10
  1040. package/lib/cim/components/modals/EditProxyModal.tsx +22 -13
  1041. package/lib/cim/components/modals/EditPullSecretModal.tsx +15 -11
  1042. package/lib/cim/components/modals/EditSSHKeyModal.tsx +24 -19
  1043. package/lib/cim/components/modals/MassApproveAgentModal.tsx +22 -13
  1044. package/lib/cim/components/modals/MassDeleteAgentModal.tsx +7 -7
  1045. package/lib/cim/components/modals/ScaleUpModal.tsx +9 -7
  1046. package/lib/cim/hooks/index.tsx +1 -0
  1047. package/lib/cim/hooks/types.tsx +4 -1
  1048. package/lib/cim/hooks/useEvents.tsx +14 -0
  1049. package/lib/cim/types/fromOCP/k8sTypes.ts +13 -0
  1050. package/lib/cim/types/k8s/agent-cluster-install.ts +4 -0
  1051. package/lib/cim/types/k8s/bare-metal-host.ts +20 -0
  1052. package/lib/common/api/assisted-service/ClustersAPI.ts +6 -0
  1053. package/lib/common/components/AddHosts/AddHostsContext.tsx +1 -1
  1054. package/lib/common/components/AlertsContextProvider.tsx +1 -1
  1055. package/lib/common/components/clusterConfiguration/DiscoveryImageConfigForm.tsx +9 -8
  1056. package/lib/common/components/clusterConfiguration/DiscoveryInstructions.tsx +1 -1
  1057. package/lib/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.tsx +7 -10
  1058. package/lib/common/components/clusterConfiguration/ProxyFields.tsx +3 -3
  1059. package/lib/common/components/clusterConfiguration/utils.ts +22 -12
  1060. package/lib/common/components/clusterWizard/ClusterWizardStepHeader.tsx +4 -2
  1061. package/lib/common/components/clusterWizard/clusterDetailsValidation.ts +36 -16
  1062. package/lib/{ocm/components/clusterConfiguration/networkConfiguration → common/components/clusterWizard/networkingSteps}/AdvancedNetworkFields.tsx +54 -38
  1063. package/lib/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.tsx +221 -53
  1064. package/lib/{ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.tsx → common/components/clusterWizard/networkingSteps/StackTypeControlGroup.tsx} +64 -28
  1065. package/lib/{ocm/components/clusterConfiguration/networkConfiguration → common/components/clusterWizard/networkingSteps}/SubnetsDropdown.tsx +4 -7
  1066. package/lib/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.tsx +199 -80
  1067. package/lib/common/components/clusterWizard/networkingSteps/index.ts +10 -2
  1068. package/lib/{ocm/components/clusterConfiguration/networkConfiguration → common/components/clusterWizard/networkingSteps}/reorderNetworks.ts +2 -1
  1069. package/lib/common/components/hosts/AITable.tsx +1 -1
  1070. package/lib/common/components/hosts/AdditionalNTPSourcesDialog.tsx +3 -6
  1071. package/lib/common/components/hosts/EditHostForm.tsx +2 -8
  1072. package/lib/common/components/hosts/HostPropertyValidationPopover.tsx +8 -2
  1073. package/lib/common/components/hosts/HostStatus.tsx +18 -5
  1074. package/lib/common/components/hosts/HostValidationGroups.tsx +5 -4
  1075. package/lib/common/components/hosts/HostsTableDetailContext.tsx +3 -6
  1076. package/lib/common/components/hosts/MassChangeHostnameModal.tsx +51 -44
  1077. package/lib/common/components/hosts/TableToolbar.tsx +1 -1
  1078. package/lib/common/components/hosts/index.ts +2 -0
  1079. package/lib/common/components/hosts/tableColumns.tsx +411 -0
  1080. package/lib/common/components/hosts/tableUtils.tsx +4 -409
  1081. package/lib/common/components/hosts/types.ts +1 -0
  1082. package/lib/common/components/storage/DisksTable.tsx +3 -1
  1083. package/lib/common/components/ui/CustomToolbarFilter.tsx +6 -4
  1084. package/lib/common/components/ui/EventsList.tsx +4 -2
  1085. package/lib/common/components/ui/GridGap.tsx +3 -1
  1086. package/lib/common/components/ui/OpenShiftSelectWithSearch.tsx +22 -43
  1087. package/lib/common/components/ui/OpenShiftVersionDropdown.tsx +41 -57
  1088. package/lib/common/components/ui/OpenShiftVersionModal.tsx +11 -11
  1089. package/lib/common/components/ui/PrismCode.tsx +35 -22
  1090. package/lib/common/components/ui/StaticTextField.tsx +9 -3
  1091. package/lib/common/components/ui/Toolbar/ToolbarSecondaryGroup.tsx +1 -1
  1092. package/lib/common/components/ui/WizardFooter.tsx +1 -1
  1093. package/lib/common/components/ui/formik/CertificatesUploadField.tsx +1 -1
  1094. package/lib/common/components/ui/formik/InputField.tsx +3 -1
  1095. package/lib/common/components/ui/formik/LabelField.tsx +134 -77
  1096. package/lib/common/components/ui/formik/NumberInputField.tsx +1 -1
  1097. package/lib/common/components/ui/formik/PullSecretField.tsx +1 -0
  1098. package/lib/common/components/ui/formik/SelectFieldWithSearch.tsx +1 -1
  1099. package/lib/common/components/ui/formik/TextAreaField.tsx +1 -1
  1100. package/lib/common/components/ui/formik/UploadField.tsx +7 -6
  1101. package/lib/common/components/ui/formik/index.tsx +0 -2
  1102. package/lib/common/components/ui/index.ts +1 -1
  1103. package/lib/common/components/ui/utils.ts +7 -0
  1104. package/lib/common/config/constants.ts +37 -2
  1105. package/lib/common/config/docs_links.ts +1 -1
  1106. package/lib/common/features/featureGate.tsx +5 -3
  1107. package/lib/common/index.ts +2 -0
  1108. package/lib/common/types/clusters.ts +0 -1
  1109. package/lib/common/utils.ts +5 -7
  1110. package/lib/common/{components/ui/formik → validationSchemas}/_validationSchemas.test.ts +51 -39
  1111. package/lib/common/validationSchemas/addressValidation.tsx +349 -0
  1112. package/lib/common/validationSchemas/clusterDetailsValidation.tsx +200 -0
  1113. package/lib/common/{components/ui/formik → validationSchemas}/constants.tsx +3 -6
  1114. package/lib/common/validationSchemas/hostnameValidation.tsx +46 -0
  1115. package/lib/common/validationSchemas/index.tsx +11 -0
  1116. package/lib/common/validationSchemas/networkingValidation.tsx +113 -0
  1117. package/lib/common/validationSchemas/ntpValidation.tsx +30 -0
  1118. package/lib/common/validationSchemas/proxyValidation.tsx +67 -0
  1119. package/lib/common/validationSchemas/pullSecretValidation.tsx +24 -0
  1120. package/lib/common/validationSchemas/regexes.tsx +22 -0
  1121. package/lib/common/validationSchemas/sshValidation.tsx +46 -0
  1122. package/lib/common/validationSchemas/utils.tsx +36 -0
  1123. package/lib/ocm/components/AddHosts/day2Wizard/Day2StaticIP.tsx +7 -2
  1124. package/lib/ocm/components/Routes.tsx +3 -4
  1125. package/lib/ocm/components/SentryErrorMonitorContextProvider.tsx +3 -1
  1126. package/lib/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.tsx +1 -0
  1127. package/lib/ocm/components/clusterConfiguration/OcmBaseDomainField.tsx +2 -2
  1128. package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +17 -18
  1129. package/lib/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.tsx +19 -18
  1130. package/lib/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.tsx +21 -28
  1131. package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.tsx +2 -1
  1132. package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifests.tsx +4 -2
  1133. package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/customManifestsValidationSchema.tsx +31 -31
  1134. package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.tsx +12 -23
  1135. package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx +9 -2
  1136. package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationTableBase.tsx +3 -2
  1137. package/lib/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.ts +16 -26
  1138. package/lib/ocm/components/clusterConfiguration/operators/bundleSpecs.tsx +3 -0
  1139. package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHosts.tsx +3 -1
  1140. package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/formViewHostsValidationSchema.tsx +11 -6
  1141. package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.tsx +2 -1
  1142. package/lib/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlView.tsx +5 -1
  1143. package/lib/ocm/components/clusterConfiguration/staticIp/components/YamlView/yamlViewValidationSchema.tsx +33 -28
  1144. package/lib/ocm/components/clusterDetail/ResetClusterModal.tsx +2 -1
  1145. package/lib/ocm/components/clusterWizard/ClusterDetails.tsx +4 -1
  1146. package/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx +1 -10
  1147. package/lib/ocm/components/clusterWizard/ClusterWizardContext.tsx +9 -0
  1148. package/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx +106 -24
  1149. package/lib/ocm/components/clusterWizard/ClusterWizardFooter.tsx +26 -5
  1150. package/lib/ocm/components/clusterWizard/NewClusterWizard.tsx +14 -3
  1151. package/lib/ocm/components/clusterWizard/OpenShiftVersionsContext.tsx +22 -18
  1152. package/lib/ocm/components/clusterWizard/OperatorsSelect.tsx +2 -2
  1153. package/lib/ocm/components/clusterWizard/constants.ts +1 -0
  1154. package/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx +138 -37
  1155. package/lib/ocm/components/clusterWizard/disconnected/DisconnectedStaticIp.tsx +78 -0
  1156. package/lib/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.tsx +402 -0
  1157. package/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx +18 -8
  1158. package/lib/ocm/components/clusterWizard/index.ts +1 -0
  1159. package/lib/ocm/components/clusterWizard/wizardTransition.ts +5 -1
  1160. package/lib/ocm/components/clusters/ClusterToolbar.tsx +4 -1
  1161. package/lib/ocm/components/hosts/ClusterHostsTable.tsx +4 -3
  1162. package/lib/ocm/components/hosts/HostsDiscoveryTable.tsx +2 -4
  1163. package/lib/ocm/components/hosts/HostsStorageTable.tsx +5 -7
  1164. package/lib/ocm/components/hosts/ModalDialogsContext.tsx +1 -1
  1165. package/lib/ocm/components/hosts/UpdateDay2ApiVipForm.tsx +3 -7
  1166. package/lib/ocm/components/hosts/use-hosts-table.tsx +2 -1
  1167. package/lib/ocm/components/ui/AssistedUILibVersion.tsx +1 -1
  1168. package/lib/ocm/hooks/useInfraEnvId.ts +2 -2
  1169. package/lib/ocm/services/ClustersService.ts +6 -0
  1170. package/lib/ocm/services/InfraEnvsService.ts +4 -1
  1171. package/lib/ocm/store/slices/clusters/selectors.tsx +4 -3
  1172. package/package.json +18 -22
  1173. package/build/@types/common/components/clusterConfiguration/AdvancedNetworkFields.d.ts.map +0 -1
  1174. package/build/@types/common/components/ui/formik/constants.d.ts.map +0 -1
  1175. package/build/@types/common/components/ui/formik/validationSchemas.d.ts +0 -52
  1176. package/build/@types/common/components/ui/formik/validationSchemas.d.ts.map +0 -1
  1177. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.d.ts +0 -4
  1178. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.d.ts.map +0 -1
  1179. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.d.ts +0 -12
  1180. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.d.ts.map +0 -1
  1181. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.d.ts +0 -11
  1182. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.d.ts.map +0 -1
  1183. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.d.ts.map +0 -1
  1184. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.d.ts +0 -9
  1185. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.d.ts.map +0 -1
  1186. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/reorderNetworks.d.ts.map +0 -1
  1187. package/build/cjs/common/components/clusterConfiguration/AdvancedNetworkFields.js.map +0 -1
  1188. package/build/cjs/common/components/ui/formik/LabelField.css +0 -43
  1189. package/build/cjs/common/components/ui/formik/constants.js.map +0 -1
  1190. package/build/cjs/common/components/ui/formik/validationSchemas.js +0 -571
  1191. package/build/cjs/common/components/ui/formik/validationSchemas.js.map +0 -1
  1192. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.js +0 -53
  1193. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.js.map +0 -1
  1194. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.js +0 -124
  1195. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.js.map +0 -1
  1196. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.js.map +0 -1
  1197. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.js.map +0 -1
  1198. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.js +0 -98
  1199. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.js.map +0 -1
  1200. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/reorderNetworks.js.map +0 -1
  1201. package/lib/@types/global.d.ts +0 -1
  1202. package/lib/common/components/ui/formik/LabelField.css +0 -43
  1203. package/lib/common/components/ui/formik/validationSchemas.ts +0 -846
  1204. package/lib/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.tsx +0 -208
  1205. package/lib/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.tsx +0 -283
  1206. /package/build/@types/{common/components/clusterConfiguration → cim/components/Hypershift/HostedClusterWizard/NetworkStep}/AdvancedNetworkFields.d.ts +0 -0
@@ -0,0 +1,113 @@
1
+ import * as Yup from 'yup';
2
+ import isCIDR from 'is-cidr';
3
+ import { TFunction } from 'i18next';
4
+
5
+ import {
6
+ ClusterNetwork,
7
+ MachineNetwork,
8
+ ServiceNetwork,
9
+ } from '@openshift-assisted/types/./assisted-installer-service';
10
+ import {
11
+ hostPrefixValidationSchema,
12
+ hostSubnetValidationSchema,
13
+ ipBlockValidationSchema,
14
+ } from './addressValidation';
15
+ import { isMajorMinorVersionEqualOrGreater } from '../utils';
16
+ import { allSubnetsIPv4 } from '../components/ui/formik/utils';
17
+
18
+ export const machineNetworksValidationSchema = Yup.array().of(
19
+ Yup.object({ cidr: hostSubnetValidationSchema, clusterId: Yup.string() }),
20
+ );
21
+
22
+ export const clusterNetworksValidationSchema = (t: TFunction) =>
23
+ Yup.array().of(
24
+ Yup.lazy((values: ClusterNetwork) =>
25
+ Yup.object({
26
+ cidr: ipBlockValidationSchema(
27
+ undefined /* So far used in OCM only and so validated by backend */,
28
+ t,
29
+ ),
30
+ hostPrefix: hostPrefixValidationSchema(values.cidr, t),
31
+ clusterId: Yup.string(),
32
+ }),
33
+ ),
34
+ );
35
+
36
+ export const serviceNetworkValidationSchema = (t: TFunction) =>
37
+ Yup.array().of(
38
+ Yup.object({
39
+ cidr: ipBlockValidationSchema(
40
+ undefined /* So far used in OCM only and so validated by backend */,
41
+ t,
42
+ ),
43
+ clusterId: Yup.string(),
44
+ }),
45
+ );
46
+
47
+ export const dualStackValidationSchema = (field: string, t: TFunction, openshiftVersion?: string) =>
48
+ Yup.array()
49
+ .max(2, t('ai:Maximum number of {{field}} subnets in dual stack is 2.', { field }))
50
+ .test(
51
+ 'dual-stack-ipv4',
52
+ openshiftVersion && isMajorMinorVersionEqualOrGreater(openshiftVersion, '4.12')
53
+ ? t('ai:First network has to be a valid IPv4 or IPv6 subnet.')
54
+ : t('ai:First network has to be IPv4 subnet.'),
55
+ (values?: { cidr: MachineNetwork['cidr'] }[]): boolean => {
56
+ // For OCP versions > 4.11, allow IPv6 as primary network
57
+ if (openshiftVersion && isMajorMinorVersionEqualOrGreater(openshiftVersion, '4.12')) {
58
+ return !!values?.[0].cidr && (isCIDR.v4(values[0].cidr) || isCIDR.v6(values[0].cidr));
59
+ }
60
+ // For older versions, require IPv4 as primary network
61
+ return !!values?.[0].cidr && isCIDR.v4(values[0].cidr);
62
+ },
63
+ )
64
+ .test(
65
+ 'dual-stack-unique-cidrs',
66
+ t('ai:Provided {{field}} subnets must be unique.', { field }),
67
+ (values?: { cidr?: MachineNetwork['cidr'] }[]) => {
68
+ if (!values || values.length < 2) {
69
+ return true;
70
+ }
71
+ const first = values[0]?.cidr || '';
72
+ const second = values[1]?.cidr || '';
73
+ if (!first || !second) {
74
+ return true;
75
+ }
76
+ const firstIsCidr = isCIDR.v4(first) || isCIDR.v6(first);
77
+ const secondIsCidr = isCIDR.v4(second) || isCIDR.v6(second);
78
+ if (!firstIsCidr || !secondIsCidr) {
79
+ return true;
80
+ }
81
+ return first !== second;
82
+ },
83
+ )
84
+ .test(
85
+ 'dual-stack-opposite-families',
86
+ t('ai:When two {{field}} values are provided, one must be IPv4 and the other IPv6.', {
87
+ field,
88
+ }),
89
+ (values?: { cidr?: MachineNetwork['cidr'] }[]) => {
90
+ if (!values || values.length < 2) {
91
+ return true;
92
+ }
93
+ const a = values[0]?.cidr || '';
94
+ const b = values[1]?.cidr || '';
95
+ if (!a || !b) {
96
+ return true;
97
+ }
98
+ const a4 = isCIDR.v4(a);
99
+ const a6 = isCIDR.v6(a);
100
+ const b4 = isCIDR.v4(b);
101
+ const b6 = isCIDR.v6(b);
102
+ if (!((a4 || a6) && (b4 || b6))) {
103
+ return true;
104
+ }
105
+ return (a4 && b6) || (a6 && b4);
106
+ },
107
+ );
108
+
109
+ export const IPv4ValidationSchema = Yup.array().test(
110
+ 'single-stack',
111
+ `All network subnets must be IPv4.`,
112
+ (values?: (MachineNetwork | ClusterNetwork | ServiceNetwork)[]) => allSubnetsIPv4(values),
113
+ );
@@ -0,0 +1,30 @@
1
+ import * as Yup from 'yup';
2
+ import { trimCommaSeparatedList } from '../components/ui/formik/utils';
3
+ import { isIPorDN } from './utils';
4
+ import { TFunction } from 'i18next';
5
+
6
+ export const ntpSourceValidationSchema = (t: TFunction) =>
7
+ Yup.string()
8
+ .test(
9
+ 'ntp-source-validation',
10
+ t('ai:Provide a comma separated list of valid DNS names or IP addresses.'),
11
+ (value?: string) => {
12
+ if (!value || value === '') {
13
+ return true;
14
+ }
15
+ return trimCommaSeparatedList(value)
16
+ .split(',')
17
+ .every((v) => isIPorDN(v));
18
+ },
19
+ )
20
+ .test(
21
+ 'ntp-source-validation-unique',
22
+ t('ai:DNS names and IP addresses must be unique.'),
23
+ (value?: string) => {
24
+ if (!value || value === '') {
25
+ return true;
26
+ }
27
+ const arr = trimCommaSeparatedList(value).split(',');
28
+ return arr.length === new Set(arr).size;
29
+ },
30
+ );
@@ -0,0 +1,67 @@
1
+ import * as Yup from 'yup';
2
+ import { TFunction } from 'i18next';
3
+ import { ProxyFieldsType } from '../types';
4
+ import { trimCommaSeparatedList } from '../components/ui/formik/utils';
5
+ import { PROXY_DNS_REGEX } from './regexes';
6
+ import { isIPorDN } from './utils';
7
+
8
+ export const httpProxyValidationSchema = ({
9
+ values,
10
+ pairValueName,
11
+ allowEmpty,
12
+ t,
13
+ }: {
14
+ values: ProxyFieldsType;
15
+ pairValueName: 'httpProxy' | 'httpsProxy';
16
+ allowEmpty?: boolean;
17
+ t: TFunction;
18
+ }) => {
19
+ const validation = Yup.string().test(
20
+ 'http-proxy-validation',
21
+ t('ai:Provide a valid HTTP URL.'),
22
+ (value?: string) => {
23
+ if (!value) {
24
+ return true;
25
+ }
26
+
27
+ if (!value.startsWith('http://')) {
28
+ return false;
29
+ }
30
+
31
+ try {
32
+ new URL(value);
33
+ } catch {
34
+ return false;
35
+ }
36
+ return true;
37
+ },
38
+ );
39
+
40
+ if (allowEmpty) {
41
+ return validation;
42
+ }
43
+
44
+ return validation.test(
45
+ 'http-proxy-no-empty-validation',
46
+ t('ai:At least one of the HTTP or HTTPS proxy URLs is required.'),
47
+ (value) => !values.enableProxy || !!value || !!values[pairValueName],
48
+ );
49
+ };
50
+
51
+ export const noProxyValidationSchema = (t: TFunction) =>
52
+ Yup.string().test(
53
+ 'no-proxy-validation',
54
+ t('ai:Provide a comma separated list of valid DNS names or IP addresses.'),
55
+ (value?: string) => {
56
+ if (!value || value === '*') {
57
+ return true;
58
+ }
59
+
60
+ // 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
61
+ // A comma-separated list of destination domain names, domains, IP addresses, or other network CIDRs to exclude proxying.
62
+ // Preface a domain with . to match subdomains only. For example, .y.com matches x.y.com, but not y.com.
63
+ // Use * to bypass proxy for all destinations.
64
+ const noProxyList = trimCommaSeparatedList(value).split(',');
65
+ return noProxyList.every((p) => isIPorDN(p, PROXY_DNS_REGEX));
66
+ },
67
+ );
@@ -0,0 +1,24 @@
1
+ import * as Yup from 'yup';
2
+ import { TFunction } from 'i18next';
3
+
4
+ export const pullSecretValidationSchema = (t: TFunction) =>
5
+ Yup.string().test(
6
+ 'is-well-formed-json',
7
+ t("ai:Invalid pull secret format. You must use your Red Hat account's pull secret."),
8
+ (value?: string) => {
9
+ const isValid = true;
10
+ if (!value) return isValid;
11
+ try {
12
+ const pullSecret = JSON.parse(value) as {
13
+ auths: string;
14
+ };
15
+ return (
16
+ pullSecret.constructor.name === 'Object' &&
17
+ !!pullSecret?.auths &&
18
+ pullSecret.auths.constructor.name === 'Object'
19
+ );
20
+ } catch {
21
+ return !isValid;
22
+ }
23
+ },
24
+ );
@@ -0,0 +1,22 @@
1
+ export const ALPHANUMERIC_REGEX = /^[a-zA-Z0-9]+$/;
2
+
3
+ export const CLUSTER_NAME_START_END_REGEX = /^[a-z0-9](.*[a-z0-9])?$/;
4
+ export const CLUSTER_NAME_VALID_CHARS_REGEX = /^[a-z0-9-]*$/;
5
+
6
+ export const DNS_NAME_REGEX = /^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$/;
7
+ export const NAME_START_END_REGEX = /^[a-z0-9](.*[a-z0-9])?$/;
8
+ export const NAME_CHARS_REGEX = /^[a-z0-9-.]*$/;
9
+
10
+ export const HOST_NAME_REGEX = /^[^.]{1,63}(?:[.][^.]{1,63})*$/;
11
+ export const SSH_PUBLIC_KEY_REGEX =
12
+ /^(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}( .*)?$/;
13
+
14
+ export const PROXY_DNS_REGEX =
15
+ /(^\.?([a-zA-Z0-9_]{1}[a-zA-Z0-9_-]{0,62}){1}(\.[a-zA-Z0-9_]{1}[a-zA-Z0-9_-]{0,62})*$)/;
16
+
17
+ export const IP_V4_ZERO = '0.0.0.0';
18
+ export const IP_V6_ZERO = '0000:0000:0000:0000:0000:0000:0000:0000';
19
+
20
+ export const MAC_REGEX = /^([0-9A-Fa-f]{2}[:]){5}([0-9A-Fa-f]{2})$/;
21
+
22
+ export const LOCATION_CHARS_REGEX = /^[a-zA-Z0-9-._]*$/;
@@ -0,0 +1,46 @@
1
+ import * as Yup from 'yup';
2
+ import { TFunction } from 'i18next';
3
+ import { trimSshPublicKey } from '../components/ui/formik/utils';
4
+ import { SSH_PUBLIC_KEY_REGEX } from './regexes';
5
+
6
+ export const sshPublicKeyValidationSchema = (t: TFunction) =>
7
+ Yup.string().test(
8
+ 'ssh-public-key',
9
+ t(
10
+ 'ai: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.',
11
+ ),
12
+ (value?: string) => {
13
+ if (!value) {
14
+ return true;
15
+ }
16
+
17
+ return !!trimSshPublicKey(value).match(SSH_PUBLIC_KEY_REGEX);
18
+ },
19
+ );
20
+
21
+ export const sshPublicKeyListValidationSchema = (t: TFunction) =>
22
+ Yup.string()
23
+ .test(
24
+ 'ssh-public-keys',
25
+ t(
26
+ 'ai:SSH public key must consist of "[TYPE] key [[EMAIL]]", supported types are: ssh-rsa, ssh-ed25519, ecdsa-[VARIANT].',
27
+ ),
28
+ (value?: string) => {
29
+ if (!value) {
30
+ return true;
31
+ }
32
+
33
+ return (
34
+ trimSshPublicKey(value)
35
+ .split('\n')
36
+ .find((line: string) => !line.match(SSH_PUBLIC_KEY_REGEX)) === undefined
37
+ );
38
+ },
39
+ )
40
+ .test('ssh-public-keys-unique', t('ai:SSH public keys must be unique.'), (value?: string) => {
41
+ if (!value) {
42
+ return true;
43
+ }
44
+ const keyList = trimSshPublicKey(value).split('\n');
45
+ return new Set(keyList).size === keyList.length;
46
+ });
@@ -0,0 +1,36 @@
1
+ import * as Yup from 'yup';
2
+ import { Address4, Address6 } from 'ip-address';
3
+ import { DNS_NAME_REGEX } from './regexes';
4
+
5
+ export const isIPorDN = (value?: string, dnsRegex = DNS_NAME_REGEX) => {
6
+ if ((value as string).match(dnsRegex)) {
7
+ return true;
8
+ } else if (value) {
9
+ return Address4.isValid(value) || Address6.isValid(value);
10
+ } else {
11
+ return false;
12
+ }
13
+ };
14
+
15
+ // Helpers to classify literal IPs more robustly
16
+ export const isIPv4Address = (ip?: string) => {
17
+ if (!ip) return false;
18
+ return ip.includes('.') && Address4.isValid(ip);
19
+ };
20
+
21
+ export const isIPv6Address = (ip?: string) => {
22
+ if (!ip) return false;
23
+ return ip.includes(':') && Address6.isValid(ip);
24
+ };
25
+
26
+ export const alwaysRequired = (message?: string) =>
27
+ Yup.string().test(
28
+ 'always-required',
29
+ message || 'The value is required.',
30
+ (value?: string): boolean => !!value,
31
+ );
32
+
33
+ export const getArrayIndexFromPath = (path: string): number => {
34
+ const match = path.match(/\[(\d+)\][^\[]*$/); // Prefer the last [...] occurrence for nested array paths like "foo[0].bar[1].ip"
35
+ return match ? parseInt(match[1], 10) : NaN;
36
+ };
@@ -7,7 +7,12 @@ import {
7
7
  Button,
8
8
  ButtonVariant,
9
9
  } from '@patternfly/react-core';
10
- import { ClusterWizardStep, ErrorState, LoadingState } from '../../../../common';
10
+ import {
11
+ ClusterWizardStep,
12
+ ClusterWizardStepHeader,
13
+ ErrorState,
14
+ LoadingState,
15
+ } from '../../../../common';
11
16
  import { HostsNetworkConfigurationType, InfraEnvsService } from '../../../services';
12
17
  import { FormViewHosts } from '../../clusterConfiguration/staticIp/components/FormViewHosts/FormViewHosts';
13
18
  import { FormViewNetworkWide } from '../../clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWide';
@@ -164,7 +169,7 @@ const Day2StaticIP = () => {
164
169
  >
165
170
  <Grid hasGutter>
166
171
  <Content>
167
- <Content component={ContentVariants.h2}>Static network configurations</Content>
172
+ <ClusterWizardStepHeader>Static network configurations</ClusterWizardStepHeader>
168
173
  <Content component={ContentVariants.small}>
169
174
  Network configuration can be done using either the form view or YAML view.
170
175
  Configurations done in this step are for discovering hosts.
@@ -20,7 +20,6 @@ type UILibRoutesProps = {
20
20
  children?: React.ReactNode;
21
21
  history?: HistoryRouterProps['history'];
22
22
  basename?: string;
23
- additionalComponents?: React.ReactNode;
24
23
  };
25
24
 
26
25
  export const UILibRoutes = ({
@@ -28,7 +27,6 @@ export const UILibRoutes = ({
28
27
  children,
29
28
  history,
30
29
  basename,
31
- additionalComponents,
32
30
  }: UILibRoutesProps) => {
33
31
  useFeatureDetection(allEnabledFeatures);
34
32
 
@@ -36,14 +34,15 @@ export const UILibRoutes = ({
36
34
  <>
37
35
  <Routes>
38
36
  <Route path="assisted-installer/clusters" element={<Outlet />}>
39
- <Route path="~new" element={<NewClusterPage />} />
37
+ <Route path="~new" element={<NewClusterPage />}>
38
+ <Route path=":clusterId" element={<NewClusterPage />} />
39
+ </Route>
40
40
  <Route path=":clusterId" element={<ClusterPage />} />
41
41
  <Route index element={<Clusters />} />
42
42
  </Route>
43
43
  {children}
44
44
  <Route path="*" element={<Navigate to="assisted-installer/clusters" />} />
45
45
  </Routes>
46
- {additionalComponents}
47
46
  </>
48
47
  );
49
48
 
@@ -8,7 +8,9 @@ import { handleApiError } from '../../common/api';
8
8
  import { isApiError } from '../../common/api/utils';
9
9
  import { captureException } from '../sentry';
10
10
 
11
- export const SentryErrorMonitorContextProvider: React.FC = ({ children }) => {
11
+ export const SentryErrorMonitorContextProvider: React.FC<React.PropsWithChildren> = ({
12
+ children,
13
+ }) => {
12
14
  const exceptionReporter: ExceptionReporter = (
13
15
  error: unknown,
14
16
  message?: string,
@@ -20,6 +20,7 @@ export const discoveryImageTypes: Record<DiscoveryImageType, string> = {
20
20
  'minimal-iso': 'Minimal image file - Download an ISO that fetches content on boot',
21
21
  'full-iso': 'Full image file - Download a self-contained ISO',
22
22
  'discovery-image-ipxe': 'iPXE - Provision from your network server',
23
+ 'disconnected-iso': 'Disconnected ISO - Provision from a local file',
23
24
  };
24
25
 
25
26
  type DiscoveryImageTypeDropdownProps = {
@@ -36,9 +36,9 @@ export const BaseDnsHelperText = ({
36
36
  Enter the name of your domain [domainname] or [domainname.com]. This cannot be changed after
37
37
  cluster installed. All DNS records must include the cluster name and be subdomains of the
38
38
  base you enter. The full cluster address will be: <br />
39
- <strong>
39
+ <span className="pf-v6-u-font-weight-bold">
40
40
  {name || '[Cluster Name]'}.{baseDnsDomain || '[domainname.com]'}
41
- </strong>
41
+ </span>
42
42
  </HelperTextItem>
43
43
  </HelperText>
44
44
  </FormHelperText>
@@ -30,7 +30,11 @@ import { ExternalPlatformDropdown } from './platformIntegration/ExternalPlatform
30
30
  import { HostsNetworkConfigurationType } from '../../services/types';
31
31
  import { useNewFeatureSupportLevel } from '../../../common/components/newFeatureSupportLevels';
32
32
  import { ExternalPlatformLabels } from './platformIntegration/constants';
33
- import { ManagedDomain, PlatformType } from '@openshift-assisted/types/assisted-installer-service';
33
+ import {
34
+ Cluster,
35
+ ManagedDomain,
36
+ PlatformType,
37
+ } from '@openshift-assisted/types/assisted-installer-service';
34
38
  import { useClusterWizardContext } from '../clusterWizard/ClusterWizardContext';
35
39
  import { useFeature } from '../../hooks/use-feature';
36
40
  import ControlPlaneNodesDropdown, {
@@ -40,28 +44,21 @@ import ControlPlaneNodesDropdown, {
40
44
  } from './ControlPlaneNodesDropdown';
41
45
 
42
46
  export type OcmClusterDetailsFormFieldsProps = {
43
- forceOpenshiftVersion?: string;
47
+ cluster?: Cluster;
44
48
  defaultPullSecret?: string;
45
49
  isOcm: boolean;
46
50
  managedDomains?: ManagedDomain[];
47
51
  versions: OpenshiftVersionOptionType[];
48
- isPullSecretSet: boolean;
49
- clusterExists: boolean;
50
- clusterCpuArchitecture?: string;
51
- clusterId?: string;
52
52
  };
53
53
 
54
54
  export const OcmClusterDetailsFormFields = ({
55
55
  managedDomains = [],
56
56
  versions,
57
- isPullSecretSet,
58
57
  defaultPullSecret,
59
- forceOpenshiftVersion,
60
58
  isOcm,
61
- clusterExists,
62
- clusterCpuArchitecture,
63
- clusterId,
59
+ cluster,
64
60
  }: OcmClusterDetailsFormFieldsProps) => {
61
+ const clusterExists = !!cluster;
65
62
  const { values, setFieldValue } = useFormikContext<ClusterDetailsValues>();
66
63
  const { useRedHatDnsService } = values;
67
64
  const nameInputRef = React.useRef<HTMLInputElement>();
@@ -165,16 +162,16 @@ export const OcmClusterDetailsFormFields = ({
165
162
 
166
163
  <OcmBaseDomainField managedDomains={managedDomains} clusterExists={clusterExists} />
167
164
 
168
- {forceOpenshiftVersion ? (
165
+ {clusterExists || isSingleClusterFeatureEnabled ? (
169
166
  <OcmOpenShiftVersion
170
167
  versions={versions}
171
- openshiftVersion={forceOpenshiftVersion}
172
- clusterCpuArchitecture={clusterCpuArchitecture}
168
+ openshiftVersion={values.openshiftVersion}
169
+ clusterCpuArchitecture={values.cpuArchitecture}
173
170
  withPreviewText
174
171
  withMultiText
175
172
  />
176
173
  ) : (
177
- <OcmOpenShiftVersionSelect versions={versions} />
174
+ <OcmOpenShiftVersionSelect />
178
175
  )}
179
176
  {clusterExists || isSingleClusterFeatureEnabled ? (
180
177
  <StaticTextField name="cpuArchitecture" label="CPU architecture" isRequired>
@@ -187,7 +184,9 @@ export const OcmClusterDetailsFormFields = ({
187
184
  />
188
185
  )}
189
186
 
190
- {!isPullSecretSet && <PullSecret isOcm={isOcm} defaultPullSecret={defaultPullSecret} />}
187
+ {!cluster?.pullSecretSet && (
188
+ <PullSecret isOcm={isOcm} defaultPullSecret={defaultPullSecret} />
189
+ )}
191
190
 
192
191
  {!isSingleClusterFeatureEnabled &&
193
192
  (clusterExists ? (
@@ -214,7 +213,7 @@ export const OcmClusterDetailsFormFields = ({
214
213
  ) : (
215
214
  <ControlPlaneNodesDropdown featureSupportLevelData={featureSupportLevelData} />
216
215
  )}
217
- <CustomManifestCheckbox clusterId={clusterId || ''} isDisabled={platform === 'external'} />
216
+ <CustomManifestCheckbox clusterId={cluster?.id || ''} isDisabled={platform === 'external'} />
218
217
 
219
218
  {!isSingleClusterFeatureEnabled && (
220
219
  <HostsNetworkConfigurationControlGroup
@@ -225,7 +224,7 @@ export const OcmClusterDetailsFormFields = ({
225
224
 
226
225
  <DiskEncryptionControlGroup
227
226
  values={values}
228
- isDisabled={isPullSecretSet}
227
+ isDisabled={cluster?.pullSecretSet}
229
228
  isSNO={values.controlPlaneCount === 1}
230
229
  docVersion={openshiftVersion}
231
230
  />
@@ -13,18 +13,13 @@ import {
13
13
  FlexItem,
14
14
  } from '@patternfly/react-core';
15
15
  import { Formik, FormikHelpers } from 'formik';
16
+ import { TFunction } from 'i18next';
16
17
  import {
17
18
  HostStaticNetworkConfig,
18
- ImageType,
19
19
  InfraEnv,
20
20
  Proxy,
21
21
  } from '@openshift-assisted/types/assisted-installer-service';
22
- import {
23
- AlertFormikError,
24
- httpProxyValidationSchema,
25
- noProxyValidationSchema,
26
- sshPublicKeyValidationSchema,
27
- } from '../../../common/components/ui';
22
+ import { AlertFormikError } from '../../../common/components/ui';
28
23
  import {
29
24
  DiscoveryImageType,
30
25
  ProxyFieldsType,
@@ -37,6 +32,11 @@ import UploadSSH from '../../../common/components/clusterConfiguration/UploadSSH
37
32
  import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
38
33
  import DiscoveryImageTypeDropdown, { discoveryImageTypes } from './DiscoveryImageTypeDropdown';
39
34
  import CertificateFields from '../../../common/components/clusterConfiguration/CertificateFields';
35
+ import {
36
+ httpProxyValidationSchema,
37
+ noProxyValidationSchema,
38
+ sshPublicKeyValidationSchema,
39
+ } from '../../../common';
40
40
 
41
41
  export interface OcmImageCreateParams {
42
42
  /**
@@ -54,14 +54,15 @@ export type OcmDiscoveryImageFormValues = OcmImageCreateParams &
54
54
  ProxyFieldsType &
55
55
  TrustedCertificateFieldsType;
56
56
 
57
- const validationSchema = Yup.lazy((values: OcmDiscoveryImageFormValues) =>
58
- Yup.object<OcmDiscoveryImageFormValues>().shape({
59
- sshPublicKey: sshPublicKeyValidationSchema,
60
- httpProxy: httpProxyValidationSchema({ values, pairValueName: 'httpsProxy' }),
61
- httpsProxy: httpProxyValidationSchema({ values, pairValueName: 'httpProxy' }), // share the schema, httpS is currently not supported
62
- noProxy: noProxyValidationSchema,
63
- }),
64
- );
57
+ const validationSchema = (t: TFunction) =>
58
+ Yup.lazy((values: OcmDiscoveryImageFormValues) =>
59
+ Yup.object<OcmDiscoveryImageFormValues>().shape({
60
+ sshPublicKey: sshPublicKeyValidationSchema(t),
61
+ httpProxy: httpProxyValidationSchema({ values, pairValueName: 'httpsProxy', t }),
62
+ httpsProxy: httpProxyValidationSchema({ values, pairValueName: 'httpProxy', t }), // share the schema, httpS is currently not supported
63
+ noProxy: noProxyValidationSchema(t),
64
+ }),
65
+ );
65
66
 
66
67
  type OcmDiscoveryImageConfigFormProps = Proxy & {
67
68
  onCancel: () => void;
@@ -70,7 +71,7 @@ type OcmDiscoveryImageConfigFormProps = Proxy & {
70
71
  formikActions: FormikHelpers<OcmDiscoveryImageFormValues>,
71
72
  ) => Promise<void>;
72
73
  sshPublicKey?: string;
73
- imageType?: ImageType;
74
+ imageType?: DiscoveryImageType;
74
75
  isIpxeSelected?: boolean;
75
76
  enableCertificate?: boolean;
76
77
  trustBundle?: InfraEnv['additionalTrustBundle'];
@@ -104,7 +105,7 @@ export const OcmDiscoveryImageConfigForm = ({
104
105
  httpsProxy: httpsProxy || '',
105
106
  noProxy: noProxy || '',
106
107
  enableProxy: !!(httpProxy || httpsProxy || noProxy),
107
- imageType: imageTypeValue as ImageType,
108
+ imageType: imageType,
108
109
  enableCertificate: enableCertificate || false,
109
110
  trustBundle: trustBundle || '',
110
111
  };
@@ -137,7 +138,7 @@ export const OcmDiscoveryImageConfigForm = ({
137
138
  <Formik
138
139
  initialValues={initialValues}
139
140
  initialStatus={{ error: null }}
140
- validationSchema={validationSchema}
141
+ validationSchema={validationSchema(t)}
141
142
  onSubmit={handleSubmit}
142
143
  >
143
144
  {({ submitForm, isSubmitting, status, setStatus }) => {