@openshift-assisted/ui-lib 2.17.3-cim → 2.17.6-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/BMHStatusInfo.d.ts.map +1 -1
- package/build/@types/cim/components/Agent/MinimalHWRequirements.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/networkConfigurationValidation.d.ts +1 -1
- package/build/@types/cim/components/ClusterDeployment/networkConfigurationValidation.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/use-networking-formik.d.ts +4 -4
- package/build/@types/cim/components/ClusterDeployment/use-networking-formik.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/DetailsPage/ConditionsTable.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/DetailsPage/HostedClusterProgress.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/DetailsPage/NodePoolsProgress.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/utils/status.d.ts +2 -2
- package/build/@types/cim/components/Hypershift/utils/status.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/EnvironmentDetails.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/agentStatus.d.ts +1 -1
- package/build/@types/cim/components/helpers/agentStatus.d.ts.map +1 -1
- package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationFormFields.d.ts.map +1 -1
- package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/CimConfiguration/persist.d.ts.map +1 -1
- package/build/@types/cim/components/modals/CimConfiguration/types.d.ts +1 -1
- package/build/@types/cim/components/modals/MassDeleteAgentModal.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/FinalizingProgress.d.ts +1 -1
- package/build/@types/common/components/clusterDetail/FinalizingProgress.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/OperatorsProgressItem.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/ProgressBarTexts.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/ReviewValidations.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.d.ts +2 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.d.ts +2 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostPropertyValidationPopover.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/Hostname.d.ts.map +1 -1
- package/build/@types/common/components/hosts/MassChangeHostnameModal.d.ts.map +1 -1
- package/build/@types/common/components/hosts/VMRebootConfigurationInfo.d.ts.map +1 -1
- package/build/@types/common/components/hosts/status.d.ts.map +1 -1
- package/build/@types/common/components/storage/DisksTable.d.ts.map +1 -1
- package/build/@types/common/components/storage/StorageUtils.d.ts +1 -1
- package/build/@types/common/components/storage/StorageUtils.d.ts.map +1 -1
- package/build/@types/common/components/ui/WizardNavItem.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.map +1 -1
- package/build/@types/common/components/ui/formik/utils.d.ts +1 -0
- package/build/@types/common/components/ui/formik/utils.d.ts.map +1 -1
- package/build/@types/common/components/ui/index.d.ts +0 -1
- package/build/@types/common/components/ui/index.d.ts.map +1 -1
- package/build/@types/common/config/constants.d.ts +2 -2
- package/build/@types/common/config/constants.d.ts.map +1 -1
- package/build/@types/common/validationSchemas/addressValidation.d.ts.map +1 -1
- package/build/@types/common/validationSchemas/networkingValidation.d.ts +10 -0
- package/build/@types/common/validationSchemas/networkingValidation.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmOperatorProgressItem.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.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/networkConfigurationValidation.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/HostInventoryExpandable.d.ts +1 -1
- package/build/@types/ocm/components/clusterDetail/HostInventoryExpandable.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/OpenShiftVersionDetail.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ResetClusterModal.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/ClusterStatus.d.ts.map +1 -1
- package/build/@types/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.d.ts.map +1 -1
- package/build/@types/ocm/components/ui/InfoLinkWithModal.d.ts.map +1 -1
- package/build/cjs/cim/components/Agent/BMHStatusInfo.js +4 -4
- package/build/cjs/cim/components/Agent/BMHStatusInfo.js.map +1 -1
- package/build/cjs/cim/components/Agent/MinimalHWRequirements.js +2 -2
- package/build/cjs/cim/components/Agent/MinimalHWRequirements.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/NetworkConfiguration.js +44 -5
- package/build/cjs/cim/components/ClusterDeployment/NetworkConfiguration.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/networkConfigurationValidation.js +27 -11
- package/build/cjs/cim/components/ClusterDeployment/networkConfigurationValidation.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js +13 -18
- package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/ConditionsTable.js +7 -6
- package/build/cjs/cim/components/Hypershift/DetailsPage/ConditionsTable.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/HostedClusterProgress.js +3 -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/utils/status.js +8 -7
- package/build/cjs/cim/components/Hypershift/utils/status.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/EnvironmentDetails.js +4 -4
- package/build/cjs/cim/components/InfraEnv/EnvironmentDetails.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.js +3 -3
- package/build/cjs/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.js.map +1 -1
- package/build/cjs/cim/components/helpers/agentStatus.js +3 -2
- package/build/cjs/cim/components/helpers/agentStatus.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationFormFields.js +7 -3
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationFormFields.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationModal.js +4 -3
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationModal.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/persist.js +7 -0
- package/build/cjs/cim/components/modals/CimConfiguration/persist.js.map +1 -1
- package/build/cjs/cim/components/modals/MassDeleteAgentModal.js +2 -2
- package/build/cjs/cim/components/modals/MassDeleteAgentModal.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.js +2 -1
- package/build/cjs/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/FinalizingProgress.js +8 -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 +5 -4
- package/build/cjs/common/components/clusterDetail/ProgressBarTexts.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/ReviewValidations.js +7 -6
- package/build/cjs/common/components/clusterWizard/ReviewValidations.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.js +8 -2
- package/build/cjs/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.js +29 -19
- package/build/cjs/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js +2 -2
- package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js.map +1 -1
- package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js +6 -6
- package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js.map +1 -1
- package/build/cjs/common/components/hosts/HostStatus.js +2 -1
- package/build/cjs/common/components/hosts/HostStatus.js.map +1 -1
- package/build/cjs/common/components/hosts/HostValidationGroups.js +6 -6
- package/build/cjs/common/components/hosts/HostValidationGroups.js.map +1 -1
- package/build/cjs/common/components/hosts/Hostname.js +4 -3
- package/build/cjs/common/components/hosts/Hostname.js.map +1 -1
- package/build/cjs/common/components/hosts/MassChangeHostnameModal.js +2 -2
- package/build/cjs/common/components/hosts/MassChangeHostnameModal.js.map +1 -1
- package/build/cjs/common/components/hosts/VMRebootConfigurationInfo.js +2 -1
- package/build/cjs/common/components/hosts/VMRebootConfigurationInfo.js.map +1 -1
- package/build/cjs/common/components/hosts/status.js +19 -13
- package/build/cjs/common/components/hosts/status.js.map +1 -1
- package/build/cjs/common/components/storage/DisksTable.js +4 -2
- package/build/cjs/common/components/storage/DisksTable.js.map +1 -1
- package/build/cjs/common/components/storage/StorageUtils.js +3 -2
- package/build/cjs/common/components/storage/StorageUtils.js.map +1 -1
- package/build/cjs/common/components/ui/WizardNavItem.js +2 -2
- package/build/cjs/common/components/ui/WizardNavItem.js.map +1 -1
- package/build/cjs/common/components/ui/formik/RemovableField.js +3 -3
- package/build/cjs/common/components/ui/formik/RemovableField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/RichInputField.js +4 -4
- package/build/cjs/common/components/ui/formik/RichInputField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/utils.js +5 -1
- package/build/cjs/common/components/ui/formik/utils.js.map +1 -1
- package/build/cjs/common/components/ui/index.js +1 -3
- package/build/cjs/common/components/ui/index.js.map +1 -1
- package/build/cjs/common/config/constants.js +9 -2
- package/build/cjs/common/config/constants.js.map +1 -1
- package/build/cjs/common/validationSchemas/addressValidation.js +16 -4
- package/build/cjs/common/validationSchemas/addressValidation.js.map +1 -1
- package/build/cjs/common/validationSchemas/networkingValidation.js +19 -1
- package/build/cjs/common/validationSchemas/networkingValidation.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/OpenshiftVersionHelperText.js +5 -2
- package/build/cjs/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js +6 -3
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.js +4 -4
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.js +5 -3
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.js +11 -7
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/HostInventoryExpandable.js +5 -4
- package/build/cjs/ocm/components/clusterDetail/HostInventoryExpandable.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/OpenShiftVersionDetail.js +4 -3
- package/build/cjs/ocm/components/clusterDetail/OpenShiftVersionDetail.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ResetClusterModal.js +4 -2
- package/build/cjs/ocm/components/clusterDetail/ResetClusterModal.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClusterStatus.js +13 -7
- package/build/cjs/ocm/components/clusters/ClusterStatus.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js +7 -6
- package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js.map +1 -1
- package/build/cjs/ocm/components/ui/InfoLinkWithModal.js +2 -2
- package/build/cjs/ocm/components/ui/InfoLinkWithModal.js.map +1 -1
- package/lib/cim/components/Agent/BMHStatusInfo.tsx +12 -4
- package/lib/cim/components/Agent/MinimalHWRequirements.tsx +4 -2
- package/lib/cim/components/ClusterDeployment/NetworkConfiguration.tsx +51 -3
- package/lib/cim/components/ClusterDeployment/networkConfigurationValidation.ts +22 -8
- package/lib/cim/components/ClusterDeployment/use-networking-formik.ts +14 -22
- package/lib/cim/components/Hypershift/DetailsPage/ConditionsTable.tsx +13 -7
- package/lib/cim/components/Hypershift/DetailsPage/HostedClusterProgress.tsx +8 -4
- package/lib/cim/components/Hypershift/DetailsPage/NodePoolsProgress.tsx +6 -2
- package/lib/cim/components/Hypershift/utils/status.tsx +20 -9
- package/lib/cim/components/InfraEnv/EnvironmentDetails.tsx +11 -4
- package/lib/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.tsx +4 -6
- package/lib/cim/components/helpers/agentStatus.tsx +7 -3
- package/lib/cim/components/modals/CimConfiguration/CimConfigurationFormFields.tsx +7 -5
- package/lib/cim/components/modals/CimConfiguration/CimConfigurationModal.tsx +4 -3
- package/lib/cim/components/modals/CimConfiguration/persist.ts +11 -0
- package/lib/cim/components/modals/CimConfiguration/types.ts +1 -1
- package/lib/cim/components/modals/MassDeleteAgentModal.tsx +12 -5
- package/lib/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.tsx +5 -2
- package/lib/common/components/clusterDetail/FinalizingProgress.tsx +21 -10
- package/lib/common/components/clusterDetail/OperatorsProgressItem.tsx +11 -5
- package/lib/common/components/clusterDetail/ProgressBarTexts.tsx +17 -5
- package/lib/common/components/clusterWizard/ReviewValidations.tsx +15 -6
- package/lib/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.tsx +8 -1
- package/lib/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.tsx +37 -27
- package/lib/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.tsx +0 -2
- package/lib/common/components/hosts/HostPropertyValidationPopover.tsx +9 -5
- package/lib/common/components/hosts/HostStatus.tsx +14 -3
- package/lib/common/components/hosts/HostValidationGroups.tsx +9 -5
- package/lib/common/components/hosts/Hostname.tsx +7 -4
- package/lib/common/components/hosts/MassChangeHostnameModal.tsx +6 -2
- package/lib/common/components/hosts/VMRebootConfigurationInfo.tsx +12 -3
- package/lib/common/components/hosts/status.tsx +46 -13
- package/lib/common/components/storage/DisksTable.tsx +15 -4
- package/lib/common/components/storage/StorageUtils.tsx +6 -4
- package/lib/common/components/ui/WizardNavItem.tsx +4 -7
- package/lib/common/components/ui/formik/RemovableField.tsx +8 -4
- package/lib/common/components/ui/formik/RichInputField.tsx +10 -6
- package/lib/common/components/ui/formik/utils.ts +6 -0
- package/lib/common/components/ui/index.ts +0 -2
- package/lib/common/config/constants.ts +10 -1
- package/lib/common/validationSchemas/addressValidation.tsx +16 -11
- package/lib/common/validationSchemas/networkingValidation.tsx +39 -1
- package/lib/ocm/components/clusterConfiguration/OcmOperatorProgressItem.tsx +11 -5
- package/lib/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.tsx +8 -7
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx +8 -5
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.ts +6 -5
- package/lib/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.tsx +6 -3
- package/lib/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.tsx +28 -15
- package/lib/ocm/components/clusterDetail/HostInventoryExpandable.tsx +11 -5
- package/lib/ocm/components/clusterDetail/OpenShiftVersionDetail.tsx +8 -5
- package/lib/ocm/components/clusterDetail/ResetClusterModal.tsx +6 -3
- package/lib/ocm/components/clusters/ClusterStatus.tsx +30 -8
- package/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx +12 -8
- package/lib/ocm/components/ui/InfoLinkWithModal.tsx +4 -2
- package/package.json +3 -3
- package/build/@types/common/components/ui/UiIcon.d.ts +0 -11
- package/build/@types/common/components/ui/UiIcon.d.ts.map +0 -1
- package/build/cjs/common/components/ui/UiIcon.js +0 -11
- package/build/cjs/common/components/ui/UiIcon.js.map +0 -1
- package/lib/common/components/ui/UiIcon.tsx +0 -21
package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReviewClusterFeatureSupportLevels.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx"],"names":[],"mappings":";;;;AAAA,+FAA0F;AAC1F,6FAAwF;AACxF,
|
|
1
|
+
{"version":3,"file":"ReviewClusterFeatureSupportLevels.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,+FAA0F;AAC1F,6FAAwF;AACxF,uDAAuD;AACvD,iDAK+B;AAC/B,kEAA4E;AAC5E,sGAAsE;AAEtE,4CAA6C;AAC7C,oFAA0G;AAC1G,kGAA+F;AAC/F,2FAA+E;AAC/E,wFAAwF;AAExF,gGAG4D;AAC5D,yDAAqD;AAErD,MAAM,oBAAoB,GAAG,CAAC,SAAoB,EAAU,EAAE;IAC5D,QAAQ,SAAS,EAAE;QACjB,KAAK,KAAK;YACR,OAAO,qCAAqC,CAAC;QAC/C,KAAK,gBAAgB;YACnB,OAAO,8BAA8B,CAAC;QACxC,KAAK,oBAAoB;YACvB,OAAO,sCAAsC,CAAC;QAChD;YACE,OAAO,SAAS,CAAC;KACpB;AACH,CAAC,CAAC;AAEF,MAAM,2BAA2B,GAAG,CAAC,YAAiC,EAAE,EAAE;IACxE,IAAI,YAAY,KAAK,aAAa,EAAE;QAClC,OAAO,4BAA4B,CAAC;KACrC;IACD,OAAO,8BAAC,sBAAY,IAAC,IAAI,EAAE,oCAAuB,kCAA4C,CAAC;AACjG,CAAC,CAAC;AAEF,MAAM,qBAAqB,GAAG,CAAC,eAAwC,EAAE,EAAE;IACzE,MAAM,oBAAoB,GAAkD;QAC1E,cAAc,EAAE,EAAE;QAClB,aAAa,EAAE,EAAE;KAClB,CAAC;IACF,KAAK,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,eAAe,CAAC,EAAE;QACvE,IAAI,CAAC,IAAA,6BAAqB,EAAC,YAAY,CAA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,2BAA2B,EAAE,GAAG,IAAA,sDAA2B,GAAE,CAAC;IACtE,MAAM,6BAA6B,GAAG,IAAA,wBAAU,EAAC,2CAA2C,CAAC,CAAC;IAE9F,MAAM,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,GACrE,eAAK,CAAC,OAAO,CACX,GAAG,EAAE,CACH,IAAA,2BAAmB,EACjB,OAAO,EACP,uBAAuB,EACvB,2BAA2B,EAC3B,CAAC,EACD,6BAA6B,CAC9B,EACH;QACE,OAAO;QACP,uBAAuB;QACvB,CAAC;QACD,2BAA2B;QAC3B,6BAA6B;KAC9B,CACF,CAAC;IAEJ,IAAI,CAAC,sBAAsB,EAAE;QAC3B,OAAO,IAAI,CAAC;KACb;IAED,OAAO,CACL,8BAAC,mBAAU,IACT,KAAK,EAAE,IAAA,mCAA2B,EAAC,gBAAgB,CAAC,EACpD,KAAK,EACH,gBAAgB,CAAC,CAAC,CAAC,CACjB,8BAAC,6BAAqB,OAAG,CAC1B,CAAC,CAAC,CAAC,CACF,8BAAC,+BAAuB,IACtB,2BAA2B,EAAE,sBAAsB,EACnD,kBAAkB,EAAE,CAAC,mBAAmB,IAAI,6BAA6B,GACzE,CACH,EAEH,cAAc,EAAE,eAAe,EAC/B,MAAM,EAAC,wBAAwB,GAC/B,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,qCAAqC,GAAG,CAAC,EAA+B,EAAE,EAAE;QAA9B,KAAK,sBAAV,EAAY,CAAF;IAA0B,OAAA,CACjF,8BAAC,qCAAiB,IAAC,KAAK,EAAC,uCAAuC;QAC9D,8BAAC,YAAY,oBAAK,KAAK,EAAI,CACT,CACrB,CAAA;CAAA,CAAC;AACF,kBAAe,qCAAqC,CAAC"}
|
|
@@ -4,7 +4,6 @@ const tslib_1 = require("tslib");
|
|
|
4
4
|
const react_1 = tslib_1.__importDefault(require("react"));
|
|
5
5
|
const react_core_1 = require("@patternfly/react-core");
|
|
6
6
|
const info_circle_icon_1 = require("@patternfly/react-icons/dist/js/icons/info-circle-icon");
|
|
7
|
-
const common_1 = require("../../../common");
|
|
8
7
|
const InfoLinkWithModal = ({ linkText, infoCircleSize = 'sm', modalTitle, modalVariant = 'medium', isInline = false, linkId, modalId, children, }) => {
|
|
9
8
|
const [isModalOpen, setModalOpen] = react_1.default.useState(false);
|
|
10
9
|
const handleModalClose = react_1.default.useCallback(() => setModalOpen(false), []);
|
|
@@ -13,7 +12,8 @@ const InfoLinkWithModal = ({ linkText, infoCircleSize = 'sm', modalTitle, modalV
|
|
|
13
12
|
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
14
13
|
react_1.default.createElement(react_core_1.Button, { id: linkId, variant: react_core_1.ButtonVariant.link, onClick: handleLinkClick, isInline: true },
|
|
15
14
|
!isInline && (react_1.default.createElement(react_1.default.Fragment, null,
|
|
16
|
-
react_1.default.createElement(
|
|
15
|
+
react_1.default.createElement(react_core_1.Icon, { size: infoCircleSize },
|
|
16
|
+
react_1.default.createElement(info_circle_icon_1.InfoCircleIcon, null)),
|
|
17
17
|
"\u00A0")),
|
|
18
18
|
linkText),
|
|
19
19
|
react_1.default.createElement(react_core_1.Modal, { id: modalId, isOpen: isModalOpen, onClose: handleModalClose, variant: modalVariant },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InfoLinkWithModal.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/ui/InfoLinkWithModal.tsx"],"names":[],"mappings":";;;AAAA,0DAA0B;AAC1B,
|
|
1
|
+
{"version":3,"file":"InfoLinkWithModal.js","sourceRoot":"","sources":["../../../../../lib/ocm/components/ui/InfoLinkWithModal.tsx"],"names":[],"mappings":";;;AAAA,0DAA0B;AAC1B,uDAUgC;AAChC,6FAAwF;AAYxF,MAAM,iBAAiB,GAAG,CAAC,EACzB,QAAQ,EACR,cAAc,GAAG,IAAI,EACrB,UAAU,EACV,YAAY,GAAG,QAAQ,EACvB,QAAQ,GAAG,KAAK,EAChB,MAAM,EACN,OAAO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
11
|
+
Icon,
|
|
11
12
|
} from '@patternfly/react-core';
|
|
12
13
|
import { CheckCircleIcon } from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
|
|
13
14
|
import { PendingIcon } from '@patternfly/react-icons/dist/js/icons/pending-icon';
|
|
14
15
|
import { ExclamationTriangleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-triangle-icon';
|
|
15
|
-
import { t_global_color_status_success_default as okColor } from '@patternfly/react-tokens/dist/js/t_global_color_status_success_default';
|
|
16
|
-
import { t_global_icon_color_status_warning_default as warningColor } from '@patternfly/react-tokens/dist/js/t_global_icon_color_status_warning_default';
|
|
17
16
|
|
|
18
17
|
import { getHumanizedDateTime, useTranslation } from '../../../common';
|
|
19
18
|
import { BareMetalHostK8sResource } from '../../types';
|
|
@@ -44,10 +43,19 @@ export const BMHStatusInfo = ({
|
|
|
44
43
|
switch (bmh.status?.operationalStatus) {
|
|
45
44
|
case 'OK':
|
|
46
45
|
case 'discovered':
|
|
47
|
-
icon =
|
|
46
|
+
icon = (
|
|
47
|
+
<Icon status="success">
|
|
48
|
+
<CheckCircleIcon />
|
|
49
|
+
</Icon>
|
|
50
|
+
);
|
|
51
|
+
|
|
48
52
|
break;
|
|
49
53
|
case 'error':
|
|
50
|
-
icon =
|
|
54
|
+
icon = (
|
|
55
|
+
<Icon status="warning">
|
|
56
|
+
<ExclamationTriangleIcon />
|
|
57
|
+
</Icon>
|
|
58
|
+
);
|
|
51
59
|
break;
|
|
52
60
|
default:
|
|
53
61
|
icon = <PendingIcon />;
|
|
@@ -2,6 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import {
|
|
3
3
|
Button,
|
|
4
4
|
ButtonVariant,
|
|
5
|
+
Icon,
|
|
5
6
|
Modal,
|
|
6
7
|
ModalBody,
|
|
7
8
|
ModalFooter,
|
|
@@ -15,7 +16,6 @@ import HostRequirements, {
|
|
|
15
16
|
HostRequirementsListProps,
|
|
16
17
|
} from '../../../common/components/hosts/HostRequirements';
|
|
17
18
|
import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
|
|
18
|
-
import { UiIcon } from '../../../common';
|
|
19
19
|
|
|
20
20
|
type HostData = {
|
|
21
21
|
cpu_cores: number;
|
|
@@ -86,7 +86,9 @@ const MinimalHWRequirements: React.FC<MinimalHWRequirementsProps> = ({
|
|
|
86
86
|
isInline
|
|
87
87
|
className="host-requirements-link"
|
|
88
88
|
>
|
|
89
|
-
<
|
|
89
|
+
<Icon status="warning" size="sm">
|
|
90
|
+
<InfoCircleIcon />
|
|
91
|
+
</Icon>
|
|
90
92
|
{t('ai:Minimum hardware requirements')}
|
|
91
93
|
</Button>
|
|
92
94
|
<MinimalHWRequirementsModal
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { useEffect, useCallback } from 'react';
|
|
2
2
|
import { useFormikContext } from 'formik';
|
|
3
|
+
import isCIDR from 'is-cidr';
|
|
3
4
|
import { Checkbox, Grid } from '@patternfly/react-core';
|
|
4
5
|
import { NetworkConfigurationValues } from '../../../common/types/clusters';
|
|
5
6
|
import {
|
|
@@ -27,8 +28,10 @@ export type NetworkConfigurationProps = VirtualIPControlGroupProps & {
|
|
|
27
28
|
defaultNetworkSettings: Pick<
|
|
28
29
|
ClusterDefaultConfig,
|
|
29
30
|
| 'clusterNetworksIpv4'
|
|
31
|
+
| 'clusterNetworksIpv6'
|
|
30
32
|
| 'clusterNetworksDualstack'
|
|
31
33
|
| 'serviceNetworksIpv4'
|
|
34
|
+
| 'serviceNetworksIpv6'
|
|
32
35
|
| 'serviceNetworksDualstack'
|
|
33
36
|
>;
|
|
34
37
|
hideManagedNetworking?: boolean;
|
|
@@ -63,11 +66,23 @@ const NetworkConfiguration = ({
|
|
|
63
66
|
setAdvanced(checked);
|
|
64
67
|
|
|
65
68
|
if (!checked) {
|
|
66
|
-
|
|
67
|
-
|
|
69
|
+
const primaryCidr = values.machineNetworks?.[0]?.cidr;
|
|
70
|
+
const useIPv6Defaults = primaryCidr && isCIDR.v6(primaryCidr);
|
|
71
|
+
setFieldValue(
|
|
72
|
+
'clusterNetworks',
|
|
73
|
+
useIPv6Defaults
|
|
74
|
+
? defaultNetworkSettings.clusterNetworksIpv6
|
|
75
|
+
: defaultNetworkSettings.clusterNetworksIpv4,
|
|
76
|
+
);
|
|
77
|
+
setFieldValue(
|
|
78
|
+
'serviceNetworks',
|
|
79
|
+
useIPv6Defaults
|
|
80
|
+
? defaultNetworkSettings.serviceNetworksIpv6
|
|
81
|
+
: defaultNetworkSettings.serviceNetworksIpv4,
|
|
82
|
+
);
|
|
68
83
|
}
|
|
69
84
|
},
|
|
70
|
-
[setFieldValue, defaultNetworkSettings],
|
|
85
|
+
[setFieldValue, defaultNetworkSettings, values.machineNetworks],
|
|
71
86
|
);
|
|
72
87
|
|
|
73
88
|
// Auto-enable advanced networking when switching to dual-stack
|
|
@@ -77,6 +92,37 @@ const NetworkConfiguration = ({
|
|
|
77
92
|
}
|
|
78
93
|
}, [isDualStack, toggleAdvConfiguration]);
|
|
79
94
|
|
|
95
|
+
// Sync cluster/service networks to match primary machine network family when single-stack (fix mismatch)
|
|
96
|
+
useEffect(() => {
|
|
97
|
+
if (isDualStack) {
|
|
98
|
+
return;
|
|
99
|
+
}
|
|
100
|
+
const primaryCidr = values.machineNetworks?.[0]?.cidr;
|
|
101
|
+
const firstClusterCidr = values.clusterNetworks?.[0]?.cidr;
|
|
102
|
+
if (!primaryCidr || !firstClusterCidr) {
|
|
103
|
+
return;
|
|
104
|
+
}
|
|
105
|
+
const primaryIsIPv6 = isCIDR.v6(primaryCidr);
|
|
106
|
+
const primaryIsIPv4 = isCIDR.v4(primaryCidr);
|
|
107
|
+
const clusterIsIPv6 = isCIDR.v6(firstClusterCidr);
|
|
108
|
+
const clusterIsIPv4 = isCIDR.v4(firstClusterCidr);
|
|
109
|
+
|
|
110
|
+
if (primaryIsIPv4 && clusterIsIPv6) {
|
|
111
|
+
setFieldValue('clusterNetworks', defaultNetworkSettings.clusterNetworksIpv4);
|
|
112
|
+
setFieldValue('serviceNetworks', defaultNetworkSettings.serviceNetworksIpv4);
|
|
113
|
+
} else if (primaryIsIPv6 && clusterIsIPv4) {
|
|
114
|
+
setFieldValue('clusterNetworks', defaultNetworkSettings.clusterNetworksIpv6);
|
|
115
|
+
setFieldValue('serviceNetworks', defaultNetworkSettings.serviceNetworksIpv6);
|
|
116
|
+
}
|
|
117
|
+
}, [
|
|
118
|
+
isDualStack,
|
|
119
|
+
values.machineNetworks,
|
|
120
|
+
values.clusterNetworks,
|
|
121
|
+
values.serviceNetworks,
|
|
122
|
+
setFieldValue,
|
|
123
|
+
defaultNetworkSettings,
|
|
124
|
+
]);
|
|
125
|
+
|
|
80
126
|
const isUserManagedNetworking = values.managedNetworkingType === 'userManaged';
|
|
81
127
|
const primaryMachineNetwork = values.machineNetworks?.[0]?.cidr;
|
|
82
128
|
|
|
@@ -134,6 +180,7 @@ const NetworkConfiguration = ({
|
|
|
134
180
|
isDualStackSelectable={isDualStackSelectable}
|
|
135
181
|
hostSubnets={hostSubnets}
|
|
136
182
|
defaultNetworkValues={defaultNetworkSettings}
|
|
183
|
+
allowSingleStackIPv6
|
|
137
184
|
/>
|
|
138
185
|
)}
|
|
139
186
|
|
|
@@ -148,6 +195,7 @@ const NetworkConfiguration = ({
|
|
|
148
195
|
openshiftVersion={cluster.openshiftVersion}
|
|
149
196
|
hosts={cluster.hosts || []}
|
|
150
197
|
isMultiNodeCluster={isMultiNodeCluster}
|
|
198
|
+
allowSingleStackIPv6
|
|
151
199
|
/>
|
|
152
200
|
)}
|
|
153
201
|
|
|
@@ -1,36 +1,50 @@
|
|
|
1
|
+
import isCIDR from 'is-cidr';
|
|
1
2
|
import {
|
|
2
3
|
Cluster,
|
|
3
4
|
ClusterDefaultConfig,
|
|
4
5
|
} from '@openshift-assisted/types/assisted-installer-service';
|
|
5
6
|
import { NetworkConfigurationValues } from '../../../common/types/clusters';
|
|
6
7
|
import { isDualStack } from '../../../common/components/clusterConfiguration/utils';
|
|
7
|
-
import { DUAL_STACK,
|
|
8
|
+
import { DUAL_STACK, NETWORK_TYPE_OVN, SINGLE_STACK } from '../../../common';
|
|
8
9
|
|
|
9
10
|
export const getNetworkInitialValues = (
|
|
10
11
|
cluster: Cluster,
|
|
11
12
|
defaultNetworkSettings: Pick<
|
|
12
13
|
ClusterDefaultConfig,
|
|
13
14
|
| 'clusterNetworksIpv4'
|
|
15
|
+
| 'clusterNetworksIpv6'
|
|
14
16
|
| 'clusterNetworksDualstack'
|
|
15
17
|
| 'serviceNetworksIpv4'
|
|
18
|
+
| 'serviceNetworksIpv6'
|
|
16
19
|
| 'serviceNetworksDualstack'
|
|
17
20
|
>,
|
|
18
21
|
): NetworkConfigurationValues => {
|
|
19
22
|
const managedNetworkingType = cluster.userManagedNetworking ? 'userManaged' : 'clusterManaged';
|
|
20
23
|
const isDualStackCluster = isDualStack(cluster);
|
|
24
|
+
const primaryMachineCidr = cluster.machineNetworks?.[0]?.cidr;
|
|
25
|
+
const isSingleStackIPv6 =
|
|
26
|
+
!isDualStackCluster && primaryMachineCidr && isCIDR.v6(primaryMachineCidr);
|
|
21
27
|
|
|
22
28
|
let clusterNetworks = cluster.clusterNetworks;
|
|
23
29
|
if (!cluster.clusterNetworks?.length) {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
30
|
+
if (isDualStackCluster) {
|
|
31
|
+
clusterNetworks = defaultNetworkSettings.clusterNetworksDualstack;
|
|
32
|
+
} else if (isSingleStackIPv6) {
|
|
33
|
+
clusterNetworks = defaultNetworkSettings.clusterNetworksIpv6;
|
|
34
|
+
} else {
|
|
35
|
+
clusterNetworks = defaultNetworkSettings.clusterNetworksIpv4;
|
|
36
|
+
}
|
|
27
37
|
}
|
|
28
38
|
|
|
29
39
|
let serviceNetworks = cluster.serviceNetworks;
|
|
30
40
|
if (!serviceNetworks?.length) {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
41
|
+
if (isDualStackCluster) {
|
|
42
|
+
serviceNetworks = defaultNetworkSettings.serviceNetworksDualstack;
|
|
43
|
+
} else if (isSingleStackIPv6) {
|
|
44
|
+
serviceNetworks = defaultNetworkSettings.serviceNetworksIpv6;
|
|
45
|
+
} else {
|
|
46
|
+
serviceNetworks = defaultNetworkSettings.serviceNetworksIpv4;
|
|
47
|
+
}
|
|
34
48
|
}
|
|
35
49
|
|
|
36
50
|
const machineNetworks = cluster.machineNetworks || [];
|
|
@@ -45,6 +59,6 @@ export const getNetworkInitialValues = (
|
|
|
45
59
|
vipDhcpAllocation: cluster.vipDhcpAllocation,
|
|
46
60
|
managedNetworkingType,
|
|
47
61
|
networkType: cluster.networkType || NETWORK_TYPE_OVN,
|
|
48
|
-
stackType: isDualStackCluster ? DUAL_STACK :
|
|
62
|
+
stackType: isDualStackCluster ? DUAL_STACK : SINGLE_STACK,
|
|
49
63
|
};
|
|
50
64
|
};
|
|
@@ -20,12 +20,8 @@ import {
|
|
|
20
20
|
httpProxyValidationSchema,
|
|
21
21
|
noProxyValidationSchema,
|
|
22
22
|
CLUSTER_DEFAULT_NETWORK_SETTINGS,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
dualStackValidationSchema,
|
|
26
|
-
IPv4ValidationSchema,
|
|
27
|
-
IPV4_STACK,
|
|
28
|
-
NetworkConfigurationValues,
|
|
23
|
+
clusterNetworksSchema,
|
|
24
|
+
serviceNetworksSchema,
|
|
29
25
|
} from '../../../common';
|
|
30
26
|
import { ClusterDeploymentNetworkingValues } from './types';
|
|
31
27
|
import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
|
|
@@ -53,22 +49,18 @@ const getNetworkConfigurationValidationSchema = (
|
|
|
53
49
|
) =>
|
|
54
50
|
Yup.lazy((values: ClusterDeploymentNetworkingValues) =>
|
|
55
51
|
Yup.object<ClusterDeploymentNetworkingValues>().shape({
|
|
56
|
-
clusterNetworks:
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
serviceNetworkValidationSchema(t).concat(
|
|
69
|
-
dualStackValidationSchema(t('ai:service network'), t, openshiftVersion),
|
|
70
|
-
),
|
|
71
|
-
}),
|
|
52
|
+
clusterNetworks: clusterNetworksSchema(
|
|
53
|
+
t,
|
|
54
|
+
values.stackType ?? '',
|
|
55
|
+
values.machineNetworks?.[0]?.cidr,
|
|
56
|
+
openshiftVersion,
|
|
57
|
+
),
|
|
58
|
+
serviceNetworks: serviceNetworksSchema(
|
|
59
|
+
t,
|
|
60
|
+
values.stackType ?? '',
|
|
61
|
+
values.machineNetworks?.[0]?.cidr,
|
|
62
|
+
openshiftVersion,
|
|
63
|
+
),
|
|
72
64
|
apiVips: vipArrayValidationSchema(hostSubnets, values, t),
|
|
73
65
|
ingressVips: vipArrayValidationSchema(hostSubnets, values, t),
|
|
74
66
|
sshPublicKey: sshPublicKeyListValidationSchema(t),
|
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Flex, FlexItem, Icon } from '@patternfly/react-core';
|
|
2
3
|
import { CheckCircleIcon } from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
|
|
3
4
|
import { ExclamationCircleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-circle-icon';
|
|
4
5
|
import { InProgressIcon } from '@patternfly/react-icons/dist/js/icons/in-progress-icon';
|
|
5
6
|
import { UnknownIcon } from '@patternfly/react-icons/dist/js/icons/unknown-icon';
|
|
6
7
|
import { Table, Tbody, Td, Th, Thead, Tr } from '@patternfly/react-table';
|
|
7
|
-
import { t_global_color_status_success_default as okColor } from '@patternfly/react-tokens/dist/js/t_global_color_status_success_default';
|
|
8
8
|
|
|
9
|
-
import * as React from 'react';
|
|
10
9
|
import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
|
|
11
10
|
|
|
12
11
|
import './ConditionsTable.css';
|
|
13
|
-
import { UiIcon } from '../../../../common';
|
|
14
12
|
|
|
15
13
|
const ignoredConditions = ['Progressing'];
|
|
16
14
|
const reversedConditions = ['Degraded'];
|
|
@@ -50,14 +48,22 @@ const ConditionsTable = ({ conditions, isDone }: ConditionsTableProps) => {
|
|
|
50
48
|
c.status === okStatus ? (
|
|
51
49
|
<InProgressIcon />
|
|
52
50
|
) : (
|
|
53
|
-
<
|
|
51
|
+
<Icon status="success">
|
|
52
|
+
<CheckCircleIcon />
|
|
53
|
+
</Icon>
|
|
54
54
|
);
|
|
55
55
|
} else {
|
|
56
56
|
if (c.status === okStatus) {
|
|
57
|
-
icon =
|
|
57
|
+
icon = (
|
|
58
|
+
<Icon status="success">
|
|
59
|
+
<CheckCircleIcon />
|
|
60
|
+
</Icon>
|
|
61
|
+
);
|
|
58
62
|
} else if (c.status === nokStatus) {
|
|
59
63
|
icon = isDone ? (
|
|
60
|
-
<
|
|
64
|
+
<Icon status="danger" size="sm">
|
|
65
|
+
<ExclamationCircleIcon />
|
|
66
|
+
</Icon>
|
|
61
67
|
) : (
|
|
62
68
|
<InProgressIcon />
|
|
63
69
|
);
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import {
|
|
3
3
|
ExpandableSectionToggle,
|
|
4
|
+
Icon,
|
|
4
5
|
ProgressStep,
|
|
5
6
|
Spinner,
|
|
6
7
|
Stack,
|
|
7
8
|
StackItem,
|
|
8
9
|
} from '@patternfly/react-core';
|
|
9
|
-
import { t_global_color_status_success_default as okColor } from '@patternfly/react-tokens/dist/js/t_global_color_status_success_default';
|
|
10
10
|
|
|
11
11
|
import { CheckCircleIcon } from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
|
|
12
12
|
import { ExclamationCircleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-circle-icon';
|
|
13
13
|
import { HostedClusterK8sResource } from '../types';
|
|
14
14
|
import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
|
|
15
|
-
import { ExternalLink
|
|
15
|
+
import { ExternalLink } from '../../../../common';
|
|
16
16
|
import ConditionsTable from './ConditionsTable';
|
|
17
17
|
|
|
18
18
|
type HostedClusterProgressProps = {
|
|
@@ -34,9 +34,13 @@ const HostedClusterProgress = ({ hostedCluster, launchToOCP }: HostedClusterProg
|
|
|
34
34
|
if (progressingCondtion?.status === 'False') {
|
|
35
35
|
progressIcon =
|
|
36
36
|
availableCondtion?.status === 'True' ? (
|
|
37
|
-
<
|
|
37
|
+
<Icon status="success">
|
|
38
|
+
<CheckCircleIcon />
|
|
39
|
+
</Icon>
|
|
38
40
|
) : (
|
|
39
|
-
<
|
|
41
|
+
<Icon status="danger" size="sm">
|
|
42
|
+
<ExclamationCircleIcon />
|
|
43
|
+
</Icon>
|
|
40
44
|
);
|
|
41
45
|
}
|
|
42
46
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import {
|
|
3
3
|
ExpandableSectionToggle,
|
|
4
|
+
Icon,
|
|
4
5
|
ProgressStep,
|
|
5
6
|
Spinner,
|
|
6
7
|
Stack,
|
|
7
8
|
StackItem,
|
|
8
9
|
} from '@patternfly/react-core';
|
|
9
10
|
import { TFunction } from 'i18next';
|
|
10
|
-
import { t_global_color_status_success_default as okColor } from '@patternfly/react-tokens/dist/js/t_global_color_status_success_default';
|
|
11
11
|
import { CheckCircleIcon } from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
|
|
12
12
|
|
|
13
13
|
import {
|
|
@@ -42,7 +42,11 @@ const getNodePoolsStatus = (
|
|
|
42
42
|
|
|
43
43
|
const nodePoolsStatus: { type: string; icon: React.ReactNode } = {
|
|
44
44
|
type: 'ok',
|
|
45
|
-
icon:
|
|
45
|
+
icon: (
|
|
46
|
+
<Icon status="success">
|
|
47
|
+
<CheckCircleIcon />
|
|
48
|
+
</Icon>
|
|
49
|
+
),
|
|
46
50
|
};
|
|
47
51
|
|
|
48
52
|
for (const property in nodePoolMap) {
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TFunction } from 'i18next';
|
|
3
|
+
import { Icon } from '@patternfly/react-core';
|
|
1
4
|
import { CheckCircleIcon } from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
|
|
2
5
|
import { ExclamationCircleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-circle-icon';
|
|
3
6
|
import { InProgressIcon } from '@patternfly/react-icons/dist/js/icons/in-progress-icon';
|
|
4
|
-
|
|
5
|
-
import {
|
|
6
|
-
import { t_global_icon_color_status_danger_default as dangerColor } from '@patternfly/react-tokens/dist/js/t_global_icon_color_status_danger_default';
|
|
7
|
-
import { t_global_icon_color_status_warning_default as warningColor } from '@patternfly/react-tokens/dist/js/t_global_icon_color_status_warning_default';
|
|
7
|
+
|
|
8
|
+
import { NodePoolK8sResource } from '../types';
|
|
8
9
|
import { AgentK8sResource } from '../../../types';
|
|
9
10
|
import { getAgentStatus } from '../../helpers';
|
|
10
|
-
import { NodePoolK8sResource } from '../types';
|
|
11
|
-
import { TFunction } from 'i18next';
|
|
12
11
|
import { agentStatus } from '../../helpers/agentStatus';
|
|
13
12
|
|
|
14
13
|
export type NodePoolStatus = {
|
|
@@ -40,7 +39,11 @@ export const getNodePoolStatus = (
|
|
|
40
39
|
if (hasErrorAgents) {
|
|
41
40
|
return {
|
|
42
41
|
type: 'error',
|
|
43
|
-
icon:
|
|
42
|
+
icon: (
|
|
43
|
+
<Icon status="danger">
|
|
44
|
+
<ExclamationCircleIcon />
|
|
45
|
+
</Icon>
|
|
46
|
+
),
|
|
44
47
|
text: t('ai:Error'),
|
|
45
48
|
};
|
|
46
49
|
}
|
|
@@ -58,7 +61,11 @@ export const getNodePoolStatus = (
|
|
|
58
61
|
if (hasWarningAgents) {
|
|
59
62
|
return {
|
|
60
63
|
type: 'warning',
|
|
61
|
-
icon:
|
|
64
|
+
icon: (
|
|
65
|
+
<Icon status="warning">
|
|
66
|
+
<ExclamationCircleIcon />
|
|
67
|
+
</Icon>
|
|
68
|
+
),
|
|
62
69
|
text: t('ai:Warning'),
|
|
63
70
|
};
|
|
64
71
|
}
|
|
@@ -66,7 +73,11 @@ export const getNodePoolStatus = (
|
|
|
66
73
|
return nodePool.status?.conditions?.find(({ type }) => type === 'Ready')?.status === 'True'
|
|
67
74
|
? {
|
|
68
75
|
type: 'ok',
|
|
69
|
-
icon:
|
|
76
|
+
icon: (
|
|
77
|
+
<Icon status="success">
|
|
78
|
+
<CheckCircleIcon />
|
|
79
|
+
</Icon>
|
|
80
|
+
),
|
|
70
81
|
text: t('ai:Ready'),
|
|
71
82
|
}
|
|
72
83
|
: {
|
|
@@ -13,12 +13,11 @@ import {
|
|
|
13
13
|
Title,
|
|
14
14
|
TitleSizes,
|
|
15
15
|
Label,
|
|
16
|
+
Icon,
|
|
16
17
|
} from '@patternfly/react-core';
|
|
17
18
|
import { CheckCircleIcon } from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
|
|
18
19
|
import { ExclamationTriangleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-triangle-icon';
|
|
19
20
|
import { PencilAltIcon } from '@patternfly/react-icons/dist/js/icons/pencil-alt-icon';
|
|
20
|
-
import { t_global_color_status_success_default as okColor } from '@patternfly/react-tokens/dist/js/t_global_color_status_success_default';
|
|
21
|
-
import { t_global_icon_color_status_warning_default as warningColor } from '@patternfly/react-tokens/dist/js/t_global_icon_color_status_warning_default';
|
|
22
21
|
|
|
23
22
|
import { architectureData } from '../../../common';
|
|
24
23
|
import { InfraEnvK8sResource, SecretK8sResource } from '../../types';
|
|
@@ -39,11 +38,19 @@ type EditItemProps = {
|
|
|
39
38
|
};
|
|
40
39
|
|
|
41
40
|
const EditItem: React.FC<EditItemProps> = ({ title, onEdit, isLoading, isWarning, noIcon }) => {
|
|
42
|
-
let icon =
|
|
41
|
+
let icon = (
|
|
42
|
+
<Icon status="success">
|
|
43
|
+
<CheckCircleIcon />
|
|
44
|
+
</Icon>
|
|
45
|
+
);
|
|
43
46
|
if (isLoading) {
|
|
44
47
|
icon = <Spinner size="md" />;
|
|
45
48
|
} else if (isWarning) {
|
|
46
|
-
icon =
|
|
49
|
+
icon = (
|
|
50
|
+
<Icon status="warning">
|
|
51
|
+
<ExclamationTriangleIcon />
|
|
52
|
+
</Icon>
|
|
53
|
+
);
|
|
47
54
|
}
|
|
48
55
|
const btn = (
|
|
49
56
|
<>
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { Icon, Tooltip } from '@patternfly/react-core';
|
|
2
3
|
import { ExclamationTriangleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-triangle-icon';
|
|
3
|
-
import { t_global_icon_color_status_warning_default as warningColor } from '@patternfly/react-tokens/dist/js/t_global_icon_color_status_warning_default';
|
|
4
4
|
import { getAgentStatus, getBMHStatus } from '../helpers';
|
|
5
5
|
import { AgentK8sResource, BareMetalHostK8sResource } from '../../types';
|
|
6
6
|
import { AGENT_BMH_NAME_LABEL_KEY } from '../common';
|
|
7
|
-
import { Tooltip } from '@patternfly/react-core';
|
|
8
7
|
import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
|
|
9
8
|
import { agentStatus, bmhStatus } from '../helpers/agentStatus';
|
|
10
9
|
|
|
@@ -51,10 +50,9 @@ const InfraEnvHostsTabAgentsWarning: React.FC<InfraEnvHostsTabAgentsWarning> = (
|
|
|
51
50
|
if (hostsWithProblemsCount) {
|
|
52
51
|
return (
|
|
53
52
|
<Tooltip content={t('ai:{{count}} host has problems', { count: hostsWithProblemsCount })}>
|
|
54
|
-
<
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
/>
|
|
53
|
+
<Icon status="warning">
|
|
54
|
+
<ExclamationTriangleIcon className="infra-env-hosts-tab-title__icon" />
|
|
55
|
+
</Icon>
|
|
58
56
|
</Tooltip>
|
|
59
57
|
);
|
|
60
58
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { TFunction } from 'i18next';
|
|
3
|
+
import { Icon } from '@patternfly/react-core';
|
|
2
4
|
import { ConnectedIcon } from '@patternfly/react-icons/dist/js/icons/connected-icon';
|
|
3
5
|
import { ExclamationCircleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-circle-icon';
|
|
4
|
-
import { t_global_icon_color_status_danger_default as dangerColor } from '@patternfly/react-tokens/dist/js/t_global_icon_color_status_danger_default';
|
|
5
6
|
import { hostStatus } from '../../../common';
|
|
6
7
|
import { HostStatus } from '../../../common/components/hosts/types';
|
|
7
|
-
import { TFunction } from 'i18next';
|
|
8
8
|
|
|
9
9
|
export const bmhStatus = (t: TFunction): HostStatus<string> => ({
|
|
10
10
|
'bmh-error': {
|
|
@@ -68,7 +68,11 @@ export const agentStatus = (t: TFunction): HostStatus<string> => ({
|
|
|
68
68
|
specSyncErr: {
|
|
69
69
|
key: 'specSyncErr',
|
|
70
70
|
title: t('ai:Sync error'),
|
|
71
|
-
icon:
|
|
71
|
+
icon: (
|
|
72
|
+
<Icon status="danger">
|
|
73
|
+
<ExclamationCircleIcon />
|
|
74
|
+
</Icon>
|
|
75
|
+
),
|
|
72
76
|
category: 'Discovery related',
|
|
73
77
|
},
|
|
74
78
|
});
|
|
@@ -33,7 +33,6 @@ export const CimConfigurationFormFields = ({
|
|
|
33
33
|
setConfigureLoadBalancerInitial,
|
|
34
34
|
}: CimConfigurationFormFieldsProps) => {
|
|
35
35
|
const { t } = useTranslation();
|
|
36
|
-
|
|
37
36
|
const { setFieldValue, values } = useFormikContext<CimConfigurationValues>();
|
|
38
37
|
|
|
39
38
|
React.useEffect(
|
|
@@ -223,8 +222,7 @@ export const CimConfigurationFormFields = ({
|
|
|
223
222
|
|
|
224
223
|
<StackItem>
|
|
225
224
|
<CheckboxField
|
|
226
|
-
name={'
|
|
227
|
-
isDisabled={isEdit}
|
|
225
|
+
name={'addCiscoIntersightURL'}
|
|
228
226
|
label={
|
|
229
227
|
<>
|
|
230
228
|
{t('ai:Configure custom URL for Cisco Intersight')}{' '}
|
|
@@ -240,14 +238,18 @@ export const CimConfigurationFormFields = ({
|
|
|
240
238
|
</PopoverIcon>
|
|
241
239
|
</>
|
|
242
240
|
}
|
|
241
|
+
onChange={(checked) => {
|
|
242
|
+
if (!checked) {
|
|
243
|
+
setFieldValue('ciscoIntersightURL', '', false);
|
|
244
|
+
}
|
|
245
|
+
}}
|
|
243
246
|
/>
|
|
244
247
|
|
|
245
|
-
{values.
|
|
248
|
+
{values.addCiscoIntersightURL && (
|
|
246
249
|
<InputField
|
|
247
250
|
name={'ciscoIntersightURL'}
|
|
248
251
|
label={t('ai:Cisco Intersight URL')}
|
|
249
252
|
isRequired
|
|
250
|
-
isDisabled={isEdit}
|
|
251
253
|
placeholder="https://www.intersight.com/an/workflow/workflow-definitions/execute/AddServersFromISO"
|
|
252
254
|
helperText={t('ai:Provide the complete URL, including the protocol and parameters.')}
|
|
253
255
|
/>
|