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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1285) 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/BMHEventsModal.d.ts +8 -0
  6. package/build/@types/cim/components/Agent/BMHEventsModal.d.ts.map +1 -0
  7. package/build/@types/cim/components/Agent/BMHStatus.d.ts +2 -0
  8. package/build/@types/cim/components/Agent/BMHStatus.d.ts.map +1 -1
  9. package/build/@types/cim/components/Agent/BMHStatusInfo.d.ts +8 -0
  10. package/build/@types/cim/components/Agent/BMHStatusInfo.d.ts.map +1 -0
  11. package/build/@types/cim/components/Agent/MinimalHWRequirements.d.ts.map +1 -1
  12. package/build/@types/cim/components/Agent/index.d.ts +2 -0
  13. package/build/@types/cim/components/Agent/index.d.ts.map +1 -1
  14. package/build/@types/cim/components/Agent/tableColumns.d.ts +29 -0
  15. package/build/@types/cim/components/Agent/tableColumns.d.ts.map +1 -0
  16. package/build/@types/cim/components/Agent/tableUtils.d.ts +2 -22
  17. package/build/@types/cim/components/Agent/tableUtils.d.ts.map +1 -1
  18. package/build/@types/cim/components/ClusterDeployment/NetworkConfiguration.d.ts +1 -1
  19. package/build/@types/cim/components/ClusterDeployment/NetworkConfiguration.d.ts.map +1 -1
  20. package/build/@types/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.d.ts.map +1 -1
  21. package/build/@types/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostDiscoveryTable.d.ts.map +1 -1
  22. package/build/@types/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.d.ts.map +1 -1
  23. package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.d.ts.map +1 -1
  24. package/build/@types/cim/components/ClusterDeployment/networkConfigurationValidation.d.ts +1 -1
  25. package/build/@types/cim/components/ClusterDeployment/networkConfigurationValidation.d.ts.map +1 -1
  26. package/build/@types/cim/components/ClusterDeployment/networking/ClusterDeploymentHostsNetworkTable.d.ts.map +1 -1
  27. package/build/@types/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingForm.d.ts.map +1 -1
  28. package/build/@types/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.d.ts.map +1 -1
  29. package/build/@types/cim/components/ClusterDeployment/use-networking-formik.d.ts +9 -5
  30. package/build/@types/cim/components/ClusterDeployment/use-networking-formik.d.ts.map +1 -1
  31. package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts +1 -1
  32. package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts.map +1 -1
  33. package/build/@types/cim/components/Hypershift/HostedClusterWizard/NetworkStep/AdvancedNetworkFields.d.ts.map +1 -0
  34. package/build/@types/cim/components/Hypershift/modals/AddNodePoolModal.d.ts.map +1 -1
  35. package/build/@types/cim/components/Hypershift/modals/ManageHostsModal.d.ts.map +1 -1
  36. package/build/@types/cim/components/Hypershift/modals/RemoveNodePoolModal.d.ts.map +1 -1
  37. package/build/@types/cim/components/InfraEnv/EnvironmentDetails.d.ts.map +1 -1
  38. package/build/@types/cim/components/InfraEnv/EnvironmentErrors.d.ts +0 -1
  39. package/build/@types/cim/components/InfraEnv/EnvironmentErrors.d.ts.map +1 -1
  40. package/build/@types/cim/components/InfraEnv/InfraTableToolbar.d.ts.map +1 -1
  41. package/build/@types/cim/components/common/ResourceAlerts.d.ts.map +1 -1
  42. package/build/@types/cim/components/helpers/agentStatus.d.ts.map +1 -1
  43. package/build/@types/cim/components/modals/AddBmcHostModal.d.ts.map +1 -1
  44. package/build/@types/cim/components/modals/AddBmcHostYamlForm.d.ts.map +1 -1
  45. package/build/@types/cim/components/modals/AddBmcHostYamlModal.d.ts.map +1 -1
  46. package/build/@types/cim/components/modals/AddHostModal.d.ts.map +1 -1
  47. package/build/@types/cim/components/modals/CimConfiguration/CimConfigProgressAlert.d.ts.map +1 -1
  48. package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationFormFields.d.ts +4 -0
  49. package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationFormFields.d.ts.map +1 -0
  50. package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationModal.d.ts +0 -1
  51. package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationModal.d.ts.map +1 -1
  52. package/build/@types/cim/components/modals/CimConfiguration/persist.d.ts +4 -7
  53. package/build/@types/cim/components/modals/CimConfiguration/persist.d.ts.map +1 -1
  54. package/build/@types/cim/components/modals/CimConfiguration/types.d.ts +7 -16
  55. package/build/@types/cim/components/modals/CimConfiguration/types.d.ts.map +1 -1
  56. package/build/@types/cim/components/modals/EditBMHModal.d.ts.map +1 -1
  57. package/build/@types/cim/components/modals/EditNtpSourcesModal.d.ts.map +1 -1
  58. package/build/@types/cim/components/modals/EditProxyModal.d.ts.map +1 -1
  59. package/build/@types/cim/components/modals/EditPullSecretModal.d.ts.map +1 -1
  60. package/build/@types/cim/components/modals/EditSSHKeyModal.d.ts.map +1 -1
  61. package/build/@types/cim/components/modals/MassApproveAgentModal.d.ts.map +1 -1
  62. package/build/@types/cim/components/modals/ScaleUpModal.d.ts.map +1 -1
  63. package/build/@types/cim/hooks/index.d.ts +2 -0
  64. package/build/@types/cim/hooks/index.d.ts.map +1 -1
  65. package/build/@types/cim/hooks/types.d.ts +1 -1
  66. package/build/@types/cim/hooks/types.d.ts.map +1 -1
  67. package/build/@types/cim/hooks/useAgentServiceConfig.d.ts +4 -0
  68. package/build/@types/cim/hooks/useAgentServiceConfig.d.ts.map +1 -0
  69. package/build/@types/cim/hooks/useEvents.d.ts +4 -0
  70. package/build/@types/cim/hooks/useEvents.d.ts.map +1 -0
  71. package/build/@types/cim/types/fromOCP/k8sTypes.d.ts +12 -0
  72. package/build/@types/cim/types/fromOCP/k8sTypes.d.ts.map +1 -1
  73. package/build/@types/cim/types/index.d.ts +0 -1
  74. package/build/@types/cim/types/index.d.ts.map +1 -1
  75. package/build/@types/cim/types/k8s/agent-cluster-install.d.ts +4 -0
  76. package/build/@types/cim/types/k8s/agent-cluster-install.d.ts.map +1 -1
  77. package/build/@types/cim/types/k8s/bare-metal-host.d.ts +20 -0
  78. package/build/@types/cim/types/k8s/bare-metal-host.d.ts.map +1 -1
  79. package/build/@types/cim/types/models.d.ts +4 -0
  80. package/build/@types/cim/types/models.d.ts.map +1 -1
  81. package/build/@types/common/api/assisted-service/BundleAPI.d.ts +2 -2
  82. package/build/@types/common/api/assisted-service/BundleAPI.d.ts.map +1 -1
  83. package/build/@types/common/api/assisted-service/ClustersAPI.d.ts +29 -25
  84. package/build/@types/common/api/assisted-service/ClustersAPI.d.ts.map +1 -1
  85. package/build/@types/common/api/assisted-service/ComponentVersionsAPI.d.ts +1 -1
  86. package/build/@types/common/api/assisted-service/EventsAPI.d.ts +1 -1
  87. package/build/@types/common/api/assisted-service/HostsAPI.d.ts +8 -7
  88. package/build/@types/common/api/assisted-service/HostsAPI.d.ts.map +1 -1
  89. package/build/@types/common/api/assisted-service/InfraEnvsAPI.d.ts +9 -8
  90. package/build/@types/common/api/assisted-service/InfraEnvsAPI.d.ts.map +1 -1
  91. package/build/@types/common/api/assisted-service/ManagedDomainsAPI.d.ts +1 -1
  92. package/build/@types/common/api/assisted-service/NewFeatureSupportLevelsAPI.d.ts +2 -2
  93. package/build/@types/common/api/assisted-service/OperatorsAPI.d.ts +1 -1
  94. package/build/@types/common/api/assisted-service/SupportedOpenshiftVersionsAPI.d.ts +1 -1
  95. package/build/@types/common/api/assisted-service/UISettingsAPI.d.ts +2 -2
  96. package/build/@types/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.d.ts.map +1 -1
  97. package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.d.ts.map +1 -1
  98. package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.d.ts.map +1 -1
  99. package/build/@types/common/components/clusterConfiguration/DownloadIso.d.ts +2 -1
  100. package/build/@types/common/components/clusterConfiguration/DownloadIso.d.ts.map +1 -1
  101. package/build/@types/common/components/clusterConfiguration/DownloadIsoModal.d.ts.map +1 -1
  102. package/build/@types/common/components/clusterConfiguration/SecurityFields.d.ts +3 -1
  103. package/build/@types/common/components/clusterConfiguration/SecurityFields.d.ts.map +1 -1
  104. package/build/@types/common/components/clusterConfiguration/utils.d.ts +3 -3
  105. package/build/@types/common/components/clusterConfiguration/utils.d.ts.map +1 -1
  106. package/build/@types/common/components/clusterConfiguration/utils.test.d.ts +2 -0
  107. package/build/@types/common/components/clusterConfiguration/utils.test.d.ts.map +1 -0
  108. package/build/@types/common/components/clusterDetail/ConsoleModal.d.ts.map +1 -1
  109. package/build/@types/common/components/clusterDetail/FinalizingProgress.d.ts.map +1 -1
  110. package/build/@types/common/components/clusterWizard/ClusterWizardStep.d.ts.map +1 -1
  111. package/build/@types/common/components/clusterWizard/ClusterWizardStepHeader.d.ts.map +1 -1
  112. package/build/@types/common/components/clusterWizard/ReviewValidations.d.ts.map +1 -1
  113. package/build/@types/common/components/clusterWizard/networkingSteps/AdvancedNetworkFields.d.ts +7 -0
  114. package/build/@types/common/components/clusterWizard/networkingSteps/AdvancedNetworkFields.d.ts.map +1 -0
  115. package/build/@types/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.d.ts +10 -6
  116. package/build/@types/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.d.ts.map +1 -1
  117. package/build/@types/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.d.ts +13 -0
  118. package/build/@types/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.d.ts.map +1 -0
  119. package/build/@types/common/components/clusterWizard/networkingSteps/SubnetsDropdown.d.ts +12 -0
  120. package/build/@types/common/components/clusterWizard/networkingSteps/SubnetsDropdown.d.ts.map +1 -0
  121. package/build/@types/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.d.ts +4 -2
  122. package/build/@types/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.d.ts.map +1 -1
  123. package/build/@types/common/components/clusterWizard/networkingSteps/index.d.ts +7 -2
  124. package/build/@types/common/components/clusterWizard/networkingSteps/index.d.ts.map +1 -1
  125. package/build/@types/common/components/clusterWizard/networkingSteps/reorderNetworks.d.ts +5 -0
  126. package/build/@types/common/components/clusterWizard/networkingSteps/reorderNetworks.d.ts.map +1 -0
  127. package/build/@types/common/components/hosts/AITableMemo.d.ts.map +1 -1
  128. package/build/@types/common/components/hosts/AdditionalNTPSourcesDialog.d.ts.map +1 -1
  129. package/build/@types/common/components/hosts/DiskRole.d.ts.map +1 -1
  130. package/build/@types/common/components/hosts/EditHostModal.d.ts.map +1 -1
  131. package/build/@types/common/components/hosts/HostRequirements.d.ts.map +1 -1
  132. package/build/@types/common/components/hosts/HostStatus.d.ts.map +1 -1
  133. package/build/@types/common/components/hosts/HostValidationGroups.d.ts.map +1 -1
  134. package/build/@types/common/components/hosts/MassChangeHostnameModal.d.ts.map +1 -1
  135. package/build/@types/common/components/hosts/MassDeleteHostModal.d.ts.map +1 -1
  136. package/build/@types/common/components/hosts/OcpConsoleNodesSectionLink.d.ts.map +1 -1
  137. package/build/@types/common/components/hosts/VMRebootConfigurationInfo.d.ts.map +1 -1
  138. package/build/@types/common/components/hosts/index.d.ts +2 -0
  139. package/build/@types/common/components/hosts/index.d.ts.map +1 -1
  140. package/build/@types/common/components/hosts/status.d.ts.map +1 -1
  141. package/build/@types/common/components/hosts/tableColumns.d.ts +21 -0
  142. package/build/@types/common/components/hosts/tableColumns.d.ts.map +1 -0
  143. package/build/@types/common/components/hosts/tableUtils.d.ts +3 -21
  144. package/build/@types/common/components/hosts/tableUtils.d.ts.map +1 -1
  145. package/build/@types/common/components/hosts/types.d.ts +1 -0
  146. package/build/@types/common/components/hosts/types.d.ts.map +1 -1
  147. package/build/@types/common/components/operators/operatorDescriptions.d.ts +2 -0
  148. package/build/@types/common/components/operators/operatorDescriptions.d.ts.map +1 -1
  149. package/build/@types/common/components/operators/operatorSpecs.d.ts.map +1 -1
  150. package/build/@types/common/components/storage/DisksTable.d.ts.map +1 -1
  151. package/build/@types/common/components/storage/StorageUtils.d.ts.map +1 -1
  152. package/build/@types/common/components/ui/ClusterEventsToolbar.d.ts.map +1 -1
  153. package/build/@types/common/components/ui/ConfirmationModal.d.ts +2 -2
  154. package/build/@types/common/components/ui/ConfirmationModal.d.ts.map +1 -1
  155. package/build/@types/common/components/ui/CustomToolbarFilter.d.ts.map +1 -1
  156. package/build/@types/common/components/ui/DetailList.d.ts +2 -2
  157. package/build/@types/common/components/ui/DetailList.d.ts.map +1 -1
  158. package/build/@types/common/components/ui/EventsList.d.ts.map +1 -1
  159. package/build/@types/common/components/ui/ExternalLink.d.ts.map +1 -1
  160. package/build/@types/common/components/ui/NoPermissionsError.d.ts.map +1 -1
  161. package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts.map +1 -1
  162. package/build/@types/common/components/ui/OpenShiftVersionModal.d.ts.map +1 -1
  163. package/build/@types/common/components/ui/PopoverIcon.d.ts.map +1 -1
  164. package/build/@types/common/components/ui/PrismCode.d.ts +13 -11
  165. package/build/@types/common/components/ui/PrismCode.d.ts.map +1 -1
  166. package/build/@types/common/components/ui/SectionTitle.d.ts.map +1 -1
  167. package/build/@types/common/components/ui/SimpleDropdown.d.ts.map +1 -1
  168. package/build/@types/common/components/ui/StaticTextField.d.ts.map +1 -1
  169. package/build/@types/common/components/ui/Toolbar/ToolbarText.d.ts +2 -2
  170. package/build/@types/common/components/ui/Toolbar/ToolbarText.d.ts.map +1 -1
  171. package/build/@types/common/components/ui/WizardNavItem.d.ts.map +1 -1
  172. package/build/@types/common/components/ui/eventsModal.d.ts.map +1 -1
  173. package/build/@types/common/components/ui/formik/AlertFormikError.d.ts.map +1 -1
  174. package/build/@types/common/components/ui/formik/CertificatesUploadField.d.ts.map +1 -1
  175. package/build/@types/common/components/ui/formik/CheckboxField.d.ts.map +1 -1
  176. package/build/@types/common/components/ui/formik/CodeField.d.ts.map +1 -1
  177. package/build/@types/common/components/ui/formik/InputField.d.ts.map +1 -1
  178. package/build/@types/common/components/ui/formik/LabelField.d.ts +3 -11
  179. package/build/@types/common/components/ui/formik/LabelField.d.ts.map +1 -1
  180. package/build/@types/common/components/ui/formik/MultiSelectField.d.ts.map +1 -1
  181. package/build/@types/common/components/ui/formik/NumberInputField.d.ts.map +1 -1
  182. package/build/@types/common/components/ui/formik/PullSecretField.d.ts.map +1 -1
  183. package/build/@types/common/components/ui/formik/RemovableField.d.ts.map +1 -1
  184. package/build/@types/common/components/ui/formik/RichInputField.d.ts +1 -0
  185. package/build/@types/common/components/ui/formik/RichInputField.d.ts.map +1 -1
  186. package/build/@types/common/components/ui/formik/SelectField.d.ts.map +1 -1
  187. package/build/@types/common/components/ui/formik/SwitchField.d.ts.map +1 -1
  188. package/build/@types/common/components/ui/formik/TextAreaField.d.ts.map +1 -1
  189. package/build/@types/common/components/ui/formik/TextAreaSecretField.d.ts.map +1 -1
  190. package/build/@types/common/components/ui/formik/UploadField.d.ts.map +1 -1
  191. package/build/@types/common/components/ui/formik/types.d.ts +2 -2
  192. package/build/@types/common/components/ui/formik/types.d.ts.map +1 -1
  193. package/build/@types/common/components/ui/formik/validationSchemas.d.ts +4 -6
  194. package/build/@types/common/components/ui/formik/validationSchemas.d.ts.map +1 -1
  195. package/build/@types/common/components/ui/index.d.ts +1 -1
  196. package/build/@types/common/components/ui/index.d.ts.map +1 -1
  197. package/build/@types/common/components/ui/uiState/EmptyState.d.ts +2 -2
  198. package/build/@types/common/components/ui/uiState/EmptyState.d.ts.map +1 -1
  199. package/build/@types/common/components/ui/uiState/ErrorState.d.ts +3 -3
  200. package/build/@types/common/components/ui/uiState/ErrorState.d.ts.map +1 -1
  201. package/build/@types/common/config/constants.d.ts +10 -1
  202. package/build/@types/common/config/constants.d.ts.map +1 -1
  203. package/build/@types/common/config/docs_links.d.ts +4 -1
  204. package/build/@types/common/config/docs_links.d.ts.map +1 -1
  205. package/build/@types/common/reducers/alertsSlice.d.ts +1 -0
  206. package/build/@types/common/reducers/alertsSlice.d.ts.map +1 -1
  207. package/build/@types/common/types/clusters.d.ts +0 -1
  208. package/build/@types/common/types/clusters.d.ts.map +1 -1
  209. package/build/@types/ocm/components/AddHosts/InventoryAddHost.d.ts.map +1 -1
  210. package/build/@types/ocm/components/AddHosts/day2Wizard/Day2StaticIP.d.ts.map +1 -1
  211. package/build/@types/ocm/components/AddHosts/day2Wizard/Day2StaticIpHostConfigurations.d.ts.map +1 -1
  212. package/build/@types/ocm/components/AddHosts/day2Wizard/Day2Wizard.d.ts.map +1 -1
  213. package/build/@types/ocm/components/AddHosts/day2Wizard/Day2WizardFooter.d.ts.map +1 -1
  214. package/build/@types/ocm/components/AddHosts/day2Wizard/Day2WizardNav.d.ts.map +1 -1
  215. package/build/@types/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabMock.d.ts.map +1 -1
  216. package/build/@types/ocm/components/HostsClusterDetailTab/utils.d.ts.map +1 -1
  217. package/build/@types/ocm/components/Routes.d.ts +1 -0
  218. package/build/@types/ocm/components/Routes.d.ts.map +1 -1
  219. package/build/@types/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -1
  220. package/build/@types/ocm/components/clusterConfiguration/CpuArchitectureDropdown.d.ts.map +1 -1
  221. package/build/@types/ocm/components/clusterConfiguration/CustomManifestCheckbox.d.ts.map +1 -1
  222. package/build/@types/ocm/components/clusterConfiguration/DiscoveryImageModal.d.ts.map +1 -1
  223. package/build/@types/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.d.ts.map +1 -1
  224. package/build/@types/ocm/components/clusterConfiguration/HostInventory.d.ts.map +1 -1
  225. package/build/@types/ocm/components/clusterConfiguration/HostsNetworkConfigurationControlGroup.d.ts.map +1 -1
  226. package/build/@types/ocm/components/clusterConfiguration/OcmBaseDomainField.d.ts.map +1 -1
  227. package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts.map +1 -1
  228. package/build/@types/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.d.ts.map +1 -1
  229. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/DeleteCustomManifestModal.d.ts.map +1 -1
  230. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifest.d.ts.map +1 -1
  231. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/ExpandedManifest.d.ts.map +1 -1
  232. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.d.ts.map +1 -1
  233. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.d.ts +1 -1
  234. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.d.ts.map +1 -1
  235. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.d.ts.map +1 -1
  236. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationTableBase.d.ts.map +1 -1
  237. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.d.ts +1 -1
  238. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.d.ts.map +1 -1
  239. package/build/@types/ocm/components/clusterConfiguration/operators/bundleSpecs.d.ts +0 -1
  240. package/build/@types/ocm/components/clusterConfiguration/operators/bundleSpecs.d.ts.map +1 -1
  241. package/build/@types/ocm/components/clusterConfiguration/operators/utils.d.ts.map +1 -1
  242. package/build/@types/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.d.ts.map +1 -1
  243. package/build/@types/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.d.ts.map +1 -1
  244. package/build/@types/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.d.ts.map +1 -1
  245. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/CollapsedHost.d.ts.map +1 -1
  246. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/BondsConfirmationModal.d.ts.map +1 -1
  247. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.d.ts.map +1 -1
  248. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWideFields.d.ts.map +1 -1
  249. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.d.ts.map +1 -1
  250. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.d.ts.map +1 -1
  251. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlViewFields.d.ts.map +1 -1
  252. package/build/@types/ocm/components/clusterDetail/CancelInstallationModal.d.ts.map +1 -1
  253. package/build/@types/ocm/components/clusterDetail/ClusterDetail.d.ts.map +1 -1
  254. package/build/@types/ocm/components/clusterDetail/ClusterDetailStatusMessages.d.ts.map +1 -1
  255. package/build/@types/ocm/components/clusterDetail/ClusterDetailStatusVarieties.d.ts.map +1 -1
  256. package/build/@types/ocm/components/clusterDetail/ClusterInstallationError.d.ts.map +1 -1
  257. package/build/@types/ocm/components/clusterDetail/ClusterInstallationProgressCard.d.ts.map +1 -1
  258. package/build/@types/ocm/components/clusterDetail/ClusterPollingErrorModal.d.ts.map +1 -1
  259. package/build/@types/ocm/components/clusterDetail/ClusterProperties.d.ts.map +1 -1
  260. package/build/@types/ocm/components/clusterDetail/ClusterProperties.test.d.ts +2 -0
  261. package/build/@types/ocm/components/clusterDetail/ClusterProperties.test.d.ts.map +1 -0
  262. package/build/@types/ocm/components/clusterDetail/ClusterUpdateErrorModal.d.ts.map +1 -1
  263. package/build/@types/ocm/components/clusterDetail/OpenShiftVersionDetail.d.ts.map +1 -1
  264. package/build/@types/ocm/components/clusterDetail/ProgressBarAlerts.d.ts.map +1 -1
  265. package/build/@types/ocm/components/clusterDetail/ResetClusterModal.d.ts.map +1 -1
  266. package/build/@types/ocm/components/clusterWizard/ClusterDetails.d.ts.map +1 -1
  267. package/build/@types/ocm/components/clusterWizard/ClusterDetailsForm.d.ts.map +1 -1
  268. package/build/@types/ocm/components/clusterWizard/ClusterWizardContext.d.ts +3 -0
  269. package/build/@types/ocm/components/clusterWizard/ClusterWizardContext.d.ts.map +1 -1
  270. package/build/@types/ocm/components/clusterWizard/ClusterWizardContextProvider.d.ts.map +1 -1
  271. package/build/@types/ocm/components/clusterWizard/ClusterWizardFooter.d.ts +2 -1
  272. package/build/@types/ocm/components/clusterWizard/ClusterWizardFooter.d.ts.map +1 -1
  273. package/build/@types/ocm/components/clusterWizard/ClusterWizardNavigation.d.ts.map +1 -1
  274. package/build/@types/ocm/components/clusterWizard/HostDiscovery.d.ts.map +1 -1
  275. package/build/@types/ocm/components/clusterWizard/NewClusterWizard.d.ts.map +1 -1
  276. package/build/@types/ocm/components/clusterWizard/OperatorsBundle.d.ts +2 -1
  277. package/build/@types/ocm/components/clusterWizard/OperatorsBundle.d.ts.map +1 -1
  278. package/build/@types/ocm/components/clusterWizard/OperatorsSelect.d.ts.map +1 -1
  279. package/build/@types/ocm/components/clusterWizard/OperatorsSelect.test.d.ts +2 -0
  280. package/build/@types/ocm/components/clusterWizard/OperatorsSelect.test.d.ts.map +1 -0
  281. package/build/@types/ocm/components/clusterWizard/OperatorsStep.d.ts.map +1 -1
  282. package/build/@types/ocm/components/clusterWizard/constants.d.ts.map +1 -1
  283. package/build/@types/ocm/components/clusterWizard/disconnected/BasicStep.d.ts.map +1 -1
  284. package/build/@types/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.d.ts.map +1 -1
  285. package/build/@types/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.d.ts +4 -0
  286. package/build/@types/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.d.ts.map +1 -0
  287. package/build/@types/ocm/components/clusterWizard/disconnected/ReviewStep.d.ts.map +1 -1
  288. package/build/@types/ocm/components/clusterWizard/index.d.ts +1 -0
  289. package/build/@types/ocm/components/clusterWizard/index.d.ts.map +1 -1
  290. package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts +2 -2
  291. package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts.map +1 -1
  292. package/build/@types/ocm/components/clusters/ClusterBreadcrumbs.d.ts.map +1 -1
  293. package/build/@types/ocm/components/clusters/ClusterPage.d.ts.map +1 -1
  294. package/build/@types/ocm/components/clusters/Clusters.d.ts.map +1 -1
  295. package/build/@types/ocm/components/clusters/ClustersListToolbar.d.ts.map +1 -1
  296. package/build/@types/ocm/components/clusters/DeleteClusterModal.d.ts.map +1 -1
  297. package/build/@types/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.d.ts +1 -1
  298. package/build/@types/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.d.ts.map +1 -1
  299. package/build/@types/ocm/components/hosts/ClusterHostsTable.d.ts.map +1 -1
  300. package/build/@types/ocm/components/hosts/DeleteHostModal.d.ts.map +1 -1
  301. package/build/@types/ocm/components/hosts/HostsDiscoveryTable.d.ts +3 -2
  302. package/build/@types/ocm/components/hosts/HostsDiscoveryTable.d.ts.map +1 -1
  303. package/build/@types/ocm/components/hosts/HostsStorageTable.d.ts.map +1 -1
  304. package/build/@types/ocm/components/hosts/ResetHostModal.d.ts.map +1 -1
  305. package/build/@types/ocm/components/hosts/UpdateDay2ApiVipModal.d.ts.map +1 -1
  306. package/build/@types/ocm/components/hosts/use-hosts-table.d.ts.map +1 -1
  307. package/build/@types/ocm/components/ui/InfoLinkWithModal.d.ts.map +1 -1
  308. package/build/@types/ocm/hooks/index.d.ts +1 -0
  309. package/build/@types/ocm/hooks/index.d.ts.map +1 -1
  310. package/build/@types/ocm/hooks/useInfraEnvHosts.d.ts +9 -0
  311. package/build/@types/ocm/hooks/useInfraEnvHosts.d.ts.map +1 -0
  312. package/build/@types/ocm/hooks/useInfraEnvId.d.ts.map +1 -1
  313. package/build/@types/ocm/hooks/useLateBinding.d.ts +4 -0
  314. package/build/@types/ocm/hooks/useLateBinding.d.ts.map +1 -0
  315. package/build/@types/ocm/services/BundleService.d.ts +1 -1
  316. package/build/@types/ocm/services/BundleService.d.ts.map +1 -1
  317. package/build/@types/ocm/services/ClustersService.d.ts +10 -6
  318. package/build/@types/ocm/services/ClustersService.d.ts.map +1 -1
  319. package/build/@types/ocm/services/HostsService.d.ts +13 -12
  320. package/build/@types/ocm/services/HostsService.d.ts.map +1 -1
  321. package/build/@types/ocm/services/InfraEnvsService.d.ts +3 -3
  322. package/build/@types/ocm/services/InfraEnvsService.d.ts.map +1 -1
  323. package/build/@types/ocm/services/UISettingsService.d.ts +1 -1
  324. package/build/@types/ocm/store/slices/infra-envs/thunks.d.ts +1 -1
  325. package/build/cjs/cim/components/Agent/AgentStatus.js +3 -3
  326. package/build/cjs/cim/components/Agent/AgentStatus.js.map +1 -1
  327. package/build/cjs/cim/components/Agent/AgentTable.js +10 -9
  328. package/build/cjs/cim/components/Agent/AgentTable.js.map +1 -1
  329. package/build/cjs/cim/components/Agent/AgentsSelectionTable.js +9 -8
  330. package/build/cjs/cim/components/Agent/AgentsSelectionTable.js.map +1 -1
  331. package/build/cjs/cim/components/Agent/BMCForm.js +6 -6
  332. package/build/cjs/cim/components/Agent/BMCForm.js.map +1 -1
  333. package/build/cjs/cim/components/Agent/BMHEventsModal.js +54 -0
  334. package/build/cjs/cim/components/Agent/BMHEventsModal.js.map +1 -0
  335. package/build/cjs/cim/components/Agent/BMHStatus.js +3 -2
  336. package/build/cjs/cim/components/Agent/BMHStatus.js.map +1 -1
  337. package/build/cjs/cim/components/Agent/BMHStatusInfo.js +59 -0
  338. package/build/cjs/cim/components/Agent/BMHStatusInfo.js.map +1 -0
  339. package/build/cjs/cim/components/Agent/MinimalHWRequirements.js +6 -4
  340. package/build/cjs/cim/components/Agent/MinimalHWRequirements.js.map +1 -1
  341. package/build/cjs/cim/components/Agent/index.js +2 -0
  342. package/build/cjs/cim/components/Agent/index.js.map +1 -1
  343. package/build/cjs/cim/components/Agent/tableColumns.js +184 -0
  344. package/build/cjs/cim/components/Agent/tableColumns.js.map +1 -0
  345. package/build/cjs/cim/components/Agent/tableUtils.js +4 -183
  346. package/build/cjs/cim/components/Agent/tableUtils.js.map +1 -1
  347. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsTable.js +10 -10
  348. package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsTable.js.map +1 -1
  349. package/build/cjs/cim/components/ClusterDeployment/LabelSelector.css +1 -1
  350. package/build/cjs/cim/components/ClusterDeployment/LabelsSelector.js +3 -3
  351. package/build/cjs/cim/components/ClusterDeployment/LocationsSelector.js +2 -2
  352. package/build/cjs/cim/components/ClusterDeployment/LocationsSelector.js.map +1 -1
  353. package/build/cjs/cim/components/ClusterDeployment/NetworkConfiguration.js +28 -38
  354. package/build/cjs/cim/components/ClusterDeployment/NetworkConfiguration.js.map +1 -1
  355. package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.js +1 -1
  356. package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.js.map +1 -1
  357. package/build/cjs/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.js +2 -2
  358. package/build/cjs/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.js.map +1 -1
  359. package/build/cjs/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.js +1 -1
  360. package/build/cjs/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.js.map +1 -1
  361. package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostDiscoveryTable.js +13 -14
  362. package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostDiscoveryTable.js.map +1 -1
  363. package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.js +12 -13
  364. package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.js.map +1 -1
  365. package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.js +13 -10
  366. package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.js.map +1 -1
  367. package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelection.js +1 -1
  368. package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelection.js.map +1 -1
  369. package/build/cjs/cim/components/ClusterDeployment/networkConfigurationValidation.js +19 -18
  370. package/build/cjs/cim/components/ClusterDeployment/networkConfigurationValidation.js.map +1 -1
  371. package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentHostsNetworkTable.js +9 -10
  372. package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentHostsNetworkTable.js.map +1 -1
  373. package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingForm.js +6 -8
  374. package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingForm.js.map +1 -1
  375. package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingStep.js +12 -8
  376. package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingStep.js.map +1 -1
  377. package/build/cjs/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.js +6 -4
  378. package/build/cjs/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.js.map +1 -1
  379. package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js +16 -10
  380. package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js.map +1 -1
  381. package/build/cjs/cim/components/Hypershift/DetailsPage/ClusterInstallationProgress.css +1 -1
  382. package/build/cjs/cim/components/Hypershift/DetailsPage/ConditionsTable.js +3 -3
  383. package/build/cjs/cim/components/Hypershift/DetailsPage/ConditionsTable.js.map +1 -1
  384. package/build/cjs/cim/components/Hypershift/DetailsPage/HostedClusterProgress.js +2 -2
  385. package/build/cjs/cim/components/Hypershift/DetailsPage/HostedClusterProgress.js.map +1 -1
  386. package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsProgress.js +2 -2
  387. package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsProgress.js.map +1 -1
  388. package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsTable.js +2 -2
  389. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.js +1 -1
  390. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.css +2 -2
  391. package/build/cjs/{common/components/clusterConfiguration → cim/components/Hypershift/HostedClusterWizard/NetworkStep}/AdvancedNetworkFields.js +3 -3
  392. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/NetworkStep/AdvancedNetworkFields.js.map +1 -0
  393. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkForm.css +2 -2
  394. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkForm.js +1 -1
  395. package/build/cjs/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkForm.js.map +1 -1
  396. package/build/cjs/cim/components/Hypershift/forms/NodePoolAgentsForm.js +1 -1
  397. package/build/cjs/cim/components/Hypershift/forms/NodePoolAgentsForm.js.map +1 -1
  398. package/build/cjs/cim/components/Hypershift/modals/AddNodePoolModal.js +4 -3
  399. package/build/cjs/cim/components/Hypershift/modals/AddNodePoolModal.js.map +1 -1
  400. package/build/cjs/cim/components/Hypershift/modals/ManageHostsModal.js +4 -3
  401. package/build/cjs/cim/components/Hypershift/modals/ManageHostsModal.js.map +1 -1
  402. package/build/cjs/cim/components/Hypershift/modals/NodePoolForm.js +1 -1
  403. package/build/cjs/cim/components/Hypershift/modals/NodePoolForm.js.map +1 -1
  404. package/build/cjs/cim/components/Hypershift/modals/RemoveNodePoolModal.js +4 -3
  405. package/build/cjs/cim/components/Hypershift/modals/RemoveNodePoolModal.js.map +1 -1
  406. package/build/cjs/cim/components/Hypershift/utils/status.js +6 -6
  407. package/build/cjs/cim/components/Hypershift/utils/status.js.map +1 -1
  408. package/build/cjs/cim/components/InfraEnv/AddHostDropdown.js +1 -1
  409. package/build/cjs/cim/components/InfraEnv/EnvironmentDetails.js +11 -10
  410. package/build/cjs/cim/components/InfraEnv/EnvironmentDetails.js.map +1 -1
  411. package/build/cjs/cim/components/InfraEnv/EnvironmentErrors.js +2 -3
  412. package/build/cjs/cim/components/InfraEnv/EnvironmentErrors.js.map +1 -1
  413. package/build/cjs/cim/components/InfraEnv/InfraEnvAgentTable.js +11 -11
  414. package/build/cjs/cim/components/InfraEnv/InfraEnvAgentTable.js.map +1 -1
  415. package/build/cjs/cim/components/InfraEnv/InfraEnvFormPage.js +1 -1
  416. package/build/cjs/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.js +2 -2
  417. package/build/cjs/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.js.map +1 -1
  418. package/build/cjs/cim/components/InfraEnv/InfraTableToolbar.js +4 -4
  419. package/build/cjs/cim/components/InfraEnv/InfraTableToolbar.js.map +1 -1
  420. package/build/cjs/cim/components/InfraEnv/infra-env.css +2 -2
  421. package/build/cjs/cim/components/common/CpuArchitectureDropdown.js +1 -1
  422. package/build/cjs/cim/components/common/ResourceAlerts.css +1 -1
  423. package/build/cjs/cim/components/common/ResourceAlerts.js +13 -16
  424. package/build/cjs/cim/components/common/ResourceAlerts.js.map +1 -1
  425. package/build/cjs/cim/components/helpers/agentStatus.js +7 -2
  426. package/build/cjs/cim/components/helpers/agentStatus.js.map +1 -1
  427. package/build/cjs/cim/components/helpers/toAssisted.js +28 -26
  428. package/build/cjs/cim/components/helpers/toAssisted.js.map +1 -1
  429. package/build/cjs/cim/components/modals/AddBmcHostModal.js +6 -4
  430. package/build/cjs/cim/components/modals/AddBmcHostModal.js.map +1 -1
  431. package/build/cjs/cim/components/modals/AddBmcHostYamlForm.css +1 -1
  432. package/build/cjs/cim/components/modals/AddBmcHostYamlForm.js +3 -4
  433. package/build/cjs/cim/components/modals/AddBmcHostYamlForm.js.map +1 -1
  434. package/build/cjs/cim/components/modals/AddBmcHostYamlModal.js +6 -4
  435. package/build/cjs/cim/components/modals/AddBmcHostYamlModal.js.map +1 -1
  436. package/build/cjs/cim/components/modals/AddHostModal.js +18 -12
  437. package/build/cjs/cim/components/modals/AddHostModal.js.map +1 -1
  438. package/build/cjs/cim/components/modals/CimConfiguration/CimConfigProgressAlert.js +1 -4
  439. package/build/cjs/cim/components/modals/CimConfiguration/CimConfigProgressAlert.js.map +1 -1
  440. package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationFormFields.js +91 -0
  441. package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationFormFields.js.map +1 -0
  442. package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationModal.js +73 -121
  443. package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationModal.js.map +1 -1
  444. package/build/cjs/cim/components/modals/CimConfiguration/persist.js +44 -95
  445. package/build/cjs/cim/components/modals/CimConfiguration/persist.js.map +1 -1
  446. package/build/cjs/cim/components/modals/EditBMHModal.js +3 -1
  447. package/build/cjs/cim/components/modals/EditBMHModal.js.map +1 -1
  448. package/build/cjs/cim/components/modals/EditNtpSourcesModal.js +4 -3
  449. package/build/cjs/cim/components/modals/EditNtpSourcesModal.js.map +1 -1
  450. package/build/cjs/cim/components/modals/EditProxyModal.js +4 -3
  451. package/build/cjs/cim/components/modals/EditProxyModal.js.map +1 -1
  452. package/build/cjs/cim/components/modals/EditPullSecretModal.js +4 -3
  453. package/build/cjs/cim/components/modals/EditPullSecretModal.js.map +1 -1
  454. package/build/cjs/cim/components/modals/EditSSHKeyModal.js +5 -4
  455. package/build/cjs/cim/components/modals/EditSSHKeyModal.js.map +1 -1
  456. package/build/cjs/cim/components/modals/MassApproveAgentModal.js +5 -4
  457. package/build/cjs/cim/components/modals/MassApproveAgentModal.js.map +1 -1
  458. package/build/cjs/cim/components/modals/MassDeleteAgentModal.js +4 -4
  459. package/build/cjs/cim/components/modals/MassDeleteAgentModal.js.map +1 -1
  460. package/build/cjs/cim/components/modals/ScaleUpModal.js +4 -3
  461. package/build/cjs/cim/components/modals/ScaleUpModal.js.map +1 -1
  462. package/build/cjs/cim/hooks/index.js +2 -0
  463. package/build/cjs/cim/hooks/index.js.map +1 -1
  464. package/build/cjs/cim/hooks/useAgentServiceConfig.js +13 -0
  465. package/build/cjs/cim/hooks/useAgentServiceConfig.js.map +1 -0
  466. package/build/cjs/cim/hooks/useEvents.js +12 -0
  467. package/build/cjs/cim/hooks/useEvents.js.map +1 -0
  468. package/build/cjs/cim/types/index.js +0 -1
  469. package/build/cjs/cim/types/index.js.map +1 -1
  470. package/build/cjs/cim/types/models.js +45 -5
  471. package/build/cjs/cim/types/models.js.map +1 -1
  472. package/build/cjs/common/api/assisted-service/BundleAPI.js +4 -2
  473. package/build/cjs/common/api/assisted-service/BundleAPI.js.map +1 -1
  474. package/build/cjs/common/api/assisted-service/ClustersAPI.js +3 -0
  475. package/build/cjs/common/api/assisted-service/ClustersAPI.js.map +1 -1
  476. package/build/cjs/common/api/assisted-service/HostsAPI.js +8 -0
  477. package/build/cjs/common/api/assisted-service/HostsAPI.js.map +1 -1
  478. package/build/cjs/common/api/assisted-service/InfraEnvsAPI.js +5 -0
  479. package/build/cjs/common/api/assisted-service/InfraEnvsAPI.js.map +1 -1
  480. package/build/cjs/common/components/clusterConfiguration/CertificateFields.css +1 -1
  481. package/build/cjs/common/components/clusterConfiguration/CertificateFields.js +1 -1
  482. package/build/cjs/common/components/clusterConfiguration/CertificateFields.js.map +1 -1
  483. package/build/cjs/common/components/clusterConfiguration/DiscoveryImageConfigForm.js +2 -2
  484. package/build/cjs/common/components/clusterConfiguration/DiscoveryImageConfigForm.js.map +1 -1
  485. package/build/cjs/common/components/clusterConfiguration/DiscoveryInstructions.js +9 -9
  486. package/build/cjs/common/components/clusterConfiguration/DiscoveryInstructions.js.map +1 -1
  487. package/build/cjs/common/components/clusterConfiguration/DiscoveryIpxeInstructions.js +7 -7
  488. package/build/cjs/common/components/clusterConfiguration/DiscoveryIpxeInstructions.js.map +1 -1
  489. package/build/cjs/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.js +36 -34
  490. package/build/cjs/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.js.map +1 -1
  491. package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.js +6 -4
  492. package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.js.map +1 -1
  493. package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.js +1 -2
  494. package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.js.map +1 -1
  495. package/build/cjs/common/components/clusterConfiguration/DownloadIpxeScript.js +2 -2
  496. package/build/cjs/common/components/clusterConfiguration/DownloadIpxeScript.js.map +1 -1
  497. package/build/cjs/common/components/clusterConfiguration/DownloadIso.js +7 -7
  498. package/build/cjs/common/components/clusterConfiguration/DownloadIso.js.map +1 -1
  499. package/build/cjs/common/components/clusterConfiguration/DownloadIsoModal.js +3 -2
  500. package/build/cjs/common/components/clusterConfiguration/DownloadIsoModal.js.map +1 -1
  501. package/build/cjs/common/components/clusterConfiguration/ProxyFields.css +1 -1
  502. package/build/cjs/common/components/clusterConfiguration/ProxyFields.js +3 -3
  503. package/build/cjs/common/components/clusterConfiguration/ProxyFields.js.map +1 -1
  504. package/build/cjs/common/components/clusterConfiguration/SecurityFields.js +7 -5
  505. package/build/cjs/common/components/clusterConfiguration/SecurityFields.js.map +1 -1
  506. package/build/cjs/common/components/clusterConfiguration/utils.js +26 -16
  507. package/build/cjs/common/components/clusterConfiguration/utils.js.map +1 -1
  508. package/build/cjs/common/components/clusterConfiguration/utils.test.js +242 -0
  509. package/build/cjs/common/components/clusterConfiguration/utils.test.js.map +1 -0
  510. package/build/cjs/common/components/clusterDetail/ClusterProgressItem.js +1 -1
  511. package/build/cjs/common/components/clusterDetail/ClusterProgressItem.js.map +1 -1
  512. package/build/cjs/common/components/clusterDetail/ConsoleModal.js +8 -5
  513. package/build/cjs/common/components/clusterDetail/ConsoleModal.js.map +1 -1
  514. package/build/cjs/common/components/clusterDetail/FinalizingProgress.js +6 -7
  515. package/build/cjs/common/components/clusterDetail/FinalizingProgress.js.map +1 -1
  516. package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js +4 -4
  517. package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js.map +1 -1
  518. package/build/cjs/common/components/clusterDetail/ProgressBarTexts.js +4 -4
  519. package/build/cjs/common/components/clusterDetail/ProgressBarTexts.js.map +1 -1
  520. package/build/cjs/common/components/clusterWizard/ClusterWizardStep.css +6 -6
  521. package/build/cjs/common/components/clusterWizard/ClusterWizardStep.js +4 -4
  522. package/build/cjs/common/components/clusterWizard/ClusterWizardStep.js.map +1 -1
  523. package/build/cjs/common/components/clusterWizard/ClusterWizardStepHeader.js +1 -2
  524. package/build/cjs/common/components/clusterWizard/ClusterWizardStepHeader.js.map +1 -1
  525. package/build/cjs/common/components/clusterWizard/ReviewValidations.js +4 -3
  526. package/build/cjs/common/components/clusterWizard/ReviewValidations.js.map +1 -1
  527. package/build/cjs/common/components/clusterWizard/networkingSteps/AdvancedNetworkFields.js +62 -0
  528. package/build/cjs/common/components/clusterWizard/networkingSteps/AdvancedNetworkFields.js.map +1 -0
  529. package/build/cjs/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.js +130 -46
  530. package/build/cjs/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.js.map +1 -1
  531. package/build/cjs/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.js +223 -0
  532. package/build/cjs/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.js.map +1 -0
  533. package/build/cjs/common/components/clusterWizard/networkingSteps/SubnetsDropdown.js +97 -0
  534. package/build/cjs/common/components/clusterWizard/networkingSteps/SubnetsDropdown.js.map +1 -0
  535. package/build/cjs/common/components/clusterWizard/networkingSteps/UserManagedNetworkingTextContent.js +2 -2
  536. package/build/cjs/common/components/clusterWizard/networkingSteps/UserManagedNetworkingTextContent.js.map +1 -1
  537. package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js +96 -38
  538. package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js.map +1 -1
  539. package/build/cjs/common/components/clusterWizard/networkingSteps/index.js +13 -3
  540. package/build/cjs/common/components/clusterWizard/networkingSteps/index.js.map +1 -1
  541. package/build/cjs/common/components/clusterWizard/networkingSteps/reorderNetworks.js +60 -0
  542. package/build/cjs/common/components/clusterWizard/networkingSteps/reorderNetworks.js.map +1 -0
  543. package/build/cjs/common/components/clusters/PullSecret.js +1 -1
  544. package/build/cjs/common/components/hosts/AITableMemo.js +2 -1
  545. package/build/cjs/common/components/hosts/AITableMemo.js.map +1 -1
  546. package/build/cjs/common/components/hosts/AdditionalNTPSourcesDialog.js +4 -3
  547. package/build/cjs/common/components/hosts/AdditionalNTPSourcesDialog.js.map +1 -1
  548. package/build/cjs/common/components/hosts/DiskRole.js +1 -1
  549. package/build/cjs/common/components/hosts/DiskRole.js.map +1 -1
  550. package/build/cjs/common/components/hosts/EditHostForm.js +2 -2
  551. package/build/cjs/common/components/hosts/EditHostForm.js.map +1 -1
  552. package/build/cjs/common/components/hosts/EditHostModal.js +3 -2
  553. package/build/cjs/common/components/hosts/EditHostModal.js.map +1 -1
  554. package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js +4 -4
  555. package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js.map +1 -1
  556. package/build/cjs/common/components/hosts/HostRequirements.js +1 -2
  557. package/build/cjs/common/components/hosts/HostRequirements.js.map +1 -1
  558. package/build/cjs/common/components/hosts/HostStatus.js +20 -18
  559. package/build/cjs/common/components/hosts/HostStatus.js.map +1 -1
  560. package/build/cjs/common/components/hosts/HostValidationGroups.css +2 -2
  561. package/build/cjs/common/components/hosts/HostValidationGroups.js +6 -7
  562. package/build/cjs/common/components/hosts/HostValidationGroups.js.map +1 -1
  563. package/build/cjs/common/components/hosts/Hostname.js +5 -5
  564. package/build/cjs/common/components/hosts/Hostname.js.map +1 -1
  565. package/build/cjs/common/components/hosts/HostsTable.css +4 -4
  566. package/build/cjs/common/components/hosts/MassChangeHostnameModal.css +2 -2
  567. package/build/cjs/common/components/hosts/MassChangeHostnameModal.js +13 -18
  568. package/build/cjs/common/components/hosts/MassChangeHostnameModal.js.map +1 -1
  569. package/build/cjs/common/components/hosts/MassDeleteHostModal.js +4 -3
  570. package/build/cjs/common/components/hosts/MassDeleteHostModal.js.map +1 -1
  571. package/build/cjs/common/components/hosts/OcpConsoleNodesSectionLink.js +1 -4
  572. package/build/cjs/common/components/hosts/OcpConsoleNodesSectionLink.js.map +1 -1
  573. package/build/cjs/common/components/hosts/TableToolbar.css +1 -1
  574. package/build/cjs/common/components/hosts/TableToolbar.js +6 -9
  575. package/build/cjs/common/components/hosts/TableToolbar.js.map +1 -1
  576. package/build/cjs/common/components/hosts/VMRebootConfigurationInfo.js +6 -6
  577. package/build/cjs/common/components/hosts/VMRebootConfigurationInfo.js.map +1 -1
  578. package/build/cjs/common/components/hosts/index.js +2 -0
  579. package/build/cjs/common/components/hosts/index.js.map +1 -1
  580. package/build/cjs/common/components/hosts/status.js +12 -13
  581. package/build/cjs/common/components/hosts/status.js.map +1 -1
  582. package/build/cjs/common/components/hosts/tableColumns.js +336 -0
  583. package/build/cjs/common/components/hosts/tableColumns.js.map +1 -0
  584. package/build/cjs/common/components/hosts/tableUtils.js +1 -332
  585. package/build/cjs/common/components/hosts/tableUtils.js.map +1 -1
  586. package/build/cjs/common/components/operators/operatorDescriptions.js +3 -1
  587. package/build/cjs/common/components/operators/operatorDescriptions.js.map +1 -1
  588. package/build/cjs/common/components/operators/operatorSpecs.js +24 -1
  589. package/build/cjs/common/components/operators/operatorSpecs.js.map +1 -1
  590. package/build/cjs/common/components/storage/DisksTable.js +1 -2
  591. package/build/cjs/common/components/storage/DisksTable.js.map +1 -1
  592. package/build/cjs/common/components/storage/StorageUtils.js +4 -3
  593. package/build/cjs/common/components/storage/StorageUtils.js.map +1 -1
  594. package/build/cjs/common/components/ui/ClusterEventsToolbar.js +11 -12
  595. package/build/cjs/common/components/ui/ClusterEventsToolbar.js.map +1 -1
  596. package/build/cjs/common/components/ui/ConfirmationModal.js +5 -3
  597. package/build/cjs/common/components/ui/ConfirmationModal.js.map +1 -1
  598. package/build/cjs/common/components/ui/CustomToolbarFilter.js +19 -19
  599. package/build/cjs/common/components/ui/CustomToolbarFilter.js.map +1 -1
  600. package/build/cjs/common/components/ui/DetailList.css +2 -2
  601. package/build/cjs/common/components/ui/DetailList.js +7 -7
  602. package/build/cjs/common/components/ui/DetailList.js.map +1 -1
  603. package/build/cjs/common/components/ui/EventsList.js +1 -1
  604. package/build/cjs/common/components/ui/EventsList.js.map +1 -1
  605. package/build/cjs/common/components/ui/ExternalLink.js +1 -1
  606. package/build/cjs/common/components/ui/ExternalLink.js.map +1 -1
  607. package/build/cjs/common/components/ui/GridGap.js +1 -1
  608. package/build/cjs/common/components/ui/NoPermissionsError.js +1 -3
  609. package/build/cjs/common/components/ui/NoPermissionsError.js.map +1 -1
  610. package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js +9 -5
  611. package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js.map +1 -1
  612. package/build/cjs/common/components/ui/OpenShiftVersionModal.css +1 -1
  613. package/build/cjs/common/components/ui/OpenShiftVersionModal.js +7 -5
  614. package/build/cjs/common/components/ui/OpenShiftVersionModal.js.map +1 -1
  615. package/build/cjs/common/components/ui/PopoverIcon.js +2 -3
  616. package/build/cjs/common/components/ui/PopoverIcon.js.map +1 -1
  617. package/build/cjs/common/components/ui/PreviewBadge.js +5 -5
  618. package/build/cjs/common/components/ui/PreviewBadge.js.map +1 -1
  619. package/build/cjs/common/components/ui/PrismCode.css +1 -1
  620. package/build/cjs/common/components/ui/PrismCode.js +31 -23
  621. package/build/cjs/common/components/ui/PrismCode.js.map +1 -1
  622. package/build/cjs/common/components/ui/SectionTitle.js +1 -2
  623. package/build/cjs/common/components/ui/SectionTitle.js.map +1 -1
  624. package/build/cjs/common/components/ui/SimpleDropdown.js +1 -1
  625. package/build/cjs/common/components/ui/SimpleDropdown.js.map +1 -1
  626. package/build/cjs/common/components/ui/StaticTextField.js +2 -3
  627. package/build/cjs/common/components/ui/StaticTextField.js.map +1 -1
  628. package/build/cjs/common/components/ui/Toolbar/ToolbarSecondaryGroup.js +1 -1
  629. package/build/cjs/common/components/ui/Toolbar/ToolbarSecondaryGroup.js.map +1 -1
  630. package/build/cjs/common/components/ui/Toolbar/ToolbarText.js +1 -1
  631. package/build/cjs/common/components/ui/Toolbar/ToolbarText.js.map +1 -1
  632. package/build/cjs/common/components/ui/WizardFooter.js +3 -3
  633. package/build/cjs/common/components/ui/WizardFooter.js.map +1 -1
  634. package/build/cjs/common/components/ui/WizardNavItem.js +1 -1
  635. package/build/cjs/common/components/ui/WizardNavItem.js.map +1 -1
  636. package/build/cjs/common/components/ui/eventsModal.js +10 -9
  637. package/build/cjs/common/components/ui/eventsModal.js.map +1 -1
  638. package/build/cjs/common/components/ui/formik/AlertFormikError.js +1 -2
  639. package/build/cjs/common/components/ui/formik/AlertFormikError.js.map +1 -1
  640. package/build/cjs/common/components/ui/formik/CertificatesUploadField.js +2 -2
  641. package/build/cjs/common/components/ui/formik/CertificatesUploadField.js.map +1 -1
  642. package/build/cjs/common/components/ui/formik/CheckboxField.js +1 -1
  643. package/build/cjs/common/components/ui/formik/CheckboxField.js.map +1 -1
  644. package/build/cjs/common/components/ui/formik/CodeField.js +3 -3
  645. package/build/cjs/common/components/ui/formik/CodeField.js.map +1 -1
  646. package/build/cjs/common/components/ui/formik/InputField.js +6 -5
  647. package/build/cjs/common/components/ui/formik/InputField.js.map +1 -1
  648. package/build/cjs/common/components/ui/formik/LabelField.js +35 -27
  649. package/build/cjs/common/components/ui/formik/LabelField.js.map +1 -1
  650. package/build/cjs/common/components/ui/formik/MultiSelectField.js +6 -6
  651. package/build/cjs/common/components/ui/formik/MultiSelectField.js.map +1 -1
  652. package/build/cjs/common/components/ui/formik/NumberInputField.js +2 -2
  653. package/build/cjs/common/components/ui/formik/NumberInputField.js.map +1 -1
  654. package/build/cjs/common/components/ui/formik/PencilEditField.css +1 -1
  655. package/build/cjs/common/components/ui/formik/PencilEditField.js +1 -1
  656. package/build/cjs/common/components/ui/formik/PullSecretField.js.map +1 -1
  657. package/build/cjs/common/components/ui/formik/RemovableField.css +6 -6
  658. package/build/cjs/common/components/ui/formik/RemovableField.js +1 -2
  659. package/build/cjs/common/components/ui/formik/RemovableField.js.map +1 -1
  660. package/build/cjs/common/components/ui/formik/RichInputField.css +2 -9
  661. package/build/cjs/common/components/ui/formik/RichInputField.js +9 -9
  662. package/build/cjs/common/components/ui/formik/RichInputField.js.map +1 -1
  663. package/build/cjs/common/components/ui/formik/SelectField.js +2 -2
  664. package/build/cjs/common/components/ui/formik/SelectField.js.map +1 -1
  665. package/build/cjs/common/components/ui/formik/SwitchField.js +2 -2
  666. package/build/cjs/common/components/ui/formik/SwitchField.js.map +1 -1
  667. package/build/cjs/common/components/ui/formik/TextAreaField.js +3 -3
  668. package/build/cjs/common/components/ui/formik/TextAreaField.js.map +1 -1
  669. package/build/cjs/common/components/ui/formik/TextAreaSecretField.js +3 -1
  670. package/build/cjs/common/components/ui/formik/TextAreaSecretField.js.map +1 -1
  671. package/build/cjs/common/components/ui/formik/UploadField.js +3 -3
  672. package/build/cjs/common/components/ui/formik/UploadField.js.map +1 -1
  673. package/build/cjs/common/components/ui/formik/validationSchemas.js +154 -62
  674. package/build/cjs/common/components/ui/formik/validationSchemas.js.map +1 -1
  675. package/build/cjs/common/components/ui/index.js +1 -2
  676. package/build/cjs/common/components/ui/index.js.map +1 -1
  677. package/build/cjs/common/components/ui/uiState/EmptyState.js +1 -3
  678. package/build/cjs/common/components/ui/uiState/EmptyState.js.map +1 -1
  679. package/build/cjs/common/components/ui/uiState/ErrorState.js +2 -4
  680. package/build/cjs/common/components/ui/uiState/ErrorState.js.map +1 -1
  681. package/build/cjs/common/components/ui/uiState/LoadingState.js +1 -1
  682. package/build/cjs/common/components/ui/uiState/LoadingState.js.map +1 -1
  683. package/build/cjs/common/config/constants.js +39 -4
  684. package/build/cjs/common/config/constants.js.map +1 -1
  685. package/build/cjs/common/config/docs_links.js +19 -4
  686. package/build/cjs/common/config/docs_links.js.map +1 -1
  687. package/build/cjs/common/reducers/alertsSlice.js +1 -1
  688. package/build/cjs/common/reducers/alertsSlice.js.map +1 -1
  689. package/build/cjs/common/types/clusters.js.map +1 -1
  690. package/build/cjs/ocm/components/AddHosts/InventoryAddHost.js +4 -5
  691. package/build/cjs/ocm/components/AddHosts/InventoryAddHost.js.map +1 -1
  692. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2StaticIP.js +4 -4
  693. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2StaticIP.js.map +1 -1
  694. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2StaticIpHostConfigurations.js +1 -2
  695. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2StaticIpHostConfigurations.js.map +1 -1
  696. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2Wizard.js +3 -4
  697. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2Wizard.js.map +1 -1
  698. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2WizardFooter.js +1 -1
  699. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2WizardFooter.js.map +1 -1
  700. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2WizardNav.js +4 -4
  701. package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2WizardNav.js.map +1 -1
  702. package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabMock.js +3 -4
  703. package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabMock.js.map +1 -1
  704. package/build/cjs/ocm/components/HostsClusterDetailTab/utils.js +18 -11
  705. package/build/cjs/ocm/components/HostsClusterDetailTab/utils.js.map +1 -1
  706. package/build/cjs/ocm/components/Routes.css +10 -0
  707. package/build/cjs/ocm/components/Routes.js +3 -1
  708. package/build/cjs/ocm/components/Routes.js.map +1 -1
  709. package/build/cjs/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.js +1 -1
  710. package/build/cjs/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.js.map +1 -1
  711. package/build/cjs/ocm/components/clusterConfiguration/CpuArchitectureDropdown.js +1 -1
  712. package/build/cjs/ocm/components/clusterConfiguration/CpuArchitectureDropdown.js.map +1 -1
  713. package/build/cjs/ocm/components/clusterConfiguration/CustomManifestCheckbox.js +1 -1
  714. package/build/cjs/ocm/components/clusterConfiguration/CustomManifestCheckbox.js.map +1 -1
  715. package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageModal.js +2 -1
  716. package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageModal.js.map +1 -1
  717. package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.js +1 -1
  718. package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.js.map +1 -1
  719. package/build/cjs/ocm/components/clusterConfiguration/HostInventory.js +12 -14
  720. package/build/cjs/ocm/components/clusterConfiguration/HostInventory.js.map +1 -1
  721. package/build/cjs/ocm/components/clusterConfiguration/HostsNetworkConfigurationControlGroup.js +2 -2
  722. package/build/cjs/ocm/components/clusterConfiguration/HostsNetworkConfigurationControlGroup.js.map +1 -1
  723. package/build/cjs/ocm/components/clusterConfiguration/OcmBaseDomainField.js +3 -3
  724. package/build/cjs/ocm/components/clusterConfiguration/OcmBaseDomainField.js.map +1 -1
  725. package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +2 -1
  726. package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js.map +1 -1
  727. package/build/cjs/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.js +12 -9
  728. package/build/cjs/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.js.map +1 -1
  729. package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js +4 -4
  730. package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js.map +1 -1
  731. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.js +3 -3
  732. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.js.map +1 -1
  733. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/DeleteCustomManifestModal.js +7 -6
  734. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/DeleteCustomManifestModal.js.map +1 -1
  735. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifest.js +1 -2
  736. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifest.js.map +1 -1
  737. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/ExpandedManifest.js +0 -1
  738. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/ExpandedManifest.js.map +1 -1
  739. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.js +1 -1
  740. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.js.map +1 -1
  741. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js +8 -14
  742. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js.map +1 -1
  743. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js +3 -4
  744. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js.map +1 -1
  745. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationTableBase.js +8 -9
  746. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationTableBase.js.map +1 -1
  747. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.js +10 -20
  748. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.js.map +1 -1
  749. package/build/cjs/ocm/components/clusterConfiguration/operators/OperatorCheckbox.js +1 -1
  750. package/build/cjs/ocm/components/clusterConfiguration/operators/OperatorCheckbox.js.map +1 -1
  751. package/build/cjs/ocm/components/clusterConfiguration/operators/bundleSpecs.js +0 -2
  752. package/build/cjs/ocm/components/clusterConfiguration/operators/bundleSpecs.js.map +1 -1
  753. package/build/cjs/ocm/components/clusterConfiguration/operators/utils.js +10 -6
  754. package/build/cjs/ocm/components/clusterConfiguration/operators/utils.js.map +1 -1
  755. package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js +15 -10
  756. package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js.map +1 -1
  757. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewCluster.css +5 -7
  758. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.js +49 -13
  759. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.js.map +1 -1
  760. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.js +17 -17
  761. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.js.map +1 -1
  762. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewSummary.js +2 -2
  763. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewSummary.js.map +1 -1
  764. package/build/cjs/ocm/components/clusterConfiguration/review/TableSummaryExpandable.js +1 -1
  765. package/build/cjs/ocm/components/clusterConfiguration/review/TableSummaryExpandable.js.map +1 -1
  766. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/CollapsedHost.js +1 -2
  767. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/CollapsedHost.js.map +1 -1
  768. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/BondsConfirmationModal.js +4 -3
  769. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/BondsConfirmationModal.js.map +1 -1
  770. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.js +3 -4
  771. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.js.map +1 -1
  772. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWideFields.js +5 -5
  773. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWideFields.js.map +1 -1
  774. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.js +1 -2
  775. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.js.map +1 -1
  776. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.js +5 -4
  777. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.js.map +1 -1
  778. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlViewFields.js +6 -7
  779. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlViewFields.js.map +1 -1
  780. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/staticIp.css +9 -9
  781. package/build/cjs/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.js +1 -1
  782. package/build/cjs/ocm/components/clusterDetail/CancelInstallationModal.js +6 -5
  783. package/build/cjs/ocm/components/clusterDetail/CancelInstallationModal.js.map +1 -1
  784. package/build/cjs/ocm/components/clusterDetail/ClusterDetail.js +1 -2
  785. package/build/cjs/ocm/components/clusterDetail/ClusterDetail.js.map +1 -1
  786. package/build/cjs/ocm/components/clusterDetail/ClusterDetailStatusMessages.js +17 -14
  787. package/build/cjs/ocm/components/clusterDetail/ClusterDetailStatusMessages.js.map +1 -1
  788. package/build/cjs/ocm/components/clusterDetail/ClusterDetailStatusVarieties.js +5 -3
  789. package/build/cjs/ocm/components/clusterDetail/ClusterDetailStatusVarieties.js.map +1 -1
  790. package/build/cjs/ocm/components/clusterDetail/ClusterDetailsButtonGroup.css +2 -2
  791. package/build/cjs/ocm/components/clusterDetail/ClusterInstallationError.js +4 -5
  792. package/build/cjs/ocm/components/clusterDetail/ClusterInstallationError.js.map +1 -1
  793. package/build/cjs/ocm/components/clusterDetail/ClusterInstallationProgressCard.js +10 -6
  794. package/build/cjs/ocm/components/clusterDetail/ClusterInstallationProgressCard.js.map +1 -1
  795. package/build/cjs/ocm/components/clusterDetail/ClusterPollingErrorModal.js +5 -3
  796. package/build/cjs/ocm/components/clusterDetail/ClusterPollingErrorModal.js.map +1 -1
  797. package/build/cjs/ocm/components/clusterDetail/ClusterProperties.js +1 -2
  798. package/build/cjs/ocm/components/clusterDetail/ClusterProperties.js.map +1 -1
  799. package/build/cjs/ocm/components/clusterDetail/ClusterProperties.test.js +180 -0
  800. package/build/cjs/ocm/components/clusterDetail/ClusterProperties.test.js.map +1 -0
  801. package/build/cjs/ocm/components/clusterDetail/ClusterSummaryExpandable.css +1 -1
  802. package/build/cjs/ocm/components/clusterDetail/ClusterSummaryExpandable.js +1 -1
  803. package/build/cjs/ocm/components/clusterDetail/ClusterUpdateErrorModal.js +5 -3
  804. package/build/cjs/ocm/components/clusterDetail/ClusterUpdateErrorModal.js.map +1 -1
  805. package/build/cjs/ocm/components/clusterDetail/HostInventoryExpandable.css +1 -1
  806. package/build/cjs/ocm/components/clusterDetail/HostInventoryExpandable.js +1 -1
  807. package/build/cjs/ocm/components/clusterDetail/OpenShiftVersionDetail.js +2 -3
  808. package/build/cjs/ocm/components/clusterDetail/OpenShiftVersionDetail.js.map +1 -1
  809. package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js +4 -5
  810. package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js.map +1 -1
  811. package/build/cjs/ocm/components/clusterDetail/ResetClusterModal.js +10 -7
  812. package/build/cjs/ocm/components/clusterDetail/ResetClusterModal.js.map +1 -1
  813. package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js +21 -3
  814. package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js.map +1 -1
  815. package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js +4 -5
  816. package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js.map +1 -1
  817. package/build/cjs/ocm/components/clusterWizard/ClusterWizard.js +1 -1
  818. package/build/cjs/ocm/components/clusterWizard/ClusterWizardContext.js.map +1 -1
  819. package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js +4 -0
  820. package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js.map +1 -1
  821. package/build/cjs/ocm/components/clusterWizard/ClusterWizardFooter.js +22 -7
  822. package/build/cjs/ocm/components/clusterWizard/ClusterWizardFooter.js.map +1 -1
  823. package/build/cjs/ocm/components/clusterWizard/ClusterWizardNavigation.js +4 -4
  824. package/build/cjs/ocm/components/clusterWizard/ClusterWizardNavigation.js.map +1 -1
  825. package/build/cjs/ocm/components/clusterWizard/HostDiscovery.js +3 -0
  826. package/build/cjs/ocm/components/clusterWizard/HostDiscovery.js.map +1 -1
  827. package/build/cjs/ocm/components/clusterWizard/NewClusterWizard.js +4 -1
  828. package/build/cjs/ocm/components/clusterWizard/NewClusterWizard.js.map +1 -1
  829. package/build/cjs/ocm/components/clusterWizard/OperatorsBundle.css +3 -3
  830. package/build/cjs/ocm/components/clusterWizard/OperatorsBundle.js +12 -40
  831. package/build/cjs/ocm/components/clusterWizard/OperatorsBundle.js.map +1 -1
  832. package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.js +1 -1
  833. package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.js.map +1 -1
  834. package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.test.js +131 -0
  835. package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.test.js.map +1 -0
  836. package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js +14 -3
  837. package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js.map +1 -1
  838. package/build/cjs/ocm/components/clusterWizard/constants.js +1 -0
  839. package/build/cjs/ocm/components/clusterWizard/constants.js.map +1 -1
  840. package/build/cjs/ocm/components/clusterWizard/disconnected/BasicStep.js +52 -10
  841. package/build/cjs/ocm/components/clusterWizard/disconnected/BasicStep.js.map +1 -1
  842. package/build/cjs/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.js +1 -1
  843. package/build/cjs/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.js.map +1 -1
  844. package/build/cjs/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.js +128 -0
  845. package/build/cjs/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.js.map +1 -0
  846. package/build/cjs/ocm/components/clusterWizard/disconnected/ReviewStep.js +44 -10
  847. package/build/cjs/ocm/components/clusterWizard/disconnected/ReviewStep.js.map +1 -1
  848. package/build/cjs/ocm/components/clusterWizard/index.js +3 -1
  849. package/build/cjs/ocm/components/clusterWizard/index.js.map +1 -1
  850. package/build/cjs/ocm/components/clusterWizard/wizardTransition.js +3 -0
  851. package/build/cjs/ocm/components/clusterWizard/wizardTransition.js.map +1 -1
  852. package/build/cjs/ocm/components/clusters/AssistedInstallerHeader.js +4 -4
  853. package/build/cjs/ocm/components/clusters/AssistedInstallerHeader.js.map +1 -1
  854. package/build/cjs/ocm/components/clusters/ClusterBreadcrumbs.js +1 -1
  855. package/build/cjs/ocm/components/clusters/ClusterBreadcrumbs.js.map +1 -1
  856. package/build/cjs/ocm/components/clusters/ClusterLoading.js +1 -1
  857. package/build/cjs/ocm/components/clusters/ClusterLoading.js.map +1 -1
  858. package/build/cjs/ocm/components/clusters/ClusterPage.js +8 -9
  859. package/build/cjs/ocm/components/clusters/ClusterPage.js.map +1 -1
  860. package/build/cjs/ocm/components/clusters/ClusterPageErrors.js +1 -1
  861. package/build/cjs/ocm/components/clusters/ClusterPageErrors.js.map +1 -1
  862. package/build/cjs/ocm/components/clusters/ClusterStatus.js +2 -2
  863. package/build/cjs/ocm/components/clusters/ClusterStatus.js.map +1 -1
  864. package/build/cjs/ocm/components/clusters/Clusters.js +6 -7
  865. package/build/cjs/ocm/components/clusters/Clusters.js.map +1 -1
  866. package/build/cjs/ocm/components/clusters/ClustersListToolbar.js +5 -5
  867. package/build/cjs/ocm/components/clusters/ClustersListToolbar.js.map +1 -1
  868. package/build/cjs/ocm/components/clusters/DeleteClusterModal.js +8 -6
  869. package/build/cjs/ocm/components/clusters/DeleteClusterModal.js.map +1 -1
  870. package/build/cjs/ocm/components/clusters/NewClusterPage.js +2 -2
  871. package/build/cjs/ocm/components/clusters/NewClusterPage.js.map +1 -1
  872. package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js +25 -14
  873. package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js.map +1 -1
  874. package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js +0 -3
  875. package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js.map +1 -1
  876. package/build/cjs/ocm/components/hosts/ClusterHostsTable.js +7 -8
  877. package/build/cjs/ocm/components/hosts/ClusterHostsTable.js.map +1 -1
  878. package/build/cjs/ocm/components/hosts/DeleteHostModal.js +5 -3
  879. package/build/cjs/ocm/components/hosts/DeleteHostModal.js.map +1 -1
  880. package/build/cjs/ocm/components/hosts/HostRequirementsContent.js +1 -2
  881. package/build/cjs/ocm/components/hosts/HostRequirementsContent.js.map +1 -1
  882. package/build/cjs/ocm/components/hosts/HostsDiscoveryTable.js +8 -10
  883. package/build/cjs/ocm/components/hosts/HostsDiscoveryTable.js.map +1 -1
  884. package/build/cjs/ocm/components/hosts/HostsStorageTable.js +5 -6
  885. package/build/cjs/ocm/components/hosts/HostsStorageTable.js.map +1 -1
  886. package/build/cjs/ocm/components/hosts/ResetHostModal.js +8 -6
  887. package/build/cjs/ocm/components/hosts/ResetHostModal.js.map +1 -1
  888. package/build/cjs/ocm/components/hosts/UpdateDay2ApiVipForm.js +2 -2
  889. package/build/cjs/ocm/components/hosts/UpdateDay2ApiVipForm.js.map +1 -1
  890. package/build/cjs/ocm/components/hosts/UpdateDay2ApiVipModal.js +3 -2
  891. package/build/cjs/ocm/components/hosts/UpdateDay2ApiVipModal.js.map +1 -1
  892. package/build/cjs/ocm/components/hosts/use-hosts-table.js +2 -3
  893. package/build/cjs/ocm/components/hosts/use-hosts-table.js.map +1 -1
  894. package/build/cjs/ocm/components/ui/InfoLinkWithModal.js +5 -3
  895. package/build/cjs/ocm/components/ui/InfoLinkWithModal.js.map +1 -1
  896. package/build/cjs/ocm/hooks/index.js +3 -1
  897. package/build/cjs/ocm/hooks/index.js.map +1 -1
  898. package/build/cjs/ocm/hooks/useInfraEnvHosts.js +47 -0
  899. package/build/cjs/ocm/hooks/useInfraEnvHosts.js.map +1 -0
  900. package/build/cjs/ocm/hooks/useInfraEnvId.js +11 -2
  901. package/build/cjs/ocm/hooks/useInfraEnvId.js.map +1 -1
  902. package/build/cjs/ocm/hooks/useLateBinding.js +61 -0
  903. package/build/cjs/ocm/hooks/useLateBinding.js.map +1 -0
  904. package/build/cjs/ocm/services/BundleService.js +2 -2
  905. package/build/cjs/ocm/services/BundleService.js.map +1 -1
  906. package/build/cjs/ocm/services/ClustersService.js +10 -2
  907. package/build/cjs/ocm/services/ClustersService.js.map +1 -1
  908. package/build/cjs/ocm/services/HostsService.js +6 -0
  909. package/build/cjs/ocm/services/HostsService.js.map +1 -1
  910. package/build/cjs/ocm/services/InfraEnvsService.js +2 -2
  911. package/build/cjs/ocm/services/InfraEnvsService.js.map +1 -1
  912. package/lib/cim/components/Agent/AgentStatus.tsx +4 -1
  913. package/lib/cim/components/Agent/AgentTable.tsx +3 -2
  914. package/lib/cim/components/Agent/AgentsSelectionTable.tsx +3 -12
  915. package/lib/cim/components/Agent/BMCForm.tsx +12 -12
  916. package/lib/cim/components/Agent/BMHEventsModal.tsx +87 -0
  917. package/lib/cim/components/Agent/BMHStatus.tsx +17 -17
  918. package/lib/cim/components/Agent/BMHStatusInfo.tsx +94 -0
  919. package/lib/cim/components/Agent/MinimalHWRequirements.tsx +17 -11
  920. package/lib/cim/components/Agent/index.ts +2 -0
  921. package/lib/cim/components/Agent/tableColumns.tsx +257 -0
  922. package/lib/cim/components/Agent/tableUtils.tsx +4 -254
  923. package/lib/cim/components/ClusterDeployment/ClusterDeploymentDetailsTable.tsx +2 -2
  924. package/lib/cim/components/ClusterDeployment/LabelSelector.css +1 -1
  925. package/lib/cim/components/ClusterDeployment/LabelsSelector.tsx +3 -3
  926. package/lib/cim/components/ClusterDeployment/LocationsSelector.tsx +2 -2
  927. package/lib/cim/components/ClusterDeployment/NetworkConfiguration.tsx +61 -44
  928. package/lib/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.tsx +2 -2
  929. package/lib/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.tsx +12 -5
  930. package/lib/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.tsx +3 -3
  931. package/lib/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostDiscoveryTable.tsx +3 -5
  932. package/lib/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.tsx +21 -31
  933. package/lib/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.tsx +27 -28
  934. package/lib/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelection.tsx +2 -2
  935. package/lib/cim/components/ClusterDeployment/networkConfigurationValidation.ts +30 -36
  936. package/lib/cim/components/ClusterDeployment/networking/ClusterDeploymentHostsNetworkTable.tsx +2 -7
  937. package/lib/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingForm.tsx +14 -19
  938. package/lib/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingStep.tsx +26 -26
  939. package/lib/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.tsx +20 -6
  940. package/lib/cim/components/ClusterDeployment/use-networking-formik.ts +34 -14
  941. package/lib/cim/components/Hypershift/DetailsPage/ClusterInstallationProgress.css +1 -1
  942. package/lib/cim/components/Hypershift/DetailsPage/ConditionsTable.tsx +1 -1
  943. package/lib/cim/components/Hypershift/DetailsPage/HostedClusterProgress.tsx +1 -1
  944. package/lib/cim/components/Hypershift/DetailsPage/NodePoolsProgress.tsx +1 -1
  945. package/lib/cim/components/Hypershift/DetailsPage/NodePoolsTable.tsx +2 -2
  946. package/lib/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.tsx +1 -1
  947. package/lib/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.css +2 -2
  948. package/lib/{common/components/clusterConfiguration → cim/components/Hypershift/HostedClusterWizard/NetworkStep}/AdvancedNetworkFields.tsx +4 -4
  949. package/lib/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkForm.css +2 -2
  950. package/lib/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkForm.tsx +1 -1
  951. package/lib/cim/components/Hypershift/forms/NodePoolAgentsForm.tsx +2 -2
  952. package/lib/cim/components/Hypershift/modals/AddNodePoolModal.tsx +9 -14
  953. package/lib/cim/components/Hypershift/modals/ManageHostsModal.tsx +9 -14
  954. package/lib/cim/components/Hypershift/modals/NodePoolForm.tsx +1 -1
  955. package/lib/cim/components/Hypershift/modals/RemoveNodePoolModal.tsx +8 -9
  956. package/lib/cim/components/Hypershift/utils/status.tsx +3 -3
  957. package/lib/cim/components/InfraEnv/AddHostDropdown.tsx +1 -1
  958. package/lib/cim/components/InfraEnv/EnvironmentDetails.tsx +12 -16
  959. package/lib/cim/components/InfraEnv/EnvironmentErrors.tsx +2 -6
  960. package/lib/cim/components/InfraEnv/InfraEnvAgentTable.tsx +6 -6
  961. package/lib/cim/components/InfraEnv/InfraEnvFormPage.tsx +1 -1
  962. package/lib/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.tsx +1 -1
  963. package/lib/cim/components/InfraEnv/InfraTableToolbar.tsx +26 -20
  964. package/lib/cim/components/InfraEnv/infra-env.css +2 -2
  965. package/lib/cim/components/common/CpuArchitectureDropdown.tsx +1 -1
  966. package/lib/cim/components/common/ResourceAlerts.css +1 -1
  967. package/lib/cim/components/common/ResourceAlerts.tsx +29 -39
  968. package/lib/cim/components/helpers/agentStatus.tsx +6 -1
  969. package/lib/cim/components/helpers/toAssisted.ts +15 -15
  970. package/lib/cim/components/modals/AddBmcHostModal.tsx +14 -13
  971. package/lib/cim/components/modals/AddBmcHostYamlForm.css +1 -1
  972. package/lib/cim/components/modals/AddBmcHostYamlForm.tsx +12 -14
  973. package/lib/cim/components/modals/AddBmcHostYamlModal.tsx +8 -7
  974. package/lib/cim/components/modals/AddHostModal.tsx +28 -14
  975. package/lib/cim/components/modals/CimConfiguration/CimConfigProgressAlert.tsx +2 -1
  976. package/lib/cim/components/modals/CimConfiguration/CimConfigurationFormFields.tsx +259 -0
  977. package/lib/cim/components/modals/CimConfiguration/CimConfigurationModal.tsx +167 -192
  978. package/lib/cim/components/modals/CimConfiguration/persist.ts +62 -125
  979. package/lib/cim/components/modals/CimConfiguration/types.ts +7 -22
  980. package/lib/cim/components/modals/EditBMHModal.tsx +2 -3
  981. package/lib/cim/components/modals/EditNtpSourcesModal.tsx +8 -8
  982. package/lib/cim/components/modals/EditProxyModal.tsx +9 -8
  983. package/lib/cim/components/modals/EditPullSecretModal.tsx +8 -8
  984. package/lib/cim/components/modals/EditSSHKeyModal.tsx +10 -11
  985. package/lib/cim/components/modals/MassApproveAgentModal.tsx +9 -9
  986. package/lib/cim/components/modals/MassDeleteAgentModal.tsx +3 -3
  987. package/lib/cim/components/modals/ScaleUpModal.tsx +9 -9
  988. package/lib/cim/hooks/index.tsx +2 -0
  989. package/lib/cim/hooks/types.tsx +4 -1
  990. package/lib/cim/hooks/useAgentServiceConfig.tsx +15 -0
  991. package/lib/cim/hooks/useEvents.tsx +14 -0
  992. package/lib/cim/types/fromOCP/k8sTypes.ts +13 -0
  993. package/lib/cim/types/index.ts +0 -1
  994. package/lib/cim/types/k8s/agent-cluster-install.ts +4 -0
  995. package/lib/cim/types/k8s/bare-metal-host.ts +20 -0
  996. package/lib/cim/types/models.tsx +48 -4
  997. package/lib/common/api/assisted-service/BundleAPI.ts +15 -2
  998. package/lib/common/api/assisted-service/ClustersAPI.ts +6 -0
  999. package/lib/common/api/assisted-service/HostsAPI.ts +13 -0
  1000. package/lib/common/api/assisted-service/InfraEnvsAPI.ts +6 -0
  1001. package/lib/common/components/clusterConfiguration/CertificateFields.css +1 -1
  1002. package/lib/common/components/clusterConfiguration/CertificateFields.tsx +1 -1
  1003. package/lib/common/components/clusterConfiguration/DiscoveryImageConfigForm.tsx +6 -6
  1004. package/lib/common/components/clusterConfiguration/DiscoveryInstructions.tsx +17 -17
  1005. package/lib/common/components/clusterConfiguration/DiscoveryIpxeInstructions.tsx +12 -12
  1006. package/lib/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.tsx +47 -49
  1007. package/lib/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.tsx +25 -23
  1008. package/lib/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.tsx +3 -6
  1009. package/lib/common/components/clusterConfiguration/DownloadIpxeScript.tsx +6 -6
  1010. package/lib/common/components/clusterConfiguration/DownloadIso.tsx +16 -9
  1011. package/lib/common/components/clusterConfiguration/DownloadIsoModal.tsx +2 -3
  1012. package/lib/common/components/clusterConfiguration/ProxyFields.css +1 -1
  1013. package/lib/common/components/clusterConfiguration/ProxyFields.tsx +3 -3
  1014. package/lib/common/components/clusterConfiguration/SecurityFields.tsx +13 -6
  1015. package/lib/common/components/clusterConfiguration/utils.test.ts +275 -0
  1016. package/lib/common/components/clusterConfiguration/utils.ts +48 -21
  1017. package/lib/common/components/clusterDetail/ClusterProgressItem.tsx +2 -2
  1018. package/lib/common/components/clusterDetail/ConsoleModal.tsx +16 -15
  1019. package/lib/common/components/clusterDetail/FinalizingProgress.tsx +8 -10
  1020. package/lib/common/components/clusterDetail/OperatorsProgressItem.tsx +2 -2
  1021. package/lib/common/components/clusterDetail/ProgressBarTexts.tsx +2 -2
  1022. package/lib/common/components/clusterWizard/ClusterWizardStep.css +6 -6
  1023. package/lib/common/components/clusterWizard/ClusterWizardStep.tsx +15 -4
  1024. package/lib/common/components/clusterWizard/ClusterWizardStepHeader.tsx +2 -4
  1025. package/lib/common/components/clusterWizard/ReviewValidations.tsx +5 -2
  1026. package/lib/common/components/clusterWizard/networkingSteps/AdvancedNetworkFields.tsx +165 -0
  1027. package/lib/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.tsx +221 -53
  1028. package/lib/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.tsx +350 -0
  1029. package/lib/common/components/clusterWizard/networkingSteps/SubnetsDropdown.tsx +190 -0
  1030. package/lib/common/components/clusterWizard/networkingSteps/UserManagedNetworkingTextContent.tsx +5 -5
  1031. package/lib/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.tsx +199 -80
  1032. package/lib/common/components/clusterWizard/networkingSteps/index.ts +10 -2
  1033. package/lib/common/components/clusterWizard/networkingSteps/reorderNetworks.ts +73 -0
  1034. package/lib/common/components/clusters/PullSecret.tsx +1 -1
  1035. package/lib/common/components/hosts/AITableMemo.tsx +1 -0
  1036. package/lib/common/components/hosts/AdditionalNTPSourcesDialog.tsx +9 -9
  1037. package/lib/common/components/hosts/DiskRole.tsx +1 -0
  1038. package/lib/common/components/hosts/EditHostForm.tsx +6 -6
  1039. package/lib/common/components/hosts/EditHostModal.tsx +2 -3
  1040. package/lib/common/components/hosts/HostPropertyValidationPopover.tsx +2 -2
  1041. package/lib/common/components/hosts/HostRequirements.tsx +2 -4
  1042. package/lib/common/components/hosts/HostStatus.tsx +37 -35
  1043. package/lib/common/components/hosts/HostValidationGroups.css +2 -2
  1044. package/lib/common/components/hosts/HostValidationGroups.tsx +7 -6
  1045. package/lib/common/components/hosts/Hostname.tsx +3 -3
  1046. package/lib/common/components/hosts/HostsTable.css +4 -4
  1047. package/lib/common/components/hosts/MassChangeHostnameModal.css +2 -2
  1048. package/lib/common/components/hosts/MassChangeHostnameModal.tsx +57 -48
  1049. package/lib/common/components/hosts/MassDeleteHostModal.tsx +8 -9
  1050. package/lib/common/components/hosts/OcpConsoleNodesSectionLink.tsx +2 -1
  1051. package/lib/common/components/hosts/TableToolbar.css +1 -1
  1052. package/lib/common/components/hosts/TableToolbar.tsx +14 -14
  1053. package/lib/common/components/hosts/VMRebootConfigurationInfo.tsx +12 -19
  1054. package/lib/common/components/hosts/index.ts +2 -0
  1055. package/lib/common/components/hosts/status.tsx +4 -5
  1056. package/lib/common/components/hosts/tableColumns.tsx +411 -0
  1057. package/lib/common/components/hosts/tableUtils.tsx +4 -407
  1058. package/lib/common/components/hosts/types.ts +1 -0
  1059. package/lib/common/components/operators/operatorDescriptions.tsx +6 -0
  1060. package/lib/common/components/operators/operatorSpecs.tsx +34 -1
  1061. package/lib/common/components/storage/DisksTable.tsx +2 -11
  1062. package/lib/common/components/storage/StorageUtils.tsx +9 -5
  1063. package/lib/common/components/ui/ClusterEventsToolbar.tsx +25 -23
  1064. package/lib/common/components/ui/ConfirmationModal.tsx +18 -14
  1065. package/lib/common/components/ui/CustomToolbarFilter.tsx +51 -42
  1066. package/lib/common/components/ui/DetailList.css +2 -2
  1067. package/lib/common/components/ui/DetailList.tsx +21 -29
  1068. package/lib/common/components/ui/EventsList.tsx +4 -2
  1069. package/lib/common/components/ui/ExternalLink.tsx +9 -3
  1070. package/lib/common/components/ui/GridGap.tsx +1 -1
  1071. package/lib/common/components/ui/NoPermissionsError.tsx +2 -4
  1072. package/lib/common/components/ui/OpenShiftVersionDropdown.tsx +17 -8
  1073. package/lib/common/components/ui/OpenShiftVersionModal.css +1 -1
  1074. package/lib/common/components/ui/OpenShiftVersionModal.tsx +28 -17
  1075. package/lib/common/components/ui/PopoverIcon.tsx +7 -6
  1076. package/lib/common/components/ui/PreviewBadge.tsx +5 -5
  1077. package/lib/common/components/ui/PrismCode.css +1 -1
  1078. package/lib/common/components/ui/PrismCode.tsx +40 -28
  1079. package/lib/common/components/ui/SectionTitle.tsx +4 -6
  1080. package/lib/common/components/ui/SimpleDropdown.tsx +1 -0
  1081. package/lib/common/components/ui/StaticTextField.tsx +5 -7
  1082. package/lib/common/components/ui/Toolbar/ToolbarSecondaryGroup.tsx +1 -1
  1083. package/lib/common/components/ui/Toolbar/ToolbarText.tsx +3 -3
  1084. package/lib/common/components/ui/WizardFooter.tsx +6 -6
  1085. package/lib/common/components/ui/WizardNavItem.tsx +5 -1
  1086. package/lib/common/components/ui/eventsModal.tsx +25 -18
  1087. package/lib/common/components/ui/formik/AlertFormikError.tsx +8 -10
  1088. package/lib/common/components/ui/formik/CertificatesUploadField.tsx +2 -1
  1089. package/lib/common/components/ui/formik/CheckboxField.tsx +1 -0
  1090. package/lib/common/components/ui/formik/CodeField.tsx +5 -2
  1091. package/lib/common/components/ui/formik/InputField.tsx +23 -9
  1092. package/lib/common/components/ui/formik/LabelField.tsx +78 -60
  1093. package/lib/common/components/ui/formik/MultiSelectField.tsx +9 -7
  1094. package/lib/common/components/ui/formik/NumberInputField.tsx +2 -1
  1095. package/lib/common/components/ui/formik/PencilEditField.css +1 -1
  1096. package/lib/common/components/ui/formik/PencilEditField.tsx +1 -1
  1097. package/lib/common/components/ui/formik/PullSecretField.tsx +1 -0
  1098. package/lib/common/components/ui/formik/RemovableField.css +6 -6
  1099. package/lib/common/components/ui/formik/RemovableField.tsx +2 -3
  1100. package/lib/common/components/ui/formik/RichInputField.css +2 -9
  1101. package/lib/common/components/ui/formik/RichInputField.tsx +28 -14
  1102. package/lib/common/components/ui/formik/SelectField.tsx +2 -1
  1103. package/lib/common/components/ui/formik/SwitchField.tsx +2 -1
  1104. package/lib/common/components/ui/formik/TextAreaField.tsx +9 -6
  1105. package/lib/common/components/ui/formik/TextAreaSecretField.tsx +4 -1
  1106. package/lib/common/components/ui/formik/UploadField.tsx +3 -1
  1107. package/lib/common/components/ui/formik/_validationSchemas.test.ts +82 -0
  1108. package/lib/common/components/ui/formik/types.ts +2 -2
  1109. package/lib/common/components/ui/formik/validationSchemas.ts +171 -94
  1110. package/lib/common/components/ui/index.ts +1 -1
  1111. package/lib/common/components/ui/uiState/EmptyState.tsx +3 -7
  1112. package/lib/common/components/ui/uiState/ErrorState.tsx +8 -12
  1113. package/lib/common/components/ui/uiState/LoadingState.tsx +1 -1
  1114. package/lib/common/config/constants.ts +45 -2
  1115. package/lib/common/config/docs_links.ts +24 -6
  1116. package/lib/common/reducers/alertsSlice.ts +2 -1
  1117. package/lib/common/types/clusters.ts +0 -1
  1118. package/lib/ocm/components/AddHosts/InventoryAddHost.tsx +7 -9
  1119. package/lib/ocm/components/AddHosts/day2Wizard/Day2StaticIP.tsx +8 -10
  1120. package/lib/ocm/components/AddHosts/day2Wizard/Day2StaticIpHostConfigurations.tsx +3 -8
  1121. package/lib/ocm/components/AddHosts/day2Wizard/Day2Wizard.tsx +4 -5
  1122. package/lib/ocm/components/AddHosts/day2Wizard/Day2WizardFooter.tsx +1 -0
  1123. package/lib/ocm/components/AddHosts/day2Wizard/Day2WizardNav.tsx +7 -2
  1124. package/lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabMock.tsx +3 -6
  1125. package/lib/ocm/components/HostsClusterDetailTab/utils.ts +30 -14
  1126. package/lib/ocm/components/Routes.css +10 -0
  1127. package/lib/ocm/components/Routes.tsx +4 -1
  1128. package/lib/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.tsx +2 -1
  1129. package/lib/ocm/components/clusterConfiguration/CpuArchitectureDropdown.tsx +3 -1
  1130. package/lib/ocm/components/clusterConfiguration/CustomManifestCheckbox.tsx +3 -1
  1131. package/lib/ocm/components/clusterConfiguration/DiscoveryImageModal.tsx +6 -3
  1132. package/lib/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.tsx +3 -1
  1133. package/lib/ocm/components/clusterConfiguration/HostInventory.tsx +19 -29
  1134. package/lib/ocm/components/clusterConfiguration/HostsNetworkConfigurationControlGroup.tsx +2 -1
  1135. package/lib/ocm/components/clusterConfiguration/OcmBaseDomainField.tsx +5 -4
  1136. package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +17 -16
  1137. package/lib/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.tsx +37 -26
  1138. package/lib/ocm/components/clusterConfiguration/OcmOperatorProgressItem.tsx +2 -2
  1139. package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.tsx +6 -6
  1140. package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/DeleteCustomManifestModal.tsx +22 -15
  1141. package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifest.tsx +2 -3
  1142. package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/ExpandedManifest.tsx +1 -7
  1143. package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.tsx +2 -1
  1144. package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.tsx +15 -25
  1145. package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx +6 -7
  1146. package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationTableBase.tsx +3 -2
  1147. package/lib/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.ts +20 -17
  1148. package/lib/ocm/components/clusterConfiguration/operators/OperatorCheckbox.tsx +1 -1
  1149. package/lib/ocm/components/clusterConfiguration/operators/bundleSpecs.tsx +0 -3
  1150. package/lib/ocm/components/clusterConfiguration/operators/utils.tsx +12 -7
  1151. package/lib/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.tsx +47 -27
  1152. package/lib/ocm/components/clusterConfiguration/review/ReviewCluster.css +5 -7
  1153. package/lib/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.tsx +70 -15
  1154. package/lib/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.tsx +24 -21
  1155. package/lib/ocm/components/clusterConfiguration/review/ReviewSummary.tsx +4 -4
  1156. package/lib/ocm/components/clusterConfiguration/review/TableSummaryExpandable.tsx +2 -2
  1157. package/lib/ocm/components/clusterConfiguration/staticIp/components/CollapsedHost.tsx +2 -12
  1158. package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/BondsConfirmationModal.tsx +8 -9
  1159. package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.tsx +4 -5
  1160. package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWideFields.tsx +9 -9
  1161. package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.tsx +2 -3
  1162. package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.tsx +15 -7
  1163. package/lib/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlViewFields.tsx +8 -10
  1164. package/lib/ocm/components/clusterConfiguration/staticIp/components/staticIp.css +9 -9
  1165. package/lib/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.tsx +1 -1
  1166. package/lib/ocm/components/clusterDetail/CancelInstallationModal.tsx +15 -19
  1167. package/lib/ocm/components/clusterDetail/ClusterDetail.tsx +2 -12
  1168. package/lib/ocm/components/clusterDetail/ClusterDetailStatusMessages.tsx +34 -26
  1169. package/lib/ocm/components/clusterDetail/ClusterDetailStatusVarieties.tsx +17 -13
  1170. package/lib/ocm/components/clusterDetail/ClusterDetailsButtonGroup.css +2 -2
  1171. package/lib/ocm/components/clusterDetail/ClusterInstallationError.tsx +7 -16
  1172. package/lib/ocm/components/clusterDetail/ClusterInstallationProgressCard.tsx +31 -23
  1173. package/lib/ocm/components/clusterDetail/ClusterPollingErrorModal.tsx +15 -12
  1174. package/lib/ocm/components/clusterDetail/ClusterProperties.test.ts +215 -0
  1175. package/lib/ocm/components/clusterDetail/ClusterProperties.tsx +2 -4
  1176. package/lib/ocm/components/clusterDetail/ClusterSummaryExpandable.css +1 -1
  1177. package/lib/ocm/components/clusterDetail/ClusterSummaryExpandable.tsx +1 -1
  1178. package/lib/ocm/components/clusterDetail/ClusterUpdateErrorModal.tsx +17 -12
  1179. package/lib/ocm/components/clusterDetail/HostInventoryExpandable.css +1 -1
  1180. package/lib/ocm/components/clusterDetail/HostInventoryExpandable.tsx +1 -1
  1181. package/lib/ocm/components/clusterDetail/OpenShiftVersionDetail.tsx +6 -8
  1182. package/lib/ocm/components/clusterDetail/ProgressBarAlerts.tsx +7 -9
  1183. package/lib/ocm/components/clusterDetail/ResetClusterModal.tsx +20 -21
  1184. package/lib/ocm/components/clusterWizard/ClusterDetails.tsx +30 -3
  1185. package/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx +9 -10
  1186. package/lib/ocm/components/clusterWizard/ClusterWizard.tsx +1 -1
  1187. package/lib/ocm/components/clusterWizard/ClusterWizardContext.tsx +3 -0
  1188. package/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx +6 -0
  1189. package/lib/ocm/components/clusterWizard/ClusterWizardFooter.tsx +27 -5
  1190. package/lib/ocm/components/clusterWizard/ClusterWizardNavigation.tsx +7 -2
  1191. package/lib/ocm/components/clusterWizard/HostDiscovery.tsx +3 -0
  1192. package/lib/ocm/components/clusterWizard/NewClusterWizard.tsx +4 -1
  1193. package/lib/ocm/components/clusterWizard/OperatorsBundle.css +3 -3
  1194. package/lib/ocm/components/clusterWizard/OperatorsBundle.tsx +8 -49
  1195. package/lib/ocm/components/clusterWizard/OperatorsSelect.test.ts +163 -0
  1196. package/lib/ocm/components/clusterWizard/OperatorsSelect.tsx +2 -3
  1197. package/lib/ocm/components/clusterWizard/OperatorsStep.tsx +22 -2
  1198. package/lib/ocm/components/clusterWizard/constants.ts +1 -0
  1199. package/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx +64 -25
  1200. package/lib/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.tsx +0 -1
  1201. package/lib/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.tsx +201 -0
  1202. package/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx +45 -17
  1203. package/lib/ocm/components/clusterWizard/index.ts +1 -0
  1204. package/lib/ocm/components/clusterWizard/wizardTransition.ts +5 -1
  1205. package/lib/ocm/components/clusters/AssistedInstallerHeader.tsx +9 -9
  1206. package/lib/ocm/components/clusters/ClusterBreadcrumbs.tsx +3 -8
  1207. package/lib/ocm/components/clusters/ClusterLoading.tsx +2 -2
  1208. package/lib/ocm/components/clusters/ClusterPage.tsx +9 -11
  1209. package/lib/ocm/components/clusters/ClusterPageErrors.tsx +2 -2
  1210. package/lib/ocm/components/clusters/ClusterStatus.tsx +1 -1
  1211. package/lib/ocm/components/clusters/Clusters.tsx +7 -16
  1212. package/lib/ocm/components/clusters/ClustersListToolbar.tsx +9 -7
  1213. package/lib/ocm/components/clusters/DeleteClusterModal.tsx +16 -10
  1214. package/lib/ocm/components/clusters/NewClusterPage.tsx +3 -3
  1215. package/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx +40 -18
  1216. package/lib/ocm/components/featureSupportLevels/featureStateUtils.ts +1 -3
  1217. package/lib/ocm/components/hosts/ClusterHostsTable.tsx +4 -3
  1218. package/lib/ocm/components/hosts/DeleteHostModal.tsx +18 -8
  1219. package/lib/ocm/components/hosts/HostRequirementsContent.tsx +4 -4
  1220. package/lib/ocm/components/hosts/HostsDiscoveryTable.tsx +5 -6
  1221. package/lib/ocm/components/hosts/HostsStorageTable.tsx +5 -7
  1222. package/lib/ocm/components/hosts/ResetHostModal.tsx +16 -12
  1223. package/lib/ocm/components/hosts/UpdateDay2ApiVipForm.tsx +6 -6
  1224. package/lib/ocm/components/hosts/UpdateDay2ApiVipModal.tsx +2 -3
  1225. package/lib/ocm/components/hosts/use-hosts-table.tsx +2 -1
  1226. package/lib/ocm/components/ui/InfoLinkWithModal.tsx +9 -11
  1227. package/lib/ocm/hooks/index.ts +1 -0
  1228. package/lib/ocm/hooks/useInfraEnvHosts.ts +60 -0
  1229. package/lib/ocm/hooks/useInfraEnvId.ts +15 -2
  1230. package/lib/ocm/hooks/useLateBinding.ts +71 -0
  1231. package/lib/ocm/services/BundleService.ts +12 -2
  1232. package/lib/ocm/services/ClustersService.ts +14 -2
  1233. package/lib/ocm/services/HostsService.ts +9 -0
  1234. package/lib/ocm/services/InfraEnvsService.ts +4 -1
  1235. package/package.json +12 -12
  1236. package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationForm.d.ts +0 -5
  1237. package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationForm.d.ts.map +0 -1
  1238. package/build/@types/cim/types/resources.d.ts +0 -45
  1239. package/build/@types/cim/types/resources.d.ts.map +0 -1
  1240. package/build/@types/common/components/clusterConfiguration/AdvancedNetworkFields.d.ts.map +0 -1
  1241. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.d.ts +0 -4
  1242. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.d.ts.map +0 -1
  1243. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.d.ts +0 -11
  1244. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.d.ts.map +0 -1
  1245. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.d.ts +0 -11
  1246. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.d.ts.map +0 -1
  1247. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.d.ts +0 -10
  1248. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.d.ts.map +0 -1
  1249. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/UserManagedNetworkingTextContent.d.ts +0 -6
  1250. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/UserManagedNetworkingTextContent.d.ts.map +0 -1
  1251. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.d.ts +0 -9
  1252. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.d.ts.map +0 -1
  1253. package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationForm.css +0 -23
  1254. package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationForm.js +0 -85
  1255. package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationForm.js.map +0 -1
  1256. package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationModal.css +0 -3
  1257. package/build/cjs/cim/types/resources.js +0 -10
  1258. package/build/cjs/cim/types/resources.js.map +0 -1
  1259. package/build/cjs/common/components/clusterConfiguration/AdvancedNetworkFields.js.map +0 -1
  1260. package/build/cjs/common/components/ui/formik/LabelField.css +0 -43
  1261. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.js +0 -60
  1262. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.js.map +0 -1
  1263. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.js +0 -49
  1264. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.js.map +0 -1
  1265. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.js +0 -120
  1266. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.js.map +0 -1
  1267. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.js +0 -59
  1268. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.js.map +0 -1
  1269. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/UserManagedNetworkingTextContent.js +0 -25
  1270. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/UserManagedNetworkingTextContent.js.map +0 -1
  1271. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.js +0 -89
  1272. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.js.map +0 -1
  1273. package/lib/cim/components/modals/CimConfiguration/CimConfigurationForm.css +0 -23
  1274. package/lib/cim/components/modals/CimConfiguration/CimConfigurationForm.tsx +0 -290
  1275. package/lib/cim/components/modals/CimConfiguration/CimConfigurationModal.css +0 -3
  1276. package/lib/cim/types/resources.ts +0 -50
  1277. package/lib/common/components/ui/formik/LabelField.css +0 -43
  1278. package/lib/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.tsx +0 -157
  1279. package/lib/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.tsx +0 -104
  1280. package/lib/ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.tsx +0 -222
  1281. package/lib/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.tsx +0 -98
  1282. package/lib/ocm/components/clusterConfiguration/networkConfiguration/UserManagedNetworkingTextContent.tsx +0 -30
  1283. package/lib/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.tsx +0 -229
  1284. package/lib/ocm/hooks/_use-feature-detection.test.tsx +0 -115
  1285. /package/build/@types/{common/components/clusterConfiguration → cim/components/Hypershift/HostedClusterWizard/NetworkStep}/AdvancedNetworkFields.d.ts +0 -0
