@openshift-assisted/ui-lib 2.16.5-cim → 2.17.0-cim
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/@types/cim/components/Agent/BMCForm.d.ts.map +1 -1
- package/build/@types/cim/components/Agent/MinimalHWRequirements.d.ts.map +1 -1
- package/build/@types/cim/components/Agent/tableUtils.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingForm.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts +1 -1
- package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/modals/AddNodePoolModal.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/modals/ManageHostsModal.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/modals/RemoveNodePoolModal.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/EnvironmentDetails.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/EnvironmentErrors.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/InfraTableToolbar.d.ts.map +1 -1
- package/build/@types/cim/components/common/ResourceAlerts.d.ts.map +1 -1
- package/build/@types/cim/components/modals/AddBmcHostYamlForm.d.ts.map +1 -1
- package/build/@types/cim/components/modals/AddHostModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/CimConfiguration/CimConfigProgressAlert.d.ts.map +1 -1
- package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationFormFields.d.ts +4 -0
- package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationFormFields.d.ts.map +1 -0
- package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationModal.d.ts +0 -1
- package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/CimConfiguration/persist.d.ts +4 -7
- package/build/@types/cim/components/modals/CimConfiguration/persist.d.ts.map +1 -1
- package/build/@types/cim/components/modals/CimConfiguration/types.d.ts +7 -16
- package/build/@types/cim/components/modals/CimConfiguration/types.d.ts.map +1 -1
- package/build/@types/cim/components/modals/EditNtpSourcesModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/EditProxyModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/EditPullSecretModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/EditSSHKeyModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/MassApproveAgentModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/ScaleUpModal.d.ts.map +1 -1
- package/build/@types/cim/hooks/index.d.ts +1 -0
- package/build/@types/cim/hooks/index.d.ts.map +1 -1
- package/build/@types/cim/hooks/useAgentServiceConfig.d.ts +4 -0
- package/build/@types/cim/hooks/useAgentServiceConfig.d.ts.map +1 -0
- package/build/@types/cim/types/index.d.ts +0 -1
- package/build/@types/cim/types/index.d.ts.map +1 -1
- package/build/@types/cim/types/models.d.ts +4 -0
- package/build/@types/cim/types/models.d.ts.map +1 -1
- package/build/@types/common/api/assisted-service/BundleAPI.d.ts +2 -2
- package/build/@types/common/api/assisted-service/BundleAPI.d.ts.map +1 -1
- package/build/@types/common/api/assisted-service/ClustersAPI.d.ts +29 -25
- package/build/@types/common/api/assisted-service/ClustersAPI.d.ts.map +1 -1
- package/build/@types/common/api/assisted-service/ComponentVersionsAPI.d.ts +1 -1
- package/build/@types/common/api/assisted-service/EventsAPI.d.ts +1 -1
- package/build/@types/common/api/assisted-service/HostsAPI.d.ts +8 -7
- package/build/@types/common/api/assisted-service/HostsAPI.d.ts.map +1 -1
- package/build/@types/common/api/assisted-service/InfraEnvsAPI.d.ts +9 -8
- package/build/@types/common/api/assisted-service/InfraEnvsAPI.d.ts.map +1 -1
- package/build/@types/common/api/assisted-service/ManagedDomainsAPI.d.ts +1 -1
- package/build/@types/common/api/assisted-service/NewFeatureSupportLevelsAPI.d.ts +2 -2
- package/build/@types/common/api/assisted-service/OperatorsAPI.d.ts +1 -1
- package/build/@types/common/api/assisted-service/SupportedOpenshiftVersionsAPI.d.ts +1 -1
- package/build/@types/common/api/assisted-service/UISettingsAPI.d.ts +2 -2
- package/build/@types/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DownloadIso.d.ts +2 -1
- package/build/@types/common/components/clusterConfiguration/DownloadIso.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DownloadIsoModal.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/SecurityFields.d.ts +3 -1
- package/build/@types/common/components/clusterConfiguration/SecurityFields.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/utils.d.ts +1 -1
- package/build/@types/common/components/clusterConfiguration/utils.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/utils.test.d.ts +2 -0
- package/build/@types/common/components/clusterConfiguration/utils.test.d.ts.map +1 -0
- package/build/@types/common/components/clusterDetail/ConsoleModal.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/FinalizingProgress.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/ClusterWizardStep.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/ClusterWizardStepHeader.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/ReviewValidations.d.ts.map +1 -1
- package/build/@types/common/components/hosts/AITableMemo.d.ts.map +1 -1
- package/build/@types/common/components/hosts/AdditionalNTPSourcesDialog.d.ts.map +1 -1
- package/build/@types/common/components/hosts/DiskRole.d.ts.map +1 -1
- package/build/@types/common/components/hosts/EditHostModal.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostRequirements.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostStatus.d.ts.map +1 -1
- package/build/@types/common/components/hosts/MassChangeHostnameModal.d.ts.map +1 -1
- package/build/@types/common/components/hosts/MassDeleteHostModal.d.ts.map +1 -1
- package/build/@types/common/components/hosts/OcpConsoleNodesSectionLink.d.ts.map +1 -1
- package/build/@types/common/components/hosts/VMRebootConfigurationInfo.d.ts.map +1 -1
- package/build/@types/common/components/hosts/status.d.ts.map +1 -1
- package/build/@types/common/components/hosts/tableUtils.d.ts.map +1 -1
- package/build/@types/common/components/operators/operatorDescriptions.d.ts +2 -0
- package/build/@types/common/components/operators/operatorDescriptions.d.ts.map +1 -1
- package/build/@types/common/components/operators/operatorSpecs.d.ts.map +1 -1
- package/build/@types/common/components/storage/DisksTable.d.ts.map +1 -1
- package/build/@types/common/components/storage/StorageUtils.d.ts.map +1 -1
- package/build/@types/common/components/ui/ClusterEventsToolbar.d.ts.map +1 -1
- package/build/@types/common/components/ui/ConfirmationModal.d.ts +2 -2
- package/build/@types/common/components/ui/ConfirmationModal.d.ts.map +1 -1
- package/build/@types/common/components/ui/CustomToolbarFilter.d.ts.map +1 -1
- package/build/@types/common/components/ui/DetailList.d.ts +2 -2
- package/build/@types/common/components/ui/DetailList.d.ts.map +1 -1
- package/build/@types/common/components/ui/ExternalLink.d.ts.map +1 -1
- package/build/@types/common/components/ui/NoPermissionsError.d.ts.map +1 -1
- package/build/@types/common/components/ui/OpenShiftVersionDropdown.d.ts.map +1 -1
- package/build/@types/common/components/ui/OpenShiftVersionModal.d.ts.map +1 -1
- package/build/@types/common/components/ui/PopoverIcon.d.ts.map +1 -1
- package/build/@types/common/components/ui/PrismCode.d.ts +3 -3
- package/build/@types/common/components/ui/PrismCode.d.ts.map +1 -1
- package/build/@types/common/components/ui/SectionTitle.d.ts.map +1 -1
- package/build/@types/common/components/ui/SimpleDropdown.d.ts.map +1 -1
- package/build/@types/common/components/ui/StaticTextField.d.ts.map +1 -1
- package/build/@types/common/components/ui/Toolbar/ToolbarText.d.ts +2 -2
- package/build/@types/common/components/ui/Toolbar/ToolbarText.d.ts.map +1 -1
- package/build/@types/common/components/ui/WizardNavItem.d.ts.map +1 -1
- package/build/@types/common/components/ui/eventsModal.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/AlertFormikError.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/CertificatesUploadField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/CheckboxField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/CodeField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/InputField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/LabelField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/MultiSelectField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/NumberInputField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/PullSecretField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/RemovableField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/RichInputField.d.ts +1 -0
- package/build/@types/common/components/ui/formik/RichInputField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/SelectField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/SwitchField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/TextAreaField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/TextAreaSecretField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/UploadField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/types.d.ts +2 -2
- package/build/@types/common/components/ui/formik/types.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/validationSchemas.d.ts +1 -1
- package/build/@types/common/components/ui/formik/validationSchemas.d.ts.map +1 -1
- package/build/@types/common/components/ui/uiState/EmptyState.d.ts +2 -2
- package/build/@types/common/components/ui/uiState/EmptyState.d.ts.map +1 -1
- package/build/@types/common/components/ui/uiState/ErrorState.d.ts +3 -3
- package/build/@types/common/components/ui/uiState/ErrorState.d.ts.map +1 -1
- package/build/@types/common/config/constants.d.ts +8 -0
- package/build/@types/common/config/constants.d.ts.map +1 -1
- package/build/@types/common/config/docs_links.d.ts +4 -1
- package/build/@types/common/config/docs_links.d.ts.map +1 -1
- package/build/@types/common/reducers/alertsSlice.d.ts +1 -0
- package/build/@types/common/reducers/alertsSlice.d.ts.map +1 -1
- package/build/@types/ocm/components/AddHosts/InventoryAddHost.d.ts.map +1 -1
- package/build/@types/ocm/components/AddHosts/day2Wizard/Day2StaticIP.d.ts.map +1 -1
- package/build/@types/ocm/components/AddHosts/day2Wizard/Day2StaticIpHostConfigurations.d.ts.map +1 -1
- package/build/@types/ocm/components/AddHosts/day2Wizard/Day2Wizard.d.ts.map +1 -1
- package/build/@types/ocm/components/AddHosts/day2Wizard/Day2WizardFooter.d.ts.map +1 -1
- package/build/@types/ocm/components/AddHosts/day2Wizard/Day2WizardNav.d.ts.map +1 -1
- package/build/@types/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabMock.d.ts.map +1 -1
- package/build/@types/ocm/components/HostsClusterDetailTab/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/Routes.d.ts +1 -0
- package/build/@types/ocm/components/Routes.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/CpuArchitectureDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/CustomManifestCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/DiscoveryImageModal.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/HostInventory.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/HostsNetworkConfigurationControlGroup.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmBaseDomainField.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/DeleteCustomManifestModal.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifest.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/ExpandedManifest.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.d.ts +2 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.d.ts +3 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.d.ts +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/reorderNetworks.d.ts +5 -0
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/reorderNetworks.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterConfiguration/operators/bundleSpecs.d.ts +0 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/bundleSpecs.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/CollapsedHost.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/BondsConfirmationModal.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWideFields.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlViewFields.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/CancelInstallationModal.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterDetail.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterDetailStatusMessages.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterDetailStatusVarieties.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterInstallationError.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterInstallationProgressCard.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterPollingErrorModal.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterProperties.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterProperties.test.d.ts +2 -0
- package/build/@types/ocm/components/clusterDetail/ClusterProperties.test.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterDetail/ClusterUpdateErrorModal.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/OpenShiftVersionDetail.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ProgressBarAlerts.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ResetClusterModal.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterDetails.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterDetailsForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardContext.d.ts +3 -0
- package/build/@types/ocm/components/clusterWizard/ClusterWizardContext.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardContextProvider.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardFooter.d.ts +2 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardFooter.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardNavigation.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/HostDiscovery.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/NewClusterWizard.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/OperatorsBundle.d.ts +2 -1
- package/build/@types/ocm/components/clusterWizard/OperatorsBundle.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/OperatorsSelect.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/OperatorsSelect.test.d.ts +2 -0
- package/build/@types/ocm/components/clusterWizard/OperatorsSelect.test.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterWizard/OperatorsStep.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/constants.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/disconnected/BasicStep.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.d.ts +4 -0
- package/build/@types/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterWizard/disconnected/ReviewStep.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/index.d.ts +1 -0
- package/build/@types/ocm/components/clusterWizard/index.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts +2 -2
- package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/ClusterBreadcrumbs.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/ClusterPage.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/Clusters.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/ClustersListToolbar.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/DeleteClusterModal.d.ts.map +1 -1
- package/build/@types/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.d.ts +1 -1
- package/build/@types/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/DeleteHostModal.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/HostsDiscoveryTable.d.ts +3 -2
- package/build/@types/ocm/components/hosts/HostsDiscoveryTable.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/ResetHostModal.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/UpdateDay2ApiVipModal.d.ts.map +1 -1
- package/build/@types/ocm/components/ui/InfoLinkWithModal.d.ts.map +1 -1
- package/build/@types/ocm/hooks/index.d.ts +1 -0
- package/build/@types/ocm/hooks/index.d.ts.map +1 -1
- package/build/@types/ocm/hooks/useInfraEnvHosts.d.ts +9 -0
- package/build/@types/ocm/hooks/useInfraEnvHosts.d.ts.map +1 -0
- package/build/@types/ocm/hooks/useInfraEnvId.d.ts.map +1 -1
- package/build/@types/ocm/hooks/useLateBinding.d.ts +4 -0
- package/build/@types/ocm/hooks/useLateBinding.d.ts.map +1 -0
- package/build/@types/ocm/services/BundleService.d.ts +1 -1
- package/build/@types/ocm/services/BundleService.d.ts.map +1 -1
- package/build/@types/ocm/services/ClustersService.d.ts +10 -6
- package/build/@types/ocm/services/ClustersService.d.ts.map +1 -1
- package/build/@types/ocm/services/HostsService.d.ts +13 -12
- package/build/@types/ocm/services/HostsService.d.ts.map +1 -1
- package/build/@types/ocm/services/InfraEnvsService.d.ts +3 -3
- package/build/@types/ocm/services/InfraEnvsService.d.ts.map +1 -1
- package/build/@types/ocm/services/UISettingsService.d.ts +1 -1
- package/build/@types/ocm/store/slices/infra-envs/thunks.d.ts +1 -1
- package/build/cjs/cim/components/Agent/AgentStatus.js +1 -1
- package/build/cjs/cim/components/Agent/BMCForm.js +5 -4
- package/build/cjs/cim/components/Agent/BMCForm.js.map +1 -1
- package/build/cjs/cim/components/Agent/MinimalHWRequirements.js +3 -2
- package/build/cjs/cim/components/Agent/MinimalHWRequirements.js.map +1 -1
- package/build/cjs/cim/components/Agent/tableUtils.js +0 -9
- package/build/cjs/cim/components/Agent/tableUtils.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/LabelSelector.css +1 -1
- package/build/cjs/cim/components/ClusterDeployment/LabelsSelector.js +3 -3
- package/build/cjs/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.js +2 -2
- package/build/cjs/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.js +1 -1
- package/build/cjs/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.js +12 -13
- package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelection.js +1 -1
- package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelection.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingForm.js +5 -7
- package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingForm.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js +1 -1
- package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/ClusterInstallationProgress.css +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/ConditionsTable.js +3 -3
- package/build/cjs/cim/components/Hypershift/DetailsPage/ConditionsTable.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/HostedClusterProgress.js +2 -2
- package/build/cjs/cim/components/Hypershift/DetailsPage/HostedClusterProgress.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsProgress.js +2 -2
- package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsProgress.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.css +2 -2
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkForm.css +2 -2
- package/build/cjs/cim/components/Hypershift/forms/NodePoolAgentsForm.js +1 -1
- package/build/cjs/cim/components/Hypershift/forms/NodePoolAgentsForm.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/modals/AddNodePoolModal.js +4 -3
- package/build/cjs/cim/components/Hypershift/modals/AddNodePoolModal.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/modals/ManageHostsModal.js +4 -3
- package/build/cjs/cim/components/Hypershift/modals/ManageHostsModal.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/modals/RemoveNodePoolModal.js +4 -3
- package/build/cjs/cim/components/Hypershift/modals/RemoveNodePoolModal.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/utils/status.js +6 -6
- package/build/cjs/cim/components/Hypershift/utils/status.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/AddHostDropdown.js +1 -1
- package/build/cjs/cim/components/InfraEnv/EnvironmentDetails.js +6 -8
- package/build/cjs/cim/components/InfraEnv/EnvironmentDetails.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/EnvironmentErrors.js +2 -1
- package/build/cjs/cim/components/InfraEnv/EnvironmentErrors.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraEnvFormPage.js +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.js +2 -2
- package/build/cjs/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraTableToolbar.js +4 -4
- package/build/cjs/cim/components/InfraEnv/InfraTableToolbar.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/infra-env.css +2 -2
- package/build/cjs/cim/components/common/CpuArchitectureDropdown.js +1 -1
- package/build/cjs/cim/components/common/ResourceAlerts.css +1 -1
- package/build/cjs/cim/components/common/ResourceAlerts.js +15 -16
- package/build/cjs/cim/components/common/ResourceAlerts.js.map +1 -1
- package/build/cjs/cim/components/helpers/agentStatus.js +2 -2
- package/build/cjs/cim/components/helpers/agentStatus.js.map +1 -1
- package/build/cjs/cim/components/modals/AddBmcHostModal.js +2 -2
- package/build/cjs/cim/components/modals/AddBmcHostModal.js.map +1 -1
- package/build/cjs/cim/components/modals/AddBmcHostYamlForm.css +1 -1
- package/build/cjs/cim/components/modals/AddBmcHostYamlForm.js +4 -4
- package/build/cjs/cim/components/modals/AddBmcHostYamlForm.js.map +1 -1
- package/build/cjs/cim/components/modals/AddBmcHostYamlModal.js +2 -2
- package/build/cjs/cim/components/modals/AddBmcHostYamlModal.js.map +1 -1
- package/build/cjs/cim/components/modals/AddHostModal.js +13 -9
- package/build/cjs/cim/components/modals/AddHostModal.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigProgressAlert.js +1 -4
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigProgressAlert.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationFormFields.js +91 -0
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationFormFields.js.map +1 -0
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationModal.js +78 -121
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationModal.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/persist.js +44 -95
- package/build/cjs/cim/components/modals/CimConfiguration/persist.js.map +1 -1
- package/build/cjs/cim/components/modals/EditBMHModal.js +2 -2
- package/build/cjs/cim/components/modals/EditBMHModal.js.map +1 -1
- package/build/cjs/cim/components/modals/EditNtpSourcesModal.js +4 -3
- package/build/cjs/cim/components/modals/EditNtpSourcesModal.js.map +1 -1
- package/build/cjs/cim/components/modals/EditProxyModal.js +4 -3
- package/build/cjs/cim/components/modals/EditProxyModal.js.map +1 -1
- package/build/cjs/cim/components/modals/EditPullSecretModal.js +4 -3
- package/build/cjs/cim/components/modals/EditPullSecretModal.js.map +1 -1
- package/build/cjs/cim/components/modals/EditSSHKeyModal.js +4 -3
- package/build/cjs/cim/components/modals/EditSSHKeyModal.js.map +1 -1
- package/build/cjs/cim/components/modals/MassApproveAgentModal.js +5 -4
- package/build/cjs/cim/components/modals/MassApproveAgentModal.js.map +1 -1
- package/build/cjs/cim/components/modals/MassDeleteAgentModal.js +3 -3
- package/build/cjs/cim/components/modals/MassDeleteAgentModal.js.map +1 -1
- package/build/cjs/cim/components/modals/ScaleUpModal.js +4 -3
- package/build/cjs/cim/components/modals/ScaleUpModal.js.map +1 -1
- package/build/cjs/cim/hooks/index.js +1 -0
- package/build/cjs/cim/hooks/index.js.map +1 -1
- package/build/cjs/cim/hooks/useAgentServiceConfig.js +13 -0
- package/build/cjs/cim/hooks/useAgentServiceConfig.js.map +1 -0
- package/build/cjs/cim/types/index.js +0 -1
- package/build/cjs/cim/types/index.js.map +1 -1
- package/build/cjs/cim/types/models.js +45 -5
- package/build/cjs/cim/types/models.js.map +1 -1
- package/build/cjs/common/api/assisted-service/BundleAPI.js +4 -2
- package/build/cjs/common/api/assisted-service/BundleAPI.js.map +1 -1
- package/build/cjs/common/api/assisted-service/ClustersAPI.js +3 -0
- package/build/cjs/common/api/assisted-service/ClustersAPI.js.map +1 -1
- package/build/cjs/common/api/assisted-service/HostsAPI.js +8 -0
- package/build/cjs/common/api/assisted-service/HostsAPI.js.map +1 -1
- package/build/cjs/common/api/assisted-service/InfraEnvsAPI.js +5 -0
- package/build/cjs/common/api/assisted-service/InfraEnvsAPI.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/CertificateFields.css +1 -1
- package/build/cjs/common/components/clusterConfiguration/CertificateFields.js +1 -1
- package/build/cjs/common/components/clusterConfiguration/CertificateFields.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiscoveryImageConfigForm.js +2 -2
- package/build/cjs/common/components/clusterConfiguration/DiscoveryImageConfigForm.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiscoveryInstructions.js +8 -8
- package/build/cjs/common/components/clusterConfiguration/DiscoveryInstructions.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiscoveryIpxeInstructions.js +7 -7
- package/build/cjs/common/components/clusterConfiguration/DiscoveryIpxeInstructions.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.js +27 -25
- package/build/cjs/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.js +6 -4
- package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.js +1 -2
- package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DownloadIpxeScript.js +2 -2
- package/build/cjs/common/components/clusterConfiguration/DownloadIpxeScript.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DownloadIso.js +7 -7
- package/build/cjs/common/components/clusterConfiguration/DownloadIso.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DownloadIsoModal.js +3 -2
- package/build/cjs/common/components/clusterConfiguration/DownloadIsoModal.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/ProxyFields.css +1 -1
- package/build/cjs/common/components/clusterConfiguration/SecurityFields.js +7 -5
- package/build/cjs/common/components/clusterConfiguration/SecurityFields.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/utils.js +23 -12
- package/build/cjs/common/components/clusterConfiguration/utils.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/utils.test.js +242 -0
- package/build/cjs/common/components/clusterConfiguration/utils.test.js.map +1 -0
- package/build/cjs/common/components/clusterDetail/ClusterProgressItem.js +1 -1
- package/build/cjs/common/components/clusterDetail/ClusterProgressItem.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/ConsoleModal.js +8 -5
- package/build/cjs/common/components/clusterDetail/ConsoleModal.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/FinalizingProgress.js +6 -7
- package/build/cjs/common/components/clusterDetail/FinalizingProgress.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js +4 -4
- package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/ProgressBarTexts.js +4 -4
- package/build/cjs/common/components/clusterDetail/ProgressBarTexts.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/ClusterWizardStep.css +6 -6
- package/build/cjs/common/components/clusterWizard/ClusterWizardStep.js +4 -4
- package/build/cjs/common/components/clusterWizard/ClusterWizardStep.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/ClusterWizardStepHeader.js +1 -2
- package/build/cjs/common/components/clusterWizard/ClusterWizardStepHeader.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/ReviewValidations.js +4 -3
- package/build/cjs/common/components/clusterWizard/ReviewValidations.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/UserManagedNetworkingTextContent.js +2 -2
- package/build/cjs/common/components/clusterWizard/networkingSteps/UserManagedNetworkingTextContent.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js.map +1 -1
- package/build/cjs/common/components/clusters/PullSecret.js +1 -1
- package/build/cjs/common/components/hosts/AITableMemo.js +2 -1
- package/build/cjs/common/components/hosts/AITableMemo.js.map +1 -1
- package/build/cjs/common/components/hosts/AdditionalNTPSourcesDialog.js +4 -3
- package/build/cjs/common/components/hosts/AdditionalNTPSourcesDialog.js.map +1 -1
- package/build/cjs/common/components/hosts/DiskRole.js +1 -1
- package/build/cjs/common/components/hosts/DiskRole.js.map +1 -1
- package/build/cjs/common/components/hosts/EditHostForm.js +2 -2
- package/build/cjs/common/components/hosts/EditHostForm.js.map +1 -1
- package/build/cjs/common/components/hosts/EditHostModal.js +3 -2
- package/build/cjs/common/components/hosts/EditHostModal.js.map +1 -1
- package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js +4 -4
- package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js.map +1 -1
- package/build/cjs/common/components/hosts/HostRequirements.js +1 -2
- package/build/cjs/common/components/hosts/HostRequirements.js.map +1 -1
- package/build/cjs/common/components/hosts/HostStatus.js +12 -12
- package/build/cjs/common/components/hosts/HostStatus.js.map +1 -1
- package/build/cjs/common/components/hosts/HostValidationGroups.css +2 -2
- package/build/cjs/common/components/hosts/HostValidationGroups.js +4 -4
- package/build/cjs/common/components/hosts/HostValidationGroups.js.map +1 -1
- package/build/cjs/common/components/hosts/Hostname.js +5 -5
- package/build/cjs/common/components/hosts/Hostname.js.map +1 -1
- package/build/cjs/common/components/hosts/HostsTable.css +4 -4
- package/build/cjs/common/components/hosts/MassChangeHostnameModal.css +2 -2
- package/build/cjs/common/components/hosts/MassChangeHostnameModal.js +7 -6
- package/build/cjs/common/components/hosts/MassChangeHostnameModal.js.map +1 -1
- package/build/cjs/common/components/hosts/MassDeleteHostModal.js +4 -3
- package/build/cjs/common/components/hosts/MassDeleteHostModal.js.map +1 -1
- package/build/cjs/common/components/hosts/OcpConsoleNodesSectionLink.js +1 -4
- package/build/cjs/common/components/hosts/OcpConsoleNodesSectionLink.js.map +1 -1
- package/build/cjs/common/components/hosts/TableToolbar.css +1 -1
- package/build/cjs/common/components/hosts/TableToolbar.js +6 -9
- package/build/cjs/common/components/hosts/TableToolbar.js.map +1 -1
- package/build/cjs/common/components/hosts/VMRebootConfigurationInfo.js +6 -6
- package/build/cjs/common/components/hosts/VMRebootConfigurationInfo.js.map +1 -1
- package/build/cjs/common/components/hosts/status.js +12 -13
- package/build/cjs/common/components/hosts/status.js.map +1 -1
- package/build/cjs/common/components/hosts/tableUtils.js +3 -4
- package/build/cjs/common/components/hosts/tableUtils.js.map +1 -1
- package/build/cjs/common/components/operators/operatorDescriptions.js +3 -1
- package/build/cjs/common/components/operators/operatorDescriptions.js.map +1 -1
- package/build/cjs/common/components/operators/operatorSpecs.js +24 -1
- package/build/cjs/common/components/operators/operatorSpecs.js.map +1 -1
- package/build/cjs/common/components/storage/DisksTable.js +1 -2
- package/build/cjs/common/components/storage/DisksTable.js.map +1 -1
- package/build/cjs/common/components/storage/StorageUtils.js +4 -3
- package/build/cjs/common/components/storage/StorageUtils.js.map +1 -1
- package/build/cjs/common/components/ui/ClusterEventsToolbar.js +11 -12
- package/build/cjs/common/components/ui/ClusterEventsToolbar.js.map +1 -1
- package/build/cjs/common/components/ui/ConfirmationModal.js +5 -3
- package/build/cjs/common/components/ui/ConfirmationModal.js.map +1 -1
- package/build/cjs/common/components/ui/CustomToolbarFilter.js +19 -19
- package/build/cjs/common/components/ui/CustomToolbarFilter.js.map +1 -1
- package/build/cjs/common/components/ui/DetailList.css +2 -2
- package/build/cjs/common/components/ui/DetailList.js +7 -7
- package/build/cjs/common/components/ui/DetailList.js.map +1 -1
- package/build/cjs/common/components/ui/ExternalLink.js +1 -1
- package/build/cjs/common/components/ui/ExternalLink.js.map +1 -1
- package/build/cjs/common/components/ui/GridGap.js +1 -1
- package/build/cjs/common/components/ui/NoPermissionsError.js +1 -3
- package/build/cjs/common/components/ui/NoPermissionsError.js.map +1 -1
- package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js +9 -5
- package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js.map +1 -1
- package/build/cjs/common/components/ui/OpenShiftVersionModal.css +1 -1
- package/build/cjs/common/components/ui/OpenShiftVersionModal.js +7 -5
- package/build/cjs/common/components/ui/OpenShiftVersionModal.js.map +1 -1
- package/build/cjs/common/components/ui/PopoverIcon.js +2 -3
- package/build/cjs/common/components/ui/PopoverIcon.js.map +1 -1
- package/build/cjs/common/components/ui/PreviewBadge.js +5 -5
- package/build/cjs/common/components/ui/PreviewBadge.js.map +1 -1
- package/build/cjs/common/components/ui/PrismCode.css +1 -1
- package/build/cjs/common/components/ui/PrismCode.js +6 -7
- package/build/cjs/common/components/ui/PrismCode.js.map +1 -1
- package/build/cjs/common/components/ui/SectionTitle.js +1 -2
- package/build/cjs/common/components/ui/SectionTitle.js.map +1 -1
- package/build/cjs/common/components/ui/SimpleDropdown.js +1 -1
- package/build/cjs/common/components/ui/SimpleDropdown.js.map +1 -1
- package/build/cjs/common/components/ui/StaticTextField.js +2 -3
- package/build/cjs/common/components/ui/StaticTextField.js.map +1 -1
- package/build/cjs/common/components/ui/Toolbar/ToolbarSecondaryGroup.js +1 -1
- package/build/cjs/common/components/ui/Toolbar/ToolbarSecondaryGroup.js.map +1 -1
- package/build/cjs/common/components/ui/Toolbar/ToolbarText.js +1 -1
- package/build/cjs/common/components/ui/Toolbar/ToolbarText.js.map +1 -1
- package/build/cjs/common/components/ui/WizardFooter.js +3 -3
- package/build/cjs/common/components/ui/WizardFooter.js.map +1 -1
- package/build/cjs/common/components/ui/WizardNavItem.js +1 -1
- package/build/cjs/common/components/ui/WizardNavItem.js.map +1 -1
- package/build/cjs/common/components/ui/eventsModal.js +10 -9
- package/build/cjs/common/components/ui/eventsModal.js.map +1 -1
- package/build/cjs/common/components/ui/formik/AlertFormikError.js +1 -2
- package/build/cjs/common/components/ui/formik/AlertFormikError.js.map +1 -1
- package/build/cjs/common/components/ui/formik/CertificatesUploadField.js +2 -2
- package/build/cjs/common/components/ui/formik/CertificatesUploadField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/CheckboxField.js +1 -1
- package/build/cjs/common/components/ui/formik/CheckboxField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/CodeField.js +3 -3
- package/build/cjs/common/components/ui/formik/CodeField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/InputField.js +6 -5
- package/build/cjs/common/components/ui/formik/InputField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/LabelField.css +8 -8
- package/build/cjs/common/components/ui/formik/LabelField.js +3 -3
- package/build/cjs/common/components/ui/formik/LabelField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/MultiSelectField.js +6 -6
- package/build/cjs/common/components/ui/formik/MultiSelectField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/NumberInputField.js +2 -2
- package/build/cjs/common/components/ui/formik/NumberInputField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/PencilEditField.css +1 -1
- package/build/cjs/common/components/ui/formik/PencilEditField.js +1 -1
- package/build/cjs/common/components/ui/formik/PullSecretField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/RemovableField.css +6 -6
- package/build/cjs/common/components/ui/formik/RemovableField.js +1 -2
- package/build/cjs/common/components/ui/formik/RemovableField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/RichInputField.css +2 -9
- package/build/cjs/common/components/ui/formik/RichInputField.js +9 -9
- package/build/cjs/common/components/ui/formik/RichInputField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/SelectField.js +2 -2
- package/build/cjs/common/components/ui/formik/SelectField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/SwitchField.js +2 -2
- package/build/cjs/common/components/ui/formik/SwitchField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/TextAreaField.js +3 -3
- package/build/cjs/common/components/ui/formik/TextAreaField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/TextAreaSecretField.js +3 -1
- package/build/cjs/common/components/ui/formik/TextAreaSecretField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/UploadField.js +3 -3
- package/build/cjs/common/components/ui/formik/UploadField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/validationSchemas.js +123 -13
- package/build/cjs/common/components/ui/formik/validationSchemas.js.map +1 -1
- package/build/cjs/common/components/ui/uiState/EmptyState.js +1 -3
- package/build/cjs/common/components/ui/uiState/EmptyState.js.map +1 -1
- package/build/cjs/common/components/ui/uiState/ErrorState.js +2 -4
- package/build/cjs/common/components/ui/uiState/ErrorState.js.map +1 -1
- package/build/cjs/common/components/ui/uiState/LoadingState.js +1 -1
- package/build/cjs/common/components/ui/uiState/LoadingState.js.map +1 -1
- package/build/cjs/common/config/constants.js +14 -2
- package/build/cjs/common/config/constants.js.map +1 -1
- package/build/cjs/common/config/docs_links.js +19 -4
- package/build/cjs/common/config/docs_links.js.map +1 -1
- package/build/cjs/common/reducers/alertsSlice.js +1 -1
- package/build/cjs/common/reducers/alertsSlice.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/InventoryAddHost.js +4 -5
- package/build/cjs/ocm/components/AddHosts/InventoryAddHost.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2StaticIP.js +4 -4
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2StaticIP.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2StaticIpHostConfigurations.js +1 -2
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2StaticIpHostConfigurations.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2Wizard.js +3 -4
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2Wizard.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2WizardFooter.js +1 -1
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2WizardFooter.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2WizardNav.js +4 -4
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2WizardNav.js.map +1 -1
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabMock.js +3 -4
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabMock.js.map +1 -1
- package/build/cjs/ocm/components/HostsClusterDetailTab/utils.js +18 -11
- package/build/cjs/ocm/components/HostsClusterDetailTab/utils.js.map +1 -1
- package/build/cjs/ocm/components/Routes.css +10 -0
- package/build/cjs/ocm/components/Routes.js +3 -1
- package/build/cjs/ocm/components/Routes.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/CpuArchitectureDropdown.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/CpuArchitectureDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/CustomManifestCheckbox.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/CustomManifestCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageModal.js +2 -1
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageModal.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/HostInventory.js +12 -14
- package/build/cjs/ocm/components/clusterConfiguration/HostInventory.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/HostsNetworkConfigurationControlGroup.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/HostsNetworkConfigurationControlGroup.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmBaseDomainField.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/OcmBaseDomainField.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +2 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.js +12 -9
- package/build/cjs/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js +4 -4
- package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.js +3 -3
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/DeleteCustomManifestModal.js +7 -6
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/DeleteCustomManifestModal.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifest.js +1 -2
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifest.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/ExpandedManifest.js +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/ExpandedManifest.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.js +10 -17
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.js +88 -13
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js +3 -3
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js +3 -4
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.js +90 -8
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.js +44 -8
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.js +30 -21
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.js +8 -8
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/reorderNetworks.js +60 -0
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/reorderNetworks.js.map +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/OperatorCheckbox.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OperatorCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/bundleSpecs.js +0 -2
- package/build/cjs/ocm/components/clusterConfiguration/operators/bundleSpecs.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/utils.js +10 -6
- package/build/cjs/ocm/components/clusterConfiguration/operators/utils.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js +15 -10
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewCluster.css +5 -7
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.js +49 -13
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.js +17 -17
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewSummary.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewSummary.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/TableSummaryExpandable.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/TableSummaryExpandable.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/CollapsedHost.js +1 -2
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/CollapsedHost.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/BondsConfirmationModal.js +4 -3
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/BondsConfirmationModal.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.js +3 -4
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWideFields.js +5 -5
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWideFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.js +1 -2
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.js +5 -4
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlViewFields.js +6 -7
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlViewFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/staticIp.css +9 -9
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.js +1 -1
- package/build/cjs/ocm/components/clusterDetail/CancelInstallationModal.js +6 -5
- package/build/cjs/ocm/components/clusterDetail/CancelInstallationModal.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterDetail.js +1 -2
- package/build/cjs/ocm/components/clusterDetail/ClusterDetail.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterDetailStatusMessages.js +17 -14
- package/build/cjs/ocm/components/clusterDetail/ClusterDetailStatusMessages.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterDetailStatusVarieties.js +5 -3
- package/build/cjs/ocm/components/clusterDetail/ClusterDetailStatusVarieties.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterDetailsButtonGroup.css +2 -2
- package/build/cjs/ocm/components/clusterDetail/ClusterInstallationError.js +4 -5
- package/build/cjs/ocm/components/clusterDetail/ClusterInstallationError.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterInstallationProgressCard.js +10 -6
- package/build/cjs/ocm/components/clusterDetail/ClusterInstallationProgressCard.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterPollingErrorModal.js +5 -3
- package/build/cjs/ocm/components/clusterDetail/ClusterPollingErrorModal.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterProperties.js +1 -2
- package/build/cjs/ocm/components/clusterDetail/ClusterProperties.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterProperties.test.js +180 -0
- package/build/cjs/ocm/components/clusterDetail/ClusterProperties.test.js.map +1 -0
- package/build/cjs/ocm/components/clusterDetail/ClusterSummaryExpandable.css +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterSummaryExpandable.js +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterUpdateErrorModal.js +5 -3
- package/build/cjs/ocm/components/clusterDetail/ClusterUpdateErrorModal.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/HostInventoryExpandable.css +1 -1
- package/build/cjs/ocm/components/clusterDetail/HostInventoryExpandable.js +1 -1
- package/build/cjs/ocm/components/clusterDetail/OpenShiftVersionDetail.js +2 -3
- package/build/cjs/ocm/components/clusterDetail/OpenShiftVersionDetail.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js +4 -5
- package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ResetClusterModal.js +9 -6
- package/build/cjs/ocm/components/clusterDetail/ResetClusterModal.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js +21 -3
- package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js +4 -5
- package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizard.js +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContext.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js +4 -0
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardFooter.js +22 -7
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardFooter.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardNavigation.js +4 -4
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardNavigation.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/HostDiscovery.js +3 -0
- package/build/cjs/ocm/components/clusterWizard/HostDiscovery.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/NewClusterWizard.js +4 -1
- package/build/cjs/ocm/components/clusterWizard/NewClusterWizard.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/OperatorsBundle.css +3 -3
- package/build/cjs/ocm/components/clusterWizard/OperatorsBundle.js +12 -40
- package/build/cjs/ocm/components/clusterWizard/OperatorsBundle.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.test.js +131 -0
- package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.test.js.map +1 -0
- package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js +14 -3
- package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/constants.js +1 -0
- package/build/cjs/ocm/components/clusterWizard/constants.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/disconnected/BasicStep.js +52 -10
- package/build/cjs/ocm/components/clusterWizard/disconnected/BasicStep.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.js +1 -1
- package/build/cjs/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.js +128 -0
- package/build/cjs/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.js.map +1 -0
- package/build/cjs/ocm/components/clusterWizard/disconnected/ReviewStep.js +44 -10
- package/build/cjs/ocm/components/clusterWizard/disconnected/ReviewStep.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/index.js +3 -1
- package/build/cjs/ocm/components/clusterWizard/index.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/wizardTransition.js +3 -0
- package/build/cjs/ocm/components/clusterWizard/wizardTransition.js.map +1 -1
- package/build/cjs/ocm/components/clusters/AssistedInstallerHeader.js +4 -4
- package/build/cjs/ocm/components/clusters/AssistedInstallerHeader.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClusterBreadcrumbs.js +1 -1
- package/build/cjs/ocm/components/clusters/ClusterBreadcrumbs.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClusterLoading.js +1 -1
- package/build/cjs/ocm/components/clusters/ClusterLoading.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClusterPage.js +8 -9
- package/build/cjs/ocm/components/clusters/ClusterPage.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClusterPageErrors.js +1 -1
- package/build/cjs/ocm/components/clusters/ClusterPageErrors.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClusterStatus.js +2 -2
- package/build/cjs/ocm/components/clusters/ClusterStatus.js.map +1 -1
- package/build/cjs/ocm/components/clusters/Clusters.js +6 -7
- package/build/cjs/ocm/components/clusters/Clusters.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClustersListToolbar.js +5 -5
- package/build/cjs/ocm/components/clusters/ClustersListToolbar.js.map +1 -1
- package/build/cjs/ocm/components/clusters/DeleteClusterModal.js +8 -6
- package/build/cjs/ocm/components/clusters/DeleteClusterModal.js.map +1 -1
- package/build/cjs/ocm/components/clusters/NewClusterPage.js +2 -2
- package/build/cjs/ocm/components/clusters/NewClusterPage.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js +25 -14
- package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js +0 -3
- package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js.map +1 -1
- package/build/cjs/ocm/components/hosts/DeleteHostModal.js +5 -3
- package/build/cjs/ocm/components/hosts/DeleteHostModal.js.map +1 -1
- package/build/cjs/ocm/components/hosts/HostRequirementsContent.js +1 -2
- package/build/cjs/ocm/components/hosts/HostRequirementsContent.js.map +1 -1
- package/build/cjs/ocm/components/hosts/HostsDiscoveryTable.js +1 -2
- package/build/cjs/ocm/components/hosts/HostsDiscoveryTable.js.map +1 -1
- package/build/cjs/ocm/components/hosts/ResetHostModal.js +8 -6
- package/build/cjs/ocm/components/hosts/ResetHostModal.js.map +1 -1
- package/build/cjs/ocm/components/hosts/UpdateDay2ApiVipForm.js +2 -2
- package/build/cjs/ocm/components/hosts/UpdateDay2ApiVipForm.js.map +1 -1
- package/build/cjs/ocm/components/hosts/UpdateDay2ApiVipModal.js +3 -2
- package/build/cjs/ocm/components/hosts/UpdateDay2ApiVipModal.js.map +1 -1
- package/build/cjs/ocm/components/ui/InfoLinkWithModal.js +5 -3
- package/build/cjs/ocm/components/ui/InfoLinkWithModal.js.map +1 -1
- package/build/cjs/ocm/hooks/index.js +3 -1
- package/build/cjs/ocm/hooks/index.js.map +1 -1
- package/build/cjs/ocm/hooks/useInfraEnvHosts.js +47 -0
- package/build/cjs/ocm/hooks/useInfraEnvHosts.js.map +1 -0
- package/build/cjs/ocm/hooks/useInfraEnvId.js +11 -2
- package/build/cjs/ocm/hooks/useInfraEnvId.js.map +1 -1
- package/build/cjs/ocm/hooks/useLateBinding.js +61 -0
- package/build/cjs/ocm/hooks/useLateBinding.js.map +1 -0
- package/build/cjs/ocm/services/BundleService.js +2 -2
- package/build/cjs/ocm/services/BundleService.js.map +1 -1
- package/build/cjs/ocm/services/ClustersService.js +10 -2
- package/build/cjs/ocm/services/ClustersService.js.map +1 -1
- package/build/cjs/ocm/services/HostsService.js +6 -0
- package/build/cjs/ocm/services/HostsService.js.map +1 -1
- package/build/cjs/ocm/services/InfraEnvsService.js +2 -2
- package/build/cjs/ocm/services/InfraEnvsService.js.map +1 -1
- package/lib/cim/components/Agent/AgentStatus.tsx +1 -1
- package/lib/cim/components/Agent/BMCForm.tsx +5 -6
- package/lib/cim/components/Agent/MinimalHWRequirements.tsx +2 -1
- package/lib/cim/components/Agent/tableUtils.tsx +0 -11
- package/lib/cim/components/ClusterDeployment/LabelSelector.css +1 -1
- package/lib/cim/components/ClusterDeployment/LabelsSelector.tsx +3 -3
- package/lib/cim/components/ClusterDeployment/customManifests/ClusterDeploymentCustomManifestsStep.tsx +12 -5
- package/lib/cim/components/ClusterDeployment/customManifests/ConfigMapDetail.tsx +3 -3
- package/lib/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.tsx +21 -31
- package/lib/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelection.tsx +2 -2
- package/lib/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingForm.tsx +12 -17
- package/lib/cim/components/ClusterDeployment/use-networking-formik.ts +2 -2
- package/lib/cim/components/Hypershift/DetailsPage/ClusterInstallationProgress.css +1 -1
- package/lib/cim/components/Hypershift/DetailsPage/ConditionsTable.tsx +1 -1
- package/lib/cim/components/Hypershift/DetailsPage/HostedClusterProgress.tsx +1 -1
- package/lib/cim/components/Hypershift/DetailsPage/NodePoolsProgress.tsx +1 -1
- package/lib/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.css +2 -2
- package/lib/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkForm.css +2 -2
- package/lib/cim/components/Hypershift/forms/NodePoolAgentsForm.tsx +2 -2
- package/lib/cim/components/Hypershift/modals/AddNodePoolModal.tsx +2 -6
- package/lib/cim/components/Hypershift/modals/ManageHostsModal.tsx +2 -6
- package/lib/cim/components/Hypershift/modals/RemoveNodePoolModal.tsx +2 -6
- package/lib/cim/components/Hypershift/utils/status.tsx +3 -3
- package/lib/cim/components/InfraEnv/AddHostDropdown.tsx +1 -1
- package/lib/cim/components/InfraEnv/EnvironmentDetails.tsx +6 -13
- package/lib/cim/components/InfraEnv/EnvironmentErrors.tsx +2 -1
- package/lib/cim/components/InfraEnv/InfraEnvFormPage.tsx +1 -1
- package/lib/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.tsx +1 -1
- package/lib/cim/components/InfraEnv/InfraTableToolbar.tsx +26 -20
- package/lib/cim/components/InfraEnv/infra-env.css +2 -2
- package/lib/cim/components/common/CpuArchitectureDropdown.tsx +1 -1
- package/lib/cim/components/common/ResourceAlerts.css +1 -1
- package/lib/cim/components/common/ResourceAlerts.tsx +29 -39
- package/lib/cim/components/helpers/agentStatus.tsx +1 -1
- package/lib/cim/components/modals/AddBmcHostModal.tsx +1 -1
- package/lib/cim/components/modals/AddBmcHostYamlForm.css +1 -1
- package/lib/cim/components/modals/AddBmcHostYamlForm.tsx +7 -10
- package/lib/cim/components/modals/AddBmcHostYamlModal.tsx +1 -1
- package/lib/cim/components/modals/AddHostModal.tsx +17 -14
- package/lib/cim/components/modals/CimConfiguration/CimConfigProgressAlert.tsx +2 -1
- package/lib/cim/components/modals/CimConfiguration/CimConfigurationFormFields.tsx +259 -0
- package/lib/cim/components/modals/CimConfiguration/CimConfigurationModal.tsx +165 -194
- package/lib/cim/components/modals/CimConfiguration/persist.ts +62 -125
- package/lib/cim/components/modals/CimConfiguration/types.ts +7 -22
- package/lib/cim/components/modals/EditBMHModal.tsx +1 -1
- package/lib/cim/components/modals/EditNtpSourcesModal.tsx +2 -7
- package/lib/cim/components/modals/EditProxyModal.tsx +2 -7
- package/lib/cim/components/modals/EditPullSecretModal.tsx +2 -6
- package/lib/cim/components/modals/EditSSHKeyModal.tsx +2 -6
- package/lib/cim/components/modals/MassApproveAgentModal.tsx +3 -11
- package/lib/cim/components/modals/MassDeleteAgentModal.tsx +2 -2
- package/lib/cim/components/modals/ScaleUpModal.tsx +1 -3
- package/lib/cim/hooks/index.tsx +1 -0
- package/lib/cim/hooks/useAgentServiceConfig.tsx +15 -0
- package/lib/cim/types/index.ts +0 -1
- package/lib/cim/types/models.tsx +48 -4
- package/lib/common/api/assisted-service/BundleAPI.ts +15 -2
- package/lib/common/api/assisted-service/ClustersAPI.ts +6 -0
- package/lib/common/api/assisted-service/HostsAPI.ts +13 -0
- package/lib/common/api/assisted-service/InfraEnvsAPI.ts +6 -0
- package/lib/common/components/clusterConfiguration/CertificateFields.css +1 -1
- package/lib/common/components/clusterConfiguration/CertificateFields.tsx +1 -1
- package/lib/common/components/clusterConfiguration/DiscoveryImageConfigForm.tsx +6 -6
- package/lib/common/components/clusterConfiguration/DiscoveryInstructions.tsx +16 -16
- package/lib/common/components/clusterConfiguration/DiscoveryIpxeInstructions.tsx +12 -12
- package/lib/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.tsx +40 -39
- package/lib/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.tsx +25 -23
- package/lib/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.tsx +3 -6
- package/lib/common/components/clusterConfiguration/DownloadIpxeScript.tsx +6 -6
- package/lib/common/components/clusterConfiguration/DownloadIso.tsx +16 -9
- package/lib/common/components/clusterConfiguration/DownloadIsoModal.tsx +2 -3
- package/lib/common/components/clusterConfiguration/ProxyFields.css +1 -1
- package/lib/common/components/clusterConfiguration/SecurityFields.tsx +13 -6
- package/lib/common/components/clusterConfiguration/utils.test.ts +275 -0
- package/lib/common/components/clusterConfiguration/utils.ts +26 -9
- package/lib/common/components/clusterDetail/ClusterProgressItem.tsx +2 -2
- package/lib/common/components/clusterDetail/ConsoleModal.tsx +16 -15
- package/lib/common/components/clusterDetail/FinalizingProgress.tsx +8 -10
- package/lib/common/components/clusterDetail/OperatorsProgressItem.tsx +2 -2
- package/lib/common/components/clusterDetail/ProgressBarTexts.tsx +2 -2
- package/lib/common/components/clusterWizard/ClusterWizardStep.css +6 -6
- package/lib/common/components/clusterWizard/ClusterWizardStep.tsx +15 -4
- package/lib/common/components/clusterWizard/ClusterWizardStepHeader.tsx +2 -4
- package/lib/common/components/clusterWizard/ReviewValidations.tsx +5 -2
- package/lib/common/components/clusterWizard/networkingSteps/UserManagedNetworkingTextContent.tsx +5 -5
- package/lib/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.tsx +1 -1
- package/lib/common/components/clusters/PullSecret.tsx +1 -1
- package/lib/common/components/hosts/AITableMemo.tsx +1 -0
- package/lib/common/components/hosts/AdditionalNTPSourcesDialog.tsx +9 -9
- package/lib/common/components/hosts/DiskRole.tsx +1 -0
- package/lib/common/components/hosts/EditHostForm.tsx +6 -6
- package/lib/common/components/hosts/EditHostModal.tsx +2 -3
- package/lib/common/components/hosts/HostPropertyValidationPopover.tsx +2 -2
- package/lib/common/components/hosts/HostRequirements.tsx +2 -4
- package/lib/common/components/hosts/HostStatus.tsx +23 -32
- package/lib/common/components/hosts/HostValidationGroups.css +2 -2
- package/lib/common/components/hosts/HostValidationGroups.tsx +2 -2
- package/lib/common/components/hosts/Hostname.tsx +3 -3
- package/lib/common/components/hosts/HostsTable.css +4 -4
- package/lib/common/components/hosts/MassChangeHostnameModal.css +2 -2
- package/lib/common/components/hosts/MassChangeHostnameModal.tsx +13 -10
- package/lib/common/components/hosts/MassDeleteHostModal.tsx +8 -9
- package/lib/common/components/hosts/OcpConsoleNodesSectionLink.tsx +2 -1
- package/lib/common/components/hosts/TableToolbar.css +1 -1
- package/lib/common/components/hosts/TableToolbar.tsx +14 -14
- package/lib/common/components/hosts/VMRebootConfigurationInfo.tsx +12 -19
- package/lib/common/components/hosts/status.tsx +4 -5
- package/lib/common/components/hosts/tableUtils.tsx +12 -10
- package/lib/common/components/operators/operatorDescriptions.tsx +6 -0
- package/lib/common/components/operators/operatorSpecs.tsx +34 -1
- package/lib/common/components/storage/DisksTable.tsx +2 -11
- package/lib/common/components/storage/StorageUtils.tsx +9 -5
- package/lib/common/components/ui/ClusterEventsToolbar.tsx +25 -23
- package/lib/common/components/ui/ConfirmationModal.tsx +18 -14
- package/lib/common/components/ui/CustomToolbarFilter.tsx +51 -42
- package/lib/common/components/ui/DetailList.css +2 -2
- package/lib/common/components/ui/DetailList.tsx +21 -29
- package/lib/common/components/ui/ExternalLink.tsx +9 -3
- package/lib/common/components/ui/GridGap.tsx +1 -1
- package/lib/common/components/ui/NoPermissionsError.tsx +2 -4
- package/lib/common/components/ui/OpenShiftVersionDropdown.tsx +17 -8
- package/lib/common/components/ui/OpenShiftVersionModal.css +1 -1
- package/lib/common/components/ui/OpenShiftVersionModal.tsx +28 -17
- package/lib/common/components/ui/PopoverIcon.tsx +7 -6
- package/lib/common/components/ui/PreviewBadge.tsx +5 -5
- package/lib/common/components/ui/PrismCode.css +1 -1
- package/lib/common/components/ui/PrismCode.tsx +8 -9
- package/lib/common/components/ui/SectionTitle.tsx +4 -6
- package/lib/common/components/ui/SimpleDropdown.tsx +1 -0
- package/lib/common/components/ui/StaticTextField.tsx +5 -7
- package/lib/common/components/ui/Toolbar/ToolbarSecondaryGroup.tsx +1 -1
- package/lib/common/components/ui/Toolbar/ToolbarText.tsx +3 -3
- package/lib/common/components/ui/WizardFooter.tsx +6 -6
- package/lib/common/components/ui/WizardNavItem.tsx +5 -1
- package/lib/common/components/ui/eventsModal.tsx +25 -18
- package/lib/common/components/ui/formik/AlertFormikError.tsx +8 -10
- package/lib/common/components/ui/formik/CertificatesUploadField.tsx +2 -1
- package/lib/common/components/ui/formik/CheckboxField.tsx +1 -0
- package/lib/common/components/ui/formik/CodeField.tsx +5 -2
- package/lib/common/components/ui/formik/InputField.tsx +23 -9
- package/lib/common/components/ui/formik/LabelField.css +8 -8
- package/lib/common/components/ui/formik/LabelField.tsx +3 -2
- package/lib/common/components/ui/formik/MultiSelectField.tsx +9 -7
- package/lib/common/components/ui/formik/NumberInputField.tsx +2 -1
- package/lib/common/components/ui/formik/PencilEditField.css +1 -1
- package/lib/common/components/ui/formik/PencilEditField.tsx +1 -1
- package/lib/common/components/ui/formik/PullSecretField.tsx +1 -0
- package/lib/common/components/ui/formik/RemovableField.css +6 -6
- package/lib/common/components/ui/formik/RemovableField.tsx +2 -3
- package/lib/common/components/ui/formik/RichInputField.css +2 -9
- package/lib/common/components/ui/formik/RichInputField.tsx +28 -14
- package/lib/common/components/ui/formik/SelectField.tsx +2 -1
- package/lib/common/components/ui/formik/SwitchField.tsx +2 -1
- package/lib/common/components/ui/formik/TextAreaField.tsx +9 -6
- package/lib/common/components/ui/formik/TextAreaSecretField.tsx +4 -1
- package/lib/common/components/ui/formik/UploadField.tsx +3 -1
- package/lib/common/components/ui/formik/_validationSchemas.test.ts +82 -0
- package/lib/common/components/ui/formik/types.ts +2 -2
- package/lib/common/components/ui/formik/validationSchemas.ts +147 -27
- package/lib/common/components/ui/uiState/EmptyState.tsx +3 -7
- package/lib/common/components/ui/uiState/ErrorState.tsx +8 -12
- package/lib/common/components/ui/uiState/LoadingState.tsx +1 -1
- package/lib/common/config/constants.ts +12 -0
- package/lib/common/config/docs_links.ts +24 -6
- package/lib/common/reducers/alertsSlice.ts +2 -1
- package/lib/ocm/components/AddHosts/InventoryAddHost.tsx +7 -9
- package/lib/ocm/components/AddHosts/day2Wizard/Day2StaticIP.tsx +8 -10
- package/lib/ocm/components/AddHosts/day2Wizard/Day2StaticIpHostConfigurations.tsx +3 -8
- package/lib/ocm/components/AddHosts/day2Wizard/Day2Wizard.tsx +4 -5
- package/lib/ocm/components/AddHosts/day2Wizard/Day2WizardFooter.tsx +1 -0
- package/lib/ocm/components/AddHosts/day2Wizard/Day2WizardNav.tsx +7 -2
- package/lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabMock.tsx +3 -6
- package/lib/ocm/components/HostsClusterDetailTab/utils.ts +30 -14
- package/lib/ocm/components/Routes.css +10 -0
- package/lib/ocm/components/Routes.tsx +4 -1
- package/lib/ocm/components/clusterConfiguration/ControlPlaneNodesDropdown.tsx +2 -1
- package/lib/ocm/components/clusterConfiguration/CpuArchitectureDropdown.tsx +3 -1
- package/lib/ocm/components/clusterConfiguration/CustomManifestCheckbox.tsx +3 -1
- package/lib/ocm/components/clusterConfiguration/DiscoveryImageModal.tsx +6 -3
- package/lib/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.tsx +3 -1
- package/lib/ocm/components/clusterConfiguration/HostInventory.tsx +19 -29
- package/lib/ocm/components/clusterConfiguration/HostsNetworkConfigurationControlGroup.tsx +2 -1
- package/lib/ocm/components/clusterConfiguration/OcmBaseDomainField.tsx +3 -2
- package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +17 -16
- package/lib/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.tsx +37 -26
- package/lib/ocm/components/clusterConfiguration/OcmOperatorProgressItem.tsx +2 -2
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.tsx +6 -6
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/DeleteCustomManifestModal.tsx +22 -15
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifest.tsx +2 -3
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/ExpandedManifest.tsx +1 -7
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.tsx +2 -1
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.tsx +15 -23
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.tsx +141 -37
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.tsx +3 -2
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx +6 -7
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.tsx +103 -11
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.tsx +109 -14
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.tsx +69 -15
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.ts +18 -7
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/reorderNetworks.ts +72 -0
- package/lib/ocm/components/clusterConfiguration/operators/OperatorCheckbox.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/operators/bundleSpecs.tsx +0 -3
- package/lib/ocm/components/clusterConfiguration/operators/utils.tsx +12 -7
- package/lib/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.tsx +47 -27
- package/lib/ocm/components/clusterConfiguration/review/ReviewCluster.css +5 -7
- package/lib/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.tsx +70 -15
- package/lib/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.tsx +24 -21
- package/lib/ocm/components/clusterConfiguration/review/ReviewSummary.tsx +4 -4
- package/lib/ocm/components/clusterConfiguration/review/TableSummaryExpandable.tsx +2 -2
- package/lib/ocm/components/clusterConfiguration/staticIp/components/CollapsedHost.tsx +2 -12
- package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/BondsConfirmationModal.tsx +8 -9
- package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.tsx +4 -5
- package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWideFields.tsx +9 -9
- package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.tsx +2 -3
- package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.tsx +15 -7
- package/lib/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlViewFields.tsx +8 -10
- package/lib/ocm/components/clusterConfiguration/staticIp/components/staticIp.css +9 -9
- package/lib/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.tsx +1 -1
- package/lib/ocm/components/clusterDetail/CancelInstallationModal.tsx +15 -19
- package/lib/ocm/components/clusterDetail/ClusterDetail.tsx +2 -12
- package/lib/ocm/components/clusterDetail/ClusterDetailStatusMessages.tsx +34 -26
- package/lib/ocm/components/clusterDetail/ClusterDetailStatusVarieties.tsx +17 -13
- package/lib/ocm/components/clusterDetail/ClusterDetailsButtonGroup.css +2 -2
- package/lib/ocm/components/clusterDetail/ClusterInstallationError.tsx +7 -16
- package/lib/ocm/components/clusterDetail/ClusterInstallationProgressCard.tsx +31 -23
- package/lib/ocm/components/clusterDetail/ClusterPollingErrorModal.tsx +15 -12
- package/lib/ocm/components/clusterDetail/ClusterProperties.test.ts +215 -0
- package/lib/ocm/components/clusterDetail/ClusterProperties.tsx +2 -4
- package/lib/ocm/components/clusterDetail/ClusterSummaryExpandable.css +1 -1
- package/lib/ocm/components/clusterDetail/ClusterSummaryExpandable.tsx +1 -1
- package/lib/ocm/components/clusterDetail/ClusterUpdateErrorModal.tsx +17 -12
- package/lib/ocm/components/clusterDetail/HostInventoryExpandable.css +1 -1
- package/lib/ocm/components/clusterDetail/HostInventoryExpandable.tsx +1 -1
- package/lib/ocm/components/clusterDetail/OpenShiftVersionDetail.tsx +6 -8
- package/lib/ocm/components/clusterDetail/ProgressBarAlerts.tsx +7 -9
- package/lib/ocm/components/clusterDetail/ResetClusterModal.tsx +18 -20
- package/lib/ocm/components/clusterWizard/ClusterDetails.tsx +30 -3
- package/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx +9 -10
- package/lib/ocm/components/clusterWizard/ClusterWizard.tsx +1 -1
- package/lib/ocm/components/clusterWizard/ClusterWizardContext.tsx +3 -0
- package/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx +6 -0
- package/lib/ocm/components/clusterWizard/ClusterWizardFooter.tsx +27 -5
- package/lib/ocm/components/clusterWizard/ClusterWizardNavigation.tsx +7 -2
- package/lib/ocm/components/clusterWizard/HostDiscovery.tsx +3 -0
- package/lib/ocm/components/clusterWizard/NewClusterWizard.tsx +4 -1
- package/lib/ocm/components/clusterWizard/OperatorsBundle.css +3 -3
- package/lib/ocm/components/clusterWizard/OperatorsBundle.tsx +8 -49
- package/lib/ocm/components/clusterWizard/OperatorsSelect.test.ts +163 -0
- package/lib/ocm/components/clusterWizard/OperatorsSelect.tsx +0 -1
- package/lib/ocm/components/clusterWizard/OperatorsStep.tsx +22 -2
- package/lib/ocm/components/clusterWizard/constants.ts +1 -0
- package/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx +64 -25
- package/lib/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.tsx +0 -1
- package/lib/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.tsx +201 -0
- package/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx +45 -17
- package/lib/ocm/components/clusterWizard/index.ts +1 -0
- package/lib/ocm/components/clusterWizard/wizardTransition.ts +5 -1
- package/lib/ocm/components/clusters/AssistedInstallerHeader.tsx +9 -9
- package/lib/ocm/components/clusters/ClusterBreadcrumbs.tsx +3 -8
- package/lib/ocm/components/clusters/ClusterLoading.tsx +2 -2
- package/lib/ocm/components/clusters/ClusterPage.tsx +9 -11
- package/lib/ocm/components/clusters/ClusterPageErrors.tsx +2 -2
- package/lib/ocm/components/clusters/ClusterStatus.tsx +1 -1
- package/lib/ocm/components/clusters/Clusters.tsx +7 -16
- package/lib/ocm/components/clusters/ClustersListToolbar.tsx +9 -7
- package/lib/ocm/components/clusters/DeleteClusterModal.tsx +16 -10
- package/lib/ocm/components/clusters/NewClusterPage.tsx +3 -3
- package/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx +40 -18
- package/lib/ocm/components/featureSupportLevels/featureStateUtils.ts +1 -3
- package/lib/ocm/components/hosts/DeleteHostModal.tsx +18 -8
- package/lib/ocm/components/hosts/HostRequirementsContent.tsx +4 -4
- package/lib/ocm/components/hosts/HostsDiscoveryTable.tsx +3 -2
- package/lib/ocm/components/hosts/ResetHostModal.tsx +16 -12
- package/lib/ocm/components/hosts/UpdateDay2ApiVipForm.tsx +6 -6
- package/lib/ocm/components/hosts/UpdateDay2ApiVipModal.tsx +2 -3
- package/lib/ocm/components/ui/InfoLinkWithModal.tsx +9 -11
- package/lib/ocm/hooks/index.ts +1 -0
- package/lib/ocm/hooks/useInfraEnvHosts.ts +60 -0
- package/lib/ocm/hooks/useInfraEnvId.ts +15 -2
- package/lib/ocm/hooks/useLateBinding.ts +71 -0
- package/lib/ocm/services/BundleService.ts +12 -2
- package/lib/ocm/services/ClustersService.ts +14 -2
- package/lib/ocm/services/HostsService.ts +9 -0
- package/lib/ocm/services/InfraEnvsService.ts +4 -1
- package/package.json +12 -12
- package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationForm.d.ts +0 -5
- package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationForm.d.ts.map +0 -1
- package/build/@types/cim/types/resources.d.ts +0 -45
- package/build/@types/cim/types/resources.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/UserManagedNetworkingTextContent.d.ts +0 -6
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/UserManagedNetworkingTextContent.d.ts.map +0 -1
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationForm.css +0 -23
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationForm.js +0 -85
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationForm.js.map +0 -1
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationModal.css +0 -3
- package/build/cjs/cim/types/resources.js +0 -10
- package/build/cjs/cim/types/resources.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/UserManagedNetworkingTextContent.js +0 -25
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/UserManagedNetworkingTextContent.js.map +0 -1
- package/lib/cim/components/modals/CimConfiguration/CimConfigurationForm.css +0 -23
- package/lib/cim/components/modals/CimConfiguration/CimConfigurationForm.tsx +0 -290
- package/lib/cim/components/modals/CimConfiguration/CimConfigurationModal.css +0 -3
- package/lib/cim/types/resources.ts +0 -50
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/UserManagedNetworkingTextContent.tsx +0 -30
- package/lib/ocm/hooks/_use-feature-detection.test.tsx +0 -115
package/lib/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.tsx
CHANGED
|
@@ -3,10 +3,9 @@ import {
|
|
|
3
3
|
Alert,
|
|
4
4
|
AlertVariant,
|
|
5
5
|
FormGroup,
|
|
6
|
-
|
|
6
|
+
GridItem,
|
|
7
7
|
TextInputTypes,
|
|
8
8
|
Grid,
|
|
9
|
-
Stack,
|
|
10
9
|
} from '@patternfly/react-core';
|
|
11
10
|
import { FieldArray, useFormikContext } from 'formik';
|
|
12
11
|
import {
|
|
@@ -17,10 +16,6 @@ import {
|
|
|
17
16
|
} from '../../../../common';
|
|
18
17
|
import { OcmInputField } from '../../ui/OcmFormFields';
|
|
19
18
|
|
|
20
|
-
const getNetworkLabelSuffix = (index: number, isDualStack: boolean) => {
|
|
21
|
-
return isDualStack ? ` (${index === 0 ? 'IPv4' : 'IPv6'})` : '';
|
|
22
|
-
};
|
|
23
|
-
|
|
24
19
|
const IPv4PrefixPopoverText =
|
|
25
20
|
'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
21
|
|
|
@@ -62,20 +57,19 @@ const AdvancedNetworkFields = () => {
|
|
|
62
57
|
);
|
|
63
58
|
|
|
64
59
|
return (
|
|
65
|
-
<Grid
|
|
60
|
+
<Grid className="pf-v6-u-ml-lg">
|
|
66
61
|
<FieldArray name="clusterNetworks">
|
|
67
62
|
{() => (
|
|
68
63
|
<FormGroup fieldId="clusterNetworks" labelInfo={isDualStack && 'Primary'}>
|
|
69
64
|
{values.clusterNetworks?.map((_, index) => {
|
|
70
|
-
const networkSuffix = getNetworkLabelSuffix(index, isDualStack);
|
|
71
65
|
return (
|
|
72
|
-
<
|
|
73
|
-
<
|
|
66
|
+
<Grid key={index} className="pf-v6-u-pb-md">
|
|
67
|
+
<GridItem className={'network-field-group'}>
|
|
74
68
|
<OcmInputField
|
|
75
69
|
name={`clusterNetworks.${index}.cidr`}
|
|
76
70
|
label={
|
|
77
71
|
<>
|
|
78
|
-
<span>
|
|
72
|
+
<span>Cluster network CIDR </span>
|
|
79
73
|
<PopoverIcon
|
|
80
74
|
bodyContent={'IP address blocks from which Pod IPs are allocated.'}
|
|
81
75
|
/>
|
|
@@ -83,15 +77,15 @@ const AdvancedNetworkFields = () => {
|
|
|
83
77
|
}
|
|
84
78
|
helperText={clusterCidrHelperText}
|
|
85
79
|
isRequired
|
|
86
|
-
labelInfo={index === 0
|
|
80
|
+
labelInfo={isDualStack ? (index === 0 ? 'Primary' : 'Secondary') : ''}
|
|
87
81
|
/>
|
|
88
|
-
</
|
|
89
|
-
<
|
|
82
|
+
</GridItem>
|
|
83
|
+
<GridItem className={'network-field-group'}>
|
|
90
84
|
<OcmInputField
|
|
91
85
|
name={`clusterNetworks.${index}.hostPrefix`}
|
|
92
86
|
label={
|
|
93
87
|
<>
|
|
94
|
-
<span>Cluster network host prefix
|
|
88
|
+
<span>Cluster network host prefix </span>
|
|
95
89
|
<PopoverIcon
|
|
96
90
|
bodyContent={clusterNetworkHostPrefixPopoverText(index)}
|
|
97
91
|
minWidth="30rem"
|
|
@@ -108,8 +102,8 @@ const AdvancedNetworkFields = () => {
|
|
|
108
102
|
helperText={ClusterPrefixHelperText}
|
|
109
103
|
isRequired
|
|
110
104
|
/>
|
|
111
|
-
</
|
|
112
|
-
</
|
|
105
|
+
</GridItem>
|
|
106
|
+
</Grid>
|
|
113
107
|
);
|
|
114
108
|
})}
|
|
115
109
|
</FormGroup>
|
|
@@ -124,14 +118,12 @@ const AdvancedNetworkFields = () => {
|
|
|
124
118
|
{() => (
|
|
125
119
|
<FormGroup fieldId="serviceNetworks" labelInfo={isDualStack && 'Primary'}>
|
|
126
120
|
{values.serviceNetworks?.map((_, index) => (
|
|
127
|
-
<
|
|
121
|
+
<GridItem key={index} className={'network-field-group'}>
|
|
128
122
|
<OcmInputField
|
|
129
123
|
name={`serviceNetworks.${index}.cidr`}
|
|
130
124
|
label={
|
|
131
125
|
<>
|
|
132
|
-
<span>
|
|
133
|
-
{`Service network CIDR${getNetworkLabelSuffix(index, isDualStack)} `}
|
|
134
|
-
</span>
|
|
126
|
+
<span>Service network CIDR </span>
|
|
135
127
|
<PopoverIcon
|
|
136
128
|
bodyContent={'The IP address pool used for service IP addresses.'}
|
|
137
129
|
/>
|
|
@@ -139,9 +131,9 @@ const AdvancedNetworkFields = () => {
|
|
|
139
131
|
}
|
|
140
132
|
helperText={serviceCidrHelperText}
|
|
141
133
|
isRequired
|
|
142
|
-
labelInfo={index === 0
|
|
134
|
+
labelInfo={isDualStack ? (index === 0 ? 'Primary' : 'Secondary') : ''}
|
|
143
135
|
/>
|
|
144
|
-
</
|
|
136
|
+
</GridItem>
|
|
145
137
|
))}
|
|
146
138
|
</FormGroup>
|
|
147
139
|
)}
|
package/lib/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.tsx
CHANGED
|
@@ -9,9 +9,11 @@ import {
|
|
|
9
9
|
NetworkConfigurationValues,
|
|
10
10
|
DUAL_STACK,
|
|
11
11
|
NO_SUBNET_SET,
|
|
12
|
+
isMajorMinorVersionEqualOrGreater,
|
|
12
13
|
} from '../../../../common';
|
|
13
14
|
import { selectCurrentClusterPermissionsState } from '../../../store/slices/current-cluster/selectors';
|
|
14
15
|
import { SubnetsDropdown } from './SubnetsDropdown';
|
|
16
|
+
import { reorderNetworksForPrimary } from './reorderNetworks';
|
|
15
17
|
import { Cluster, MachineNetwork } from '@openshift-assisted/types/assisted-installer-service';
|
|
16
18
|
|
|
17
19
|
const subnetSort = (subA: HostSubnet, subB: HostSubnet) =>
|
|
@@ -25,7 +27,7 @@ const useAutoSelectSingleAvailableSubnet = (
|
|
|
25
27
|
) => {
|
|
26
28
|
useEffect(() => {
|
|
27
29
|
if (autoSelectNetwork) {
|
|
28
|
-
setFieldValue('machineNetworks', [{ cidr, clusterId }],
|
|
30
|
+
setFieldValue('machineNetworks', [{ cidr, clusterId }], false);
|
|
29
31
|
}
|
|
30
32
|
}, [autoSelectNetwork, cidr, clusterId, setFieldValue]);
|
|
31
33
|
};
|
|
@@ -35,6 +37,7 @@ export interface AvailableSubnetsControlProps {
|
|
|
35
37
|
hostSubnets: HostSubnet[];
|
|
36
38
|
isRequired: boolean;
|
|
37
39
|
isDisabled: boolean;
|
|
40
|
+
openshiftVersion?: string;
|
|
38
41
|
}
|
|
39
42
|
|
|
40
43
|
export const AvailableSubnetsControl = ({
|
|
@@ -42,11 +45,16 @@ export const AvailableSubnetsControl = ({
|
|
|
42
45
|
hostSubnets,
|
|
43
46
|
isRequired = false,
|
|
44
47
|
isDisabled,
|
|
48
|
+
openshiftVersion,
|
|
45
49
|
}: AvailableSubnetsControlProps) => {
|
|
46
50
|
const { values, errors, setFieldValue } = useFormikContext<NetworkConfigurationValues>();
|
|
47
51
|
const isDualStack = values.stackType === DUAL_STACK;
|
|
48
52
|
const { isViewerMode } = useSelector(selectCurrentClusterPermissionsState);
|
|
49
53
|
|
|
54
|
+
// Check if OCP version supports IPv6 as primary network
|
|
55
|
+
const supportsIPv6Primary =
|
|
56
|
+
openshiftVersion && isMajorMinorVersionEqualOrGreater(openshiftVersion, '4.12');
|
|
57
|
+
|
|
50
58
|
const IPv4Subnets = hostSubnets
|
|
51
59
|
.filter((subnet) => Address4.isValid(subnet.subnet))
|
|
52
60
|
.sort(subnetSort);
|
|
@@ -54,51 +62,147 @@ export const AvailableSubnetsControl = ({
|
|
|
54
62
|
.filter((subnet) => Address6.isValid(subnet.subnet))
|
|
55
63
|
.sort(subnetSort);
|
|
56
64
|
|
|
65
|
+
// For OCP >= 4.12, both networks can use either IPv4 or IPv6
|
|
66
|
+
const allSubnets = supportsIPv6Primary
|
|
67
|
+
? [...IPv4Subnets, ...IPv6Subnets].sort(subnetSort)
|
|
68
|
+
: IPv4Subnets;
|
|
69
|
+
|
|
70
|
+
// For auto-selection, always use IPv4 subnets for single-stack
|
|
57
71
|
const cidr = IPv4Subnets.length >= 1 ? IPv4Subnets[0].subnet : NO_SUBNET_SET;
|
|
58
72
|
const hasEmptySelection = (values.machineNetworks ?? []).length === 0;
|
|
59
73
|
const autoSelectNetwork = !isViewerMode && hasEmptySelection;
|
|
60
74
|
useAutoSelectSingleAvailableSubnet(autoSelectNetwork, setFieldValue, cidr, clusterId);
|
|
61
75
|
|
|
76
|
+
// Ensure primary and secondary machine networks are not duplicated.
|
|
77
|
+
// If the user switches primary to the same CIDR as secondary, adjust secondary to the opposite family or clear it.
|
|
78
|
+
React.useEffect(() => {
|
|
79
|
+
if (!isDualStack) {
|
|
80
|
+
return;
|
|
81
|
+
}
|
|
82
|
+
if (!values.machineNetworks || values.machineNetworks.length < 2) {
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
const first = values.machineNetworks?.[0]?.cidr || '';
|
|
86
|
+
const second = values.machineNetworks?.[1]?.cidr || '';
|
|
87
|
+
if (!first || !second) {
|
|
88
|
+
return;
|
|
89
|
+
}
|
|
90
|
+
if (first === second) {
|
|
91
|
+
if (Address6.isValid(first)) {
|
|
92
|
+
const nextIPv4 = IPv4Subnets[0]?.subnet || NO_SUBNET_SET;
|
|
93
|
+
const replacement = nextIPv4 !== first ? nextIPv4 : NO_SUBNET_SET;
|
|
94
|
+
if (replacement !== second) {
|
|
95
|
+
setFieldValue('machineNetworks.1.cidr', replacement, false);
|
|
96
|
+
}
|
|
97
|
+
} else if (Address4.isValid(first)) {
|
|
98
|
+
const nextIPv6 = IPv6Subnets[0]?.subnet || NO_SUBNET_SET;
|
|
99
|
+
const replacement = nextIPv6 !== first ? nextIPv6 : NO_SUBNET_SET;
|
|
100
|
+
if (replacement !== second) {
|
|
101
|
+
setFieldValue('machineNetworks.1.cidr', replacement, false);
|
|
102
|
+
}
|
|
103
|
+
} else {
|
|
104
|
+
if (second !== NO_SUBNET_SET) {
|
|
105
|
+
setFieldValue('machineNetworks.1.cidr', NO_SUBNET_SET, false);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}, [isDualStack, values.machineNetworks, IPv4Subnets, IPv6Subnets, setFieldValue]);
|
|
110
|
+
|
|
62
111
|
return (
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
112
|
+
<>
|
|
113
|
+
<FormGroup
|
|
114
|
+
label="Machine network"
|
|
115
|
+
labelInfo={isDualStack && 'Primary'}
|
|
116
|
+
fieldId="machine-networks"
|
|
117
|
+
isRequired={isRequired}
|
|
118
|
+
>
|
|
119
|
+
<FieldArray name="machineNetworks">
|
|
120
|
+
{() => (
|
|
121
|
+
<Stack>
|
|
122
|
+
{isDualStack ? (
|
|
123
|
+
values.machineNetworks?.map((machineNetwork, index) => {
|
|
124
|
+
if (index > 0) return null;
|
|
125
|
+
|
|
126
|
+
const machineSubnets = supportsIPv6Primary ? allSubnets : IPv4Subnets;
|
|
127
|
+
|
|
128
|
+
return (
|
|
129
|
+
<StackItem key={index}>
|
|
130
|
+
<SubnetsDropdown
|
|
131
|
+
name={`machineNetworks.${index}.cidr`}
|
|
132
|
+
machineSubnets={machineSubnets}
|
|
133
|
+
isDisabled={isDisabled}
|
|
134
|
+
onAfterSelect={(newSelection) =>
|
|
135
|
+
reorderNetworksForPrimary(newSelection, values, setFieldValue)
|
|
136
|
+
}
|
|
137
|
+
data-testid={`subnets-dropdown-toggle-${index ? 'ipv6' : 'ipv4'}`}
|
|
138
|
+
/>
|
|
139
|
+
</StackItem>
|
|
140
|
+
);
|
|
141
|
+
})
|
|
142
|
+
) : (
|
|
143
|
+
<StackItem>
|
|
144
|
+
<SubnetsDropdown
|
|
145
|
+
name={`machineNetworks.0.cidr`}
|
|
146
|
+
machineSubnets={IPv4Subnets}
|
|
147
|
+
isDisabled={isDisabled}
|
|
148
|
+
onAfterSelect={(newSelection) =>
|
|
149
|
+
reorderNetworksForPrimary(newSelection, values, setFieldValue)
|
|
150
|
+
}
|
|
151
|
+
data-testid={'subnets-dropdown-toggle-primary'}
|
|
152
|
+
/>
|
|
153
|
+
</StackItem>
|
|
154
|
+
)}
|
|
155
|
+
</Stack>
|
|
156
|
+
)}
|
|
157
|
+
</FieldArray>
|
|
158
|
+
|
|
159
|
+
{typeof errors.machineNetworks === 'string' && (
|
|
160
|
+
<Alert variant={AlertVariant.warning} title={errors.machineNetworks} isInline />
|
|
161
|
+
)}
|
|
162
|
+
</FormGroup>
|
|
163
|
+
|
|
164
|
+
{isDualStack && values.machineNetworks && values.machineNetworks.length > 1 && (
|
|
165
|
+
<FormGroup
|
|
166
|
+
label="Machine network"
|
|
167
|
+
labelInfo="Secondary"
|
|
168
|
+
fieldId="machine-networks-secondary"
|
|
169
|
+
isRequired={isRequired}
|
|
170
|
+
>
|
|
171
|
+
<FieldArray name="machineNetworks">
|
|
172
|
+
{() => {
|
|
173
|
+
const index = 1;
|
|
174
|
+
let machineSubnets;
|
|
175
|
+
|
|
176
|
+
if (supportsIPv6Primary) {
|
|
177
|
+
// For OCP >= 4.12, smart filtering based on the other network's selection
|
|
178
|
+
const firstNetworkCidr = values.machineNetworks?.[0]?.cidr;
|
|
179
|
+
if (firstNetworkCidr && Address6.isValid(firstNetworkCidr)) {
|
|
180
|
+
// If first is IPv6, second should be IPv4
|
|
181
|
+
machineSubnets = IPv4Subnets;
|
|
182
|
+
} else if (firstNetworkCidr && Address4.isValid(firstNetworkCidr)) {
|
|
183
|
+
// If first is IPv4, second should be IPv6
|
|
184
|
+
machineSubnets = IPv6Subnets;
|
|
185
|
+
} else {
|
|
186
|
+
// If first is not selected yet, show all subnets
|
|
187
|
+
machineSubnets = allSubnets;
|
|
188
|
+
}
|
|
189
|
+
} else {
|
|
190
|
+
// For older versions, second network is IPv6
|
|
191
|
+
machineSubnets = IPv6Subnets;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
return (
|
|
88
195
|
<SubnetsDropdown
|
|
89
|
-
name={`machineNetworks.
|
|
90
|
-
machineSubnets={
|
|
196
|
+
name={`machineNetworks.${index}.cidr`}
|
|
197
|
+
machineSubnets={machineSubnets}
|
|
91
198
|
isDisabled={isDisabled}
|
|
199
|
+
data-testid={`subnets-dropdown-toggle-${index ? 'ipv6' : 'ipv4'}`}
|
|
92
200
|
/>
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
</
|
|
96
|
-
|
|
97
|
-
</FieldArray>
|
|
98
|
-
|
|
99
|
-
{typeof errors.machineNetworks === 'string' && (
|
|
100
|
-
<Alert variant={AlertVariant.warning} title={errors.machineNetworks} isInline />
|
|
201
|
+
);
|
|
202
|
+
}}
|
|
203
|
+
</FieldArray>
|
|
204
|
+
</FormGroup>
|
|
101
205
|
)}
|
|
102
|
-
|
|
206
|
+
</>
|
|
103
207
|
);
|
|
104
208
|
};
|
package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.tsx
CHANGED
|
@@ -224,10 +224,10 @@ const NetworkConfiguration = ({
|
|
|
224
224
|
);
|
|
225
225
|
|
|
226
226
|
React.useEffect(() => {
|
|
227
|
-
if (!isViewerMode && isDualStack
|
|
227
|
+
if (!isViewerMode && isDualStack) {
|
|
228
228
|
toggleAdvConfiguration(true);
|
|
229
229
|
}
|
|
230
|
-
}, [isDualStack,
|
|
230
|
+
}, [isDualStack, isViewerMode, toggleAdvConfiguration]);
|
|
231
231
|
|
|
232
232
|
const managedNetworkingState = React.useMemo(
|
|
233
233
|
() =>
|
|
@@ -292,6 +292,7 @@ const NetworkConfiguration = ({
|
|
|
292
292
|
hostSubnets.length === 0 ||
|
|
293
293
|
false
|
|
294
294
|
}
|
|
295
|
+
openshiftVersion={cluster.openshiftVersion}
|
|
295
296
|
/>
|
|
296
297
|
</StackItem>
|
|
297
298
|
)}
|
package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { useDispatch, useSelector } from 'react-redux';
|
|
3
3
|
import { Formik, FormikConfig, useFormikContext } from 'formik';
|
|
4
|
-
import { Form, Grid, GridItem,
|
|
4
|
+
import { Form, Grid, GridItem, Content } from '@patternfly/react-core';
|
|
5
5
|
import {
|
|
6
6
|
ClusterWizardStep,
|
|
7
7
|
ClusterWizardStepHeader,
|
|
@@ -92,7 +92,7 @@ const NetworkConfigurationForm: React.FC<{
|
|
|
92
92
|
JSON.stringify(
|
|
93
93
|
JSON.stringify({
|
|
94
94
|
featureSet: 'CustomNoUpgrade',
|
|
95
|
-
featureGates: ['
|
|
95
|
+
featureGates: ['NoRegistryClusterInstall=true'],
|
|
96
96
|
}),
|
|
97
97
|
),
|
|
98
98
|
);
|
|
@@ -153,9 +153,7 @@ const NetworkConfigurationForm: React.FC<{
|
|
|
153
153
|
</Grid>
|
|
154
154
|
</GridItem>
|
|
155
155
|
<GridItem>
|
|
156
|
-
<
|
|
157
|
-
<Text component="h2">Host inventory</Text>
|
|
158
|
-
</TextContent>
|
|
156
|
+
<Content component="h2">Host inventory</Content>
|
|
159
157
|
<NetworkConfigurationTable cluster={cluster} />
|
|
160
158
|
</GridItem>
|
|
161
159
|
</Grid>
|
|
@@ -202,8 +200,9 @@ const NetworkConfigurationPage = ({ cluster }: { cluster: Cluster }) => {
|
|
|
202
200
|
);
|
|
203
201
|
|
|
204
202
|
const memoizedValidationSchema = React.useMemo(
|
|
205
|
-
() =>
|
|
206
|
-
|
|
203
|
+
() =>
|
|
204
|
+
getNetworkConfigurationValidationSchema(initialValues, hostSubnets, cluster.openshiftVersion),
|
|
205
|
+
[hostSubnets, initialValues, cluster.openshiftVersion],
|
|
207
206
|
);
|
|
208
207
|
|
|
209
208
|
React.useEffect(() => {
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { useSelector } from 'react-redux';
|
|
3
3
|
import { ButtonVariant, FormGroup, Split, SplitItem, Tooltip } from '@patternfly/react-core';
|
|
4
4
|
import { useFormikContext } from 'formik';
|
|
5
|
-
import { Address6 } from 'ip-address';
|
|
5
|
+
import { Address4, Address6 } from 'ip-address';
|
|
6
6
|
|
|
7
7
|
import {
|
|
8
8
|
HostSubnets,
|
|
@@ -18,6 +18,7 @@ import { ConfirmationModal, PopoverIcon } from '../../../../common/components/ui
|
|
|
18
18
|
import { useDefaultConfiguration } from '../ClusterDefaultConfigurationContext';
|
|
19
19
|
import { selectCurrentClusterPermissionsState } from '../../../store/slices/current-cluster/selectors';
|
|
20
20
|
import { OcmRadioField } from '../../ui/OcmFormFields';
|
|
21
|
+
import { reorderNetworksByCurrentPrimary } from './reorderNetworks';
|
|
21
22
|
import {
|
|
22
23
|
Cluster,
|
|
23
24
|
ClusterNetwork,
|
|
@@ -68,23 +69,93 @@ export const StackTypeControlGroup = ({
|
|
|
68
69
|
const setSingleStack = React.useCallback(() => {
|
|
69
70
|
setFieldValue('stackType', IPV4_STACK);
|
|
70
71
|
|
|
72
|
+
// Determine whether the first machine network is IPv4
|
|
73
|
+
const firstNetwork = values.machineNetworks?.[0];
|
|
74
|
+
const isFirstIPv4 = Boolean(firstNetwork?.cidr && Address4.isValid(firstNetwork.cidr));
|
|
75
|
+
|
|
71
76
|
if (values.machineNetworks && values.machineNetworks?.length >= 2) {
|
|
72
|
-
|
|
77
|
+
// For single-stack IPv4, prefer IPv4 machine network
|
|
78
|
+
if (isFirstIPv4) {
|
|
79
|
+
// Keep the first network if it's IPv4
|
|
80
|
+
setFieldValue('machineNetworks', [firstNetwork]);
|
|
81
|
+
} else {
|
|
82
|
+
// If first is IPv6, look for IPv4 network or set empty for auto-selection
|
|
83
|
+
const ipv4Network = values.machineNetworks.find(
|
|
84
|
+
(network) => network.cidr && Address4.isValid(network.cidr),
|
|
85
|
+
);
|
|
86
|
+
if (ipv4Network) {
|
|
87
|
+
setFieldValue('machineNetworks', [ipv4Network]);
|
|
88
|
+
} else {
|
|
89
|
+
// No IPv4 network found, set empty for auto-selection
|
|
90
|
+
setFieldValue('machineNetworks', []);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
// Ensure single-stack inputs are IPv4 after switching from dual-stack
|
|
95
|
+
if (values.clusterNetworks && values.clusterNetworks.length >= 1) {
|
|
96
|
+
const defaultCluster =
|
|
97
|
+
defaultNetworkValues.clusterNetworksIpv4 && defaultNetworkValues.clusterNetworksIpv4[0];
|
|
98
|
+
const firstCluster = values.clusterNetworks[0];
|
|
99
|
+
const ipv4Cluster = defaultCluster
|
|
100
|
+
? {
|
|
101
|
+
cidr: defaultCluster.cidr,
|
|
102
|
+
hostPrefix: defaultCluster.hostPrefix,
|
|
103
|
+
clusterId: firstCluster.clusterId, // ← Preserve clusterId from original network
|
|
104
|
+
}
|
|
105
|
+
: {
|
|
106
|
+
cidr: '',
|
|
107
|
+
hostPrefix: '',
|
|
108
|
+
clusterId: clusterId, // ← Use current clusterId
|
|
109
|
+
};
|
|
110
|
+
setFieldValue('clusterNetworks', [ipv4Cluster]);
|
|
73
111
|
}
|
|
74
|
-
if (values.
|
|
75
|
-
|
|
112
|
+
if (values.serviceNetworks && values.serviceNetworks.length >= 1) {
|
|
113
|
+
const defaultService =
|
|
114
|
+
defaultNetworkValues.serviceNetworksIpv4 && defaultNetworkValues.serviceNetworksIpv4[0];
|
|
115
|
+
const firstService = values.serviceNetworks[0];
|
|
116
|
+
const ipv4Service = defaultService
|
|
117
|
+
? {
|
|
118
|
+
cidr: defaultService.cidr,
|
|
119
|
+
clusterId: firstService.clusterId, // ← Preserve clusterId from original network
|
|
120
|
+
}
|
|
121
|
+
: {
|
|
122
|
+
cidr: '',
|
|
123
|
+
clusterId: clusterId, // ← Use current clusterId
|
|
124
|
+
};
|
|
125
|
+
setFieldValue('serviceNetworks', [ipv4Service]);
|
|
76
126
|
}
|
|
77
|
-
|
|
78
|
-
|
|
127
|
+
|
|
128
|
+
// Keep only IPv4 VIPs when switching to single-stack (unless DHCP allocation is used)
|
|
129
|
+
if (!values.vipDhcpAllocation) {
|
|
130
|
+
const pruneVips = (
|
|
131
|
+
vips?: { ip?: string; clusterId?: Cluster['id'] }[],
|
|
132
|
+
): { ip: string; clusterId: Cluster['id'] }[] => {
|
|
133
|
+
if (!vips || vips.length === 0) return [];
|
|
134
|
+
// Choose which index to keep based on whether the first network is IPv4
|
|
135
|
+
const keepIndex = isFirstIPv4 ? 0 : 1;
|
|
136
|
+
const chosen = vips[keepIndex];
|
|
137
|
+
return chosen && chosen.ip
|
|
138
|
+
? [{ ip: chosen.ip, clusterId: chosen.clusterId || clusterId }]
|
|
139
|
+
: [];
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
setFieldValue('apiVips', pruneVips(values.apiVips));
|
|
143
|
+
setFieldValue('ingressVips', pruneVips(values.ingressVips));
|
|
79
144
|
}
|
|
80
145
|
|
|
81
146
|
void validateForm();
|
|
82
147
|
}, [
|
|
83
148
|
setFieldValue,
|
|
84
149
|
validateForm,
|
|
150
|
+
clusterId,
|
|
151
|
+
defaultNetworkValues.clusterNetworksIpv4,
|
|
152
|
+
defaultNetworkValues.serviceNetworksIpv4,
|
|
85
153
|
values.clusterNetworks,
|
|
86
154
|
values.machineNetworks,
|
|
87
155
|
values.serviceNetworks,
|
|
156
|
+
values.apiVips,
|
|
157
|
+
values.ingressVips,
|
|
158
|
+
values.vipDhcpAllocation,
|
|
88
159
|
]);
|
|
89
160
|
|
|
90
161
|
const setDualStack = () => {
|
|
@@ -96,11 +167,30 @@ export const StackTypeControlGroup = ({
|
|
|
96
167
|
}
|
|
97
168
|
|
|
98
169
|
if (values.machineNetworks && values.machineNetworks?.length < 2) {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
)
|
|
170
|
+
// Ensure IPv4 is primary when switching to dual-stack
|
|
171
|
+
const firstNetwork = values.machineNetworks[0];
|
|
172
|
+
const isFirstIPv6 = firstNetwork?.cidr && Address6.isValid(firstNetwork.cidr);
|
|
173
|
+
|
|
174
|
+
if (isFirstIPv6) {
|
|
175
|
+
// If first network is IPv6, make IPv4 primary and IPv6 secondary
|
|
176
|
+
const IPv4Subnets = hostSubnets.filter((subnet) => Address4.isValid(subnet.subnet));
|
|
177
|
+
const cidrIPv4 = IPv4Subnets.length >= 1 ? IPv4Subnets[0].subnet : NO_SUBNET_SET;
|
|
178
|
+
setFieldValue(
|
|
179
|
+
'machineNetworks',
|
|
180
|
+
[
|
|
181
|
+
{ cidr: cidrIPv4, clusterId: clusterId },
|
|
182
|
+
{ cidr: firstNetwork.cidr, clusterId: clusterId },
|
|
183
|
+
],
|
|
184
|
+
false,
|
|
185
|
+
);
|
|
186
|
+
} else {
|
|
187
|
+
// If first network is IPv4, add IPv6 as secondary
|
|
188
|
+
setFieldValue(
|
|
189
|
+
'machineNetworks',
|
|
190
|
+
[...values.machineNetworks, { cidr: cidrIPv6, clusterId: clusterId }],
|
|
191
|
+
false,
|
|
192
|
+
);
|
|
193
|
+
}
|
|
104
194
|
}
|
|
105
195
|
if (values.clusterNetworks && values.clusterNetworks?.length < 2) {
|
|
106
196
|
setFieldValue(
|
|
@@ -126,6 +216,8 @@ export const StackTypeControlGroup = ({
|
|
|
126
216
|
false,
|
|
127
217
|
);
|
|
128
218
|
}
|
|
219
|
+
// Ensure cluster/service networks ordering matches the new primary family
|
|
220
|
+
reorderNetworksByCurrentPrimary(values, setFieldValue);
|
|
129
221
|
};
|
|
130
222
|
|
|
131
223
|
const setStackType = (e: React.ChangeEvent<HTMLInputElement>) => {
|