@openshift-assisted/ui-lib 2.16.5-cim → 2.17.1-cim
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/@types/cim/components/Agent/AgentStatus.d.ts +1 -0
- package/build/@types/cim/components/Agent/AgentStatus.d.ts.map +1 -1
- package/build/@types/cim/components/Agent/AgentTable.d.ts.map +1 -1
- package/build/@types/cim/components/Agent/AgentsSelectionTable.d.ts.map +1 -1
- package/build/@types/cim/components/Agent/BMHEventsModal.d.ts +8 -0
- package/build/@types/cim/components/Agent/BMHEventsModal.d.ts.map +1 -0
- package/build/@types/cim/components/Agent/BMHStatus.d.ts +2 -0
- package/build/@types/cim/components/Agent/BMHStatus.d.ts.map +1 -1
- package/build/@types/cim/components/Agent/BMHStatusInfo.d.ts +8 -0
- package/build/@types/cim/components/Agent/BMHStatusInfo.d.ts.map +1 -0
- package/build/@types/cim/components/Agent/MinimalHWRequirements.d.ts.map +1 -1
- package/build/@types/cim/components/Agent/index.d.ts +2 -0
- package/build/@types/cim/components/Agent/index.d.ts.map +1 -1
- package/build/@types/cim/components/Agent/tableColumns.d.ts +29 -0
- package/build/@types/cim/components/Agent/tableColumns.d.ts.map +1 -0
- package/build/@types/cim/components/Agent/tableUtils.d.ts +2 -22
- package/build/@types/cim/components/Agent/tableUtils.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/NetworkConfiguration.d.ts +1 -1
- package/build/@types/cim/components/ClusterDeployment/NetworkConfiguration.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/ClusterDeploymentHostDiscoveryTable.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/networkConfigurationValidation.d.ts +1 -1
- package/build/@types/cim/components/ClusterDeployment/networkConfigurationValidation.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/networking/ClusterDeploymentHostsNetworkTable.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingForm.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/use-networking-formik.d.ts +9 -5
- package/build/@types/cim/components/ClusterDeployment/use-networking-formik.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/HostedClusterWizard/NetworkStep/AdvancedNetworkFields.d.ts.map +1 -0
- 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 +0 -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/helpers/agentStatus.d.ts.map +1 -1
- package/build/@types/cim/components/modals/AddBmcHostModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/AddBmcHostYamlForm.d.ts.map +1 -1
- package/build/@types/cim/components/modals/AddBmcHostYamlModal.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/EditBMHModal.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 +2 -0
- package/build/@types/cim/hooks/index.d.ts.map +1 -1
- package/build/@types/cim/hooks/types.d.ts +1 -1
- package/build/@types/cim/hooks/types.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/hooks/useEvents.d.ts +4 -0
- package/build/@types/cim/hooks/useEvents.d.ts.map +1 -0
- package/build/@types/cim/types/fromOCP/k8sTypes.d.ts +12 -0
- package/build/@types/cim/types/fromOCP/k8sTypes.d.ts.map +1 -1
- 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/k8s/agent-cluster-install.d.ts +4 -0
- package/build/@types/cim/types/k8s/agent-cluster-install.d.ts.map +1 -1
- package/build/@types/cim/types/k8s/bare-metal-host.d.ts +20 -0
- package/build/@types/cim/types/k8s/bare-metal-host.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 +3 -3
- 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/clusterWizard/networkingSteps/AdvancedNetworkFields.d.ts +7 -0
- package/build/@types/common/components/clusterWizard/networkingSteps/AdvancedNetworkFields.d.ts.map +1 -0
- package/build/@types/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.d.ts +10 -6
- package/build/@types/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.d.ts +13 -0
- package/build/@types/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.d.ts.map +1 -0
- package/build/@types/common/components/clusterWizard/networkingSteps/SubnetsDropdown.d.ts +12 -0
- package/build/@types/common/components/clusterWizard/networkingSteps/SubnetsDropdown.d.ts.map +1 -0
- package/build/@types/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.d.ts +4 -2
- package/build/@types/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/index.d.ts +7 -2
- package/build/@types/common/components/clusterWizard/networkingSteps/index.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/reorderNetworks.d.ts +5 -0
- package/build/@types/common/components/clusterWizard/networkingSteps/reorderNetworks.d.ts.map +1 -0
- 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/HostValidationGroups.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/index.d.ts +2 -0
- package/build/@types/common/components/hosts/index.d.ts.map +1 -1
- package/build/@types/common/components/hosts/status.d.ts.map +1 -1
- package/build/@types/common/components/hosts/tableColumns.d.ts +21 -0
- package/build/@types/common/components/hosts/tableColumns.d.ts.map +1 -0
- package/build/@types/common/components/hosts/tableUtils.d.ts +3 -21
- package/build/@types/common/components/hosts/tableUtils.d.ts.map +1 -1
- package/build/@types/common/components/hosts/types.d.ts +1 -0
- package/build/@types/common/components/hosts/types.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/EventsList.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 +13 -11
- 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 +3 -11
- 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 +4 -6
- package/build/@types/common/components/ui/formik/validationSchemas.d.ts.map +1 -1
- package/build/@types/common/components/ui/index.d.ts +1 -1
- package/build/@types/common/components/ui/index.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 +10 -1
- 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/common/types/clusters.d.ts +0 -1
- package/build/@types/common/types/clusters.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/NetworkConfiguration.d.ts +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/NetworkConfigurationTableBase.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/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/ClusterHostsTable.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/HostsStorageTable.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/hosts/use-hosts-table.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 +3 -3
- package/build/cjs/cim/components/Agent/AgentStatus.js.map +1 -1
- package/build/cjs/cim/components/Agent/AgentTable.js +10 -9
- package/build/cjs/cim/components/Agent/AgentTable.js.map +1 -1
- package/build/cjs/cim/components/Agent/AgentsSelectionTable.js +9 -8
- package/build/cjs/cim/components/Agent/AgentsSelectionTable.js.map +1 -1
- package/build/cjs/cim/components/Agent/BMCForm.js +6 -6
- package/build/cjs/cim/components/Agent/BMCForm.js.map +1 -1
- package/build/cjs/cim/components/Agent/BMHEventsModal.js +54 -0
- package/build/cjs/cim/components/Agent/BMHEventsModal.js.map +1 -0
- package/build/cjs/cim/components/Agent/BMHStatus.js +3 -2
- package/build/cjs/cim/components/Agent/BMHStatus.js.map +1 -1
- package/build/cjs/cim/components/Agent/BMHStatusInfo.js +59 -0
- package/build/cjs/cim/components/Agent/BMHStatusInfo.js.map +1 -0
- package/build/cjs/cim/components/Agent/MinimalHWRequirements.js +6 -4
- package/build/cjs/cim/components/Agent/MinimalHWRequirements.js.map +1 -1
- package/build/cjs/cim/components/Agent/index.js +2 -0
- package/build/cjs/cim/components/Agent/index.js.map +1 -1
- package/build/cjs/cim/components/Agent/tableColumns.js +184 -0
- package/build/cjs/cim/components/Agent/tableColumns.js.map +1 -0
- package/build/cjs/cim/components/Agent/tableUtils.js +4 -183
- package/build/cjs/cim/components/Agent/tableUtils.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsTable.js +10 -10
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsTable.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/LocationsSelector.js +2 -2
- package/build/cjs/cim/components/ClusterDeployment/LocationsSelector.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/NetworkConfiguration.js +28 -38
- package/build/cjs/cim/components/ClusterDeployment/NetworkConfiguration.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.js +1 -1
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.js.map +1 -1
- 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/ClusterDeploymentHostDiscoveryTable.js +13 -14
- package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostDiscoveryTable.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/ClusterDeploymentHostSelectionStep.js +13 -10
- package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.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/networkConfigurationValidation.js +19 -18
- package/build/cjs/cim/components/ClusterDeployment/networkConfigurationValidation.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentHostsNetworkTable.js +9 -10
- package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentHostsNetworkTable.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingForm.js +6 -8
- package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingForm.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingStep.js +12 -8
- package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.js +6 -4
- package/build/cjs/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js +16 -10
- 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/DetailsPage/NodePoolsTable.js +2 -2
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.js +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.css +2 -2
- package/build/cjs/{common/components/clusterConfiguration → cim/components/Hypershift/HostedClusterWizard/NetworkStep}/AdvancedNetworkFields.js +3 -3
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/NetworkStep/AdvancedNetworkFields.js.map +1 -0
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkForm.css +2 -2
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkForm.js +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkForm.js.map +1 -1
- 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/NodePoolForm.js +1 -1
- package/build/cjs/cim/components/Hypershift/modals/NodePoolForm.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 +11 -10
- package/build/cjs/cim/components/InfraEnv/EnvironmentDetails.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/EnvironmentErrors.js +2 -3
- package/build/cjs/cim/components/InfraEnv/EnvironmentErrors.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraEnvAgentTable.js +11 -11
- package/build/cjs/cim/components/InfraEnv/InfraEnvAgentTable.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 +13 -16
- package/build/cjs/cim/components/common/ResourceAlerts.js.map +1 -1
- package/build/cjs/cim/components/helpers/agentStatus.js +7 -2
- package/build/cjs/cim/components/helpers/agentStatus.js.map +1 -1
- package/build/cjs/cim/components/helpers/toAssisted.js +28 -26
- package/build/cjs/cim/components/helpers/toAssisted.js.map +1 -1
- package/build/cjs/cim/components/modals/AddBmcHostModal.js +6 -4
- 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 +3 -4
- package/build/cjs/cim/components/modals/AddBmcHostYamlForm.js.map +1 -1
- package/build/cjs/cim/components/modals/AddBmcHostYamlModal.js +6 -4
- package/build/cjs/cim/components/modals/AddBmcHostYamlModal.js.map +1 -1
- package/build/cjs/cim/components/modals/AddHostModal.js +18 -12
- 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 +73 -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 +3 -1
- 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 +5 -4
- 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 +4 -4
- 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 +2 -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/hooks/useEvents.js +12 -0
- package/build/cjs/cim/hooks/useEvents.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 +9 -9
- 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 +36 -34
- 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/ProxyFields.js +3 -3
- package/build/cjs/common/components/clusterConfiguration/ProxyFields.js.map +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 +26 -16
- 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/AdvancedNetworkFields.js +62 -0
- package/build/cjs/common/components/clusterWizard/networkingSteps/AdvancedNetworkFields.js.map +1 -0
- package/build/cjs/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.js +130 -46
- package/build/cjs/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.js +223 -0
- package/build/cjs/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.js.map +1 -0
- package/build/cjs/common/components/clusterWizard/networkingSteps/SubnetsDropdown.js +97 -0
- package/build/cjs/common/components/clusterWizard/networkingSteps/SubnetsDropdown.js.map +1 -0
- 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 +96 -38
- package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/index.js +13 -3
- package/build/cjs/common/components/clusterWizard/networkingSteps/index.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/reorderNetworks.js +60 -0
- package/build/cjs/common/components/clusterWizard/networkingSteps/reorderNetworks.js.map +1 -0
- 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 +20 -18
- 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 +6 -7
- 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 +13 -18
- 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/index.js +2 -0
- package/build/cjs/common/components/hosts/index.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/tableColumns.js +336 -0
- package/build/cjs/common/components/hosts/tableColumns.js.map +1 -0
- package/build/cjs/common/components/hosts/tableUtils.js +1 -332
- 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/EventsList.js +1 -1
- package/build/cjs/common/components/ui/EventsList.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 +31 -23
- 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.js +35 -27
- 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 +154 -62
- package/build/cjs/common/components/ui/formik/validationSchemas.js.map +1 -1
- package/build/cjs/common/components/ui/index.js +1 -2
- package/build/cjs/common/components/ui/index.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 +39 -4
- 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/common/types/clusters.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 +3 -3
- 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/NetworkConfiguration.js +8 -14
- 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/NetworkConfigurationTableBase.js +8 -9
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationTableBase.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.js +10 -20
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.js.map +1 -1
- 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 +10 -7
- 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 +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/ClusterHostsTable.js +7 -8
- package/build/cjs/ocm/components/hosts/ClusterHostsTable.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 +8 -10
- package/build/cjs/ocm/components/hosts/HostsDiscoveryTable.js.map +1 -1
- package/build/cjs/ocm/components/hosts/HostsStorageTable.js +5 -6
- package/build/cjs/ocm/components/hosts/HostsStorageTable.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/hosts/use-hosts-table.js +2 -3
- package/build/cjs/ocm/components/hosts/use-hosts-table.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 +4 -1
- package/lib/cim/components/Agent/AgentTable.tsx +3 -2
- package/lib/cim/components/Agent/AgentsSelectionTable.tsx +3 -12
- package/lib/cim/components/Agent/BMCForm.tsx +12 -12
- package/lib/cim/components/Agent/BMHEventsModal.tsx +87 -0
- package/lib/cim/components/Agent/BMHStatus.tsx +17 -17
- package/lib/cim/components/Agent/BMHStatusInfo.tsx +94 -0
- package/lib/cim/components/Agent/MinimalHWRequirements.tsx +17 -11
- package/lib/cim/components/Agent/index.ts +2 -0
- package/lib/cim/components/Agent/tableColumns.tsx +257 -0
- package/lib/cim/components/Agent/tableUtils.tsx +4 -254
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentDetailsTable.tsx +2 -2
- package/lib/cim/components/ClusterDeployment/LabelSelector.css +1 -1
- package/lib/cim/components/ClusterDeployment/LabelsSelector.tsx +3 -3
- package/lib/cim/components/ClusterDeployment/LocationsSelector.tsx +2 -2
- package/lib/cim/components/ClusterDeployment/NetworkConfiguration.tsx +61 -44
- package/lib/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.tsx +2 -2
- 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/ClusterDeploymentHostDiscoveryTable.tsx +3 -5
- package/lib/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostsDiscovery.tsx +21 -31
- package/lib/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.tsx +27 -28
- package/lib/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostsSelection.tsx +2 -2
- package/lib/cim/components/ClusterDeployment/networkConfigurationValidation.ts +30 -36
- package/lib/cim/components/ClusterDeployment/networking/ClusterDeploymentHostsNetworkTable.tsx +2 -7
- package/lib/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingForm.tsx +14 -19
- package/lib/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingStep.tsx +26 -26
- package/lib/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.tsx +20 -6
- package/lib/cim/components/ClusterDeployment/use-networking-formik.ts +34 -14
- 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/DetailsPage/NodePoolsTable.tsx +2 -2
- package/lib/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.tsx +1 -1
- package/lib/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.css +2 -2
- package/lib/{common/components/clusterConfiguration → cim/components/Hypershift/HostedClusterWizard/NetworkStep}/AdvancedNetworkFields.tsx +4 -4
- package/lib/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkForm.css +2 -2
- package/lib/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkForm.tsx +1 -1
- package/lib/cim/components/Hypershift/forms/NodePoolAgentsForm.tsx +2 -2
- package/lib/cim/components/Hypershift/modals/AddNodePoolModal.tsx +9 -14
- package/lib/cim/components/Hypershift/modals/ManageHostsModal.tsx +9 -14
- package/lib/cim/components/Hypershift/modals/NodePoolForm.tsx +1 -1
- package/lib/cim/components/Hypershift/modals/RemoveNodePoolModal.tsx +8 -9
- 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 +12 -16
- package/lib/cim/components/InfraEnv/EnvironmentErrors.tsx +2 -6
- package/lib/cim/components/InfraEnv/InfraEnvAgentTable.tsx +6 -6
- 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 +6 -1
- package/lib/cim/components/helpers/toAssisted.ts +15 -15
- package/lib/cim/components/modals/AddBmcHostModal.tsx +14 -13
- package/lib/cim/components/modals/AddBmcHostYamlForm.css +1 -1
- package/lib/cim/components/modals/AddBmcHostYamlForm.tsx +12 -14
- package/lib/cim/components/modals/AddBmcHostYamlModal.tsx +8 -7
- package/lib/cim/components/modals/AddHostModal.tsx +28 -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 +167 -192
- 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 +2 -3
- package/lib/cim/components/modals/EditNtpSourcesModal.tsx +8 -8
- package/lib/cim/components/modals/EditProxyModal.tsx +9 -8
- package/lib/cim/components/modals/EditPullSecretModal.tsx +8 -8
- package/lib/cim/components/modals/EditSSHKeyModal.tsx +10 -11
- package/lib/cim/components/modals/MassApproveAgentModal.tsx +9 -9
- package/lib/cim/components/modals/MassDeleteAgentModal.tsx +3 -3
- package/lib/cim/components/modals/ScaleUpModal.tsx +9 -9
- package/lib/cim/hooks/index.tsx +2 -0
- package/lib/cim/hooks/types.tsx +4 -1
- package/lib/cim/hooks/useAgentServiceConfig.tsx +15 -0
- package/lib/cim/hooks/useEvents.tsx +14 -0
- package/lib/cim/types/fromOCP/k8sTypes.ts +13 -0
- package/lib/cim/types/index.ts +0 -1
- package/lib/cim/types/k8s/agent-cluster-install.ts +4 -0
- package/lib/cim/types/k8s/bare-metal-host.ts +20 -0
- 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 +17 -17
- package/lib/common/components/clusterConfiguration/DiscoveryIpxeInstructions.tsx +12 -12
- package/lib/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.tsx +47 -49
- 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/ProxyFields.tsx +3 -3
- 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 +48 -21
- 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/AdvancedNetworkFields.tsx +165 -0
- package/lib/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.tsx +221 -53
- package/lib/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.tsx +350 -0
- package/lib/common/components/clusterWizard/networkingSteps/SubnetsDropdown.tsx +190 -0
- package/lib/common/components/clusterWizard/networkingSteps/UserManagedNetworkingTextContent.tsx +5 -5
- package/lib/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.tsx +199 -80
- package/lib/common/components/clusterWizard/networkingSteps/index.ts +10 -2
- package/lib/common/components/clusterWizard/networkingSteps/reorderNetworks.ts +73 -0
- 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 +37 -35
- package/lib/common/components/hosts/HostValidationGroups.css +2 -2
- package/lib/common/components/hosts/HostValidationGroups.tsx +7 -6
- 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 +57 -48
- 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/index.ts +2 -0
- package/lib/common/components/hosts/status.tsx +4 -5
- package/lib/common/components/hosts/tableColumns.tsx +411 -0
- package/lib/common/components/hosts/tableUtils.tsx +4 -407
- package/lib/common/components/hosts/types.ts +1 -0
- 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/EventsList.tsx +4 -2
- 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 +40 -28
- 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.tsx +78 -60
- 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 +171 -94
- package/lib/common/components/ui/index.ts +1 -1
- 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 +45 -2
- package/lib/common/config/docs_links.ts +24 -6
- package/lib/common/reducers/alertsSlice.ts +2 -1
- package/lib/common/types/clusters.ts +0 -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 +5 -4
- 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/NetworkConfiguration.tsx +15 -25
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx +6 -7
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationTableBase.tsx +3 -2
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.ts +20 -17
- 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 +20 -21
- 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 +2 -3
- 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/ClusterHostsTable.tsx +4 -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 +5 -6
- package/lib/ocm/components/hosts/HostsStorageTable.tsx +5 -7
- 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/hosts/use-hosts-table.tsx +2 -1
- 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/common/components/clusterConfiguration/AdvancedNetworkFields.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.d.ts +0 -4
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.d.ts +0 -11
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.d.ts +0 -11
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.d.ts +0 -10
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.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/@types/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.d.ts +0 -9
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.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/common/components/clusterConfiguration/AdvancedNetworkFields.js.map +0 -1
- package/build/cjs/common/components/ui/formik/LabelField.css +0 -43
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.js +0 -60
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.js +0 -49
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.js +0 -120
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.js +0 -59
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.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/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.js +0 -89
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.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/common/components/ui/formik/LabelField.css +0 -43
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.tsx +0 -157
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.tsx +0 -104
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.tsx +0 -222
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.tsx +0 -98
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/UserManagedNetworkingTextContent.tsx +0 -30
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.tsx +0 -229
- package/lib/ocm/hooks/_use-feature-detection.test.tsx +0 -115
- /package/build/@types/{common/components/clusterConfiguration → cim/components/Hypershift/HostedClusterWizard/NetworkStep}/AdvancedNetworkFields.d.ts +0 -0
|
@@ -0,0 +1,350 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ButtonVariant, FormGroup, Split, SplitItem, Tooltip } from '@patternfly/react-core';
|
|
3
|
+
import { useFormikContext } from 'formik';
|
|
4
|
+
import { Address4, Address6 } from 'ip-address';
|
|
5
|
+
|
|
6
|
+
import { HostSubnets, NetworkConfigurationValues } from '../../../types';
|
|
7
|
+
import { getFieldId } from '../../ui';
|
|
8
|
+
import {
|
|
9
|
+
DUAL_STACK,
|
|
10
|
+
IPV4_STACK,
|
|
11
|
+
NETWORK_TYPE_OVN,
|
|
12
|
+
NETWORK_TYPE_SDN,
|
|
13
|
+
NO_SUBNET_SET,
|
|
14
|
+
} from '../../../config';
|
|
15
|
+
import { RadioField } from '../../ui/formik';
|
|
16
|
+
import { ConfirmationModal, PopoverIcon } from '../../ui';
|
|
17
|
+
import { reorderNetworksByCurrentPrimary } from './reorderNetworks';
|
|
18
|
+
import {
|
|
19
|
+
Cluster,
|
|
20
|
+
ClusterDefaultConfig,
|
|
21
|
+
ClusterNetwork,
|
|
22
|
+
MachineNetwork,
|
|
23
|
+
ServiceNetwork,
|
|
24
|
+
} from '@openshift-assisted/types/assisted-installer-service';
|
|
25
|
+
|
|
26
|
+
export type StackTypeDefaultNetworkValues = Pick<
|
|
27
|
+
ClusterDefaultConfig,
|
|
28
|
+
| 'clusterNetworksDualstack'
|
|
29
|
+
| 'clusterNetworksIpv4'
|
|
30
|
+
| 'serviceNetworksDualstack'
|
|
31
|
+
| 'serviceNetworksIpv4'
|
|
32
|
+
>;
|
|
33
|
+
|
|
34
|
+
export type StackTypeControlGroupProps = {
|
|
35
|
+
clusterId: Cluster['id'];
|
|
36
|
+
isDualStackSelectable: boolean;
|
|
37
|
+
hostSubnets: HostSubnets;
|
|
38
|
+
defaultNetworkValues: StackTypeDefaultNetworkValues;
|
|
39
|
+
isViewerMode?: boolean;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
const hasDualStackConfigurationChanged = (
|
|
43
|
+
clusterNetworks: ClusterNetwork[],
|
|
44
|
+
serviceNetworks: ServiceNetwork[],
|
|
45
|
+
cidrIPv6: MachineNetwork['cidr'],
|
|
46
|
+
values: NetworkConfigurationValues,
|
|
47
|
+
) =>
|
|
48
|
+
clusterNetworks &&
|
|
49
|
+
serviceNetworks &&
|
|
50
|
+
((values.machineNetworks?.[1] && values.machineNetworks[1].cidr !== cidrIPv6) ||
|
|
51
|
+
(values.clusterNetworks?.[1] && values.clusterNetworks[1].cidr !== clusterNetworks[1]?.cidr) ||
|
|
52
|
+
(values.clusterNetworks?.[1] &&
|
|
53
|
+
values.clusterNetworks[1].hostPrefix !== clusterNetworks[1]?.hostPrefix) ||
|
|
54
|
+
(values.serviceNetworks?.[1] && values.serviceNetworks[1].cidr !== serviceNetworks[1]?.cidr) ||
|
|
55
|
+
values.apiVips?.[1]?.ip ||
|
|
56
|
+
values.ingressVips?.[1]?.ip);
|
|
57
|
+
|
|
58
|
+
export const StackTypeControlGroup = ({
|
|
59
|
+
clusterId,
|
|
60
|
+
isDualStackSelectable,
|
|
61
|
+
hostSubnets,
|
|
62
|
+
defaultNetworkValues,
|
|
63
|
+
isViewerMode = false,
|
|
64
|
+
}: StackTypeControlGroupProps) => {
|
|
65
|
+
const { setFieldValue, values, validateForm } = useFormikContext<NetworkConfigurationValues>();
|
|
66
|
+
const [openConfirmModal, setConfirmModal] = React.useState(false);
|
|
67
|
+
|
|
68
|
+
const IPv6Subnets = hostSubnets.filter((subnet) => Address6.isValid(subnet.subnet));
|
|
69
|
+
const cidrIPv6 = IPv6Subnets.length >= 1 ? IPv6Subnets[0].subnet : NO_SUBNET_SET;
|
|
70
|
+
const shouldSetSingleStack =
|
|
71
|
+
!isViewerMode && !isDualStackSelectable && values.stackType === DUAL_STACK;
|
|
72
|
+
|
|
73
|
+
const setSingleStack = React.useCallback(() => {
|
|
74
|
+
setFieldValue('stackType', IPV4_STACK);
|
|
75
|
+
|
|
76
|
+
// Determine whether the first machine network is IPv4
|
|
77
|
+
const firstNetwork = values.machineNetworks?.[0];
|
|
78
|
+
const isFirstIPv4 = Boolean(firstNetwork?.cidr && Address4.isValid(firstNetwork.cidr));
|
|
79
|
+
|
|
80
|
+
if (values.machineNetworks && values.machineNetworks?.length >= 2) {
|
|
81
|
+
// For single-stack IPv4, prefer IPv4 machine network
|
|
82
|
+
if (isFirstIPv4) {
|
|
83
|
+
// Keep the first network if it's IPv4
|
|
84
|
+
setFieldValue('machineNetworks', [firstNetwork]);
|
|
85
|
+
} else {
|
|
86
|
+
// If first is IPv6, look for IPv4 network or set empty for auto-selection
|
|
87
|
+
const ipv4Network = values.machineNetworks.find(
|
|
88
|
+
(network) => network.cidr && Address4.isValid(network.cidr),
|
|
89
|
+
);
|
|
90
|
+
if (ipv4Network) {
|
|
91
|
+
setFieldValue('machineNetworks', [ipv4Network]);
|
|
92
|
+
} else {
|
|
93
|
+
// No IPv4 network found, set empty for auto-selection
|
|
94
|
+
setFieldValue('machineNetworks', []);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
// Ensure single-stack inputs are IPv4 after switching from dual-stack
|
|
99
|
+
if (values.clusterNetworks && values.clusterNetworks.length >= 1) {
|
|
100
|
+
const defaultCluster =
|
|
101
|
+
defaultNetworkValues.clusterNetworksIpv4 && defaultNetworkValues.clusterNetworksIpv4[0];
|
|
102
|
+
const firstCluster = values.clusterNetworks[0];
|
|
103
|
+
const ipv4Cluster = defaultCluster
|
|
104
|
+
? {
|
|
105
|
+
cidr: defaultCluster.cidr,
|
|
106
|
+
hostPrefix: defaultCluster.hostPrefix,
|
|
107
|
+
clusterId: firstCluster.clusterId, // ← Preserve clusterId from original network
|
|
108
|
+
}
|
|
109
|
+
: {
|
|
110
|
+
cidr: '',
|
|
111
|
+
hostPrefix: '',
|
|
112
|
+
clusterId: clusterId, // ← Use current clusterId
|
|
113
|
+
};
|
|
114
|
+
setFieldValue('clusterNetworks', [ipv4Cluster]);
|
|
115
|
+
}
|
|
116
|
+
if (values.serviceNetworks && values.serviceNetworks.length >= 1) {
|
|
117
|
+
const defaultService =
|
|
118
|
+
defaultNetworkValues.serviceNetworksIpv4 && defaultNetworkValues.serviceNetworksIpv4[0];
|
|
119
|
+
const firstService = values.serviceNetworks[0];
|
|
120
|
+
const ipv4Service = defaultService
|
|
121
|
+
? {
|
|
122
|
+
cidr: defaultService.cidr,
|
|
123
|
+
clusterId: firstService.clusterId, // ← Preserve clusterId from original network
|
|
124
|
+
}
|
|
125
|
+
: {
|
|
126
|
+
cidr: '',
|
|
127
|
+
clusterId: clusterId, // ← Use current clusterId
|
|
128
|
+
};
|
|
129
|
+
setFieldValue('serviceNetworks', [ipv4Service]);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
// Keep only IPv4 VIPs when switching to single-stack (unless DHCP allocation is used)
|
|
133
|
+
if (!values.vipDhcpAllocation) {
|
|
134
|
+
const pruneVips = (
|
|
135
|
+
vips?: { ip?: string; clusterId?: Cluster['id'] }[],
|
|
136
|
+
): { ip: string; clusterId: Cluster['id'] }[] => {
|
|
137
|
+
if (!vips || vips.length === 0) return [];
|
|
138
|
+
// Choose which index to keep based on whether the first network is IPv4
|
|
139
|
+
const keepIndex = isFirstIPv4 ? 0 : 1;
|
|
140
|
+
const chosen = vips[keepIndex];
|
|
141
|
+
return chosen && chosen.ip
|
|
142
|
+
? [{ ip: chosen.ip, clusterId: chosen.clusterId || clusterId }]
|
|
143
|
+
: [];
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
setFieldValue('apiVips', pruneVips(values.apiVips));
|
|
147
|
+
setFieldValue('ingressVips', pruneVips(values.ingressVips));
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
void validateForm();
|
|
151
|
+
}, [
|
|
152
|
+
setFieldValue,
|
|
153
|
+
validateForm,
|
|
154
|
+
clusterId,
|
|
155
|
+
defaultNetworkValues.clusterNetworksIpv4,
|
|
156
|
+
defaultNetworkValues.serviceNetworksIpv4,
|
|
157
|
+
values.clusterNetworks,
|
|
158
|
+
values.machineNetworks,
|
|
159
|
+
values.serviceNetworks,
|
|
160
|
+
values.apiVips,
|
|
161
|
+
values.ingressVips,
|
|
162
|
+
values.vipDhcpAllocation,
|
|
163
|
+
]);
|
|
164
|
+
|
|
165
|
+
const setDualStack = () => {
|
|
166
|
+
setFieldValue('stackType', DUAL_STACK);
|
|
167
|
+
setFieldValue('vipDhcpAllocation', false);
|
|
168
|
+
|
|
169
|
+
if (values.networkType === NETWORK_TYPE_SDN) {
|
|
170
|
+
setFieldValue('networkType', NETWORK_TYPE_OVN);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
if (values.machineNetworks && values.machineNetworks?.length < 2) {
|
|
174
|
+
// Ensure IPv4 is primary when switching to dual-stack
|
|
175
|
+
const firstNetwork = values.machineNetworks[0];
|
|
176
|
+
const isFirstIPv6 = firstNetwork?.cidr && Address6.isValid(firstNetwork.cidr);
|
|
177
|
+
|
|
178
|
+
if (isFirstIPv6) {
|
|
179
|
+
// If first network is IPv6, make IPv4 primary and IPv6 secondary
|
|
180
|
+
const IPv4Subnets = hostSubnets.filter((subnet) => Address4.isValid(subnet.subnet));
|
|
181
|
+
const cidrIPv4 = IPv4Subnets.length >= 1 ? IPv4Subnets[0].subnet : NO_SUBNET_SET;
|
|
182
|
+
setFieldValue(
|
|
183
|
+
'machineNetworks',
|
|
184
|
+
[
|
|
185
|
+
{ cidr: cidrIPv4, clusterId: clusterId },
|
|
186
|
+
{ cidr: firstNetwork.cidr, clusterId: clusterId },
|
|
187
|
+
],
|
|
188
|
+
false,
|
|
189
|
+
);
|
|
190
|
+
} else {
|
|
191
|
+
// If first network is IPv4, add IPv6 as secondary
|
|
192
|
+
setFieldValue(
|
|
193
|
+
'machineNetworks',
|
|
194
|
+
[...values.machineNetworks, { cidr: cidrIPv6, clusterId: clusterId }],
|
|
195
|
+
false,
|
|
196
|
+
);
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
if (values.clusterNetworks && values.clusterNetworks?.length < 2) {
|
|
200
|
+
setFieldValue(
|
|
201
|
+
'clusterNetworks',
|
|
202
|
+
[
|
|
203
|
+
...values.clusterNetworks,
|
|
204
|
+
defaultNetworkValues.clusterNetworksDualstack?.length
|
|
205
|
+
? defaultNetworkValues.clusterNetworksDualstack[1]
|
|
206
|
+
: { cidr: '', hostPrefix: '', clusterId: clusterId },
|
|
207
|
+
],
|
|
208
|
+
false,
|
|
209
|
+
);
|
|
210
|
+
}
|
|
211
|
+
if (values.serviceNetworks && values.serviceNetworks?.length < 2) {
|
|
212
|
+
setFieldValue(
|
|
213
|
+
'serviceNetworks',
|
|
214
|
+
[
|
|
215
|
+
...values.serviceNetworks,
|
|
216
|
+
defaultNetworkValues.serviceNetworksDualstack?.length
|
|
217
|
+
? defaultNetworkValues.serviceNetworksDualstack[1]
|
|
218
|
+
: { cidr: '', clusterId: clusterId },
|
|
219
|
+
],
|
|
220
|
+
false,
|
|
221
|
+
);
|
|
222
|
+
}
|
|
223
|
+
// Initialize VIPs for dual-stack
|
|
224
|
+
if (values.apiVips && values.apiVips.length < 2) {
|
|
225
|
+
setFieldValue(
|
|
226
|
+
'apiVips',
|
|
227
|
+
[values.apiVips[0] || { ip: '', clusterId: clusterId }, { ip: '', clusterId: clusterId }],
|
|
228
|
+
false,
|
|
229
|
+
);
|
|
230
|
+
}
|
|
231
|
+
if (values.ingressVips && values.ingressVips.length < 2) {
|
|
232
|
+
setFieldValue(
|
|
233
|
+
'ingressVips',
|
|
234
|
+
[
|
|
235
|
+
values.ingressVips[0] || { ip: '', clusterId: clusterId },
|
|
236
|
+
{ ip: '', clusterId: clusterId },
|
|
237
|
+
],
|
|
238
|
+
false,
|
|
239
|
+
);
|
|
240
|
+
}
|
|
241
|
+
};
|
|
242
|
+
// Ensure cluster/service networks ordering matches the new primary family
|
|
243
|
+
const primaryCidr = values.machineNetworks?.[0]?.cidr;
|
|
244
|
+
React.useEffect(() => {
|
|
245
|
+
if (isViewerMode) {
|
|
246
|
+
return;
|
|
247
|
+
}
|
|
248
|
+
reorderNetworksByCurrentPrimary(values, setFieldValue);
|
|
249
|
+
}, [
|
|
250
|
+
isViewerMode,
|
|
251
|
+
setFieldValue,
|
|
252
|
+
values,
|
|
253
|
+
values.stackType,
|
|
254
|
+
primaryCidr,
|
|
255
|
+
values.clusterNetworks,
|
|
256
|
+
values.serviceNetworks,
|
|
257
|
+
]);
|
|
258
|
+
|
|
259
|
+
const setStackType = (e: React.ChangeEvent<HTMLInputElement>) => {
|
|
260
|
+
if (e.target.value === DUAL_STACK) {
|
|
261
|
+
setDualStack();
|
|
262
|
+
} else if (
|
|
263
|
+
hasDualStackConfigurationChanged(
|
|
264
|
+
defaultNetworkValues.clusterNetworksDualstack || [],
|
|
265
|
+
defaultNetworkValues.serviceNetworksDualstack || [],
|
|
266
|
+
cidrIPv6,
|
|
267
|
+
values,
|
|
268
|
+
)
|
|
269
|
+
) {
|
|
270
|
+
setConfirmModal(true);
|
|
271
|
+
} else {
|
|
272
|
+
setSingleStack();
|
|
273
|
+
}
|
|
274
|
+
};
|
|
275
|
+
|
|
276
|
+
React.useEffect(() => {
|
|
277
|
+
if (shouldSetSingleStack) {
|
|
278
|
+
setSingleStack();
|
|
279
|
+
}
|
|
280
|
+
}, [shouldSetSingleStack, setSingleStack]);
|
|
281
|
+
|
|
282
|
+
return (
|
|
283
|
+
<>
|
|
284
|
+
<FormGroup
|
|
285
|
+
label="Networking stack type"
|
|
286
|
+
fieldId={getFieldId('stackType', 'radio')}
|
|
287
|
+
onChange={setStackType}
|
|
288
|
+
isInline
|
|
289
|
+
>
|
|
290
|
+
<Split>
|
|
291
|
+
<SplitItem>
|
|
292
|
+
<RadioField
|
|
293
|
+
name={'stackType'}
|
|
294
|
+
value={IPV4_STACK}
|
|
295
|
+
isDisabled={!isDualStackSelectable || isViewerMode}
|
|
296
|
+
label="IPv4 "
|
|
297
|
+
/>
|
|
298
|
+
</SplitItem>
|
|
299
|
+
<SplitItem>
|
|
300
|
+
<PopoverIcon
|
|
301
|
+
bodyContent="Select this when your hosts are using only IPv4."
|
|
302
|
+
buttonStyle={{ top: '-4px' }}
|
|
303
|
+
/>
|
|
304
|
+
</SplitItem>
|
|
305
|
+
</Split>
|
|
306
|
+
<Split>
|
|
307
|
+
<SplitItem>
|
|
308
|
+
<Tooltip
|
|
309
|
+
content={
|
|
310
|
+
'Dual-stack is only available when your hosts are using IPV4 together with IPV6.'
|
|
311
|
+
}
|
|
312
|
+
hidden={isDualStackSelectable}
|
|
313
|
+
>
|
|
314
|
+
<RadioField
|
|
315
|
+
name={'stackType'}
|
|
316
|
+
value={DUAL_STACK}
|
|
317
|
+
isDisabled={!isDualStackSelectable || isViewerMode}
|
|
318
|
+
label="Dual-stack "
|
|
319
|
+
/>
|
|
320
|
+
</Tooltip>
|
|
321
|
+
</SplitItem>
|
|
322
|
+
<SplitItem>
|
|
323
|
+
<PopoverIcon
|
|
324
|
+
bodyContent="Select dual-stack when your hosts are using IPV4 together with IPV6."
|
|
325
|
+
buttonStyle={{ top: '-4px' }}
|
|
326
|
+
/>
|
|
327
|
+
</SplitItem>
|
|
328
|
+
</Split>
|
|
329
|
+
</FormGroup>
|
|
330
|
+
|
|
331
|
+
{openConfirmModal && (
|
|
332
|
+
<ConfirmationModal
|
|
333
|
+
title={'Change stack type?'}
|
|
334
|
+
titleIconVariant={'warning'}
|
|
335
|
+
confirmationButtonText={'Change'}
|
|
336
|
+
confirmationButtonVariant={ButtonVariant.primary}
|
|
337
|
+
content={<p>All data and configuration done for 'Dual-stack' will be lost.</p>}
|
|
338
|
+
onClose={() => {
|
|
339
|
+
setConfirmModal(false);
|
|
340
|
+
setDualStack();
|
|
341
|
+
}}
|
|
342
|
+
onConfirm={() => {
|
|
343
|
+
setConfirmModal(false);
|
|
344
|
+
setSingleStack();
|
|
345
|
+
}}
|
|
346
|
+
/>
|
|
347
|
+
)}
|
|
348
|
+
</>
|
|
349
|
+
);
|
|
350
|
+
};
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import {
|
|
3
|
+
Dropdown,
|
|
4
|
+
DropdownItem,
|
|
5
|
+
DropdownGroup,
|
|
6
|
+
MenuToggle,
|
|
7
|
+
MenuToggleElement,
|
|
8
|
+
MenuToggleProps,
|
|
9
|
+
Divider,
|
|
10
|
+
} from '@patternfly/react-core';
|
|
11
|
+
import { useField } from 'formik';
|
|
12
|
+
import { Address4, Address6 } from 'ip-address';
|
|
13
|
+
import { getFieldId } from '../../ui';
|
|
14
|
+
import { HostSubnet } from '../../../types';
|
|
15
|
+
import { NO_SUBNET_SET } from '../../../config';
|
|
16
|
+
import { TechnologyPreview, PreviewBadgePosition } from '../../ui';
|
|
17
|
+
|
|
18
|
+
type SubnetsDropdownProps = {
|
|
19
|
+
name: string;
|
|
20
|
+
machineSubnets: HostSubnet[];
|
|
21
|
+
isDisabled: boolean;
|
|
22
|
+
onAfterSelect?: (selectedValue: string) => void;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
const toFormSelectOptions = (subnets: HostSubnet[]) => {
|
|
26
|
+
return subnets.map((hn, index) => ({
|
|
27
|
+
label: `${hn.humanized}${hn.isValid ? '' : ' (Invalid network)'}`,
|
|
28
|
+
value: hn.subnet,
|
|
29
|
+
isDisabled: false,
|
|
30
|
+
id: `form-input-hostSubnet-field-option-${index}`,
|
|
31
|
+
}));
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
const makeNoSubnetSelectedOption = (availableSubnets: number) => ({
|
|
35
|
+
label: `Please select a subnet. (${availableSubnets} available)`,
|
|
36
|
+
value: NO_SUBNET_SET,
|
|
37
|
+
isDisabled: true,
|
|
38
|
+
id: 'form-input-hostSubnet-field-option-no-subnet-selected',
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
const noSubnetAvailableOption = {
|
|
42
|
+
label: 'No subnets are currently available',
|
|
43
|
+
value: NO_SUBNET_SET,
|
|
44
|
+
isDisabled: true,
|
|
45
|
+
id: 'form-input-hostSubnet-field-option-no-subnet-available',
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
export const SubnetsDropdown = ({
|
|
49
|
+
name,
|
|
50
|
+
machineSubnets,
|
|
51
|
+
isDisabled,
|
|
52
|
+
onAfterSelect,
|
|
53
|
+
...props
|
|
54
|
+
}: SubnetsDropdownProps & MenuToggleProps) => {
|
|
55
|
+
const [field, , { setValue }] = useField(name);
|
|
56
|
+
const [isOpen, setOpen] = React.useState(false);
|
|
57
|
+
const fieldId = getFieldId(name, 'input');
|
|
58
|
+
|
|
59
|
+
const { itemsSubnets, ipv4Subnets, ipv6Subnets, currentDisplayValue } = React.useMemo(() => {
|
|
60
|
+
const itemsSubnets =
|
|
61
|
+
machineSubnets.length === 0
|
|
62
|
+
? [noSubnetAvailableOption]
|
|
63
|
+
: [makeNoSubnetSelectedOption(machineSubnets.length)].concat(
|
|
64
|
+
toFormSelectOptions(machineSubnets),
|
|
65
|
+
);
|
|
66
|
+
|
|
67
|
+
// Separate IPv4 and IPv6 subnets
|
|
68
|
+
const ipv4Subnets = machineSubnets.filter((subnet) => Address4.isValid(subnet.subnet));
|
|
69
|
+
const ipv6Subnets = machineSubnets.filter((subnet) => Address6.isValid(subnet.subnet));
|
|
70
|
+
|
|
71
|
+
let currentDisplayValue =
|
|
72
|
+
itemsSubnets.length > 1 ? itemsSubnets[1].label : itemsSubnets[0].label; // The placeholder is the fallback in some cases
|
|
73
|
+
if (field.value) {
|
|
74
|
+
const subnetItem = itemsSubnets.find((item) => item.value === field.value);
|
|
75
|
+
if (subnetItem) {
|
|
76
|
+
currentDisplayValue = subnetItem.label;
|
|
77
|
+
}
|
|
78
|
+
} else if (machineSubnets.length === 1) {
|
|
79
|
+
// When there is only one subnet, it's selected by default. We skip the placeholder at index 0.
|
|
80
|
+
currentDisplayValue = itemsSubnets[1].label;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
return { itemsSubnets, ipv4Subnets, ipv6Subnets, currentDisplayValue: currentDisplayValue };
|
|
84
|
+
}, [machineSubnets, field.value]);
|
|
85
|
+
|
|
86
|
+
const dropdownItems = React.useMemo(() => {
|
|
87
|
+
if (machineSubnets.length === 0) {
|
|
88
|
+
return [
|
|
89
|
+
<DropdownItem
|
|
90
|
+
key={noSubnetAvailableOption.value}
|
|
91
|
+
id={noSubnetAvailableOption.value}
|
|
92
|
+
isDisabled={noSubnetAvailableOption.isDisabled}
|
|
93
|
+
value={noSubnetAvailableOption.value}
|
|
94
|
+
>
|
|
95
|
+
{noSubnetAvailableOption.label}
|
|
96
|
+
</DropdownItem>,
|
|
97
|
+
];
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
const hasIpv4 = ipv4Subnets.length > 0;
|
|
101
|
+
const hasIpv6 = ipv6Subnets.length > 0;
|
|
102
|
+
|
|
103
|
+
// If we have both IPv4 and IPv6, group them
|
|
104
|
+
if (hasIpv4 && hasIpv6) {
|
|
105
|
+
const ipv4Items = toFormSelectOptions(ipv4Subnets).map(({ value, label, isDisabled }) => (
|
|
106
|
+
<DropdownItem key={value} id={value} isDisabled={isDisabled} value={value}>
|
|
107
|
+
{label}
|
|
108
|
+
</DropdownItem>
|
|
109
|
+
));
|
|
110
|
+
ipv4Items.push(<Divider key="ipv4-divider" />);
|
|
111
|
+
const ipv6Items = toFormSelectOptions(ipv6Subnets).map(({ value, label, isDisabled }) => (
|
|
112
|
+
<DropdownItem key={value} id={value} isDisabled={isDisabled} value={value}>
|
|
113
|
+
{label}
|
|
114
|
+
</DropdownItem>
|
|
115
|
+
));
|
|
116
|
+
|
|
117
|
+
return [
|
|
118
|
+
<DropdownItem
|
|
119
|
+
key={makeNoSubnetSelectedOption(machineSubnets.length).value}
|
|
120
|
+
id={makeNoSubnetSelectedOption(machineSubnets.length).value}
|
|
121
|
+
isDisabled={makeNoSubnetSelectedOption(machineSubnets.length).isDisabled}
|
|
122
|
+
value={makeNoSubnetSelectedOption(machineSubnets.length).value}
|
|
123
|
+
>
|
|
124
|
+
{makeNoSubnetSelectedOption(machineSubnets.length).label}
|
|
125
|
+
</DropdownItem>,
|
|
126
|
+
<DropdownGroup label="IPv4" key="ipv4-group">
|
|
127
|
+
{ipv4Items}
|
|
128
|
+
</DropdownGroup>,
|
|
129
|
+
<DropdownGroup label="IPv6 (Technology Preview)" key="ipv6-group">
|
|
130
|
+
{ipv6Items}
|
|
131
|
+
</DropdownGroup>,
|
|
132
|
+
];
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
// If only one type, don't group
|
|
136
|
+
return itemsSubnets.map(({ value, label, isDisabled }) => (
|
|
137
|
+
<DropdownItem key={value} id={value} isDisabled={isDisabled} value={value}>
|
|
138
|
+
{label}
|
|
139
|
+
</DropdownItem>
|
|
140
|
+
));
|
|
141
|
+
}, [machineSubnets, ipv4Subnets, ipv6Subnets, itemsSubnets]);
|
|
142
|
+
|
|
143
|
+
const onSelect = (event?: React.MouseEvent<Element, MouseEvent>): void => {
|
|
144
|
+
const nextValue = event?.currentTarget.id;
|
|
145
|
+
setValue(nextValue);
|
|
146
|
+
setOpen(false);
|
|
147
|
+
if (onAfterSelect && nextValue) {
|
|
148
|
+
onAfterSelect(nextValue);
|
|
149
|
+
}
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
const currentItem = itemsSubnets.find((i) => i.label === currentDisplayValue);
|
|
153
|
+
const isPrimaryMachineNetwork = name === 'machineNetworks.0.cidr';
|
|
154
|
+
const showBadge = Boolean(
|
|
155
|
+
isPrimaryMachineNetwork && currentItem && Address6.isValid(currentItem.value),
|
|
156
|
+
);
|
|
157
|
+
|
|
158
|
+
const toggle = (toggleRef: React.Ref<MenuToggleElement>) => (
|
|
159
|
+
<MenuToggle
|
|
160
|
+
ref={toggleRef}
|
|
161
|
+
onClick={() => setOpen(!isOpen)}
|
|
162
|
+
isExpanded={isOpen}
|
|
163
|
+
isDisabled={isDisabled}
|
|
164
|
+
id={fieldId}
|
|
165
|
+
className="pf-v6-u-w-100"
|
|
166
|
+
style={{ minWidth: '100%' }}
|
|
167
|
+
{...props}
|
|
168
|
+
>
|
|
169
|
+
{currentDisplayValue}
|
|
170
|
+
{showBadge && (
|
|
171
|
+
<span onClick={(e) => e.stopPropagation()}>
|
|
172
|
+
<TechnologyPreview position={PreviewBadgePosition.inlineRight} />
|
|
173
|
+
</span>
|
|
174
|
+
)}
|
|
175
|
+
</MenuToggle>
|
|
176
|
+
);
|
|
177
|
+
|
|
178
|
+
return (
|
|
179
|
+
<Dropdown
|
|
180
|
+
{...field}
|
|
181
|
+
id={`${fieldId}-dropdown`}
|
|
182
|
+
onOpenChange={(isOpen: boolean) => setOpen(isOpen)}
|
|
183
|
+
onSelect={onSelect}
|
|
184
|
+
toggle={toggle}
|
|
185
|
+
isOpen={isOpen}
|
|
186
|
+
>
|
|
187
|
+
{dropdownItems}
|
|
188
|
+
</Dropdown>
|
|
189
|
+
);
|
|
190
|
+
};
|
package/lib/common/components/clusterWizard/networkingSteps/UserManagedNetworkingTextContent.tsx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { List, ListItem,
|
|
2
|
+
import { List, ListItem, Content } from '@patternfly/react-core';
|
|
3
3
|
import { RenderIf, ExternalLink } from '../../ui';
|
|
4
4
|
import { getOpenShiftNetworkingDocsLink } from '../../../config';
|
|
5
5
|
import { useTranslation } from '../../../hooks/use-translation-wrapper';
|
|
@@ -16,8 +16,8 @@ export const UserManagedNetworkingTextContent = ({
|
|
|
16
16
|
}: UserManagedNetworkingTextContentProps) => {
|
|
17
17
|
const { t } = useTranslation();
|
|
18
18
|
return (
|
|
19
|
-
|
|
20
|
-
<
|
|
19
|
+
<>
|
|
20
|
+
<Content component={'p'}>
|
|
21
21
|
<Trans t={t}>
|
|
22
22
|
ai:Please refer to the{' '}
|
|
23
23
|
<ExternalLink href={getOpenShiftNetworkingDocsLink(docVersion)}>
|
|
@@ -25,7 +25,7 @@ export const UserManagedNetworkingTextContent = ({
|
|
|
25
25
|
</ExternalLink>{' '}
|
|
26
26
|
to configure your cluster's networking, including:
|
|
27
27
|
</Trans>
|
|
28
|
-
</
|
|
28
|
+
</Content>
|
|
29
29
|
<List>
|
|
30
30
|
<ListItem>{t('ai:DHCP or static IP Addresses')}</ListItem>
|
|
31
31
|
<RenderIf condition={shouldDisplayLoadBalancersBullet}>
|
|
@@ -34,6 +34,6 @@ export const UserManagedNetworkingTextContent = ({
|
|
|
34
34
|
<ListItem>{t('ai:Network ports')}</ListItem>
|
|
35
35
|
<ListItem>{t('ai:DNS')}</ListItem>
|
|
36
36
|
</List>
|
|
37
|
-
|
|
37
|
+
</>
|
|
38
38
|
);
|
|
39
39
|
};
|