@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
package/lib/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.tsx
DELETED
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
Alert,
|
|
4
|
-
AlertVariant,
|
|
5
|
-
FormGroup,
|
|
6
|
-
StackItem,
|
|
7
|
-
TextInputTypes,
|
|
8
|
-
Grid,
|
|
9
|
-
Stack,
|
|
10
|
-
} from '@patternfly/react-core';
|
|
11
|
-
import { FieldArray, useFormikContext } from 'formik';
|
|
12
|
-
import {
|
|
13
|
-
DUAL_STACK,
|
|
14
|
-
PREFIX_MAX_RESTRICTION,
|
|
15
|
-
NetworkConfigurationValues,
|
|
16
|
-
PopoverIcon,
|
|
17
|
-
} from '../../../../common';
|
|
18
|
-
import { OcmInputField } from '../../ui/OcmFormFields';
|
|
19
|
-
|
|
20
|
-
const getNetworkLabelSuffix = (index: number, isDualStack: boolean) => {
|
|
21
|
-
return isDualStack ? ` (${index === 0 ? 'IPv4' : 'IPv6'})` : '';
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
const IPv4PrefixPopoverText =
|
|
25
|
-
'For example, if Cluster Network Host Prefix is set to 23, then each node is assigned a /23 subnet out of the given cidr (clusterNetworkCIDR), which allows for 510 (2^(32 - 23) - 2) pod IPs addresses.';
|
|
26
|
-
|
|
27
|
-
const IPv6PrefixPopoverText =
|
|
28
|
-
'For example, if Cluster Network Host Prefix is set to 116, then each node is assigned a /116 subnet out of the given cidr (clusterNetworkCIDR), which allows for 4,094 (2^(128 - 116) - 2) pod IPs addresses.';
|
|
29
|
-
|
|
30
|
-
const ClusterPrefixHelperText =
|
|
31
|
-
'Defines how big the subnets for each individual node are out of the given CIDR. Must enter a whole number.';
|
|
32
|
-
|
|
33
|
-
const clusterCidrHelperText =
|
|
34
|
-
'The block must not overlap with existing physical networks. To access the Pods from an external network, configure load balancers and routers to manage the traffic.';
|
|
35
|
-
|
|
36
|
-
const serviceCidrHelperText =
|
|
37
|
-
'Enter only 1 IP address pool. If you need to access the services from an external network, configure load balancers and routers to manage the traffic.';
|
|
38
|
-
|
|
39
|
-
const AdvancedNetworkFields = () => {
|
|
40
|
-
const { values, errors } = useFormikContext<NetworkConfigurationValues>();
|
|
41
|
-
|
|
42
|
-
const isDualStack = values.stackType === DUAL_STACK;
|
|
43
|
-
|
|
44
|
-
const clusterNetworkCidrPrefix = (index: number) =>
|
|
45
|
-
parseInt(
|
|
46
|
-
((values.clusterNetworks && values.clusterNetworks[index].cidr) || '').split('/')[1],
|
|
47
|
-
) || 1;
|
|
48
|
-
|
|
49
|
-
const isSubnetIPv6 = (index: number) => (isDualStack ? !!index : false);
|
|
50
|
-
|
|
51
|
-
const clusterNetworkHostPrefixPopoverText = (index: number) => (
|
|
52
|
-
<>
|
|
53
|
-
<p>
|
|
54
|
-
The subnet prefix length to assign to each individual node.{' '}
|
|
55
|
-
{isSubnetIPv6(index) ? IPv6PrefixPopoverText : IPv4PrefixPopoverText}
|
|
56
|
-
</p>
|
|
57
|
-
<p>
|
|
58
|
-
If you are required to provide access to nodes from an external network, configure load
|
|
59
|
-
balancers and routers to manage the traffic.
|
|
60
|
-
</p>
|
|
61
|
-
</>
|
|
62
|
-
);
|
|
63
|
-
|
|
64
|
-
return (
|
|
65
|
-
<Grid hasGutter className="pf-v5-u-ml-lg">
|
|
66
|
-
<FieldArray name="clusterNetworks">
|
|
67
|
-
{() => (
|
|
68
|
-
<FormGroup fieldId="clusterNetworks" labelInfo={isDualStack && 'Primary'}>
|
|
69
|
-
{values.clusterNetworks?.map((_, index) => {
|
|
70
|
-
const networkSuffix = getNetworkLabelSuffix(index, isDualStack);
|
|
71
|
-
return (
|
|
72
|
-
<Stack key={index}>
|
|
73
|
-
<StackItem className={'network-field-group pf-v5-u-pb-md'}>
|
|
74
|
-
<OcmInputField
|
|
75
|
-
name={`clusterNetworks.${index}.cidr`}
|
|
76
|
-
label={
|
|
77
|
-
<>
|
|
78
|
-
<span>{`Cluster network CIDR${networkSuffix} `}</span>
|
|
79
|
-
<PopoverIcon
|
|
80
|
-
bodyContent={'IP address blocks from which Pod IPs are allocated.'}
|
|
81
|
-
/>
|
|
82
|
-
</>
|
|
83
|
-
}
|
|
84
|
-
helperText={clusterCidrHelperText}
|
|
85
|
-
isRequired
|
|
86
|
-
labelInfo={index === 0 && isDualStack ? 'Primary' : ''}
|
|
87
|
-
/>
|
|
88
|
-
</StackItem>
|
|
89
|
-
<StackItem className={'network-field-group pf-v5-u-pb-md'}>
|
|
90
|
-
<OcmInputField
|
|
91
|
-
name={`clusterNetworks.${index}.hostPrefix`}
|
|
92
|
-
label={
|
|
93
|
-
<>
|
|
94
|
-
<span>Cluster network host prefix{networkSuffix} </span>
|
|
95
|
-
<PopoverIcon
|
|
96
|
-
bodyContent={clusterNetworkHostPrefixPopoverText(index)}
|
|
97
|
-
minWidth="30rem"
|
|
98
|
-
/>
|
|
99
|
-
</>
|
|
100
|
-
}
|
|
101
|
-
type={TextInputTypes.number}
|
|
102
|
-
min={clusterNetworkCidrPrefix(index)}
|
|
103
|
-
max={
|
|
104
|
-
isSubnetIPv6(index)
|
|
105
|
-
? PREFIX_MAX_RESTRICTION.IPv6
|
|
106
|
-
: PREFIX_MAX_RESTRICTION.IPv4
|
|
107
|
-
}
|
|
108
|
-
helperText={ClusterPrefixHelperText}
|
|
109
|
-
isRequired
|
|
110
|
-
/>
|
|
111
|
-
</StackItem>
|
|
112
|
-
</Stack>
|
|
113
|
-
);
|
|
114
|
-
})}
|
|
115
|
-
</FormGroup>
|
|
116
|
-
)}
|
|
117
|
-
</FieldArray>
|
|
118
|
-
|
|
119
|
-
{typeof errors.clusterNetworks === 'string' && (
|
|
120
|
-
<Alert variant={AlertVariant.warning} title={errors.clusterNetworks} isInline />
|
|
121
|
-
)}
|
|
122
|
-
|
|
123
|
-
<FieldArray name="serviceNetworks">
|
|
124
|
-
{() => (
|
|
125
|
-
<FormGroup fieldId="serviceNetworks" labelInfo={isDualStack && 'Primary'}>
|
|
126
|
-
{values.serviceNetworks?.map((_, index) => (
|
|
127
|
-
<StackItem key={index} className={'network-field-group pf-v5-u-pb-md'}>
|
|
128
|
-
<OcmInputField
|
|
129
|
-
name={`serviceNetworks.${index}.cidr`}
|
|
130
|
-
label={
|
|
131
|
-
<>
|
|
132
|
-
<span>
|
|
133
|
-
{`Service network CIDR${getNetworkLabelSuffix(index, isDualStack)} `}
|
|
134
|
-
</span>
|
|
135
|
-
<PopoverIcon
|
|
136
|
-
bodyContent={'The IP address pool used for service IP addresses.'}
|
|
137
|
-
/>
|
|
138
|
-
</>
|
|
139
|
-
}
|
|
140
|
-
helperText={serviceCidrHelperText}
|
|
141
|
-
isRequired
|
|
142
|
-
labelInfo={index === 0 && isDualStack ? 'Primary' : ''}
|
|
143
|
-
/>
|
|
144
|
-
</StackItem>
|
|
145
|
-
))}
|
|
146
|
-
</FormGroup>
|
|
147
|
-
)}
|
|
148
|
-
</FieldArray>
|
|
149
|
-
|
|
150
|
-
{typeof errors.serviceNetworks === 'string' && (
|
|
151
|
-
<Alert variant={AlertVariant.warning} title={errors.serviceNetworks} isInline />
|
|
152
|
-
)}
|
|
153
|
-
</Grid>
|
|
154
|
-
);
|
|
155
|
-
};
|
|
156
|
-
|
|
157
|
-
export default AdvancedNetworkFields;
|
package/lib/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.tsx
DELETED
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import React, { useEffect } from 'react';
|
|
2
|
-
import { useSelector } from 'react-redux';
|
|
3
|
-
import { Alert, AlertVariant, FormGroup, Stack, StackItem } from '@patternfly/react-core';
|
|
4
|
-
import { FieldArray, useFormikContext, FormikHelpers } from 'formik';
|
|
5
|
-
import { Address4, Address6 } from 'ip-address';
|
|
6
|
-
|
|
7
|
-
import {
|
|
8
|
-
HostSubnet,
|
|
9
|
-
NetworkConfigurationValues,
|
|
10
|
-
DUAL_STACK,
|
|
11
|
-
NO_SUBNET_SET,
|
|
12
|
-
} from '../../../../common';
|
|
13
|
-
import { selectCurrentClusterPermissionsState } from '../../../store/slices/current-cluster/selectors';
|
|
14
|
-
import { SubnetsDropdown } from './SubnetsDropdown';
|
|
15
|
-
import { Cluster, MachineNetwork } from '@openshift-assisted/types/assisted-installer-service';
|
|
16
|
-
|
|
17
|
-
const subnetSort = (subA: HostSubnet, subB: HostSubnet) =>
|
|
18
|
-
subA.humanized.localeCompare(subB.humanized);
|
|
19
|
-
|
|
20
|
-
const useAutoSelectSingleAvailableSubnet = (
|
|
21
|
-
autoSelectNetwork: boolean,
|
|
22
|
-
setFieldValue: FormikHelpers<NetworkConfigurationValues>['setFieldValue'],
|
|
23
|
-
cidr: MachineNetwork['cidr'],
|
|
24
|
-
clusterId: string,
|
|
25
|
-
) => {
|
|
26
|
-
useEffect(() => {
|
|
27
|
-
if (autoSelectNetwork) {
|
|
28
|
-
setFieldValue('machineNetworks', [{ cidr, clusterId }], true);
|
|
29
|
-
}
|
|
30
|
-
}, [autoSelectNetwork, cidr, clusterId, setFieldValue]);
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
export interface AvailableSubnetsControlProps {
|
|
34
|
-
clusterId: Cluster['id'];
|
|
35
|
-
hostSubnets: HostSubnet[];
|
|
36
|
-
isRequired: boolean;
|
|
37
|
-
isDisabled: boolean;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export const AvailableSubnetsControl = ({
|
|
41
|
-
clusterId,
|
|
42
|
-
hostSubnets,
|
|
43
|
-
isRequired = false,
|
|
44
|
-
isDisabled,
|
|
45
|
-
}: AvailableSubnetsControlProps) => {
|
|
46
|
-
const { values, errors, setFieldValue } = useFormikContext<NetworkConfigurationValues>();
|
|
47
|
-
const isDualStack = values.stackType === DUAL_STACK;
|
|
48
|
-
const { isViewerMode } = useSelector(selectCurrentClusterPermissionsState);
|
|
49
|
-
|
|
50
|
-
const IPv4Subnets = hostSubnets
|
|
51
|
-
.filter((subnet) => Address4.isValid(subnet.subnet))
|
|
52
|
-
.sort(subnetSort);
|
|
53
|
-
const IPv6Subnets = hostSubnets
|
|
54
|
-
.filter((subnet) => Address6.isValid(subnet.subnet))
|
|
55
|
-
.sort(subnetSort);
|
|
56
|
-
|
|
57
|
-
const cidr = IPv4Subnets.length >= 1 ? IPv4Subnets[0].subnet : NO_SUBNET_SET;
|
|
58
|
-
const hasEmptySelection = (values.machineNetworks ?? []).length === 0;
|
|
59
|
-
const autoSelectNetwork = !isViewerMode && hasEmptySelection;
|
|
60
|
-
useAutoSelectSingleAvailableSubnet(autoSelectNetwork, setFieldValue, cidr, clusterId);
|
|
61
|
-
|
|
62
|
-
return (
|
|
63
|
-
<FormGroup
|
|
64
|
-
label="Machine network"
|
|
65
|
-
labelInfo={isDualStack && 'Primary'}
|
|
66
|
-
fieldId="machine-networks"
|
|
67
|
-
isRequired={isRequired}
|
|
68
|
-
>
|
|
69
|
-
<FieldArray name="machineNetworks">
|
|
70
|
-
{() => (
|
|
71
|
-
<Stack>
|
|
72
|
-
{isDualStack ? (
|
|
73
|
-
values.machineNetworks?.map((_machineNetwork, index) => {
|
|
74
|
-
const machineSubnets = index === 1 ? IPv6Subnets : IPv4Subnets;
|
|
75
|
-
|
|
76
|
-
return (
|
|
77
|
-
<StackItem key={index}>
|
|
78
|
-
<SubnetsDropdown
|
|
79
|
-
name={`machineNetworks.${index}.cidr`}
|
|
80
|
-
machineSubnets={machineSubnets}
|
|
81
|
-
isDisabled={isDisabled}
|
|
82
|
-
/>
|
|
83
|
-
</StackItem>
|
|
84
|
-
);
|
|
85
|
-
})
|
|
86
|
-
) : (
|
|
87
|
-
<StackItem>
|
|
88
|
-
<SubnetsDropdown
|
|
89
|
-
name={`machineNetworks.0.cidr`}
|
|
90
|
-
machineSubnets={IPv4Subnets}
|
|
91
|
-
isDisabled={isDisabled}
|
|
92
|
-
/>
|
|
93
|
-
</StackItem>
|
|
94
|
-
)}
|
|
95
|
-
</Stack>
|
|
96
|
-
)}
|
|
97
|
-
</FieldArray>
|
|
98
|
-
|
|
99
|
-
{typeof errors.machineNetworks === 'string' && (
|
|
100
|
-
<Alert variant={AlertVariant.warning} title={errors.machineNetworks} isInline />
|
|
101
|
-
)}
|
|
102
|
-
</FormGroup>
|
|
103
|
-
);
|
|
104
|
-
};
|
|
@@ -1,222 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { useSelector } from 'react-redux';
|
|
3
|
-
import { ButtonVariant, FormGroup, Split, SplitItem, Tooltip } from '@patternfly/react-core';
|
|
4
|
-
import { useFormikContext } from 'formik';
|
|
5
|
-
import { Address6 } from 'ip-address';
|
|
6
|
-
|
|
7
|
-
import {
|
|
8
|
-
HostSubnets,
|
|
9
|
-
NetworkConfigurationValues,
|
|
10
|
-
getFieldId,
|
|
11
|
-
DUAL_STACK,
|
|
12
|
-
IPV4_STACK,
|
|
13
|
-
NETWORK_TYPE_OVN,
|
|
14
|
-
NETWORK_TYPE_SDN,
|
|
15
|
-
NO_SUBNET_SET,
|
|
16
|
-
} from '../../../../common';
|
|
17
|
-
import { ConfirmationModal, PopoverIcon } from '../../../../common/components/ui';
|
|
18
|
-
import { useDefaultConfiguration } from '../ClusterDefaultConfigurationContext';
|
|
19
|
-
import { selectCurrentClusterPermissionsState } from '../../../store/slices/current-cluster/selectors';
|
|
20
|
-
import { OcmRadioField } from '../../ui/OcmFormFields';
|
|
21
|
-
import {
|
|
22
|
-
Cluster,
|
|
23
|
-
ClusterNetwork,
|
|
24
|
-
MachineNetwork,
|
|
25
|
-
ServiceNetwork,
|
|
26
|
-
} from '@openshift-assisted/types/assisted-installer-service';
|
|
27
|
-
|
|
28
|
-
type StackTypeControlGroupProps = {
|
|
29
|
-
clusterId: Cluster['id'];
|
|
30
|
-
isDualStackSelectable: boolean;
|
|
31
|
-
hostSubnets: HostSubnets;
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
const hasDualStackConfigurationChanged = (
|
|
35
|
-
clusterNetworks: ClusterNetwork[],
|
|
36
|
-
serviceNetworks: ServiceNetwork[],
|
|
37
|
-
cidrIPv6: MachineNetwork['cidr'],
|
|
38
|
-
values: NetworkConfigurationValues,
|
|
39
|
-
) =>
|
|
40
|
-
clusterNetworks &&
|
|
41
|
-
serviceNetworks &&
|
|
42
|
-
((values.machineNetworks && values.machineNetworks[1].cidr !== cidrIPv6) ||
|
|
43
|
-
(values.clusterNetworks && values.clusterNetworks[1].cidr !== clusterNetworks[1].cidr) ||
|
|
44
|
-
(values.clusterNetworks &&
|
|
45
|
-
values.clusterNetworks[1].hostPrefix !== clusterNetworks[1].hostPrefix) ||
|
|
46
|
-
(values.serviceNetworks && values.serviceNetworks[1].cidr !== serviceNetworks[1].cidr));
|
|
47
|
-
|
|
48
|
-
export const StackTypeControlGroup = ({
|
|
49
|
-
clusterId,
|
|
50
|
-
isDualStackSelectable,
|
|
51
|
-
hostSubnets,
|
|
52
|
-
}: StackTypeControlGroupProps) => {
|
|
53
|
-
const { setFieldValue, values, validateForm } = useFormikContext<NetworkConfigurationValues>();
|
|
54
|
-
const [openConfirmModal, setConfirmModal] = React.useState(false);
|
|
55
|
-
const defaultNetworkValues = useDefaultConfiguration([
|
|
56
|
-
'clusterNetworksDualstack',
|
|
57
|
-
'clusterNetworksIpv4',
|
|
58
|
-
'serviceNetworksDualstack',
|
|
59
|
-
'serviceNetworksIpv4',
|
|
60
|
-
]);
|
|
61
|
-
|
|
62
|
-
const IPv6Subnets = hostSubnets.filter((subnet) => Address6.isValid(subnet.subnet));
|
|
63
|
-
const cidrIPv6 = IPv6Subnets.length >= 1 ? IPv6Subnets[0].subnet : NO_SUBNET_SET;
|
|
64
|
-
const { isViewerMode } = useSelector(selectCurrentClusterPermissionsState);
|
|
65
|
-
const shouldSetSingleStack =
|
|
66
|
-
!isViewerMode && !isDualStackSelectable && values.stackType === DUAL_STACK;
|
|
67
|
-
|
|
68
|
-
const setSingleStack = React.useCallback(() => {
|
|
69
|
-
setFieldValue('stackType', IPV4_STACK);
|
|
70
|
-
|
|
71
|
-
if (values.machineNetworks && values.machineNetworks?.length >= 2) {
|
|
72
|
-
setFieldValue('machineNetworks', values.machineNetworks.slice(0, 1));
|
|
73
|
-
}
|
|
74
|
-
if (values.clusterNetworks && values.clusterNetworks?.length >= 2) {
|
|
75
|
-
setFieldValue('clusterNetworks', values.clusterNetworks.slice(0, 1));
|
|
76
|
-
}
|
|
77
|
-
if (values.serviceNetworks && values.serviceNetworks?.length >= 2) {
|
|
78
|
-
setFieldValue('serviceNetworks', values.serviceNetworks.slice(0, 1));
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
void validateForm();
|
|
82
|
-
}, [
|
|
83
|
-
setFieldValue,
|
|
84
|
-
validateForm,
|
|
85
|
-
values.clusterNetworks,
|
|
86
|
-
values.machineNetworks,
|
|
87
|
-
values.serviceNetworks,
|
|
88
|
-
]);
|
|
89
|
-
|
|
90
|
-
const setDualStack = () => {
|
|
91
|
-
setFieldValue('stackType', DUAL_STACK);
|
|
92
|
-
setFieldValue('vipDhcpAllocation', false);
|
|
93
|
-
|
|
94
|
-
if (values.networkType === NETWORK_TYPE_SDN) {
|
|
95
|
-
setFieldValue('networkType', NETWORK_TYPE_OVN);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
if (values.machineNetworks && values.machineNetworks?.length < 2) {
|
|
99
|
-
setFieldValue(
|
|
100
|
-
'machineNetworks',
|
|
101
|
-
[...values.machineNetworks, { cidr: cidrIPv6, clusterId: clusterId }],
|
|
102
|
-
false,
|
|
103
|
-
);
|
|
104
|
-
}
|
|
105
|
-
if (values.clusterNetworks && values.clusterNetworks?.length < 2) {
|
|
106
|
-
setFieldValue(
|
|
107
|
-
'clusterNetworks',
|
|
108
|
-
[
|
|
109
|
-
...values.clusterNetworks,
|
|
110
|
-
defaultNetworkValues.clusterNetworksDualstack?.length
|
|
111
|
-
? defaultNetworkValues.clusterNetworksDualstack[1]
|
|
112
|
-
: { cidr: '', hostPrefix: '', clusterId: clusterId },
|
|
113
|
-
],
|
|
114
|
-
false,
|
|
115
|
-
);
|
|
116
|
-
}
|
|
117
|
-
if (values.serviceNetworks && values.serviceNetworks?.length < 2) {
|
|
118
|
-
setFieldValue(
|
|
119
|
-
'serviceNetworks',
|
|
120
|
-
[
|
|
121
|
-
...values.serviceNetworks,
|
|
122
|
-
defaultNetworkValues.serviceNetworksDualstack?.length
|
|
123
|
-
? defaultNetworkValues.serviceNetworksDualstack[1]
|
|
124
|
-
: { cidr: '', clusterId: clusterId },
|
|
125
|
-
],
|
|
126
|
-
false,
|
|
127
|
-
);
|
|
128
|
-
}
|
|
129
|
-
};
|
|
130
|
-
|
|
131
|
-
const setStackType = (e: React.ChangeEvent<HTMLInputElement>) => {
|
|
132
|
-
if (e.target.value === DUAL_STACK) {
|
|
133
|
-
setDualStack();
|
|
134
|
-
} else if (
|
|
135
|
-
hasDualStackConfigurationChanged(
|
|
136
|
-
defaultNetworkValues.clusterNetworksDualstack || [],
|
|
137
|
-
defaultNetworkValues.serviceNetworksDualstack || [],
|
|
138
|
-
cidrIPv6,
|
|
139
|
-
values,
|
|
140
|
-
)
|
|
141
|
-
) {
|
|
142
|
-
setConfirmModal(true);
|
|
143
|
-
} else {
|
|
144
|
-
setSingleStack();
|
|
145
|
-
}
|
|
146
|
-
};
|
|
147
|
-
|
|
148
|
-
React.useEffect(() => {
|
|
149
|
-
if (shouldSetSingleStack) {
|
|
150
|
-
setSingleStack();
|
|
151
|
-
}
|
|
152
|
-
}, [shouldSetSingleStack, setSingleStack]);
|
|
153
|
-
|
|
154
|
-
return (
|
|
155
|
-
<>
|
|
156
|
-
<FormGroup
|
|
157
|
-
label="Networking stack type"
|
|
158
|
-
fieldId={getFieldId('stackType', 'radio')}
|
|
159
|
-
onChange={setStackType}
|
|
160
|
-
isInline
|
|
161
|
-
>
|
|
162
|
-
<Split>
|
|
163
|
-
<SplitItem>
|
|
164
|
-
<OcmRadioField
|
|
165
|
-
name={'stackType'}
|
|
166
|
-
value={IPV4_STACK}
|
|
167
|
-
isDisabled={!isDualStackSelectable}
|
|
168
|
-
label="IPv4 "
|
|
169
|
-
/>
|
|
170
|
-
</SplitItem>
|
|
171
|
-
<SplitItem>
|
|
172
|
-
<PopoverIcon
|
|
173
|
-
bodyContent="Select this when your hosts are using only IPv4."
|
|
174
|
-
buttonStyle={{ top: '-4px' }}
|
|
175
|
-
/>
|
|
176
|
-
</SplitItem>
|
|
177
|
-
</Split>
|
|
178
|
-
<Split>
|
|
179
|
-
<SplitItem>
|
|
180
|
-
<Tooltip
|
|
181
|
-
content={
|
|
182
|
-
'Dual-stack is only available when your hosts are using IPV4 together with IPV6.'
|
|
183
|
-
}
|
|
184
|
-
hidden={isDualStackSelectable}
|
|
185
|
-
>
|
|
186
|
-
<OcmRadioField
|
|
187
|
-
name={'stackType'}
|
|
188
|
-
value={DUAL_STACK}
|
|
189
|
-
isDisabled={!isDualStackSelectable}
|
|
190
|
-
label="Dual-stack "
|
|
191
|
-
/>
|
|
192
|
-
</Tooltip>
|
|
193
|
-
</SplitItem>
|
|
194
|
-
<SplitItem>
|
|
195
|
-
<PopoverIcon
|
|
196
|
-
bodyContent="Select dual-stack when your hosts are using IPV4 together with IPV6."
|
|
197
|
-
buttonStyle={{ top: '-4px' }}
|
|
198
|
-
/>
|
|
199
|
-
</SplitItem>
|
|
200
|
-
</Split>
|
|
201
|
-
</FormGroup>
|
|
202
|
-
|
|
203
|
-
{openConfirmModal && (
|
|
204
|
-
<ConfirmationModal
|
|
205
|
-
title={'Change stack type?'}
|
|
206
|
-
titleIconVariant={'warning'}
|
|
207
|
-
confirmationButtonText={'Change'}
|
|
208
|
-
confirmationButtonVariant={ButtonVariant.primary}
|
|
209
|
-
content={<p>All data and configuration done for 'Dual-stack' will be lost.</p>}
|
|
210
|
-
onClose={() => {
|
|
211
|
-
setConfirmModal(false);
|
|
212
|
-
setDualStack();
|
|
213
|
-
}}
|
|
214
|
-
onConfirm={() => {
|
|
215
|
-
setConfirmModal(false);
|
|
216
|
-
setSingleStack();
|
|
217
|
-
}}
|
|
218
|
-
/>
|
|
219
|
-
)}
|
|
220
|
-
</>
|
|
221
|
-
);
|
|
222
|
-
};
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Dropdown, DropdownItem, MenuToggle, MenuToggleElement } from '@patternfly/react-core';
|
|
3
|
-
import { useField } from 'formik';
|
|
4
|
-
import { getFieldId, HostSubnet, NO_SUBNET_SET } from '../../../../common';
|
|
5
|
-
|
|
6
|
-
type SubnetsDropdownProps = {
|
|
7
|
-
name: string;
|
|
8
|
-
machineSubnets: HostSubnet[];
|
|
9
|
-
isDisabled: boolean;
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
const toFormSelectOptions = (subnets: HostSubnet[]) => {
|
|
13
|
-
return subnets.map((hn, index) => ({
|
|
14
|
-
label: `${hn.humanized}${hn.isValid ? '' : ' (Invalid network)'}`,
|
|
15
|
-
value: hn.subnet,
|
|
16
|
-
isDisabled: false,
|
|
17
|
-
id: `form-input-hostSubnet-field-option-${index}`,
|
|
18
|
-
}));
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
const makeNoSubnetSelectedOption = (availableSubnets: number) => ({
|
|
22
|
-
label: `Please select a subnet. (${availableSubnets} available)`,
|
|
23
|
-
value: NO_SUBNET_SET,
|
|
24
|
-
isDisabled: true,
|
|
25
|
-
id: 'form-input-hostSubnet-field-option-no-subnet-selected',
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
const noSubnetAvailableOption = {
|
|
29
|
-
label: 'No subnets are currently available',
|
|
30
|
-
value: NO_SUBNET_SET,
|
|
31
|
-
isDisabled: true,
|
|
32
|
-
id: 'form-input-hostSubnet-field-option-no-subnet-available',
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
export const SubnetsDropdown = ({ name, machineSubnets, isDisabled }: SubnetsDropdownProps) => {
|
|
36
|
-
const [field, , { setValue }] = useField(name);
|
|
37
|
-
const [isOpen, setOpen] = React.useState(false);
|
|
38
|
-
const fieldId = getFieldId(name, 'input');
|
|
39
|
-
|
|
40
|
-
const { itemsSubnets, currentDisplayValue } = React.useMemo(() => {
|
|
41
|
-
const itemsSubnets =
|
|
42
|
-
machineSubnets.length === 0
|
|
43
|
-
? [noSubnetAvailableOption]
|
|
44
|
-
: [makeNoSubnetSelectedOption(machineSubnets.length)].concat(
|
|
45
|
-
toFormSelectOptions(machineSubnets),
|
|
46
|
-
);
|
|
47
|
-
|
|
48
|
-
let currentDisplayValue = itemsSubnets[0].label; // The placeholder is the fallback
|
|
49
|
-
if (field.value) {
|
|
50
|
-
const subnetItem = itemsSubnets.find((item) => item.value === field.value);
|
|
51
|
-
if (subnetItem) {
|
|
52
|
-
currentDisplayValue = subnetItem.label;
|
|
53
|
-
}
|
|
54
|
-
} else if (machineSubnets.length === 1) {
|
|
55
|
-
// When there is only one subnet, it's selected by default. We skip the placeholder at index 0.
|
|
56
|
-
currentDisplayValue = itemsSubnets[1].label;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
return { itemsSubnets, currentDisplayValue: currentDisplayValue };
|
|
60
|
-
}, [machineSubnets, field.value]);
|
|
61
|
-
|
|
62
|
-
const dropdownItems = itemsSubnets.map(({ value, label, isDisabled }) => (
|
|
63
|
-
<DropdownItem key={value} id={value} isDisabled={isDisabled} value={value}>
|
|
64
|
-
{label}
|
|
65
|
-
</DropdownItem>
|
|
66
|
-
));
|
|
67
|
-
|
|
68
|
-
const onSelect = (event?: React.MouseEvent<Element, MouseEvent>): void => {
|
|
69
|
-
setValue(event?.currentTarget.id);
|
|
70
|
-
setOpen(false);
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
const toggle = (toggleRef: React.Ref<MenuToggleElement>) => (
|
|
74
|
-
<MenuToggle
|
|
75
|
-
ref={toggleRef}
|
|
76
|
-
onClick={() => setOpen(!isOpen)}
|
|
77
|
-
isExpanded={isOpen}
|
|
78
|
-
isDisabled={isDisabled}
|
|
79
|
-
className="pf-v5-u-w-100"
|
|
80
|
-
id={fieldId}
|
|
81
|
-
>
|
|
82
|
-
{currentDisplayValue}
|
|
83
|
-
</MenuToggle>
|
|
84
|
-
);
|
|
85
|
-
|
|
86
|
-
return (
|
|
87
|
-
<Dropdown
|
|
88
|
-
{...field}
|
|
89
|
-
id={`${fieldId}-dropdown`}
|
|
90
|
-
onOpenChange={() => setOpen(!isOpen)}
|
|
91
|
-
onSelect={onSelect}
|
|
92
|
-
toggle={toggle}
|
|
93
|
-
isOpen={isOpen}
|
|
94
|
-
>
|
|
95
|
-
{dropdownItems}
|
|
96
|
-
</Dropdown>
|
|
97
|
-
);
|
|
98
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { List, ListItem, Text, TextContent } from '@patternfly/react-core';
|
|
3
|
-
import { ExternalLink } from '../../../../common/components/ui';
|
|
4
|
-
import { getOpenShiftNetworkingDocsLink } from '../../../../common/config/docs_links';
|
|
5
|
-
|
|
6
|
-
export interface UserManagedNetworkingTextContentProps {
|
|
7
|
-
shouldDisplayLoadBalancersBullet?: boolean;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export const UserManagedNetworkingTextContent = ({
|
|
11
|
-
shouldDisplayLoadBalancersBullet = false,
|
|
12
|
-
}: UserManagedNetworkingTextContentProps) => {
|
|
13
|
-
return (
|
|
14
|
-
<TextContent>
|
|
15
|
-
<Text component={'p'}>
|
|
16
|
-
Please refer to the{' '}
|
|
17
|
-
<ExternalLink href={getOpenShiftNetworkingDocsLink()}>
|
|
18
|
-
OpenShift networking documentation
|
|
19
|
-
</ExternalLink>{' '}
|
|
20
|
-
to configure your cluster's networking, including:{' '}
|
|
21
|
-
</Text>
|
|
22
|
-
<List>
|
|
23
|
-
<ListItem>DHCP or static IP Addresses</ListItem>
|
|
24
|
-
{shouldDisplayLoadBalancersBullet && <ListItem>Load balancers</ListItem>}
|
|
25
|
-
<ListItem>Network ports</ListItem>
|
|
26
|
-
<ListItem>DNS</ListItem>
|
|
27
|
-
</List>
|
|
28
|
-
</TextContent>
|
|
29
|
-
);
|
|
30
|
-
};
|