@openshift-assisted/ui-lib 2.46.1 → 2.46.3
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/ClusterDeployment/ClusterDeploymentHostsDiscovery.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/ClusterDeploymentNetworkingForm.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/EnvironmentDetails.d.ts.map +1 -1
- package/build/@types/cim/components/common/ResourceAlerts.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DiscoveryImageConfigForm.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DownloadIpxeScript.d.ts.map +1 -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/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/ClusterWizardStepHeader.d.ts.map +1 -1
- package/build/@types/common/components/hosts/AITableMemo.d.ts.map +1 -1
- package/build/@types/common/components/hosts/AdditionalNTPSourcesDialog.d.ts.map +1 -1
- package/build/@types/common/components/hosts/EditHostForm.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/MassChangeHostnameModal.d.ts.map +1 -1
- package/build/@types/common/components/hosts/MassDeleteHostModal.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/ConfirmationModal.d.ts +2 -3
- package/build/@types/common/components/ui/ConfirmationModal.d.ts.map +1 -1
- package/build/@types/common/components/ui/OpenShiftVersionModal.d.ts.map +1 -1
- package/build/@types/common/components/ui/SectionTitle.d.ts.map +1 -1
- package/build/@types/common/components/ui/StaticTextField.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/RichInputField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/TextAreaField.d.ts.map +1 -1
- package/build/@types/ocm/components/AddHosts/InventoryAddHost.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/clusterConfiguration/DiscoveryImageModal.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/HostInventory.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/networkConfiguration/AvailableSubnetsControl.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/SubnetsDropdown.d.ts +2 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.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/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/ClusterInstallationError.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/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/disconnected/BasicStep.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/disconnected/ReviewStep.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/DeleteClusterModal.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/DeleteHostModal.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/HostRequirementsContent.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/ResetHostModal.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/UpdateDay2ApiVipForm.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/UpdateDay2ApiVipModal.d.ts.map +1 -1
- package/build/@types/ocm/components/ui/InfoLinkWithModal.d.ts +1 -2
- package/build/@types/ocm/components/ui/InfoLinkWithModal.d.ts.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.js +2 -3
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentNetworkingForm.js +4 -6
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentNetworkingForm.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/EnvironmentDetails.js +1 -2
- package/build/cjs/cim/components/InfraEnv/EnvironmentDetails.js.map +1 -1
- package/build/cjs/cim/components/common/ResourceAlerts.js +15 -16
- package/build/cjs/cim/components/common/ResourceAlerts.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiscoveryImageConfigForm.js +2 -3
- package/build/cjs/common/components/clusterConfiguration/DiscoveryImageConfigForm.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiscoveryInstructions.js +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiscoveryInstructions.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiscoveryIpxeInstructions.js +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiscoveryIpxeInstructions.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.js +7 -6
- package/build/cjs/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.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 -3
- package/build/cjs/common/components/clusterConfiguration/DownloadIpxeScript.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DownloadIso.js +4 -4
- 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/clusterDetail/ConsoleModal.js +5 -3
- package/build/cjs/common/components/clusterDetail/ConsoleModal.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/FinalizingProgress.js +1 -2
- package/build/cjs/common/components/clusterDetail/FinalizingProgress.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/networkingSteps/UserManagedNetworkingTextContent.js +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/UserManagedNetworkingTextContent.js.map +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 -4
- package/build/cjs/common/components/hosts/AdditionalNTPSourcesDialog.js.map +1 -1
- package/build/cjs/common/components/hosts/EditHostForm.js +2 -3
- 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/HostRequirements.js +1 -2
- package/build/cjs/common/components/hosts/HostRequirements.js.map +1 -1
- package/build/cjs/common/components/hosts/HostStatus.js +2 -2
- package/build/cjs/common/components/hosts/HostStatus.js.map +1 -1
- package/build/cjs/common/components/hosts/MassChangeHostnameModal.js +4 -4
- package/build/cjs/common/components/hosts/MassChangeHostnameModal.js.map +1 -1
- package/build/cjs/common/components/hosts/MassDeleteHostModal.js +4 -4
- package/build/cjs/common/components/hosts/MassDeleteHostModal.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 +1 -2
- package/build/cjs/common/components/storage/StorageUtils.js.map +1 -1
- package/build/cjs/common/components/ui/ConfirmationModal.js +5 -4
- package/build/cjs/common/components/ui/ConfirmationModal.js.map +1 -1
- package/build/cjs/common/components/ui/OpenShiftVersionModal.js +7 -6
- package/build/cjs/common/components/ui/OpenShiftVersionModal.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/StaticTextField.js +1 -2
- package/build/cjs/common/components/ui/StaticTextField.js.map +1 -1
- package/build/cjs/common/components/ui/eventsModal.js +9 -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/RichInputField.css +0 -7
- package/build/cjs/common/components/ui/formik/RichInputField.js +1 -1
- package/build/cjs/common/components/ui/formik/RichInputField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/TextAreaField.js +2 -1
- package/build/cjs/common/components/ui/formik/TextAreaField.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/InventoryAddHost.js +3 -4
- package/build/cjs/ocm/components/AddHosts/InventoryAddHost.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 +1 -2
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2Wizard.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageModal.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageModal.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/HostInventory.js +3 -5
- package/build/cjs/ocm/components/clusterConfiguration/HostInventory.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.js +11 -9
- package/build/cjs/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/DeleteCustomManifestModal.js +7 -7
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/DeleteCustomManifestModal.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.js +5 -5
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js +1 -2
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.js +3 -2
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.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 -4
- 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 +1 -2
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.js +1 -1
- 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/clusterDetail/CancelInstallationModal.js +6 -6
- 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/ClusterInstallationError.js +4 -5
- package/build/cjs/ocm/components/clusterDetail/ClusterInstallationError.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterPollingErrorModal.js +5 -4
- 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/ClusterUpdateErrorModal.js +5 -4
- package/build/cjs/ocm/components/clusterDetail/ClusterUpdateErrorModal.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/OpenShiftVersionDetail.js +1 -2
- 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 +5 -3
- package/build/cjs/ocm/components/clusterDetail/ResetClusterModal.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js +8 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/disconnected/BasicStep.js +1 -2
- package/build/cjs/ocm/components/clusterWizard/disconnected/BasicStep.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/disconnected/ReviewStep.js +1 -2
- package/build/cjs/ocm/components/clusterWizard/disconnected/ReviewStep.js.map +1 -1
- package/build/cjs/ocm/components/clusters/AssistedInstallerHeader.js +1 -1
- package/build/cjs/ocm/components/clusters/AssistedInstallerHeader.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClusterPage.js +1 -2
- package/build/cjs/ocm/components/clusters/ClusterPage.js.map +1 -1
- package/build/cjs/ocm/components/clusters/Clusters.js +1 -2
- package/build/cjs/ocm/components/clusters/Clusters.js.map +1 -1
- package/build/cjs/ocm/components/clusters/DeleteClusterModal.js +8 -7
- package/build/cjs/ocm/components/clusters/DeleteClusterModal.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js.map +1 -1
- package/build/cjs/ocm/components/hosts/DeleteHostModal.js +5 -4
- 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/ResetHostModal.js +8 -7
- package/build/cjs/ocm/components/hosts/ResetHostModal.js.map +1 -1
- package/build/cjs/ocm/components/hosts/UpdateDay2ApiVipForm.js +2 -3
- package/build/cjs/ocm/components/hosts/UpdateDay2ApiVipForm.js.map +1 -1
- package/build/cjs/ocm/components/hosts/UpdateDay2ApiVipModal.js +3 -2
- package/build/cjs/ocm/components/hosts/UpdateDay2ApiVipModal.js.map +1 -1
- package/build/cjs/ocm/components/ui/InfoLinkWithModal.js +5 -4
- package/build/cjs/ocm/components/ui/InfoLinkWithModal.js.map +1 -1
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.tsx +3 -5
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentNetworkingForm.tsx +8 -12
- package/lib/cim/components/InfraEnv/EnvironmentDetails.tsx +1 -5
- package/lib/cim/components/common/ResourceAlerts.tsx +26 -28
- package/lib/common/components/clusterConfiguration/DiscoveryImageConfigForm.tsx +14 -6
- package/lib/common/components/clusterConfiguration/DiscoveryInstructions.tsx +2 -2
- package/lib/common/components/clusterConfiguration/DiscoveryIpxeInstructions.tsx +2 -2
- package/lib/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.tsx +15 -12
- package/lib/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.tsx +1 -3
- package/lib/common/components/clusterConfiguration/DownloadIpxeScript.tsx +6 -5
- package/lib/common/components/clusterConfiguration/DownloadIso.tsx +8 -5
- package/lib/common/components/clusterConfiguration/DownloadIsoModal.tsx +2 -3
- package/lib/common/components/clusterDetail/ConsoleModal.tsx +17 -10
- package/lib/common/components/clusterDetail/FinalizingProgress.tsx +4 -6
- package/lib/common/components/clusterWizard/ClusterWizardStepHeader.tsx +1 -3
- package/lib/common/components/clusterWizard/networkingSteps/UserManagedNetworkingTextContent.tsx +2 -2
- package/lib/common/components/hosts/AITableMemo.tsx +1 -0
- package/lib/common/components/hosts/AdditionalNTPSourcesDialog.tsx +11 -10
- package/lib/common/components/hosts/EditHostForm.tsx +6 -5
- package/lib/common/components/hosts/EditHostModal.tsx +2 -3
- package/lib/common/components/hosts/HostRequirements.tsx +2 -4
- package/lib/common/components/hosts/HostStatus.tsx +5 -5
- package/lib/common/components/hosts/MassChangeHostnameModal.tsx +9 -7
- package/lib/common/components/hosts/MassDeleteHostModal.tsx +15 -9
- package/lib/common/components/storage/DisksTable.tsx +1 -3
- package/lib/common/components/storage/StorageUtils.tsx +1 -3
- package/lib/common/components/ui/ConfirmationModal.tsx +18 -15
- package/lib/common/components/ui/OpenShiftVersionModal.tsx +32 -22
- package/lib/common/components/ui/SectionTitle.tsx +2 -4
- package/lib/common/components/ui/StaticTextField.tsx +2 -4
- package/lib/common/components/ui/eventsModal.tsx +29 -20
- package/lib/common/components/ui/formik/AlertFormikError.tsx +8 -10
- package/lib/common/components/ui/formik/RichInputField.css +0 -7
- package/lib/common/components/ui/formik/RichInputField.tsx +2 -1
- package/lib/common/components/ui/formik/TextAreaField.tsx +13 -4
- package/lib/ocm/components/AddHosts/InventoryAddHost.tsx +4 -6
- package/lib/ocm/components/AddHosts/day2Wizard/Day2StaticIpHostConfigurations.tsx +1 -5
- package/lib/ocm/components/AddHosts/day2Wizard/Day2Wizard.tsx +2 -4
- package/lib/ocm/components/clusterConfiguration/DiscoveryImageModal.tsx +6 -7
- package/lib/ocm/components/clusterConfiguration/HostInventory.tsx +7 -11
- package/lib/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.tsx +43 -25
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/DeleteCustomManifestModal.tsx +22 -16
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.tsx +5 -5
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.tsx +2 -0
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx +1 -3
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.tsx +14 -3
- package/lib/ocm/components/clusterConfiguration/staticIp/components/CollapsedHost.tsx +1 -3
- package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/BondsConfirmationModal.tsx +15 -9
- package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.tsx +1 -3
- package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.tsx +10 -3
- package/lib/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlViewFields.tsx +6 -8
- package/lib/ocm/components/clusterDetail/CancelInstallationModal.tsx +19 -17
- package/lib/ocm/components/clusterDetail/ClusterDetail.tsx +1 -3
- package/lib/ocm/components/clusterDetail/ClusterDetailStatusMessages.tsx +34 -26
- package/lib/ocm/components/clusterDetail/ClusterInstallationError.tsx +5 -7
- package/lib/ocm/components/clusterDetail/ClusterPollingErrorModal.tsx +15 -13
- package/lib/ocm/components/clusterDetail/ClusterProperties.tsx +1 -3
- package/lib/ocm/components/clusterDetail/ClusterUpdateErrorModal.tsx +17 -13
- package/lib/ocm/components/clusterDetail/OpenShiftVersionDetail.tsx +2 -4
- package/lib/ocm/components/clusterDetail/ProgressBarAlerts.tsx +5 -7
- package/lib/ocm/components/clusterDetail/ResetClusterModal.tsx +16 -12
- package/lib/ocm/components/clusterWizard/ClusterDetails.tsx +10 -1
- package/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx +1 -3
- package/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx +1 -3
- package/lib/ocm/components/clusters/AssistedInstallerHeader.tsx +2 -2
- package/lib/ocm/components/clusters/ClusterPage.tsx +1 -3
- package/lib/ocm/components/clusters/Clusters.tsx +1 -3
- package/lib/ocm/components/clusters/DeleteClusterModal.tsx +16 -11
- package/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx +2 -2
- package/lib/ocm/components/hosts/DeleteHostModal.tsx +18 -9
- package/lib/ocm/components/hosts/HostRequirementsContent.tsx +3 -5
- package/lib/ocm/components/hosts/ResetHostModal.tsx +16 -13
- package/lib/ocm/components/hosts/UpdateDay2ApiVipForm.tsx +12 -6
- package/lib/ocm/components/hosts/UpdateDay2ApiVipModal.tsx +2 -3
- package/lib/ocm/components/ui/InfoLinkWithModal.tsx +16 -13
- package/package.json +3 -3
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
|
|
2
|
+
import {
|
|
3
|
+
Button,
|
|
4
|
+
ButtonVariant,
|
|
5
|
+
Modal,
|
|
6
|
+
ModalBody,
|
|
7
|
+
ModalFooter,
|
|
8
|
+
ModalHeader,
|
|
9
|
+
ModalVariant,
|
|
10
|
+
Spinner,
|
|
11
|
+
} from '@patternfly/react-core';
|
|
4
12
|
import { ExclamationTriangleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-triangle-icon';
|
|
5
13
|
import { t_global_icon_color_status_warning_default as globalIconColorWarning } from '@patternfly/react-tokens/dist/js/t_global_icon_color_status_warning_default';
|
|
6
14
|
import { ToolbarButton } from './Toolbar';
|
|
@@ -82,30 +90,21 @@ export const EventsModal = ({
|
|
|
82
90
|
|
|
83
91
|
return (
|
|
84
92
|
<Modal
|
|
85
|
-
header={
|
|
86
|
-
<Title headingLevel={'h1'}>
|
|
87
|
-
{title} {isLoading && <Spinner size="lg" data-testid="events-modal-spinner" />}
|
|
88
|
-
</Title>
|
|
89
|
-
}
|
|
90
93
|
isOpen={isOpen}
|
|
91
94
|
aria-label={t('ai:Displays events')}
|
|
92
|
-
hasNoBodyWrapper
|
|
93
|
-
actions={[
|
|
94
|
-
<Button
|
|
95
|
-
key="close"
|
|
96
|
-
variant={ButtonVariant.primary}
|
|
97
|
-
onClick={onClose}
|
|
98
|
-
data-testid="close-events-modal"
|
|
99
|
-
>
|
|
100
|
-
{t('ai:Close')}
|
|
101
|
-
</Button>,
|
|
102
|
-
]}
|
|
103
95
|
onClose={onClose}
|
|
104
96
|
variant={ModalVariant.large}
|
|
105
97
|
className="events-modal"
|
|
106
98
|
id={'events-modal'}
|
|
107
99
|
>
|
|
108
|
-
<
|
|
100
|
+
<ModalHeader
|
|
101
|
+
title={
|
|
102
|
+
<>
|
|
103
|
+
{title} {isLoading && <Spinner size="lg" data-testid="events-modal-spinner" />}
|
|
104
|
+
</>
|
|
105
|
+
}
|
|
106
|
+
/>
|
|
107
|
+
<ModalBody className="events-modal__body">
|
|
109
108
|
{fallbackEventsURL ? (
|
|
110
109
|
<ErrorState
|
|
111
110
|
title={t('ai:Could not load events')}
|
|
@@ -123,7 +122,17 @@ export const EventsModal = ({
|
|
|
123
122
|
) : (
|
|
124
123
|
<EventListFetch className="events-modal__event-list" setLoading={setLoading} {...rest} />
|
|
125
124
|
)}
|
|
126
|
-
</
|
|
125
|
+
</ModalBody>
|
|
126
|
+
<ModalFooter>
|
|
127
|
+
<Button
|
|
128
|
+
key="close"
|
|
129
|
+
variant={ButtonVariant.primary}
|
|
130
|
+
onClick={onClose}
|
|
131
|
+
data-testid="close-events-modal"
|
|
132
|
+
>
|
|
133
|
+
{t('ai:Close')}
|
|
134
|
+
</Button>
|
|
135
|
+
</ModalFooter>
|
|
127
136
|
</Modal>
|
|
128
137
|
);
|
|
129
138
|
};
|
|
@@ -14,16 +14,14 @@ export const AlertFormikError = ({ status, onClose }: AlertFormikErrorProps) =>
|
|
|
14
14
|
const actionClose = onClose ? <AlertActionCloseButton onClose={onClose} /> : undefined;
|
|
15
15
|
|
|
16
16
|
return (
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
</Alert>
|
|
26
|
-
</>
|
|
17
|
+
<Alert
|
|
18
|
+
variant={AlertVariant.danger}
|
|
19
|
+
title={status.error.title}
|
|
20
|
+
isInline
|
|
21
|
+
actionClose={actionClose}
|
|
22
|
+
>
|
|
23
|
+
{status.error.message}
|
|
24
|
+
</Alert>
|
|
27
25
|
);
|
|
28
26
|
};
|
|
29
27
|
|
|
@@ -2,13 +2,6 @@
|
|
|
2
2
|
padding-top: var(--pf-v6-c-helper-text--Gap);
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
-
.rich-input__group {
|
|
6
|
-
border-color: var(--pf-v6-global--BorderColor--300) var(--pf-v6-global--BorderColor--300)
|
|
7
|
-
var(--pf-v6-global--BorderColor--200) var(--pf-v6-global--BorderColor--300);
|
|
8
|
-
border-width: 1px;
|
|
9
|
-
border-style: solid;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
5
|
.rich-input__group--invalid {
|
|
13
6
|
border-bottom-color: var(--pf-v6-global--danger-color--100);
|
|
14
7
|
}
|
|
@@ -14,6 +14,7 @@ import {
|
|
|
14
14
|
InputGroupItem,
|
|
15
15
|
FormHelperText,
|
|
16
16
|
HelperText,
|
|
17
|
+
ButtonVariant,
|
|
17
18
|
} from '@patternfly/react-core';
|
|
18
19
|
import { CheckCircleIcon } from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
|
|
19
20
|
import { CheckIcon } from '@patternfly/react-icons/dist/js/icons/check-icon';
|
|
@@ -170,7 +171,7 @@ const RichInputField: React.FC<RichInputFieldPropsProps> = React.forwardRef(
|
|
|
170
171
|
<InfoCircleIcon color={blueInfoColor.value} />
|
|
171
172
|
)
|
|
172
173
|
}
|
|
173
|
-
variant=
|
|
174
|
+
variant={ButtonVariant.control}
|
|
174
175
|
aria-label="Validation"
|
|
175
176
|
/>
|
|
176
177
|
</Popover>
|
|
@@ -61,13 +61,22 @@ const TextAreaField: React.FC<TextAreaFieldProps> = ({
|
|
|
61
61
|
<FormHelperText>
|
|
62
62
|
<HelperText>
|
|
63
63
|
<HelperTextItem
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
id={errorMessage ? `${fieldId}-helper-error` : `${fieldId}-helper`}
|
|
64
|
+
variant={'default'}
|
|
65
|
+
id={`${fieldId}-helper`}
|
|
67
66
|
data-testid={`input-textarea-${fieldId}-helper-text`}
|
|
68
67
|
>
|
|
69
|
-
{
|
|
68
|
+
{helperText}
|
|
70
69
|
</HelperTextItem>
|
|
70
|
+
{errorMessage && (
|
|
71
|
+
<HelperTextItem
|
|
72
|
+
icon={<ExclamationCircleIcon />}
|
|
73
|
+
variant={'error'}
|
|
74
|
+
id={`${fieldId}-helper-error`}
|
|
75
|
+
data-testid={`input-textarea-${fieldId}-helper-text`}
|
|
76
|
+
>
|
|
77
|
+
{errorMessage}
|
|
78
|
+
</HelperTextItem>
|
|
79
|
+
)}
|
|
71
80
|
</HelperText>
|
|
72
81
|
</FormHelperText>
|
|
73
82
|
)}
|
|
@@ -17,14 +17,12 @@ const InventoryAddHosts = ({ cluster }: { cluster?: Cluster }) => {
|
|
|
17
17
|
return (
|
|
18
18
|
<Stack hasGutter>
|
|
19
19
|
<StackItem>
|
|
20
|
-
<
|
|
20
|
+
<Day2WizardContextProvider>
|
|
21
21
|
<Content component="p">
|
|
22
|
-
<
|
|
23
|
-
<Day2DiscoveryImageModalButton cluster={cluster} />
|
|
24
|
-
<Day2Wizard />
|
|
25
|
-
</Day2WizardContextProvider>
|
|
22
|
+
<Day2DiscoveryImageModalButton cluster={cluster} />
|
|
26
23
|
</Content>
|
|
27
|
-
|
|
24
|
+
<Day2Wizard />
|
|
25
|
+
</Day2WizardContextProvider>
|
|
28
26
|
</StackItem>
|
|
29
27
|
<StackItem>
|
|
30
28
|
<InformationAndAlerts cluster={cluster} />
|
|
@@ -23,11 +23,7 @@ const Day2HostStaticIpConfigurations = ({ isDisabled }: { isDisabled: boolean })
|
|
|
23
23
|
|
|
24
24
|
return (
|
|
25
25
|
<FormGroup
|
|
26
|
-
label={
|
|
27
|
-
<Content>
|
|
28
|
-
<Content component={ContentVariants.h4}>Hosts' network configuration</Content>
|
|
29
|
-
</Content>
|
|
30
|
-
}
|
|
26
|
+
label={<Content component={ContentVariants.h4}>Hosts' network configuration</Content>}
|
|
31
27
|
fieldId={getFieldId(GROUP_NAME, 'radio')}
|
|
32
28
|
isInline
|
|
33
29
|
onChange={onChangeNetworkType}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Modal, ModalVariant } from '@patternfly/react-core
|
|
3
|
-
import { WizardHeader } from '@patternfly/react-core';
|
|
2
|
+
import { Modal, ModalVariant, WizardHeader } from '@patternfly/react-core';
|
|
4
3
|
import classNames from 'classnames';
|
|
5
4
|
import { ClusterWizardStep } from '../../../../common';
|
|
6
5
|
import { useModalDialogsContext } from '../../hosts/ModalDialogsContext';
|
|
@@ -40,8 +39,7 @@ const Day2Wizard = () => {
|
|
|
40
39
|
aria-label={'Day 2 Wizard'}
|
|
41
40
|
isOpen={isOpen}
|
|
42
41
|
variant={ModalVariant.large}
|
|
43
|
-
|
|
44
|
-
hasNoBodyWrapper
|
|
42
|
+
onClose={undefined}
|
|
45
43
|
id="generate-discovery-iso-modal"
|
|
46
44
|
>
|
|
47
45
|
<div className={classNames('pf-v6-c-wizard', 'cluster-wizard')}>
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Button, ButtonVariant } from '@patternfly/react-core';
|
|
3
|
-
import { Modal, ModalVariant } from '@patternfly/react-core/deprecated';
|
|
2
|
+
import { Button, ButtonVariant, Modal, ModalHeader, ModalVariant } from '@patternfly/react-core';
|
|
4
3
|
import { pluralize } from 'humanize-plus';
|
|
5
4
|
import {
|
|
6
5
|
AI_CISCO_INTERSIGHT_TAG,
|
|
@@ -105,17 +104,17 @@ export const DiscoveryImageModal = () => {
|
|
|
105
104
|
return (
|
|
106
105
|
<Modal
|
|
107
106
|
aria-label="Add hosts dialog"
|
|
108
|
-
title={
|
|
109
|
-
<span data-testid="discovery-modal-title">{`Add ${pluralize(+isSNOCluster, 'host')}`}</span>
|
|
110
|
-
}
|
|
111
107
|
isOpen={isOpen}
|
|
112
108
|
onClose={close}
|
|
113
109
|
variant={ModalVariant.small}
|
|
114
|
-
hasNoBodyWrapper
|
|
115
110
|
id="generate-discovery-iso-modal"
|
|
116
|
-
tabIndex={0}
|
|
117
111
|
ouiaId="discovery-image-modal"
|
|
112
|
+
tabIndex={0}
|
|
118
113
|
>
|
|
114
|
+
<ModalHeader
|
|
115
|
+
data-testid="discovery-modal-title"
|
|
116
|
+
title={`Add ${pluralize(+isSNOCluster, 'host')}`}
|
|
117
|
+
/>
|
|
119
118
|
{(isoDownloadError || ipxeDownloadError) && <ErrorState />}
|
|
120
119
|
{isoDownloadUrl ? (
|
|
121
120
|
<DownloadIso
|
|
@@ -37,14 +37,12 @@ const HostInventory = ({ cluster }: { cluster: Cluster }) => {
|
|
|
37
37
|
</StackItem>
|
|
38
38
|
<StackItem data-testid="discovery-image-modal-section">
|
|
39
39
|
{!isViewerMode && !isSingleClusterFeatureEnabled && (
|
|
40
|
-
<Content>
|
|
41
|
-
<
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
/>
|
|
47
|
-
</Content>
|
|
40
|
+
<Content component="p">
|
|
41
|
+
<DiscoveryImageModalButton
|
|
42
|
+
ButtonComponent={Button}
|
|
43
|
+
cluster={cluster}
|
|
44
|
+
idPrefix="host-inventory"
|
|
45
|
+
/>
|
|
48
46
|
</Content>
|
|
49
47
|
)}
|
|
50
48
|
</StackItem>
|
|
@@ -77,9 +75,7 @@ const HostInventory = ({ cluster }: { cluster: Cluster }) => {
|
|
|
77
75
|
<InformationAndAlerts cluster={cluster} />
|
|
78
76
|
</StackItem>
|
|
79
77
|
<StackItem data-testid="host-inventory-title">
|
|
80
|
-
<Content>
|
|
81
|
-
<Content component="h3">Host Inventory</Content>
|
|
82
|
-
</Content>
|
|
78
|
+
<Content component="h3">Host Inventory</Content>
|
|
83
79
|
</StackItem>
|
|
84
80
|
<StackItem data-testid="hosts-discovery-table-wrapper">
|
|
85
81
|
<HostsDiscoveryTable cluster={cluster} />
|
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import * as Yup from 'yup';
|
|
3
|
-
import {
|
|
4
|
-
|
|
3
|
+
import {
|
|
4
|
+
Button,
|
|
5
|
+
Form,
|
|
6
|
+
AlertVariant,
|
|
7
|
+
Alert,
|
|
8
|
+
Stack,
|
|
9
|
+
StackItem,
|
|
10
|
+
ModalBody,
|
|
11
|
+
ModalFooter,
|
|
12
|
+
Flex,
|
|
13
|
+
FlexItem,
|
|
14
|
+
} from '@patternfly/react-core';
|
|
5
15
|
import { Formik, FormikHelpers } from 'formik';
|
|
6
16
|
import {
|
|
7
17
|
HostStaticNetworkConfig,
|
|
@@ -133,7 +143,7 @@ export const OcmDiscoveryImageConfigForm = ({
|
|
|
133
143
|
{({ submitForm, isSubmitting, status, setStatus }) => {
|
|
134
144
|
return (
|
|
135
145
|
<>
|
|
136
|
-
<
|
|
146
|
+
<ModalBody>
|
|
137
147
|
<Stack hasGutter>
|
|
138
148
|
<StackItem>
|
|
139
149
|
<Alert variant={AlertVariant.info} isInline title={alertDiscoveryText} />
|
|
@@ -158,32 +168,40 @@ export const OcmDiscoveryImageConfigForm = ({
|
|
|
158
168
|
</Form>
|
|
159
169
|
</StackItem>
|
|
160
170
|
</Stack>
|
|
161
|
-
</
|
|
162
|
-
<
|
|
171
|
+
</ModalBody>
|
|
172
|
+
<ModalFooter>
|
|
163
173
|
<Stack hasGutter style={{ width: '100%' }}>
|
|
174
|
+
{(status as StatusErrorType)?.error && (
|
|
175
|
+
<StackItem>
|
|
176
|
+
<AlertFormikError
|
|
177
|
+
status={status as StatusErrorType}
|
|
178
|
+
onClose={() => setStatus(undefined)}
|
|
179
|
+
/>
|
|
180
|
+
</StackItem>
|
|
181
|
+
)}
|
|
164
182
|
<StackItem>
|
|
165
|
-
<
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
</
|
|
183
|
+
<Flex>
|
|
184
|
+
<FlexItem>
|
|
185
|
+
<Button
|
|
186
|
+
onClick={() => {
|
|
187
|
+
void submitForm();
|
|
188
|
+
}}
|
|
189
|
+
isDisabled={isSubmitting}
|
|
190
|
+
isLoading={isSubmitting}
|
|
191
|
+
data-testid="generate-discovery-iso-button"
|
|
192
|
+
>
|
|
193
|
+
{isSubmitting ? t('ai:Generating') : buttonText}
|
|
194
|
+
</Button>
|
|
195
|
+
</FlexItem>
|
|
196
|
+
<FlexItem>
|
|
197
|
+
<Button key="cancel" variant="link" onClick={onCancel}>
|
|
198
|
+
{t('ai:Cancel')}
|
|
199
|
+
</Button>
|
|
200
|
+
</FlexItem>
|
|
201
|
+
</Flex>
|
|
184
202
|
</StackItem>
|
|
185
203
|
</Stack>
|
|
186
|
-
</
|
|
204
|
+
</ModalFooter>
|
|
187
205
|
</>
|
|
188
206
|
);
|
|
189
207
|
}}
|
package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/DeleteCustomManifestModal.tsx
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
|
|
2
|
+
import {
|
|
3
|
+
Button,
|
|
4
|
+
Content,
|
|
5
|
+
Modal,
|
|
6
|
+
ModalBody,
|
|
7
|
+
ModalFooter,
|
|
8
|
+
ModalHeader,
|
|
9
|
+
ModalVariant,
|
|
10
|
+
} from '@patternfly/react-core';
|
|
4
11
|
|
|
5
12
|
const DeleteCustomManifestModal = ({
|
|
6
13
|
isOpen,
|
|
@@ -11,28 +18,27 @@ const DeleteCustomManifestModal = ({
|
|
|
11
18
|
onClose: () => void;
|
|
12
19
|
onDelete: () => void;
|
|
13
20
|
}) => (
|
|
14
|
-
<Modal
|
|
15
|
-
title={'Remove custom manifests'}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
21
|
+
<Modal isOpen={isOpen} onClose={onClose} variant={ModalVariant.small}>
|
|
22
|
+
<ModalHeader title={'Remove custom manifests'} />
|
|
23
|
+
<ModalBody>
|
|
24
|
+
<Content>
|
|
25
|
+
All the data entered for custom manifests will be lost and there will not be any custom
|
|
26
|
+
manifests included in the installation.
|
|
27
|
+
</Content>
|
|
28
|
+
</ModalBody>
|
|
29
|
+
<ModalFooter>
|
|
20
30
|
<Button
|
|
21
31
|
data-testid="delete-manifest-submit"
|
|
22
32
|
key="confirm"
|
|
23
33
|
variant="danger"
|
|
24
34
|
onClick={onDelete}
|
|
25
35
|
>
|
|
26
|
-
|
|
27
|
-
</Button
|
|
36
|
+
Remove
|
|
37
|
+
</Button>
|
|
28
38
|
<Button key="cancel" variant="link" onClick={onClose}>
|
|
29
39
|
Cancel
|
|
30
|
-
</Button
|
|
31
|
-
|
|
32
|
-
>
|
|
33
|
-
{
|
|
34
|
-
'All the data entered for custom manifests will be lost and there will not be any custom manifests included in the installation.'
|
|
35
|
-
}
|
|
40
|
+
</Button>
|
|
41
|
+
</ModalFooter>
|
|
36
42
|
</Modal>
|
|
37
43
|
);
|
|
38
44
|
|
package/lib/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.tsx
CHANGED
|
@@ -61,15 +61,15 @@ const AdvancedNetworkFields = () => {
|
|
|
61
61
|
);
|
|
62
62
|
|
|
63
63
|
return (
|
|
64
|
-
<Grid
|
|
64
|
+
<Grid className="pf-v6-u-ml-lg">
|
|
65
65
|
<FieldArray name="clusterNetworks">
|
|
66
66
|
{() => (
|
|
67
67
|
<FormGroup fieldId="clusterNetworks" labelInfo={isDualStack && 'Primary'}>
|
|
68
68
|
{values.clusterNetworks?.map((_, index) => {
|
|
69
69
|
const networkSuffix = getNetworkLabelSuffix(index, isDualStack);
|
|
70
70
|
return (
|
|
71
|
-
<Grid
|
|
72
|
-
<GridItem className={'network-field-group
|
|
71
|
+
<Grid key={index} className="pf-v6-u-pb-md">
|
|
72
|
+
<GridItem className={'network-field-group'}>
|
|
73
73
|
<OcmInputField
|
|
74
74
|
name={`clusterNetworks.${index}.cidr`}
|
|
75
75
|
label={
|
|
@@ -85,7 +85,7 @@ const AdvancedNetworkFields = () => {
|
|
|
85
85
|
labelInfo={index === 0 && isDualStack ? 'Primary' : ''}
|
|
86
86
|
/>
|
|
87
87
|
</GridItem>
|
|
88
|
-
<GridItem className={'network-field-group
|
|
88
|
+
<GridItem className={'network-field-group'}>
|
|
89
89
|
<OcmInputField
|
|
90
90
|
name={`clusterNetworks.${index}.hostPrefix`}
|
|
91
91
|
label={
|
|
@@ -123,7 +123,7 @@ const AdvancedNetworkFields = () => {
|
|
|
123
123
|
{() => (
|
|
124
124
|
<FormGroup fieldId="serviceNetworks" labelInfo={isDualStack && 'Primary'}>
|
|
125
125
|
{values.serviceNetworks?.map((_, index) => (
|
|
126
|
-
<GridItem key={index} className={'network-field-group
|
|
126
|
+
<GridItem key={index} className={'network-field-group'}>
|
|
127
127
|
<OcmInputField
|
|
128
128
|
name={`serviceNetworks.${index}.cidr`}
|
|
129
129
|
label={
|
package/lib/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.tsx
CHANGED
|
@@ -79,6 +79,7 @@ export const AvailableSubnetsControl = ({
|
|
|
79
79
|
name={`machineNetworks.${index}.cidr`}
|
|
80
80
|
machineSubnets={machineSubnets}
|
|
81
81
|
isDisabled={isDisabled}
|
|
82
|
+
data-testid={`subnets-dropdown-toggle-${index ? 'ipv6' : 'ipv4'}`}
|
|
82
83
|
/>
|
|
83
84
|
</StackItem>
|
|
84
85
|
);
|
|
@@ -89,6 +90,7 @@ export const AvailableSubnetsControl = ({
|
|
|
89
90
|
name={`machineNetworks.0.cidr`}
|
|
90
91
|
machineSubnets={IPv4Subnets}
|
|
91
92
|
isDisabled={isDisabled}
|
|
93
|
+
data-testid={'subnets-dropdown-toggle-ipv4'}
|
|
92
94
|
/>
|
|
93
95
|
</StackItem>
|
|
94
96
|
)}
|
package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx
CHANGED
|
@@ -153,9 +153,7 @@ const NetworkConfigurationForm: React.FC<{
|
|
|
153
153
|
</Grid>
|
|
154
154
|
</GridItem>
|
|
155
155
|
<GridItem>
|
|
156
|
-
<Content>
|
|
157
|
-
<Content component="h2">Host inventory</Content>
|
|
158
|
-
</Content>
|
|
156
|
+
<Content component="h2">Host inventory</Content>
|
|
159
157
|
<NetworkConfigurationTable cluster={cluster} />
|
|
160
158
|
</GridItem>
|
|
161
159
|
</Grid>
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
Dropdown,
|
|
4
|
+
DropdownItem,
|
|
5
|
+
MenuToggle,
|
|
6
|
+
MenuToggleElement,
|
|
7
|
+
MenuToggleProps,
|
|
8
|
+
} from '@patternfly/react-core';
|
|
3
9
|
import { useField } from 'formik';
|
|
4
10
|
import { getFieldId, HostSubnet, NO_SUBNET_SET } from '../../../../common';
|
|
5
11
|
|
|
@@ -32,7 +38,12 @@ const noSubnetAvailableOption = {
|
|
|
32
38
|
id: 'form-input-hostSubnet-field-option-no-subnet-available',
|
|
33
39
|
};
|
|
34
40
|
|
|
35
|
-
export const SubnetsDropdown = ({
|
|
41
|
+
export const SubnetsDropdown = ({
|
|
42
|
+
name,
|
|
43
|
+
machineSubnets,
|
|
44
|
+
isDisabled,
|
|
45
|
+
...props
|
|
46
|
+
}: SubnetsDropdownProps & MenuToggleProps) => {
|
|
36
47
|
const [field, , { setValue }] = useField(name);
|
|
37
48
|
const [isOpen, setOpen] = React.useState(false);
|
|
38
49
|
const fieldId = getFieldId(name, 'input');
|
|
@@ -79,7 +90,7 @@ export const SubnetsDropdown = ({ name, machineSubnets, isDisabled }: SubnetsDro
|
|
|
79
90
|
id={fieldId}
|
|
80
91
|
className="pf-v6-u-w-100"
|
|
81
92
|
style={{ minWidth: '100%' }}
|
|
82
|
-
|
|
93
|
+
{...props}
|
|
83
94
|
>
|
|
84
95
|
{currentDisplayValue}
|
|
85
96
|
</MenuToggle>
|
|
@@ -41,9 +41,7 @@ const HostSummary: React.FC<HostSummaryProps> = ({
|
|
|
41
41
|
<StackItem data-testid={`collapsed-host-${hostIdx}`}>
|
|
42
42
|
<Flex>
|
|
43
43
|
<FlexItem>
|
|
44
|
-
<Content>
|
|
45
|
-
<Content component={ContentVariants.small}>{title}</Content>
|
|
46
|
-
</Content>
|
|
44
|
+
<Content component={ContentVariants.small}>{title}</Content>
|
|
47
45
|
</FlexItem>
|
|
48
46
|
{hasError && (
|
|
49
47
|
<Label
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
|
|
2
|
+
import {
|
|
3
|
+
Button,
|
|
4
|
+
ButtonVariant,
|
|
5
|
+
Modal,
|
|
6
|
+
ModalBody,
|
|
7
|
+
ModalFooter,
|
|
8
|
+
ModalHeader,
|
|
9
|
+
Stack,
|
|
10
|
+
StackItem,
|
|
11
|
+
} from '@patternfly/react-core';
|
|
4
12
|
|
|
5
13
|
import { useTranslation } from '../../../../../../common/hooks/use-translation-wrapper';
|
|
6
14
|
|
|
@@ -16,27 +24,25 @@ const BondDeleteModalModal = ({ isOpen, onConfirm, onCancel }: BondDeleteModalMo
|
|
|
16
24
|
return (
|
|
17
25
|
<Modal
|
|
18
26
|
aria-label={t('ai:Remove bond dialog')}
|
|
19
|
-
title={t('ai:Remove bond?')}
|
|
20
27
|
isOpen={isOpen}
|
|
21
28
|
onClose={onCancel}
|
|
22
|
-
hasNoBodyWrapper
|
|
23
29
|
id="remove-bond-modal"
|
|
24
30
|
variant="medium"
|
|
25
|
-
titleIconVariant="warning"
|
|
26
31
|
>
|
|
27
|
-
<
|
|
32
|
+
<ModalHeader title={t('ai:Remove bond?')} titleIconVariant="warning" />
|
|
33
|
+
<ModalBody>
|
|
28
34
|
<Stack hasGutter>
|
|
29
35
|
<StackItem>{t('ai:The bond associated with the host will be removed.')}</StackItem>
|
|
30
36
|
</Stack>
|
|
31
|
-
</
|
|
32
|
-
<
|
|
37
|
+
</ModalBody>
|
|
38
|
+
<ModalFooter>
|
|
33
39
|
<Button onClick={onConfirm} variant={ButtonVariant.danger}>
|
|
34
40
|
{t('ai:Remove bond')}
|
|
35
41
|
</Button>
|
|
36
42
|
<Button onClick={onCancel} variant={ButtonVariant.secondary}>
|
|
37
43
|
{t('ai:Cancel')}
|
|
38
44
|
</Button>
|
|
39
|
-
</
|
|
45
|
+
</ModalFooter>
|
|
40
46
|
</Modal>
|
|
41
47
|
);
|
|
42
48
|
};
|
|
@@ -150,9 +150,7 @@ export const FormViewHostsFields: React.FC<{ protocolType: StaticProtocolType }>
|
|
|
150
150
|
const ExpandedHostComponent = getExpandedHostComponent(protocolType);
|
|
151
151
|
return (
|
|
152
152
|
<>
|
|
153
|
-
<Content>
|
|
154
|
-
<Content component={ContentVariants.h3}>Host specific configurations</Content>
|
|
155
|
-
</Content>
|
|
153
|
+
<Content component={ContentVariants.h3}>Host specific configurations</Content>
|
|
156
154
|
<StaticIpHostsArray<FormViewHost>
|
|
157
155
|
CollapsedHostComponent={CollapsedHostComponent}
|
|
158
156
|
ExpandedHostComponent={ExpandedHostComponent}
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
Content,
|
|
4
|
+
ContentVariants,
|
|
5
|
+
Alert,
|
|
6
|
+
AlertVariant,
|
|
7
|
+
Grid,
|
|
8
|
+
GridItem,
|
|
9
|
+
} from '@patternfly/react-core';
|
|
3
10
|
import { StaticIpInfo, StaticIpView } from '../data/dataTypes';
|
|
4
11
|
import StaticIpViewRadioGroup from './StaticIpViewRadioGroup';
|
|
5
12
|
import { getStaticIpInfo } from '../data/fromInfraEnv';
|
|
@@ -77,13 +84,13 @@ export const StaticIpPage: React.FC<StaticIpPageProps> = ({
|
|
|
77
84
|
}
|
|
78
85
|
return (
|
|
79
86
|
<Grid hasGutter>
|
|
80
|
-
<
|
|
87
|
+
<GridItem>
|
|
81
88
|
<Content component={ContentVariants.h2}>Static network configurations</Content>
|
|
82
89
|
<Content component={ContentVariants.small}>
|
|
83
90
|
Network configuration can be done using either the form view or YAML view. Configurations
|
|
84
91
|
done in this step are for discovering hosts.
|
|
85
92
|
</Content>
|
|
86
|
-
</
|
|
93
|
+
</GridItem>
|
|
87
94
|
|
|
88
95
|
{clusterWizardContext.currentStepId === 'static-ip-network-wide-configurations' && (
|
|
89
96
|
<StaticIpViewRadioGroup
|
package/lib/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlViewFields.tsx
CHANGED
|
@@ -83,14 +83,12 @@ export const YamlViewFields = () => {
|
|
|
83
83
|
const emptyHostData = getEmptyYamlHost();
|
|
84
84
|
return (
|
|
85
85
|
<Grid hasGutter>
|
|
86
|
-
<Content>
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
</a>
|
|
93
|
-
</Content>
|
|
86
|
+
<Content component={ContentVariants.small}>
|
|
87
|
+
Upload, drag and drop, or copy and paste a YAML file that contains NMState into the editor
|
|
88
|
+
for network configurations. Each host also needs the MAC to interface name mapping.{' '}
|
|
89
|
+
<a href={NMSTATE_EXAMPLES_LINK} target="_blank" rel="noopener noreferrer">
|
|
90
|
+
Learn more about NMState <ExternalLinkAltIcon />
|
|
91
|
+
</a>
|
|
94
92
|
</Content>
|
|
95
93
|
|
|
96
94
|
<StaticIpHostsArray<HostStaticNetworkConfig>
|