@@ -1,157 +0,0 @@
1
- import React from 'react';
2
- import {
3
- Alert,
4
- AlertVariant,
5
- FormGroup,
6
- StackItem,
7
- TextInputTypes,
8
- Grid,
9
- Stack,
10
- } from '@patternfly/react-core';
11
- import { FieldArray, useFormikContext } from 'formik';
12
- import {
13
- DUAL_STACK,
14
- PREFIX_MAX_RESTRICTION,
15
- NetworkConfigurationValues,
16
- PopoverIcon,
17
- } from '../../../../common';
18
- import { OcmInputField } from '../../ui/OcmFormFields';
19
-
20
- const getNetworkLabelSuffix = (index: number, isDualStack: boolean) => {
21
- return isDualStack ? ` (${index === 0 ? 'IPv4' : 'IPv6'})` : '';
22
- };
23
-
24
- const IPv4PrefixPopoverText =
25
- 'For example, if Cluster Network Host Prefix is set to 23, then each node is assigned a /23 subnet out of the given cidr (clusterNetworkCIDR), which allows for 510 (2^(32 - 23) - 2) pod IPs addresses.';
26
-
27
- const IPv6PrefixPopoverText =
28
- 'For example, if Cluster Network Host Prefix is set to 116, then each node is assigned a /116 subnet out of the given cidr (clusterNetworkCIDR), which allows for 4,094 (2^(128 - 116) - 2) pod IPs addresses.';
29
-
30
- const ClusterPrefixHelperText =
31
- 'Defines how big the subnets for each individual node are out of the given CIDR. Must enter a whole number.';
32
-
33
- const clusterCidrHelperText =
34
- 'The block must not overlap with existing physical networks. To access the Pods from an external network, configure load balancers and routers to manage the traffic.';
35
-
36
- const serviceCidrHelperText =
37
- 'Enter only 1 IP address pool. If you need to access the services from an external network, configure load balancers and routers to manage the traffic.';
38
-
39
- const AdvancedNetworkFields = () => {
40
- const { values, errors } = useFormikContext<NetworkConfigurationValues>();
41
-
42
- const isDualStack = values.stackType === DUAL_STACK;
43
-
44
- const clusterNetworkCidrPrefix = (index: number) =>
45
- parseInt(
46
- ((values.clusterNetworks && values.clusterNetworks[index].cidr) || '').split('/')[1],
47
- ) || 1;
48
-
49
- const isSubnetIPv6 = (index: number) => (isDualStack ? !!index : false);
50
-
51
- const clusterNetworkHostPrefixPopoverText = (index: number) => (
52
- <>
53
- <p>
54
- The subnet prefix length to assign to each individual node.{' '}
55
- {isSubnetIPv6(index) ? IPv6PrefixPopoverText : IPv4PrefixPopoverText}
56
- </p>
57
- <p>
58
- If you are required to provide access to nodes from an external network, configure load
59
- balancers and routers to manage the traffic.
60
- </p>
61
- </>
62
- );
63
-
64
- return (
65
- <Grid hasGutter className="pf-v5-u-ml-lg">
66
- <FieldArray name="clusterNetworks">
67
- {() => (
68
- <FormGroup fieldId="clusterNetworks" labelInfo={isDualStack && 'Primary'}>
69
- {values.clusterNetworks?.map((_, index) => {
70
- const networkSuffix = getNetworkLabelSuffix(index, isDualStack);
71
- return (
72
- <Stack key={index}>
73
- <StackItem className={'network-field-group pf-v5-u-pb-md'}>
74
- <OcmInputField
75
- name={`clusterNetworks.${index}.cidr`}
76
- label={
77
- <>
78
- <span>{`Cluster network CIDR${networkSuffix} `}</span>
79
- <PopoverIcon
80
- bodyContent={'IP address blocks from which Pod IPs are allocated.'}
81
- />
82
- </>
83
- }
84
- helperText={clusterCidrHelperText}
85
- isRequired
86
- labelInfo={index === 0 && isDualStack ? 'Primary' : ''}
87
- />
88
- </StackItem>
89
- <StackItem className={'network-field-group pf-v5-u-pb-md'}>
90
- <OcmInputField
91
- name={`clusterNetworks.${index}.hostPrefix`}
92
- label={
93
- <>
94
- <span>Cluster network host prefix{networkSuffix} </span>
95
- <PopoverIcon
96
- bodyContent={clusterNetworkHostPrefixPopoverText(index)}
97
- minWidth="30rem"
98
- />
99
- </>
100
- }
101
- type={TextInputTypes.number}
102
- min={clusterNetworkCidrPrefix(index)}
103
- max={
104
- isSubnetIPv6(index)
105
- ? PREFIX_MAX_RESTRICTION.IPv6
106
- : PREFIX_MAX_RESTRICTION.IPv4
107
- }
108
- helperText={ClusterPrefixHelperText}
109
- isRequired
110
- />
111
- </StackItem>
112
- </Stack>
113
- );
114
- })}
115
- </FormGroup>
116
- )}
117
- </FieldArray>
118
-
119
- {typeof errors.clusterNetworks === 'string' && (
120
- <Alert variant={AlertVariant.warning} title={errors.clusterNetworks} isInline />
121
- )}
122
-
123
- <FieldArray name="serviceNetworks">
124
- {() => (
125
- <FormGroup fieldId="serviceNetworks" labelInfo={isDualStack && 'Primary'}>
126
- {values.serviceNetworks?.map((_, index) => (
127
- <StackItem key={index} className={'network-field-group pf-v5-u-pb-md'}>
128
- <OcmInputField
129
- name={`serviceNetworks.${index}.cidr`}
130
- label={
131
- <>
132
- <span>
133
- {`Service network CIDR${getNetworkLabelSuffix(index, isDualStack)} `}
134
- </span>
135
- <PopoverIcon
136
- bodyContent={'The IP address pool used for service IP addresses.'}
137
- />
138
- </>
139
- }
140
- helperText={serviceCidrHelperText}
141
- isRequired
142
- labelInfo={index === 0 && isDualStack ? 'Primary' : ''}
143
- />
144
- </StackItem>
145
- ))}
146
- </FormGroup>
147
- )}
148
- </FieldArray>
149
-
150
- {typeof errors.serviceNetworks === 'string' && (
151
- <Alert variant={AlertVariant.warning} title={errors.serviceNetworks} isInline />
152
- )}
153
- </Grid>
154
- );
155
- };
156
-
157
- export default AdvancedNetworkFields;
@@ -1,104 +0,0 @@
1
- import React, { useEffect } from 'react';
2
- import { useSelector } from 'react-redux';
3
- import { Alert, AlertVariant, FormGroup, Stack, StackItem } from '@patternfly/react-core';
4
- import { FieldArray, useFormikContext, FormikHelpers } from 'formik';
5
- import { Address4, Address6 } from 'ip-address';
6
-
7
- import {
8
- HostSubnet,
9
- NetworkConfigurationValues,
10
- DUAL_STACK,
11
- NO_SUBNET_SET,
12
- } from '../../../../common';
13
- import { selectCurrentClusterPermissionsState } from '../../../store/slices/current-cluster/selectors';
14
- import { SubnetsDropdown } from './SubnetsDropdown';
15
- import { Cluster, MachineNetwork } from '@openshift-assisted/types/assisted-installer-service';
16
-
17
- const subnetSort = (subA: HostSubnet, subB: HostSubnet) =>
18
- subA.humanized.localeCompare(subB.humanized);
19
-
20
- const useAutoSelectSingleAvailableSubnet = (
21
- autoSelectNetwork: boolean,
22
- setFieldValue: FormikHelpers<NetworkConfigurationValues>['setFieldValue'],
23
- cidr: MachineNetwork['cidr'],
24
- clusterId: string,
25
- ) => {
26
- useEffect(() => {
27
- if (autoSelectNetwork) {
28
- setFieldValue('machineNetworks', [{ cidr, clusterId }], true);
29
- }
30
- }, [autoSelectNetwork, cidr, clusterId, setFieldValue]);
31
- };
32
-
33
- export interface AvailableSubnetsControlProps {
34
- clusterId: Cluster['id'];
35
- hostSubnets: HostSubnet[];
36
- isRequired: boolean;
37
- isDisabled: boolean;
38
- }
39
-
40
- export const AvailableSubnetsControl = ({
41
- clusterId,
42
- hostSubnets,
43
- isRequired = false,
44
- isDisabled,
45
- }: AvailableSubnetsControlProps) => {
46
- const { values, errors, setFieldValue } = useFormikContext<NetworkConfigurationValues>();
47
- const isDualStack = values.stackType === DUAL_STACK;
48
- const { isViewerMode } = useSelector(selectCurrentClusterPermissionsState);
49
-
50
- const IPv4Subnets = hostSubnets
51
- .filter((subnet) => Address4.isValid(subnet.subnet))
52
- .sort(subnetSort);
53
- const IPv6Subnets = hostSubnets
54
- .filter((subnet) => Address6.isValid(subnet.subnet))
55
- .sort(subnetSort);
56
-
57
- const cidr = IPv4Subnets.length >= 1 ? IPv4Subnets[0].subnet : NO_SUBNET_SET;
58
- const hasEmptySelection = (values.machineNetworks ?? []).length === 0;
59
- const autoSelectNetwork = !isViewerMode && hasEmptySelection;
60
- useAutoSelectSingleAvailableSubnet(autoSelectNetwork, setFieldValue, cidr, clusterId);
61
-
62
- return (
63
- <FormGroup
64
- label="Machine network"
65
- labelInfo={isDualStack && 'Primary'}
66
- fieldId="machine-networks"
67
- isRequired={isRequired}
68
- >
69
- <FieldArray name="machineNetworks">
70
- {() => (
71
- <Stack>
72
- {isDualStack ? (
73
- values.machineNetworks?.map((_machineNetwork, index) => {
74
- const machineSubnets = index === 1 ? IPv6Subnets : IPv4Subnets;
75
-
76
- return (
77
- <StackItem key={index}>
78
- <SubnetsDropdown
79
- name={`machineNetworks.${index}.cidr`}
80
- machineSubnets={machineSubnets}
81
- isDisabled={isDisabled}
82
- />
83
- </StackItem>
84
- );
85
- })
86
- ) : (
87
- <StackItem>
88
- <SubnetsDropdown
89
- name={`machineNetworks.0.cidr`}
90
- machineSubnets={IPv4Subnets}
91
- isDisabled={isDisabled}
92
- />
93
- </StackItem>
94
- )}
95
- </Stack>
96
- )}
97
- </FieldArray>
98
-
99
- {typeof errors.machineNetworks === 'string' && (
100
- <Alert variant={AlertVariant.warning} title={errors.machineNetworks} isInline />
101
- )}
102
- </FormGroup>
103
- );
104
- };
@@ -1,222 +0,0 @@
1
- import React from 'react';
2
- import { useSelector } from 'react-redux';
3
- import { ButtonVariant, FormGroup, Split, SplitItem, Tooltip } from '@patternfly/react-core';
4
- import { useFormikContext } from 'formik';
5
- import { Address6 } from 'ip-address';
6
-
7
- import {
8
- HostSubnets,
9
- NetworkConfigurationValues,
10
- getFieldId,
11
- DUAL_STACK,
12
- IPV4_STACK,
13
- NETWORK_TYPE_OVN,
14
- NETWORK_TYPE_SDN,
15
- NO_SUBNET_SET,
16
- } from '../../../../common';
17
- import { ConfirmationModal, PopoverIcon } from '../../../../common/components/ui';
18
- import { useDefaultConfiguration } from '../ClusterDefaultConfigurationContext';
19
- import { selectCurrentClusterPermissionsState } from '../../../store/slices/current-cluster/selectors';
20
- import { OcmRadioField } from '../../ui/OcmFormFields';
21
- import {
22
- Cluster,
23
- ClusterNetwork,
24
- MachineNetwork,
25
- ServiceNetwork,
26
- } from '@openshift-assisted/types/assisted-installer-service';
27
-
28
- type StackTypeControlGroupProps = {
29
- clusterId: Cluster['id'];
30
- isDualStackSelectable: boolean;
31
- hostSubnets: HostSubnets;
32
- };
33
-
34
- const hasDualStackConfigurationChanged = (
35
- clusterNetworks: ClusterNetwork[],
36
- serviceNetworks: ServiceNetwork[],
37
- cidrIPv6: MachineNetwork['cidr'],
38
- values: NetworkConfigurationValues,
39
- ) =>
40
- clusterNetworks &&
41
- serviceNetworks &&
42
- ((values.machineNetworks && values.machineNetworks[1].cidr !== cidrIPv6) ||
43
- (values.clusterNetworks && values.clusterNetworks[1].cidr !== clusterNetworks[1].cidr) ||
44
- (values.clusterNetworks &&
45
- values.clusterNetworks[1].hostPrefix !== clusterNetworks[1].hostPrefix) ||
46
- (values.serviceNetworks && values.serviceNetworks[1].cidr !== serviceNetworks[1].cidr));
47
-
48
- export const StackTypeControlGroup = ({
49
- clusterId,
50
- isDualStackSelectable,
51
- hostSubnets,
52
- }: StackTypeControlGroupProps) => {
53
- const { setFieldValue, values, validateForm } = useFormikContext<NetworkConfigurationValues>();
54
- const [openConfirmModal, setConfirmModal] = React.useState(false);
55
- const defaultNetworkValues = useDefaultConfiguration([
56
- 'clusterNetworksDualstack',
57
- 'clusterNetworksIpv4',
58
- 'serviceNetworksDualstack',
59
- 'serviceNetworksIpv4',
60
- ]);
61
-
62
- const IPv6Subnets = hostSubnets.filter((subnet) => Address6.isValid(subnet.subnet));
63
- const cidrIPv6 = IPv6Subnets.length >= 1 ? IPv6Subnets[0].subnet : NO_SUBNET_SET;
64
- const { isViewerMode } = useSelector(selectCurrentClusterPermissionsState);
65
- const shouldSetSingleStack =
66
- !isViewerMode && !isDualStackSelectable && values.stackType === DUAL_STACK;
67
-
68
- const setSingleStack = React.useCallback(() => {
69
- setFieldValue('stackType', IPV4_STACK);
70
-
71
- if (values.machineNetworks && values.machineNetworks?.length >= 2) {
72
- setFieldValue('machineNetworks', values.machineNetworks.slice(0, 1));
73
- }
74
- if (values.clusterNetworks && values.clusterNetworks?.length >= 2) {
75
- setFieldValue('clusterNetworks', values.clusterNetworks.slice(0, 1));
76
- }
77
- if (values.serviceNetworks && values.serviceNetworks?.length >= 2) {
78
- setFieldValue('serviceNetworks', values.serviceNetworks.slice(0, 1));
79
- }
80
-
81
- void validateForm();
82
- }, [
83
- setFieldValue,
84
- validateForm,
85
- values.clusterNetworks,
86
- values.machineNetworks,
87
- values.serviceNetworks,
88
- ]);
89
-
90
- const setDualStack = () => {
91
- setFieldValue('stackType', DUAL_STACK);
92
- setFieldValue('vipDhcpAllocation', false);
93
-
94
- if (values.networkType === NETWORK_TYPE_SDN) {
95
- setFieldValue('networkType', NETWORK_TYPE_OVN);
96
- }
97
-
98
- if (values.machineNetworks && values.machineNetworks?.length < 2) {
99
- setFieldValue(
100
- 'machineNetworks',
101
- [...values.machineNetworks, { cidr: cidrIPv6, clusterId: clusterId }],
102
- false,
103
- );
104
- }
105
- if (values.clusterNetworks && values.clusterNetworks?.length < 2) {
106
- setFieldValue(
107
- 'clusterNetworks',
108
- [
109
- ...values.clusterNetworks,
110
- defaultNetworkValues.clusterNetworksDualstack?.length
111
- ? defaultNetworkValues.clusterNetworksDualstack[1]
112
- : { cidr: '', hostPrefix: '', clusterId: clusterId },
113
- ],
114
- false,
115
- );
116
- }
117
- if (values.serviceNetworks && values.serviceNetworks?.length < 2) {
118
- setFieldValue(
119
- 'serviceNetworks',
120
- [
121
- ...values.serviceNetworks,
122
- defaultNetworkValues.serviceNetworksDualstack?.length
123
- ? defaultNetworkValues.serviceNetworksDualstack[1]
124
- : { cidr: '', clusterId: clusterId },
125
- ],
126
- false,
127
- );
128
- }
129
- };
130
-
131
- const setStackType = (e: React.ChangeEvent<HTMLInputElement>) => {
132
- if (e.target.value === DUAL_STACK) {
133
- setDualStack();
134
- } else if (
135
- hasDualStackConfigurationChanged(
136
- defaultNetworkValues.clusterNetworksDualstack || [],
137
- defaultNetworkValues.serviceNetworksDualstack || [],
138
- cidrIPv6,
139
- values,
140
- )
141
- ) {
142
- setConfirmModal(true);
143
- } else {
144
- setSingleStack();
145
- }
146
- };
147
-
148
- React.useEffect(() => {
149
- if (shouldSetSingleStack) {
150
- setSingleStack();
151
- }
152
- }, [shouldSetSingleStack, setSingleStack]);
153
-
154
- return (
155
- <>
156
- <FormGroup
157
- label="Networking stack type"
158
- fieldId={getFieldId('stackType', 'radio')}
159
- onChange={setStackType}
160
- isInline
161
- >
162
- <Split>
163
- <SplitItem>
164
- <OcmRadioField
165
- name={'stackType'}
166
- value={IPV4_STACK}
167
- isDisabled={!isDualStackSelectable}
168
- label="IPv4&nbsp;"
169
- />
170
- </SplitItem>
171
- <SplitItem>
172
- <PopoverIcon
173
- bodyContent="Select this when your hosts are using only IPv4."
174
- buttonStyle={{ top: '-4px' }}
175
- />
176
- </SplitItem>
177
- </Split>
178
- <Split>
179
- <SplitItem>
180
- <Tooltip
181
- content={
182
- 'Dual-stack is only available when your hosts are using IPV4 together with IPV6.'
183
- }
184
- hidden={isDualStackSelectable}
185
- >
186
- <OcmRadioField
187
- name={'stackType'}
188
- value={DUAL_STACK}
189
- isDisabled={!isDualStackSelectable}
190
- label="Dual-stack&nbsp;"
191
- />
192
- </Tooltip>
193
- </SplitItem>
194
- <SplitItem>
195
- <PopoverIcon
196
- bodyContent="Select dual-stack when your hosts are using IPV4 together with IPV6."
197
- buttonStyle={{ top: '-4px' }}
198
- />
199
- </SplitItem>
200
- </Split>
201
- </FormGroup>
202
-
203
- {openConfirmModal && (
204
- <ConfirmationModal
205
- title={'Change stack type?'}
206
- titleIconVariant={'warning'}
207
- confirmationButtonText={'Change'}
208
- confirmationButtonVariant={ButtonVariant.primary}
209
- content={<p>All data and configuration done for 'Dual-stack' will be lost.</p>}
210
- onClose={() => {
211
- setConfirmModal(false);
212
- setDualStack();
213
- }}
214
- onConfirm={() => {
215
- setConfirmModal(false);
216
- setSingleStack();
217
- }}
218
- />
219
- )}
220
- </>
221
- );
222
- };
@@ -1,98 +0,0 @@
1
- import React from 'react';
2
- import { Dropdown, DropdownItem, MenuToggle, MenuToggleElement } from '@patternfly/react-core';
3
- import { useField } from 'formik';
4
- import { getFieldId, HostSubnet, NO_SUBNET_SET } from '../../../../common';
5
-
6
- type SubnetsDropdownProps = {
7
- name: string;
8
- machineSubnets: HostSubnet[];
9
- isDisabled: boolean;
10
- };
11
-
12
- const toFormSelectOptions = (subnets: HostSubnet[]) => {
13
- return subnets.map((hn, index) => ({
14
- label: `${hn.humanized}${hn.isValid ? '' : ' (Invalid network)'}`,
15
- value: hn.subnet,
16
- isDisabled: false,
17
- id: `form-input-hostSubnet-field-option-${index}`,
18
- }));
19
- };
20
-
21
- const makeNoSubnetSelectedOption = (availableSubnets: number) => ({
22
- label: `Please select a subnet. (${availableSubnets} available)`,
23
- value: NO_SUBNET_SET,
24
- isDisabled: true,
25
- id: 'form-input-hostSubnet-field-option-no-subnet-selected',
26
- });
27
-
28
- const noSubnetAvailableOption = {
29
- label: 'No subnets are currently available',
30
- value: NO_SUBNET_SET,
31
- isDisabled: true,
32
- id: 'form-input-hostSubnet-field-option-no-subnet-available',
33
- };
34
-
35
- export const SubnetsDropdown = ({ name, machineSubnets, isDisabled }: SubnetsDropdownProps) => {
36
- const [field, , { setValue }] = useField(name);
37
- const [isOpen, setOpen] = React.useState(false);
38
- const fieldId = getFieldId(name, 'input');
39
-
40
- const { itemsSubnets, currentDisplayValue } = React.useMemo(() => {
41
- const itemsSubnets =
42
- machineSubnets.length === 0
43
- ? [noSubnetAvailableOption]
44
- : [makeNoSubnetSelectedOption(machineSubnets.length)].concat(
45
- toFormSelectOptions(machineSubnets),
46
- );
47
-
48
- let currentDisplayValue = itemsSubnets[0].label; // The placeholder is the fallback
49
- if (field.value) {
50
- const subnetItem = itemsSubnets.find((item) => item.value === field.value);
51
- if (subnetItem) {
52
- currentDisplayValue = subnetItem.label;
53
- }
54
- } else if (machineSubnets.length === 1) {
55
- // When there is only one subnet, it's selected by default. We skip the placeholder at index 0.
56
- currentDisplayValue = itemsSubnets[1].label;
57
- }
58
-
59
- return { itemsSubnets, currentDisplayValue: currentDisplayValue };
60
- }, [machineSubnets, field.value]);
61
-
62
- const dropdownItems = itemsSubnets.map(({ value, label, isDisabled }) => (
63
- <DropdownItem key={value} id={value} isDisabled={isDisabled} value={value}>
64
- {label}
65
- </DropdownItem>
66
- ));
67
-
68
- const onSelect = (event?: React.MouseEvent<Element, MouseEvent>): void => {
69
- setValue(event?.currentTarget.id);
70
- setOpen(false);
71
- };
72
-
73
- const toggle = (toggleRef: React.Ref<MenuToggleElement>) => (
74
- <MenuToggle
75
- ref={toggleRef}
76
- onClick={() => setOpen(!isOpen)}
77
- isExpanded={isOpen}
78
- isDisabled={isDisabled}
79
- className="pf-v5-u-w-100"
80
- id={fieldId}
81
- >
82
- {currentDisplayValue}
83
- </MenuToggle>
84
- );
85
-
86
- return (
87
- <Dropdown
88
- {...field}
89
- id={`${fieldId}-dropdown`}
90
- onOpenChange={() => setOpen(!isOpen)}
91
- onSelect={onSelect}
92
- toggle={toggle}
93
- isOpen={isOpen}
94
- >
95
- {dropdownItems}
96
- </Dropdown>
97
- );
98
- };
@@ -1,30 +0,0 @@
1
- import React from 'react';
2
- import { List, ListItem, Text, TextContent } from '@patternfly/react-core';
3
- import { ExternalLink } from '../../../../common/components/ui';
4
- import { getOpenShiftNetworkingDocsLink } from '../../../../common/config/docs_links';
5
-
6
- export interface UserManagedNetworkingTextContentProps {
7
- shouldDisplayLoadBalancersBullet?: boolean;
8
- }
9
-
10
- export const UserManagedNetworkingTextContent = ({
11
- shouldDisplayLoadBalancersBullet = false,
12
- }: UserManagedNetworkingTextContentProps) => {
13
- return (
14
- <TextContent>
15
- <Text component={'p'}>
16
- Please refer to the{' '}
17
- <ExternalLink href={getOpenShiftNetworkingDocsLink()}>
18
- OpenShift networking documentation
19
- </ExternalLink>{' '}
20
- to configure your cluster's networking, including:{' '}
21
- </Text>
22
- <List>
23
- <ListItem>DHCP or static IP Addresses</ListItem>
24
- {shouldDisplayLoadBalancersBullet && <ListItem>Load balancers</ListItem>}
25
- <ListItem>Network ports</ListItem>
26
- <ListItem>DNS</ListItem>
27
- </List>
28
- </TextContent>
29
- );
30
- };