@openshift-assisted/ui-lib 2.17.0-cim → 2.17.3-cim
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/@types/cim/components/Agent/AgentStatus.d.ts +1 -0
- package/build/@types/cim/components/Agent/AgentStatus.d.ts.map +1 -1
- package/build/@types/cim/components/Agent/AgentTable.d.ts.map +1 -1
- package/build/@types/cim/components/Agent/AgentsSelectionTable.d.ts.map +1 -1
- package/build/@types/cim/components/Agent/BMCForm.d.ts.map +1 -1
- package/build/@types/cim/components/Agent/BMHEventsModal.d.ts +8 -0
- package/build/@types/cim/components/Agent/BMHEventsModal.d.ts.map +1 -0
- package/build/@types/cim/components/Agent/BMHStatus.d.ts +2 -0
- package/build/@types/cim/components/Agent/BMHStatus.d.ts.map +1 -1
- package/build/@types/cim/components/Agent/BMHStatusInfo.d.ts +8 -0
- package/build/@types/cim/components/Agent/BMHStatusInfo.d.ts.map +1 -0
- package/build/@types/cim/components/Agent/MinimalHWRequirements.d.ts.map +1 -1
- package/build/@types/cim/components/Agent/index.d.ts +2 -0
- package/build/@types/cim/components/Agent/index.d.ts.map +1 -1
- package/build/@types/cim/components/Agent/tableColumns.d.ts +29 -0
- package/build/@types/cim/components/Agent/tableColumns.d.ts.map +1 -0
- package/build/@types/cim/components/Agent/tableUtils.d.ts +2 -22
- package/build/@types/cim/components/Agent/tableUtils.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/NetworkConfiguration.d.ts +1 -1
- package/build/@types/cim/components/ClusterDeployment/NetworkConfiguration.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.d.ts +0 -1
- package/build/@types/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostDiscoveryTable.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/networkConfigurationValidation.d.ts +1 -1
- package/build/@types/cim/components/ClusterDeployment/networkConfigurationValidation.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/networking/ClusterDeploymentHostsNetworkTable.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/use-networking-formik.d.ts +9 -5
- package/build/@types/cim/components/ClusterDeployment/use-networking-formik.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/NetworkStep/AdvancedNetworkFields.d.ts.map +1 -0
- package/build/@types/cim/components/Hypershift/modals/AddNodePoolModal.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/modals/ManageHostsModal.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/modals/RemoveNodePoolModal.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/EnvironmentDetails.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/EnvironmentErrors.d.ts +0 -1
- package/build/@types/cim/components/InfraEnv/EnvironmentErrors.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/InfraEnvFormPage.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/agentStatus.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/versions.d.ts +1 -1
- package/build/@types/cim/components/helpers/versions.d.ts.map +1 -1
- package/build/@types/cim/components/modals/AddBmcHostModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/AddBmcHostYamlForm.d.ts.map +1 -1
- package/build/@types/cim/components/modals/AddBmcHostYamlModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/AddHostModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/EditBMHModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/EditNtpSourcesModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/EditProxyModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/EditPullSecretModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/EditSSHKeyModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/MassApproveAgentModal.d.ts.map +1 -1
- package/build/@types/cim/components/modals/ScaleUpModal.d.ts.map +1 -1
- package/build/@types/cim/hooks/index.d.ts +1 -0
- package/build/@types/cim/hooks/index.d.ts.map +1 -1
- package/build/@types/cim/hooks/types.d.ts +1 -1
- package/build/@types/cim/hooks/types.d.ts.map +1 -1
- package/build/@types/cim/hooks/useEvents.d.ts +4 -0
- package/build/@types/cim/hooks/useEvents.d.ts.map +1 -0
- package/build/@types/cim/types/fromOCP/k8sTypes.d.ts +12 -0
- package/build/@types/cim/types/fromOCP/k8sTypes.d.ts.map +1 -1
- package/build/@types/cim/types/k8s/agent-cluster-install.d.ts +4 -0
- package/build/@types/cim/types/k8s/agent-cluster-install.d.ts.map +1 -1
- package/build/@types/cim/types/k8s/bare-metal-host.d.ts +20 -0
- package/build/@types/cim/types/k8s/bare-metal-host.d.ts.map +1 -1
- package/build/@types/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/utils.d.ts +2 -2
- package/build/@types/common/components/clusterConfiguration/utils.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/clusterDetailsValidation.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/AdvancedNetworkFields.d.ts +7 -0
- package/build/@types/common/components/clusterWizard/networkingSteps/AdvancedNetworkFields.d.ts.map +1 -0
- package/build/@types/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.d.ts +10 -6
- package/build/@types/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.d.ts +13 -0
- package/build/@types/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.d.ts.map +1 -0
- package/build/@types/{ocm/components/clusterConfiguration/networkConfiguration → common/components/clusterWizard/networkingSteps}/SubnetsDropdown.d.ts +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/SubnetsDropdown.d.ts.map +1 -0
- package/build/@types/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.d.ts +4 -2
- package/build/@types/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/index.d.ts +7 -2
- package/build/@types/common/components/clusterWizard/networkingSteps/index.d.ts.map +1 -1
- package/build/@types/{ocm/components/clusterConfiguration/networkConfiguration → common/components/clusterWizard/networkingSteps}/reorderNetworks.d.ts +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/reorderNetworks.d.ts.map +1 -0
- 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/HostStatus.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostValidationGroups.d.ts.map +1 -1
- package/build/@types/common/components/hosts/MassChangeHostnameModal.d.ts.map +1 -1
- package/build/@types/common/components/hosts/index.d.ts +2 -0
- package/build/@types/common/components/hosts/index.d.ts.map +1 -1
- package/build/@types/common/components/hosts/tableColumns.d.ts +21 -0
- package/build/@types/common/components/hosts/tableColumns.d.ts.map +1 -0
- package/build/@types/common/components/hosts/tableUtils.d.ts +3 -21
- package/build/@types/common/components/hosts/tableUtils.d.ts.map +1 -1
- package/build/@types/common/components/hosts/types.d.ts +1 -0
- package/build/@types/common/components/hosts/types.d.ts.map +1 -1
- package/build/@types/common/components/ui/EventsList.d.ts.map +1 -1
- package/build/@types/common/components/ui/PrismCode.d.ts +13 -11
- package/build/@types/common/components/ui/PrismCode.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/LabelField.d.ts +3 -11
- package/build/@types/common/components/ui/formik/LabelField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/index.d.ts +0 -2
- package/build/@types/common/components/ui/formik/index.d.ts.map +1 -1
- package/build/@types/common/components/ui/index.d.ts +1 -1
- package/build/@types/common/components/ui/index.d.ts.map +1 -1
- package/build/@types/common/config/constants.d.ts +2 -1
- package/build/@types/common/config/constants.d.ts.map +1 -1
- package/build/@types/common/index.d.ts +1 -0
- package/build/@types/common/index.d.ts.map +1 -1
- package/build/@types/common/types/clusters.d.ts +0 -1
- package/build/@types/common/types/clusters.d.ts.map +1 -1
- package/build/@types/common/utils.d.ts +2 -2
- package/build/@types/common/utils.d.ts.map +1 -1
- package/build/@types/common/validationSchemas/addressValidation.d.ts +18 -0
- package/build/@types/common/validationSchemas/addressValidation.d.ts.map +1 -0
- package/build/@types/common/validationSchemas/clusterDetailsValidation.d.ts +8 -0
- package/build/@types/common/validationSchemas/clusterDetailsValidation.d.ts.map +1 -0
- package/build/@types/common/{components/ui/formik → validationSchemas}/constants.d.ts +1 -3
- package/build/@types/common/validationSchemas/constants.d.ts.map +1 -0
- package/build/@types/common/validationSchemas/hostnameValidation.d.ts +4 -0
- package/build/@types/common/validationSchemas/hostnameValidation.d.ts.map +1 -0
- package/build/@types/common/validationSchemas/index.d.ts +11 -0
- package/build/@types/common/validationSchemas/index.d.ts.map +1 -0
- package/build/@types/common/validationSchemas/networkingValidation.d.ts +18 -0
- package/build/@types/common/validationSchemas/networkingValidation.d.ts.map +1 -0
- package/build/@types/common/validationSchemas/ntpValidation.d.ts +4 -0
- package/build/@types/common/validationSchemas/ntpValidation.d.ts.map +1 -0
- package/build/@types/common/validationSchemas/proxyValidation.d.ts +11 -0
- package/build/@types/common/validationSchemas/proxyValidation.d.ts.map +1 -0
- package/build/@types/common/validationSchemas/pullSecretValidation.d.ts +4 -0
- package/build/@types/common/validationSchemas/pullSecretValidation.d.ts.map +1 -0
- package/build/@types/common/validationSchemas/regexes.d.ts +14 -0
- package/build/@types/common/validationSchemas/regexes.d.ts.map +1 -0
- package/build/@types/common/validationSchemas/sshValidation.d.ts +5 -0
- package/build/@types/common/validationSchemas/sshValidation.d.ts.map +1 -0
- package/build/@types/common/validationSchemas/utils.d.ts +7 -0
- package/build/@types/common/validationSchemas/utils.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifests.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/customManifestsValidationSchema.d.ts +2 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/customManifestsValidationSchema.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.d.ts +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationTableBase.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.d.ts +2 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHosts.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/formViewHostsValidationSchema.d.ts +2 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/formViewHostsValidationSchema.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlView.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/YamlView/yamlViewValidationSchema.d.ts +2 -1
- package/build/@types/ocm/components/clusterConfiguration/staticIp/components/YamlView/yamlViewValidationSchema.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ResetClusterModal.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/ClusterHostsTable.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/HostsDiscoveryTable.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/HostsStorageTable.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/UpdateDay2ApiVipForm.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/use-hosts-table.d.ts.map +1 -1
- package/build/cjs/cim/components/Agent/AgentStatus.js +2 -2
- package/build/cjs/cim/components/Agent/AgentStatus.js.map +1 -1
- package/build/cjs/cim/components/Agent/AgentTable.js +10 -9
- package/build/cjs/cim/components/Agent/AgentTable.js.map +1 -1
- package/build/cjs/cim/components/Agent/AgentsSelectionTable.js +9 -8
- package/build/cjs/cim/components/Agent/AgentsSelectionTable.js.map +1 -1
- package/build/cjs/cim/components/Agent/BMCForm.js +7 -8
- package/build/cjs/cim/components/Agent/BMCForm.js.map +1 -1
- package/build/cjs/cim/components/Agent/BMHEventsModal.js +54 -0
- package/build/cjs/cim/components/Agent/BMHEventsModal.js.map +1 -0
- package/build/cjs/cim/components/Agent/BMHStatus.js +3 -2
- package/build/cjs/cim/components/Agent/BMHStatus.js.map +1 -1
- package/build/cjs/cim/components/Agent/BMHStatusInfo.js +59 -0
- package/build/cjs/cim/components/Agent/BMHStatusInfo.js.map +1 -0
- package/build/cjs/cim/components/Agent/MinimalHWRequirements.js +6 -5
- package/build/cjs/cim/components/Agent/MinimalHWRequirements.js.map +1 -1
- package/build/cjs/cim/components/Agent/index.js +2 -0
- package/build/cjs/cim/components/Agent/index.js.map +1 -1
- package/build/cjs/cim/components/Agent/tableColumns.js +184 -0
- package/build/cjs/cim/components/Agent/tableColumns.js.map +1 -0
- package/build/cjs/cim/components/Agent/tableUtils.js +4 -174
- package/build/cjs/cim/components/Agent/tableUtils.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsTable.js +10 -10
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsTable.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/LocationsSelector.js +2 -2
- package/build/cjs/cim/components/ClusterDeployment/LocationsSelector.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/NetworkConfiguration.js +28 -38
- package/build/cjs/cim/components/ClusterDeployment/NetworkConfiguration.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.js +9 -15
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.js +9 -7
- package/build/cjs/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostDiscoveryTable.js +13 -14
- package/build/cjs/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostDiscoveryTable.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.js +14 -13
- package/build/cjs/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/networkConfigurationValidation.js +19 -18
- package/build/cjs/cim/components/ClusterDeployment/networkConfigurationValidation.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentHostsNetworkTable.js +9 -10
- package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentHostsNetworkTable.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingForm.js +2 -2
- package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingForm.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingStep.js +12 -8
- package/build/cjs/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.js +6 -4
- package/build/cjs/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js +21 -14
- package/build/cjs/cim/components/ClusterDeployment/use-networking-formik.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsTable.js +2 -2
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsStep.js +2 -2
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsStep.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.js +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.js +2 -11
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.js.map +1 -1
- package/build/cjs/{common/components/clusterConfiguration → cim/components/Hypershift/HostedClusterWizard/NetworkStep}/AdvancedNetworkFields.js +3 -3
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/NetworkStep/AdvancedNetworkFields.js.map +1 -0
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkForm.js +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkForm.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkStep.js +8 -8
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkStep.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/modals/AddNodePoolModal.js +4 -4
- package/build/cjs/cim/components/Hypershift/modals/AddNodePoolModal.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/modals/ManageHostsModal.js +4 -4
- package/build/cjs/cim/components/Hypershift/modals/ManageHostsModal.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/modals/NodePoolForm.js +1 -1
- package/build/cjs/cim/components/Hypershift/modals/NodePoolForm.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/modals/RemoveNodePoolModal.js +4 -4
- package/build/cjs/cim/components/Hypershift/modals/RemoveNodePoolModal.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/EnvironmentDetails.js +5 -2
- package/build/cjs/cim/components/InfraEnv/EnvironmentDetails.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/EnvironmentErrors.js +2 -4
- package/build/cjs/cim/components/InfraEnv/EnvironmentErrors.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraEnvAgentTable.js +11 -11
- package/build/cjs/cim/components/InfraEnv/InfraEnvAgentTable.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraEnvFormPage.js +8 -6
- package/build/cjs/cim/components/InfraEnv/InfraEnvFormPage.js.map +1 -1
- package/build/cjs/cim/components/common/ResourceAlerts.js +2 -4
- package/build/cjs/cim/components/common/ResourceAlerts.js.map +1 -1
- package/build/cjs/cim/components/helpers/agentStatus.js +5 -0
- package/build/cjs/cim/components/helpers/agentStatus.js.map +1 -1
- package/build/cjs/cim/components/helpers/toAssisted.js +28 -26
- package/build/cjs/cim/components/helpers/toAssisted.js.map +1 -1
- package/build/cjs/cim/components/helpers/versions.js +42 -27
- package/build/cjs/cim/components/helpers/versions.js.map +1 -1
- package/build/cjs/cim/components/modals/AddBmcHostModal.js +7 -5
- package/build/cjs/cim/components/modals/AddBmcHostModal.js.map +1 -1
- package/build/cjs/cim/components/modals/AddBmcHostYamlForm.js +2 -3
- package/build/cjs/cim/components/modals/AddBmcHostYamlForm.js.map +1 -1
- package/build/cjs/cim/components/modals/AddBmcHostYamlModal.js +7 -5
- package/build/cjs/cim/components/modals/AddBmcHostYamlModal.js.map +1 -1
- package/build/cjs/cim/components/modals/AddHostModal.js +9 -7
- package/build/cjs/cim/components/modals/AddHostModal.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationModal.js +26 -25
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationModal.js.map +1 -1
- package/build/cjs/cim/components/modals/EditBMHModal.js +4 -2
- package/build/cjs/cim/components/modals/EditBMHModal.js.map +1 -1
- package/build/cjs/cim/components/modals/EditNtpSourcesModal.js +4 -4
- package/build/cjs/cim/components/modals/EditNtpSourcesModal.js.map +1 -1
- package/build/cjs/cim/components/modals/EditProxyModal.js +9 -7
- package/build/cjs/cim/components/modals/EditProxyModal.js.map +1 -1
- package/build/cjs/cim/components/modals/EditPullSecretModal.js +5 -5
- package/build/cjs/cim/components/modals/EditPullSecretModal.js.map +1 -1
- package/build/cjs/cim/components/modals/EditSSHKeyModal.js +8 -8
- package/build/cjs/cim/components/modals/EditSSHKeyModal.js.map +1 -1
- package/build/cjs/cim/components/modals/MassApproveAgentModal.js +4 -4
- package/build/cjs/cim/components/modals/MassApproveAgentModal.js.map +1 -1
- package/build/cjs/cim/components/modals/MassDeleteAgentModal.js +1 -1
- package/build/cjs/cim/components/modals/MassDeleteAgentModal.js.map +1 -1
- package/build/cjs/cim/components/modals/ScaleUpModal.js +4 -4
- package/build/cjs/cim/components/modals/ScaleUpModal.js.map +1 -1
- package/build/cjs/cim/hooks/index.js +1 -0
- package/build/cjs/cim/hooks/index.js.map +1 -1
- package/build/cjs/cim/hooks/useEvents.js +12 -0
- package/build/cjs/cim/hooks/useEvents.js.map +1 -0
- package/build/cjs/common/components/clusterConfiguration/DiscoveryImageConfigForm.js +7 -6
- 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/DiscoveryTroubleshootingModal.js +9 -9
- package/build/cjs/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/ProxyFields.js +3 -3
- package/build/cjs/common/components/clusterConfiguration/ProxyFields.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/utils.js +3 -4
- package/build/cjs/common/components/clusterConfiguration/utils.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/clusterDetailsValidation.js +8 -8
- package/build/cjs/common/components/clusterWizard/clusterDetailsValidation.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/AdvancedNetworkFields.js +62 -0
- package/build/cjs/common/components/clusterWizard/networkingSteps/AdvancedNetworkFields.js.map +1 -0
- package/build/cjs/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.js +130 -46
- package/build/cjs/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.js.map +1 -1
- package/build/cjs/{ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.js → common/components/clusterWizard/networkingSteps/StackTypeControlGroup.js} +59 -38
- package/build/cjs/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.js.map +1 -0
- package/build/cjs/{ocm/components/clusterConfiguration/networkConfiguration → common/components/clusterWizard/networkingSteps}/SubnetsDropdown.js +7 -5
- package/build/cjs/common/components/clusterWizard/networkingSteps/SubnetsDropdown.js.map +1 -0
- package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js +96 -38
- package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/index.js +13 -3
- package/build/cjs/common/components/clusterWizard/networkingSteps/index.js.map +1 -1
- package/build/cjs/{ocm/components/clusterConfiguration/networkConfiguration → common/components/clusterWizard/networkingSteps}/reorderNetworks.js +2 -2
- package/build/cjs/common/components/clusterWizard/networkingSteps/reorderNetworks.js.map +1 -0
- package/build/cjs/common/components/hosts/AdditionalNTPSourcesDialog.js +2 -1
- package/build/cjs/common/components/hosts/AdditionalNTPSourcesDialog.js.map +1 -1
- package/build/cjs/common/components/hosts/EditHostForm.js +3 -2
- package/build/cjs/common/components/hosts/EditHostForm.js.map +1 -1
- package/build/cjs/common/components/hosts/HostStatus.js +8 -6
- package/build/cjs/common/components/hosts/HostStatus.js.map +1 -1
- package/build/cjs/common/components/hosts/HostValidationGroups.js +2 -3
- package/build/cjs/common/components/hosts/HostValidationGroups.js.map +1 -1
- package/build/cjs/common/components/hosts/MassChangeHostnameModal.js +13 -18
- package/build/cjs/common/components/hosts/MassChangeHostnameModal.js.map +1 -1
- package/build/cjs/common/components/hosts/index.js +2 -0
- package/build/cjs/common/components/hosts/index.js.map +1 -1
- package/build/cjs/common/components/hosts/tableColumns.js +336 -0
- package/build/cjs/common/components/hosts/tableColumns.js.map +1 -0
- package/build/cjs/common/components/hosts/tableUtils.js +1 -331
- package/build/cjs/common/components/hosts/tableUtils.js.map +1 -1
- package/build/cjs/common/components/ui/EventsList.js +1 -1
- package/build/cjs/common/components/ui/EventsList.js.map +1 -1
- package/build/cjs/common/components/ui/PrismCode.js +29 -20
- package/build/cjs/common/components/ui/PrismCode.js.map +1 -1
- package/build/cjs/common/components/ui/formik/LabelField.js +34 -26
- package/build/cjs/common/components/ui/formik/LabelField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/index.js +0 -2
- package/build/cjs/common/components/ui/formik/index.js.map +1 -1
- package/build/cjs/common/components/ui/index.js +1 -2
- package/build/cjs/common/components/ui/index.js.map +1 -1
- package/build/cjs/common/config/constants.js +27 -4
- package/build/cjs/common/config/constants.js.map +1 -1
- package/build/cjs/common/config/docs_links.js +1 -1
- package/build/cjs/common/index.js +1 -0
- package/build/cjs/common/index.js.map +1 -1
- package/build/cjs/common/types/clusters.js.map +1 -1
- package/build/cjs/common/utils.js +5 -3
- package/build/cjs/common/utils.js.map +1 -1
- package/build/cjs/common/validationSchemas/addressValidation.js +246 -0
- package/build/cjs/common/validationSchemas/addressValidation.js.map +1 -0
- package/build/cjs/common/validationSchemas/clusterDetailsValidation.js +104 -0
- package/build/cjs/common/validationSchemas/clusterDetailsValidation.js.map +1 -0
- package/build/cjs/common/{components/ui/formik → validationSchemas}/constants.js +3 -5
- package/build/cjs/common/validationSchemas/constants.js.map +1 -0
- package/build/cjs/common/validationSchemas/hostnameValidation.js +36 -0
- package/build/cjs/common/validationSchemas/hostnameValidation.js.map +1 -0
- package/build/cjs/common/validationSchemas/index.js +17 -0
- package/build/cjs/common/validationSchemas/index.js.map +1 -0
- package/build/cjs/common/validationSchemas/networkingValidation.js +74 -0
- package/build/cjs/common/validationSchemas/networkingValidation.js.map +1 -0
- package/build/cjs/common/validationSchemas/ntpValidation.js +25 -0
- package/build/cjs/common/validationSchemas/ntpValidation.js.map +1 -0
- package/build/cjs/common/validationSchemas/proxyValidation.js +43 -0
- package/build/cjs/common/validationSchemas/proxyValidation.js.map +1 -0
- package/build/cjs/common/validationSchemas/pullSecretValidation.js +21 -0
- package/build/cjs/common/validationSchemas/pullSecretValidation.js.map +1 -0
- package/build/cjs/common/validationSchemas/regexes.js +17 -0
- package/build/cjs/common/validationSchemas/regexes.js.map +1 -0
- package/build/cjs/common/validationSchemas/sshValidation.js +32 -0
- package/build/cjs/common/validationSchemas/sshValidation.js.map +1 -0
- package/build/cjs/common/validationSchemas/utils.js +40 -0
- package/build/cjs/common/validationSchemas/utils.js.map +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/OcmBaseDomainField.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmBaseDomainField.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.js +7 -6
- package/build/cjs/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifests.js +4 -2
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifests.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/customManifestsValidationSchema.js +7 -6
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/customManifestsValidationSchema.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js +6 -12
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js +2 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationTableBase.js +8 -9
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationTableBase.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.js +13 -23
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHosts.js +3 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHosts.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/formViewHostsValidationSchema.js +6 -6
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/formViewHostsValidationSchema.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlView.js +3 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlView.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/yamlViewValidationSchema.js +12 -12
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/yamlViewValidationSchema.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ResetClusterModal.js +1 -1
- package/build/cjs/ocm/components/clusterDetail/ResetClusterModal.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.js +1 -1
- package/build/cjs/ocm/components/clusterWizard/OperatorsSelect.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.js +4 -3
- package/build/cjs/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.js.map +1 -1
- package/build/cjs/ocm/components/hosts/ClusterHostsTable.js +7 -8
- package/build/cjs/ocm/components/hosts/ClusterHostsTable.js.map +1 -1
- package/build/cjs/ocm/components/hosts/HostsDiscoveryTable.js +7 -8
- package/build/cjs/ocm/components/hosts/HostsDiscoveryTable.js.map +1 -1
- package/build/cjs/ocm/components/hosts/HostsStorageTable.js +5 -6
- package/build/cjs/ocm/components/hosts/HostsStorageTable.js.map +1 -1
- package/build/cjs/ocm/components/hosts/UpdateDay2ApiVipForm.js +2 -1
- package/build/cjs/ocm/components/hosts/UpdateDay2ApiVipForm.js.map +1 -1
- package/build/cjs/ocm/components/hosts/use-hosts-table.js +2 -3
- package/build/cjs/ocm/components/hosts/use-hosts-table.js.map +1 -1
- package/lib/cim/components/Agent/AgentStatus.tsx +3 -0
- package/lib/cim/components/Agent/AgentTable.tsx +3 -2
- package/lib/cim/components/Agent/AgentsSelectionTable.tsx +3 -12
- package/lib/cim/components/Agent/BMCForm.tsx +11 -10
- package/lib/cim/components/Agent/BMHEventsModal.tsx +87 -0
- package/lib/cim/components/Agent/BMHStatus.tsx +17 -17
- package/lib/cim/components/Agent/BMHStatusInfo.tsx +94 -0
- package/lib/cim/components/Agent/MinimalHWRequirements.tsx +17 -12
- package/lib/cim/components/Agent/index.ts +2 -0
- package/lib/cim/components/Agent/tableColumns.tsx +257 -0
- package/lib/cim/components/Agent/tableUtils.tsx +4 -243
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentDetailsTable.tsx +2 -2
- package/lib/cim/components/ClusterDeployment/LocationsSelector.tsx +2 -2
- package/lib/cim/components/ClusterDeployment/NetworkConfiguration.tsx +61 -44
- package/lib/cim/components/ClusterDeployment/clusterDetails/ClusterDeploymentDetailsForm.tsx +8 -18
- package/lib/cim/components/ClusterDeployment/clusterDetails/ClusterDetailsFormFields.tsx +9 -12
- package/lib/cim/components/ClusterDeployment/hostDiscovery/ClusterDeploymentHostDiscoveryTable.tsx +3 -5
- package/lib/cim/components/ClusterDeployment/hostSelection/ClusterDeploymentHostSelectionStep.tsx +28 -31
- package/lib/cim/components/ClusterDeployment/networkConfigurationValidation.ts +30 -36
- package/lib/cim/components/ClusterDeployment/networking/ClusterDeploymentHostsNetworkTable.tsx +2 -7
- package/lib/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingForm.tsx +3 -3
- package/lib/cim/components/ClusterDeployment/networking/ClusterDeploymentNetworkingStep.tsx +26 -26
- package/lib/cim/components/ClusterDeployment/review/ClusterDeploymentReviewStep.tsx +20 -6
- package/lib/cim/components/ClusterDeployment/use-networking-formik.ts +41 -17
- package/lib/cim/components/Hypershift/DetailsPage/NodePoolsTable.tsx +2 -2
- package/lib/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsStep.tsx +2 -2
- package/lib/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.tsx +1 -1
- package/lib/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.tsx +2 -13
- package/lib/{common/components/clusterConfiguration → cim/components/Hypershift/HostedClusterWizard/NetworkStep}/AdvancedNetworkFields.tsx +4 -4
- package/lib/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkForm.tsx +1 -1
- package/lib/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkStep.tsx +8 -8
- package/lib/cim/components/Hypershift/modals/AddNodePoolModal.tsx +15 -16
- package/lib/cim/components/Hypershift/modals/ManageHostsModal.tsx +15 -16
- package/lib/cim/components/Hypershift/modals/NodePoolForm.tsx +1 -1
- package/lib/cim/components/Hypershift/modals/RemoveNodePoolModal.tsx +14 -11
- package/lib/cim/components/InfraEnv/EnvironmentDetails.tsx +6 -3
- package/lib/cim/components/InfraEnv/EnvironmentErrors.tsx +1 -6
- package/lib/cim/components/InfraEnv/InfraEnvAgentTable.tsx +6 -6
- package/lib/cim/components/InfraEnv/InfraEnvFormPage.tsx +8 -6
- package/lib/cim/components/common/ResourceAlerts.tsx +4 -4
- package/lib/cim/components/helpers/agentStatus.tsx +5 -0
- package/lib/cim/components/helpers/toAssisted.ts +15 -15
- package/lib/cim/components/helpers/versions.ts +51 -34
- package/lib/cim/components/modals/AddBmcHostModal.tsx +14 -13
- package/lib/cim/components/modals/AddBmcHostYamlForm.tsx +6 -5
- package/lib/cim/components/modals/AddBmcHostYamlModal.tsx +8 -7
- package/lib/cim/components/modals/AddHostModal.tsx +22 -11
- package/lib/cim/components/modals/CimConfiguration/CimConfigurationModal.tsx +79 -69
- package/lib/cim/components/modals/EditBMHModal.tsx +2 -3
- package/lib/cim/components/modals/EditNtpSourcesModal.tsx +15 -10
- package/lib/cim/components/modals/EditProxyModal.tsx +22 -13
- package/lib/cim/components/modals/EditPullSecretModal.tsx +15 -11
- package/lib/cim/components/modals/EditSSHKeyModal.tsx +24 -19
- package/lib/cim/components/modals/MassApproveAgentModal.tsx +16 -8
- package/lib/cim/components/modals/MassDeleteAgentModal.tsx +1 -1
- package/lib/cim/components/modals/ScaleUpModal.tsx +9 -7
- package/lib/cim/hooks/index.tsx +1 -0
- package/lib/cim/hooks/types.tsx +4 -1
- package/lib/cim/hooks/useEvents.tsx +14 -0
- package/lib/cim/types/fromOCP/k8sTypes.ts +13 -0
- package/lib/cim/types/k8s/agent-cluster-install.ts +4 -0
- package/lib/cim/types/k8s/bare-metal-host.ts +20 -0
- package/lib/common/components/clusterConfiguration/DiscoveryImageConfigForm.tsx +9 -8
- package/lib/common/components/clusterConfiguration/DiscoveryInstructions.tsx +1 -1
- package/lib/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.tsx +7 -10
- package/lib/common/components/clusterConfiguration/ProxyFields.tsx +3 -3
- package/lib/common/components/clusterConfiguration/utils.ts +22 -12
- package/lib/common/components/clusterWizard/clusterDetailsValidation.ts +21 -11
- package/lib/{ocm/components/clusterConfiguration/networkConfiguration → common/components/clusterWizard/networkingSteps}/AdvancedNetworkFields.tsx +54 -38
- package/lib/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.tsx +221 -53
- package/lib/{ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.tsx → common/components/clusterWizard/networkingSteps/StackTypeControlGroup.tsx} +64 -28
- package/lib/{ocm/components/clusterConfiguration/networkConfiguration → common/components/clusterWizard/networkingSteps}/SubnetsDropdown.tsx +4 -7
- package/lib/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.tsx +199 -80
- package/lib/common/components/clusterWizard/networkingSteps/index.ts +10 -2
- package/lib/{ocm/components/clusterConfiguration/networkConfiguration → common/components/clusterWizard/networkingSteps}/reorderNetworks.ts +2 -1
- package/lib/common/components/hosts/AdditionalNTPSourcesDialog.tsx +3 -6
- package/lib/common/components/hosts/EditHostForm.tsx +2 -8
- package/lib/common/components/hosts/HostStatus.tsx +14 -3
- package/lib/common/components/hosts/HostValidationGroups.tsx +5 -4
- package/lib/common/components/hosts/MassChangeHostnameModal.tsx +48 -44
- package/lib/common/components/hosts/index.ts +2 -0
- package/lib/common/components/hosts/tableColumns.tsx +411 -0
- package/lib/common/components/hosts/tableUtils.tsx +4 -409
- package/lib/common/components/hosts/types.ts +1 -0
- package/lib/common/components/ui/EventsList.tsx +4 -2
- package/lib/common/components/ui/PrismCode.tsx +35 -22
- package/lib/common/components/ui/formik/LabelField.tsx +77 -60
- package/lib/common/components/ui/formik/index.tsx +0 -2
- package/lib/common/components/ui/index.ts +1 -1
- package/lib/common/config/constants.ts +33 -2
- package/lib/common/config/docs_links.ts +1 -1
- package/lib/common/index.ts +2 -0
- package/lib/common/types/clusters.ts +0 -1
- package/lib/common/utils.ts +5 -7
- package/lib/common/{components/ui/formik → validationSchemas}/_validationSchemas.test.ts +51 -39
- package/lib/common/validationSchemas/addressValidation.tsx +349 -0
- package/lib/common/validationSchemas/clusterDetailsValidation.tsx +168 -0
- package/lib/common/{components/ui/formik → validationSchemas}/constants.tsx +3 -6
- package/lib/common/validationSchemas/hostnameValidation.tsx +46 -0
- package/lib/common/validationSchemas/index.tsx +11 -0
- package/lib/common/validationSchemas/networkingValidation.tsx +113 -0
- package/lib/common/validationSchemas/ntpValidation.tsx +30 -0
- package/lib/common/validationSchemas/proxyValidation.tsx +67 -0
- package/lib/common/validationSchemas/pullSecretValidation.tsx +24 -0
- package/lib/common/validationSchemas/regexes.tsx +22 -0
- package/lib/common/validationSchemas/sshValidation.tsx +46 -0
- package/lib/common/validationSchemas/utils.tsx +36 -0
- package/lib/ocm/components/clusterConfiguration/OcmBaseDomainField.tsx +2 -2
- package/lib/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.tsx +17 -15
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifests.tsx +4 -2
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/customManifestsValidationSchema.tsx +31 -31
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.tsx +12 -23
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx +9 -2
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationTableBase.tsx +3 -2
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.ts +16 -26
- package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHosts.tsx +3 -1
- package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/formViewHostsValidationSchema.tsx +11 -6
- package/lib/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlView.tsx +5 -1
- package/lib/ocm/components/clusterConfiguration/staticIp/components/YamlView/yamlViewValidationSchema.tsx +33 -28
- package/lib/ocm/components/clusterDetail/ResetClusterModal.tsx +2 -1
- package/lib/ocm/components/clusterWizard/OperatorsSelect.tsx +2 -2
- package/lib/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.tsx +5 -3
- package/lib/ocm/components/hosts/ClusterHostsTable.tsx +4 -3
- package/lib/ocm/components/hosts/HostsDiscoveryTable.tsx +2 -4
- package/lib/ocm/components/hosts/HostsStorageTable.tsx +5 -7
- package/lib/ocm/components/hosts/UpdateDay2ApiVipForm.tsx +3 -7
- package/lib/ocm/components/hosts/use-hosts-table.tsx +2 -1
- package/package.json +3 -3
- package/build/@types/common/components/clusterConfiguration/AdvancedNetworkFields.d.ts.map +0 -1
- package/build/@types/common/components/ui/formik/constants.d.ts.map +0 -1
- package/build/@types/common/components/ui/formik/validationSchemas.d.ts +0 -52
- package/build/@types/common/components/ui/formik/validationSchemas.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.d.ts +0 -4
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.d.ts +0 -12
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.d.ts +0 -11
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.d.ts +0 -9
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/reorderNetworks.d.ts.map +0 -1
- package/build/cjs/common/components/clusterConfiguration/AdvancedNetworkFields.js.map +0 -1
- package/build/cjs/common/components/ui/formik/LabelField.css +0 -43
- package/build/cjs/common/components/ui/formik/constants.js.map +0 -1
- package/build/cjs/common/components/ui/formik/validationSchemas.js +0 -571
- package/build/cjs/common/components/ui/formik/validationSchemas.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.js +0 -53
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.js +0 -124
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.js +0 -98
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/reorderNetworks.js.map +0 -1
- package/lib/common/components/ui/formik/LabelField.css +0 -43
- package/lib/common/components/ui/formik/validationSchemas.ts +0 -846
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.tsx +0 -208
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.tsx +0 -283
- /package/build/@types/{common/components/clusterConfiguration → cim/components/Hypershift/HostedClusterWizard/NetworkStep}/AdvancedNetworkFields.d.ts +0 -0
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { HostsTableActions, selectSchedulableMasters } from '../../../../common';
|
|
3
2
|
import NetworkingStatus from '../../hosts/NetworkingStatus';
|
|
4
3
|
import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
|
|
5
4
|
import {
|
|
5
|
+
HostsTableActions,
|
|
6
|
+
selectSchedulableMasters,
|
|
6
7
|
hostnameColumn,
|
|
7
8
|
roleColumn,
|
|
8
9
|
activeNICColumn,
|
|
@@ -10,7 +11,7 @@ import {
|
|
|
10
11
|
ipv6Column,
|
|
11
12
|
macAddressColumn,
|
|
12
13
|
countColumn,
|
|
13
|
-
} from '../../../../common
|
|
14
|
+
} from '../../../../common';
|
|
14
15
|
import { ActionsResolver, TableRow } from '../../../../common/components/hosts/AITable';
|
|
15
16
|
import { usePagination } from '../../../../common/components/hosts/usePagination';
|
|
16
17
|
import { HostDetail } from '../../../../common/components/hosts/HostRowDetail';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as Yup from 'yup';
|
|
2
|
+
import { TFunction } from 'i18next';
|
|
2
3
|
import {
|
|
3
4
|
clusterNetworksValidationSchema,
|
|
4
5
|
dualStackValidationSchema,
|
|
@@ -56,7 +57,7 @@ export const getNetworkInitialValues = (
|
|
|
56
57
|
? defaultNetworkValues.clusterNetworksDualstack
|
|
57
58
|
: defaultNetworkValues.clusterNetworksIpv4?.map((network) => ({
|
|
58
59
|
...network,
|
|
59
|
-
clusterId: cluster
|
|
60
|
+
clusterId: cluster?.id,
|
|
60
61
|
}))),
|
|
61
62
|
serviceNetworks:
|
|
62
63
|
cluster.serviceNetworks ||
|
|
@@ -64,7 +65,7 @@ export const getNetworkInitialValues = (
|
|
|
64
65
|
? defaultNetworkValues.serviceNetworksDualstack
|
|
65
66
|
: defaultNetworkValues.serviceNetworksIpv4?.map((network) => ({
|
|
66
67
|
...network,
|
|
67
|
-
clusterId: cluster
|
|
68
|
+
clusterId: cluster?.id,
|
|
68
69
|
}))),
|
|
69
70
|
};
|
|
70
71
|
};
|
|
@@ -72,17 +73,14 @@ export const getNetworkInitialValues = (
|
|
|
72
73
|
export const getNetworkConfigurationValidationSchema = (
|
|
73
74
|
initialValues: NetworkConfigurationValues,
|
|
74
75
|
hostSubnets: HostSubnets,
|
|
76
|
+
t: TFunction,
|
|
75
77
|
openshiftVersion?: string,
|
|
76
78
|
) =>
|
|
77
79
|
Yup.lazy((values: NetworkConfigurationValues) =>
|
|
78
80
|
Yup.object<NetworkConfigurationValues>().shape({
|
|
79
|
-
apiVips: vipArrayValidationSchema<ApiVip>(hostSubnets, values,
|
|
80
|
-
ingressVips: vipArrayValidationSchema<IngressVip>(
|
|
81
|
-
|
|
82
|
-
values,
|
|
83
|
-
initialValues.ingressVips,
|
|
84
|
-
),
|
|
85
|
-
sshPublicKey: sshPublicKeyValidationSchema,
|
|
81
|
+
apiVips: vipArrayValidationSchema<ApiVip>(hostSubnets, values, t),
|
|
82
|
+
ingressVips: vipArrayValidationSchema<IngressVip>(hostSubnets, values, t),
|
|
83
|
+
sshPublicKey: sshPublicKeyValidationSchema(t),
|
|
86
84
|
machineNetworks:
|
|
87
85
|
values.managedNetworkingType === 'userManaged'
|
|
88
86
|
? Yup.array()
|
|
@@ -92,29 +90,21 @@ export const getNetworkConfigurationValidationSchema = (
|
|
|
92
90
|
otherwise: () =>
|
|
93
91
|
values.machineNetworks && values.machineNetworks?.length >= 2
|
|
94
92
|
? machineNetworksValidationSchema.concat(
|
|
95
|
-
dualStackValidationSchema('machine networks', openshiftVersion),
|
|
93
|
+
dualStackValidationSchema('machine networks', t, openshiftVersion),
|
|
96
94
|
)
|
|
97
95
|
: Yup.array(),
|
|
98
96
|
}),
|
|
99
|
-
clusterNetworks: clusterNetworksValidationSchema.when('stackType', {
|
|
97
|
+
clusterNetworks: clusterNetworksValidationSchema(t).when('stackType', {
|
|
100
98
|
is: (stackType: NetworkConfigurationValues['stackType']) => stackType === IPV4_STACK,
|
|
101
|
-
then: () =>
|
|
102
|
-
otherwise: () =>
|
|
103
|
-
|
|
104
|
-
? clusterNetworksValidationSchema.concat(
|
|
105
|
-
dualStackValidationSchema('cluster network', openshiftVersion),
|
|
106
|
-
)
|
|
107
|
-
: Yup.array(),
|
|
99
|
+
then: (schema) => schema.concat(IPv4ValidationSchema),
|
|
100
|
+
otherwise: (schema) =>
|
|
101
|
+
schema.concat(dualStackValidationSchema('cluster network', t, openshiftVersion)),
|
|
108
102
|
}),
|
|
109
|
-
serviceNetworks: serviceNetworkValidationSchema.when('stackType', {
|
|
103
|
+
serviceNetworks: serviceNetworkValidationSchema(t).when('stackType', {
|
|
110
104
|
is: (stackType: NetworkConfigurationValues['stackType']) => stackType === IPV4_STACK,
|
|
111
|
-
then: () =>
|
|
112
|
-
otherwise: () =>
|
|
113
|
-
|
|
114
|
-
? serviceNetworkValidationSchema.concat(
|
|
115
|
-
dualStackValidationSchema('service network', openshiftVersion),
|
|
116
|
-
)
|
|
117
|
-
: Yup.array(),
|
|
105
|
+
then: (schema) => schema.concat(IPv4ValidationSchema),
|
|
106
|
+
otherwise: (schema) =>
|
|
107
|
+
schema.concat(dualStackValidationSchema('service network', t, openshiftVersion)),
|
|
118
108
|
}),
|
|
119
109
|
}),
|
|
120
110
|
);
|
package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHosts.tsx
CHANGED
|
@@ -9,8 +9,10 @@ import { formViewHostsToInfraEnvField } from '../../data/formDataToInfraEnvField
|
|
|
9
9
|
import { getEmptyFormViewHostsValues } from '../../data/emptyData';
|
|
10
10
|
import { getFormViewHostsValues, getFormViewNetworkWideValues } from '../../data/fromInfraEnv';
|
|
11
11
|
import { InfraEnv } from '@openshift-assisted/types/assisted-installer-service';
|
|
12
|
+
import { useTranslation } from '../../../../../../common';
|
|
12
13
|
|
|
13
14
|
export const FormViewHosts: React.FC<StaticIpViewProps> = ({ infraEnv, ...props }) => {
|
|
15
|
+
const { t } = useTranslation();
|
|
14
16
|
const [protocolType, setProtocolType] = React.useState<StaticProtocolType>();
|
|
15
17
|
const [formProps, setFormProps] = React.useState<StaticIpFormProps<FormViewHostsValues>>();
|
|
16
18
|
React.useEffect(() => {
|
|
@@ -20,7 +22,7 @@ export const FormViewHosts: React.FC<StaticIpViewProps> = ({ infraEnv, ...props
|
|
|
20
22
|
if (networkWideValues) {
|
|
21
23
|
setFormProps({
|
|
22
24
|
infraEnv,
|
|
23
|
-
validationSchema: getFormViewHostsValidationSchema(networkWideValues),
|
|
25
|
+
validationSchema: getFormViewHostsValidationSchema(networkWideValues, t),
|
|
24
26
|
getInitialValues: (infraEnv: InfraEnv) => {
|
|
25
27
|
return getFormViewHostsValues(infraEnv);
|
|
26
28
|
},
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as Yup from 'yup';
|
|
2
|
+
import { TFunction } from 'i18next';
|
|
2
3
|
|
|
3
4
|
import {
|
|
4
5
|
FormViewNetworkWideValues,
|
|
@@ -14,6 +15,7 @@ import {
|
|
|
14
15
|
getIpIsNotNetworkOrBroadcastAddressSchema,
|
|
15
16
|
} from '../../commonValidationSchemas';
|
|
16
17
|
import { getMachineNetworkCidr } from '../../data/machineNetwork';
|
|
18
|
+
|
|
17
19
|
const requiredMsg = 'A value is required';
|
|
18
20
|
|
|
19
21
|
const getAllIpv4Addresses: UniqueStringArrayExtractor<FormViewHostsValues> = (
|
|
@@ -39,12 +41,12 @@ const getAllBondInterfaces: UniqueStringArrayExtractor<FormViewHostsValues> = (
|
|
|
39
41
|
]);
|
|
40
42
|
};
|
|
41
43
|
|
|
42
|
-
const getHostValidationSchema = (networkWideValues: FormViewNetworkWideValues) =>
|
|
44
|
+
const getHostValidationSchema = (networkWideValues: FormViewNetworkWideValues, t: TFunction) =>
|
|
43
45
|
Yup.object({
|
|
44
46
|
macAddress: Yup.mixed().when('useBond', {
|
|
45
47
|
is: false,
|
|
46
48
|
then: () =>
|
|
47
|
-
macAddressValidationSchema
|
|
49
|
+
macAddressValidationSchema(t)
|
|
48
50
|
.required(requiredMsg)
|
|
49
51
|
.concat(getUniqueValidationSchema(getAllMacAddresses)),
|
|
50
52
|
otherwise: () => Yup.mixed().notRequired(),
|
|
@@ -82,7 +84,7 @@ const getHostValidationSchema = (networkWideValues: FormViewNetworkWideValues) =
|
|
|
82
84
|
bondPrimaryInterface: Yup.mixed().when('useBond', {
|
|
83
85
|
is: true,
|
|
84
86
|
then: () =>
|
|
85
|
-
macAddressValidationSchema
|
|
87
|
+
macAddressValidationSchema(t)
|
|
86
88
|
.required(requiredMsg)
|
|
87
89
|
.concat(getUniqueValidationSchema(getAllBondInterfaces)),
|
|
88
90
|
otherwise: () => Yup.mixed().notRequired(),
|
|
@@ -90,15 +92,18 @@ const getHostValidationSchema = (networkWideValues: FormViewNetworkWideValues) =
|
|
|
90
92
|
bondSecondaryInterface: Yup.mixed().when('useBond', {
|
|
91
93
|
is: true,
|
|
92
94
|
then: () =>
|
|
93
|
-
macAddressValidationSchema
|
|
95
|
+
macAddressValidationSchema(t)
|
|
94
96
|
.required(requiredMsg)
|
|
95
97
|
.concat(getUniqueValidationSchema(getAllBondInterfaces)),
|
|
96
98
|
otherwise: () => Yup.mixed().notRequired(),
|
|
97
99
|
}),
|
|
98
100
|
});
|
|
99
101
|
|
|
100
|
-
export const getFormViewHostsValidationSchema = (
|
|
102
|
+
export const getFormViewHostsValidationSchema = (
|
|
103
|
+
networkWideValues: FormViewNetworkWideValues,
|
|
104
|
+
t: TFunction,
|
|
105
|
+
) => {
|
|
101
106
|
return Yup.object().shape({
|
|
102
|
-
hosts: Yup.array(getHostValidationSchema(networkWideValues)),
|
|
107
|
+
hosts: Yup.array(getHostValidationSchema(networkWideValues, t)),
|
|
103
108
|
});
|
|
104
109
|
};
|
|
@@ -7,17 +7,21 @@ import { YamlViewFields } from './YamlViewFields';
|
|
|
7
7
|
import { getEmptyYamlValues } from '../../data/emptyData';
|
|
8
8
|
import { InfraEnv } from '@openshift-assisted/types/assisted-installer-service';
|
|
9
9
|
import { getYamlViewValues } from '../../data/fromInfraEnv';
|
|
10
|
+
import { useTranslation } from '../../../../../../common';
|
|
10
11
|
|
|
11
12
|
export const YamlView: React.FC<StaticIpViewProps> = ({ ...props }) => {
|
|
13
|
+
const { t } = useTranslation();
|
|
14
|
+
|
|
12
15
|
const formProps: StaticIpFormProps<YamlViewValues> = {
|
|
13
16
|
...props,
|
|
14
|
-
validationSchema: yamlViewValidationSchema,
|
|
17
|
+
validationSchema: yamlViewValidationSchema(t),
|
|
15
18
|
getInitialValues: (infraEnv: InfraEnv) => {
|
|
16
19
|
return getYamlViewValues(infraEnv);
|
|
17
20
|
},
|
|
18
21
|
getUpdateParams: (currentInfraEnv: InfraEnv, values: YamlViewValues) => values.hosts,
|
|
19
22
|
getEmptyValues: () => getEmptyYamlValues(),
|
|
20
23
|
};
|
|
24
|
+
|
|
21
25
|
return (
|
|
22
26
|
<StaticIpForm<YamlViewValues> {...formProps}>
|
|
23
27
|
<YamlViewFields />
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import * as Yup from 'yup';
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
ArrayElementType,
|
|
4
|
+
getIncorrectFileTypeMessage,
|
|
5
|
+
macAddressValidationSchema,
|
|
6
|
+
} from '../../../../../../common';
|
|
3
7
|
import { YamlViewValues } from '../../data/dataTypes';
|
|
4
8
|
import {
|
|
5
9
|
getUniqueValidationSchema,
|
|
6
10
|
UniqueStringArrayExtractor,
|
|
7
11
|
} from '../../commonValidationSchemas';
|
|
8
12
|
import {
|
|
9
|
-
INCORRECT_TYPE_FILE_MESSAGE,
|
|
10
13
|
getMaxFileSizeMessage,
|
|
11
14
|
validateFileSize,
|
|
12
15
|
validateFileType,
|
|
@@ -15,13 +18,13 @@ import {
|
|
|
15
18
|
HostStaticNetworkConfig,
|
|
16
19
|
MacInterfaceMap,
|
|
17
20
|
} from '@openshift-assisted/types/assisted-installer-service';
|
|
21
|
+
import { TFunction } from 'i18next';
|
|
18
22
|
|
|
19
|
-
const
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
.test('file-type-yaml', INCORRECT_TYPE_FILE_MESSAGE, validateFileType);
|
|
23
|
+
const networkYamlValidationSchema = (t: TFunction) =>
|
|
24
|
+
Yup.string()
|
|
25
|
+
.required('Required field')
|
|
26
|
+
.test('file-size-limit', getMaxFileSizeMessage(t), validateFileSize)
|
|
27
|
+
.test('file-type-yaml', getIncorrectFileTypeMessage(t), validateFileType);
|
|
25
28
|
|
|
26
29
|
const getAllMacAddresses: UniqueStringArrayExtractor<YamlViewValues> = (
|
|
27
30
|
values: YamlViewValues,
|
|
@@ -59,24 +62,26 @@ const getInterfaceNamesInCurrentHost: UniqueStringArrayExtractor<YamlViewValues>
|
|
|
59
62
|
});
|
|
60
63
|
};
|
|
61
64
|
|
|
62
|
-
const macInterfaceMapValidationSchema =
|
|
63
|
-
Yup.
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
.
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
);
|
|
74
|
-
|
|
75
|
-
export const yamlViewValidationSchema = Yup.object({
|
|
76
|
-
hosts: Yup.array<HostStaticNetworkConfig>().of(
|
|
77
|
-
Yup.object().shape({
|
|
78
|
-
networkYaml: networkYamlValidationSchema,
|
|
79
|
-
macInterfaceMap: macInterfaceMapValidationSchema,
|
|
65
|
+
const macInterfaceMapValidationSchema = (t: TFunction) =>
|
|
66
|
+
Yup.array<MacInterfaceMap>().of(
|
|
67
|
+
Yup.object({
|
|
68
|
+
macAddress: macAddressValidationSchema(t)
|
|
69
|
+
.required('Required field')
|
|
70
|
+
.concat(getUniqueValidationSchema(getAllMacAddresses)),
|
|
71
|
+
logicalNicName: Yup.string()
|
|
72
|
+
.required('Required field')
|
|
73
|
+
.concat(getUniqueValidationSchema(getInterfaceNamesInCurrentHost))
|
|
74
|
+
.max(15, 'Interface name must be 15 characters at most.')
|
|
75
|
+
.matches(/^\S+$/, 'Interface name can not contain spaces.'),
|
|
80
76
|
}),
|
|
81
|
-
)
|
|
82
|
-
|
|
77
|
+
);
|
|
78
|
+
|
|
79
|
+
export const yamlViewValidationSchema = (t: TFunction) =>
|
|
80
|
+
Yup.object({
|
|
81
|
+
hosts: Yup.array<HostStaticNetworkConfig>().of(
|
|
82
|
+
Yup.object().shape({
|
|
83
|
+
networkYaml: networkYamlValidationSchema(t),
|
|
84
|
+
macInterfaceMap: macInterfaceMapValidationSchema(t),
|
|
85
|
+
}),
|
|
86
|
+
),
|
|
87
|
+
});
|
|
@@ -79,7 +79,8 @@ const ResetClusterModal: React.FC = () => {
|
|
|
79
79
|
</Content>
|
|
80
80
|
|
|
81
81
|
<Content component="p">
|
|
82
|
-
<
|
|
82
|
+
<span className="pf-v6-u-font-weight-bold">Download the installation logs</span> to
|
|
83
|
+
troubleshoot or report a bug.
|
|
83
84
|
<br />
|
|
84
85
|
Currently, {collectedLogsPercentage}% of the installation logs were collected and are
|
|
85
86
|
ready for download.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { ExpandableSection, Stack, StackItem } from '@patternfly/react-core';
|
|
2
|
+
import { Content, ExpandableSection, Stack, StackItem } from '@patternfly/react-core';
|
|
3
3
|
import {
|
|
4
4
|
Bundle,
|
|
5
5
|
Cluster,
|
|
@@ -106,7 +106,7 @@ const OperatorsSelect = ({
|
|
|
106
106
|
return (
|
|
107
107
|
<React.Fragment key={categoryName}>
|
|
108
108
|
<StackItem>
|
|
109
|
-
<
|
|
109
|
+
<Content className="pf-v6-u-font-weight-bold">{categoryName}</Content>
|
|
110
110
|
</StackItem>
|
|
111
111
|
{categoryOperators.map((spec) => (
|
|
112
112
|
<StackItem key={spec.operatorKey}>
|
|
@@ -8,6 +8,7 @@ import {
|
|
|
8
8
|
sshPublicKeyValidationSchema,
|
|
9
9
|
pullSecretValidationSchema,
|
|
10
10
|
getFormikErrorFields,
|
|
11
|
+
useTranslation,
|
|
11
12
|
} from '../../../../common';
|
|
12
13
|
import { Split, SplitItem, Grid, GridItem, Form, Content, Checkbox } from '@patternfly/react-core';
|
|
13
14
|
import { useClusterWizardContext } from '../ClusterWizardContext';
|
|
@@ -44,6 +45,7 @@ const PullSecretSync: React.FC<{ pullSecret?: string }> = ({ pullSecret }) => {
|
|
|
44
45
|
};
|
|
45
46
|
|
|
46
47
|
const OptionalConfigurationsStep = () => {
|
|
48
|
+
const { t } = useTranslation();
|
|
47
49
|
const pullSecret = usePullSecret() || '';
|
|
48
50
|
const { clusterId } = useParams<{ clusterId: string }>();
|
|
49
51
|
const [cluster, setCluster] = React.useState<Cluster | null>(null);
|
|
@@ -77,10 +79,10 @@ const OptionalConfigurationsStep = () => {
|
|
|
77
79
|
const validationSchema = React.useMemo(
|
|
78
80
|
() =>
|
|
79
81
|
Yup.object<OptionalConfigurationsFormValues>().shape({
|
|
80
|
-
sshPublicKey: sshPublicKeyValidationSchema,
|
|
81
|
-
pullSecret: pullSecretValidationSchema,
|
|
82
|
+
sshPublicKey: sshPublicKeyValidationSchema(t),
|
|
83
|
+
pullSecret: pullSecretValidationSchema(t),
|
|
82
84
|
}),
|
|
83
|
-
[],
|
|
85
|
+
[t],
|
|
84
86
|
);
|
|
85
87
|
|
|
86
88
|
const initialValues: OptionalConfigurationsFormValues = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { selectSchedulableMasters, isSNO } from '../../../common';
|
|
3
|
-
import { AdditionalNTPSourcesDialogToggle } from './AdditionaNTPSourceDialogToggle';
|
|
4
2
|
import {
|
|
3
|
+
selectSchedulableMasters,
|
|
4
|
+
isSNO,
|
|
5
5
|
discoveredAtColumn,
|
|
6
6
|
disksColumn,
|
|
7
7
|
hostnameColumn,
|
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
roleColumn,
|
|
10
10
|
statusColumn,
|
|
11
11
|
cpuCoresColumn,
|
|
12
|
-
} from '../../../common
|
|
12
|
+
} from '../../../common';
|
|
13
|
+
import { AdditionalNTPSourcesDialogToggle } from './AdditionaNTPSourceDialogToggle';
|
|
13
14
|
import { usePagination } from '../../../common/components/hosts/usePagination';
|
|
14
15
|
import { useHostsTable, HostsTableModals } from './use-hosts-table';
|
|
15
16
|
import HostsTable from '../../../common/components/hosts/HostsTable';
|
|
@@ -6,9 +6,6 @@ import {
|
|
|
6
6
|
isSNO,
|
|
7
7
|
DeleteHostAction,
|
|
8
8
|
TableToolbar,
|
|
9
|
-
} from '../../../common';
|
|
10
|
-
import { HostsTableModals, useHostsTable } from './use-hosts-table';
|
|
11
|
-
import {
|
|
12
9
|
countColumn,
|
|
13
10
|
cpuCoresColumn,
|
|
14
11
|
discoveredAtColumn,
|
|
@@ -16,7 +13,8 @@ import {
|
|
|
16
13
|
hostnameColumn,
|
|
17
14
|
memoryColumn,
|
|
18
15
|
roleColumn,
|
|
19
|
-
} from '../../../common
|
|
16
|
+
} from '../../../common';
|
|
17
|
+
import { HostsTableModals, useHostsTable } from './use-hosts-table';
|
|
20
18
|
import HostsTable from '../../../common/components/hosts/HostsTable';
|
|
21
19
|
import { HostDetail } from '../../../common/components/hosts/HostRowDetail';
|
|
22
20
|
import { ExpandComponentProps } from '../../../common/components/hosts/AITable';
|
|
@@ -5,18 +5,16 @@ import {
|
|
|
5
5
|
disksColumn,
|
|
6
6
|
hostnameColumn,
|
|
7
7
|
roleColumn,
|
|
8
|
-
} from '../../../common/components/hosts/tableUtils';
|
|
9
|
-
import {
|
|
10
|
-
numberOfDisksColumn,
|
|
11
|
-
odfUsageColumn,
|
|
12
|
-
} from '../../../common/components/storage/StorageUtils';
|
|
13
|
-
import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
|
|
14
|
-
import {
|
|
15
8
|
hasEnabledOperators,
|
|
16
9
|
isCompact,
|
|
17
10
|
selectSchedulableMasters,
|
|
18
11
|
OPERATOR_NAME_ODF,
|
|
19
12
|
} from '../../../common';
|
|
13
|
+
import {
|
|
14
|
+
numberOfDisksColumn,
|
|
15
|
+
odfUsageColumn,
|
|
16
|
+
} from '../../../common/components/storage/StorageUtils';
|
|
17
|
+
import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
|
|
20
18
|
import { usePagination } from '../../../common/components/hosts/usePagination';
|
|
21
19
|
import { ExpandComponentProps } from '../../../common/components/hosts/AITable';
|
|
22
20
|
import CommonStorageTable from '../../../common/components/storage/StorageTable';
|
|
@@ -9,13 +9,9 @@ import {
|
|
|
9
9
|
ModalFooter,
|
|
10
10
|
} from '@patternfly/react-core';
|
|
11
11
|
import { Formik } from 'formik';
|
|
12
|
-
import {
|
|
13
|
-
AlertFormikError,
|
|
14
|
-
day2ApiVipValidationSchema,
|
|
15
|
-
InputField,
|
|
16
|
-
} from '../../../common/components/ui';
|
|
12
|
+
import { AlertFormikError, InputField } from '../../../common/components/ui';
|
|
17
13
|
import GridGap from '../../../common/components/ui/GridGap';
|
|
18
|
-
import { StatusErrorType } from '../../../common';
|
|
14
|
+
import { day2ApiVipValidationSchema, StatusErrorType } from '../../../common';
|
|
19
15
|
import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
|
|
20
16
|
|
|
21
17
|
export type UpdateDay2ApiVipFormProps = {
|
|
@@ -46,7 +42,7 @@ const UpdateDay2ApiVipForm: React.FC<UpdateDay2ApiVipFormProps> = ({
|
|
|
46
42
|
const validationSchema = React.useMemo(
|
|
47
43
|
() =>
|
|
48
44
|
Yup.object().shape({
|
|
49
|
-
apiVip: day2ApiVipValidationSchema.required(t('ai:Required field')),
|
|
45
|
+
apiVip: day2ApiVipValidationSchema(t).required(t('ai:Required field')),
|
|
50
46
|
}),
|
|
51
47
|
[t],
|
|
52
48
|
);
|
|
@@ -9,6 +9,8 @@ import {
|
|
|
9
9
|
MassDeleteHostModal,
|
|
10
10
|
isSNO,
|
|
11
11
|
ResourceUIState,
|
|
12
|
+
hostnameColumn,
|
|
13
|
+
hostActionResolver,
|
|
12
14
|
} from '../../../common';
|
|
13
15
|
import {
|
|
14
16
|
AdditionalNTPSourcesDialog,
|
|
@@ -38,7 +40,6 @@ import {
|
|
|
38
40
|
EditHostFormValues,
|
|
39
41
|
} from '../../../common/components/hosts';
|
|
40
42
|
import HostsTable from '../../../common/components/hosts/HostsTable';
|
|
41
|
-
import { hostActionResolver, hostnameColumn } from '../../../common/components/hosts/tableUtils';
|
|
42
43
|
import ResetHostModal from './ResetHostModal';
|
|
43
44
|
import DeleteHostModal from './DeleteHostModal';
|
|
44
45
|
import { onFetchEvents } from '../fetching/fetchEvents';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dependencies": {
|
|
3
|
-
"@openshift-assisted/locales": "2.17.
|
|
4
|
-
"@openshift-assisted/types": "2.17.
|
|
3
|
+
"@openshift-assisted/locales": "2.17.3-cim",
|
|
4
|
+
"@openshift-assisted/types": "2.17.3-cim",
|
|
5
5
|
"@openshift-console/dynamic-plugin-sdk": "1.0.0",
|
|
6
6
|
"@patternfly/patternfly": "6.2.3",
|
|
7
7
|
"@patternfly/react-code-editor": "6.2.2",
|
|
@@ -140,5 +140,5 @@
|
|
|
140
140
|
]
|
|
141
141
|
}
|
|
142
142
|
},
|
|
143
|
-
"version": "2.17.
|
|
143
|
+
"version": "2.17.3-cim"
|
|
144
144
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AdvancedNetworkFields.d.ts","sourceRoot":"","sources":["../../../../../lib/common/components/clusterConfiguration/AdvancedNetworkFields.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,KAAK,0BAA0B,GAAG;IAChC,iBAAiB,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,QAAA,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,0BAA0B,CAgD/D,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../lib/common/components/ui/formik/constants.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,uBAAuB,KAAK,CAAC;AAE1C,eAAO,MAAM,6BAA6B,MAAO,SAAS;;;;;;CAMxD,CAAC;AAEH,eAAO,MAAM,gCAAgC,MAAO,SAAS;;;;CAI3D,CAAC;AAEH,eAAO,MAAM,sCAAsC,MAAO,SAAS;;;;;CAKjE,CAAC;AAEH,eAAO,MAAM,gCAAgC,MAAO,SAAS;;;;;CAK3D,CAAC;AAEH,eAAO,MAAM,sBAAsB,MAAO,SAAS;;;;;;CAMjD,CAAC;AAEH,eAAO,MAAM,qBAAqB,MAAO,SAAS;;;;;;;CAGhD,CAAC;AAEH,eAAO,MAAM,0BAA0B,MAAO,SAAS;;;;;;CAMrD,CAAC;AAEH,eAAO,MAAM,0BAA0B,MAAO,SAAS;;;;CAIrD,CAAC;AAEH,eAAO,MAAM,4BAA4B,MAAO,SAAS;;CAIvD,CAAC;AAEH,eAAO,MAAM,mBAAmB,UAO/B,CAAC"}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import * as Yup from 'yup';
|
|
2
|
-
import { TFunction } from 'i18next';
|
|
3
|
-
import { ApiVip, IngressVip } from '@openshift-assisted/types/assisted-installer-service';
|
|
4
|
-
import { ProxyFieldsType } from '../../../types';
|
|
5
|
-
import { HostSubnets, NetworkConfigurationValues } from '../../../types/clusters';
|
|
6
|
-
export declare const nameValidationSchema: (t: TFunction, usedClusterNames: string[], baseDnsDomain?: string, validateUniqueName?: boolean, isOcm?: boolean) => Yup.StringSchema<string, Yup.AnyObject, undefined, "">;
|
|
7
|
-
export declare const sshPublicKeyValidationSchema: Yup.StringSchema<string | undefined, Yup.AnyObject, undefined, "">;
|
|
8
|
-
export declare const sshPublicKeyListValidationSchema: Yup.StringSchema<string | undefined, Yup.AnyObject, undefined, "">;
|
|
9
|
-
export declare const pullSecretValidationSchema: Yup.StringSchema<string | undefined, Yup.AnyObject, undefined, "">;
|
|
10
|
-
export declare const ipValidationSchema: Yup.StringSchema<string | undefined, Yup.AnyObject, undefined, "">;
|
|
11
|
-
export declare const ipNoSuffixValidationSchema: Yup.StringSchema<string | undefined, Yup.AnyObject, undefined, "">;
|
|
12
|
-
export declare const macAddressValidationSchema: Yup.StringSchema<string | undefined, Yup.AnyObject, undefined, "">;
|
|
13
|
-
export declare const vipRangeValidationSchema: (hostSubnets: HostSubnets, { machineNetworks, hostSubnet }: NetworkConfigurationValues, allowSuffix: boolean) => Yup.StringSchema<string | undefined, Yup.AnyObject, undefined, "">;
|
|
14
|
-
export declare const hostSubnetValidationSchema: Yup.StringSchema<string | undefined, Yup.AnyObject, undefined, "">;
|
|
15
|
-
export declare const vipValidationSchema: (hostSubnets: HostSubnets, values: NetworkConfigurationValues, initialValue?: string) => Yup.MixedSchema<{} | undefined, Yup.AnyObject, undefined, "">;
|
|
16
|
-
export declare const vipNoSuffixValidationSchema: (hostSubnets: HostSubnets, values: NetworkConfigurationValues, initialValues?: ApiVip[] | IngressVip[]) => Yup.MixedSchema<{} | undefined, Yup.AnyObject, undefined, "">;
|
|
17
|
-
export declare const vipArrayValidationSchema: <T extends Yup.Maybe<Yup.AnyObject>>(hostSubnets: HostSubnets, values: NetworkConfigurationValues, initialValues?: ApiVip[] | IngressVip[]) => Yup.ArraySchema<any[] | undefined, T, undefined, ""> | Yup.ArraySchema<{
|
|
18
|
-
clusterId?: string | undefined;
|
|
19
|
-
ip?: {} | undefined;
|
|
20
|
-
}[] | undefined, T, "", "">;
|
|
21
|
-
export declare const ipBlockValidationSchema: (reservedCidrs: string | string[] | undefined) => Yup.StringSchema<string, Yup.AnyObject, undefined, "">;
|
|
22
|
-
export declare const dnsNameValidationSchema: Yup.StringSchema<string | undefined, Yup.AnyObject, undefined, "">;
|
|
23
|
-
export declare const baseDomainValidationSchema: Yup.StringSchema<string | undefined, Yup.AnyObject, undefined, "">;
|
|
24
|
-
export declare const hostPrefixValidationSchema: (clusterNetworkCidr: NetworkConfigurationValues['clusterNetworkCidr']) => Yup.NumberSchema<number, Yup.AnyObject, undefined, "">;
|
|
25
|
-
export declare const richNameValidationSchema: (t: TFunction, usedNames: string[], origName?: string) => Yup.StringSchema<string | undefined, Yup.AnyObject, undefined, "">;
|
|
26
|
-
export declare const richHostnameValidationSchema: (t: TFunction, usedNames: string[], origName?: string) => Yup.StringSchema<string | undefined, Yup.AnyObject, undefined, "">;
|
|
27
|
-
export declare const httpProxyValidationSchema: ({ values, pairValueName, allowEmpty, }: {
|
|
28
|
-
values: ProxyFieldsType;
|
|
29
|
-
pairValueName: 'httpProxy' | 'httpsProxy';
|
|
30
|
-
allowEmpty?: boolean | undefined;
|
|
31
|
-
}) => Yup.StringSchema<string | undefined, Yup.AnyObject, undefined, "">;
|
|
32
|
-
export declare const noProxyValidationSchema: Yup.StringSchema<string | undefined, Yup.AnyObject, undefined, "">;
|
|
33
|
-
export declare const ntpSourceValidationSchema: Yup.StringSchema<string | undefined, Yup.AnyObject, undefined, "">;
|
|
34
|
-
export declare const day2ApiVipValidationSchema: Yup.StringSchema<string | undefined, Yup.AnyObject, undefined, "">;
|
|
35
|
-
export declare const bmcAddressValidationSchema: (t: TFunction) => Yup.StringSchema<string, Yup.AnyObject, undefined, "">;
|
|
36
|
-
export declare const locationValidationSchema: (t: TFunction) => Yup.StringSchema<string | undefined, Yup.AnyObject, undefined, "">;
|
|
37
|
-
export declare const machineNetworksValidationSchema: Yup.ArraySchema<{
|
|
38
|
-
clusterId?: string | undefined;
|
|
39
|
-
cidr?: string | undefined;
|
|
40
|
-
}[] | undefined, Yup.AnyObject, "", "">;
|
|
41
|
-
export declare const clusterNetworksValidationSchema: Yup.ArraySchema<{
|
|
42
|
-
clusterId?: string | undefined;
|
|
43
|
-
cidr: string;
|
|
44
|
-
hostPrefix: number;
|
|
45
|
-
}[] | undefined, Yup.AnyObject, "", "">;
|
|
46
|
-
export declare const serviceNetworkValidationSchema: Yup.ArraySchema<{
|
|
47
|
-
clusterId?: string | undefined;
|
|
48
|
-
cidr: string;
|
|
49
|
-
}[] | undefined, Yup.AnyObject, "", "">;
|
|
50
|
-
export declare const dualStackValidationSchema: (field: string, openshiftVersion?: string) => Yup.ArraySchema<any[] | undefined, Yup.AnyObject, undefined, "">;
|
|
51
|
-
export declare const IPv4ValidationSchema: Yup.ArraySchema<any[] | undefined, Yup.AnyObject, undefined, "">;
|
|
52
|
-
//# sourceMappingURL=validationSchemas.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validationSchemas.d.ts","sourceRoot":"","sources":["../../../../../../lib/common/components/ui/formik/validationSchemas.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAI3B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EACL,MAAM,EAEN,UAAU,EAGX,MAAM,sDAAsD,CAAC;AAE9D,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAiClF,eAAO,MAAM,oBAAoB,MAC5B,SAAS,oBACM,MAAM,EAAE,+CAEL,OAAO,4EAgD7B,CAAC;AAEF,eAAO,MAAM,4BAA4B,oEAUxC,CAAC;AAEF,eAAO,MAAM,gCAAgC,oEAsBzC,CAAC;AAEL,eAAO,MAAM,0BAA0B,oEAmBtC,CAAC;AAOF,eAAO,MAAM,kBAAkB,oEAI9B,CAAC;AAaF,eAAO,MAAM,0BAA0B,oEAMtC,CAAC;AAEF,eAAO,MAAM,0BAA0B,oEAGrC,CAAC;AAEH,eAAO,MAAM,wBAAwB,8DAEF,0BAA0B,eAC9C,OAAO,uEAkClB,CAAC;AA+CL,eAAO,MAAM,0BAA0B,oEAIrC,CAAC;AAEH,eAAO,MAAM,mBAAmB,qCAEtB,0BAA0B,iBACnB,MAAM,kEAWnB,CAAC;AAEL,eAAO,MAAM,2BAA2B,qCAE9B,0BAA0B,kBAClB,MAAM,EAAE,GAAG,UAAU,EAAE,kEAoDrC,CAAC;AAEL,eAAO,MAAM,wBAAwB,yEAE3B,0BAA0B,kBAClB,MAAM,EAAE,GAAG,UAAU,EAAE;;;2BA0CpC,CAAC;AAEN,eAAO,MAAM,uBAAuB,kBAAmB,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS,2DA6D9E,CAAC;AAEP,eAAO,MAAM,uBAAuB,oEAShC,CAAC;AAEL,eAAO,MAAM,0BAA0B,oEAatC,CAAC;AAEF,eAAO,MAAM,0BAA0B,uBACjB,0BAA0B,CAAC,oBAAoB,CAAC,2DAgCrE,CAAC;AAEF,eAAO,MAAM,wBAAwB,MAAO,SAAS,aAAa,MAAM,EAAE,aAAa,MAAM,uEAiC5F,CAAC;AAEF,eAAO,MAAM,4BAA4B,MACpC,SAAS,aACD,MAAM,EAAE,aACR,MAAM,uEAqClB,CAAC;AAGF,eAAO,MAAM,yBAAyB;YAK5B,eAAe;mBACR,WAAW,GAAG,YAAY;;wEAiC1C,CAAC;AAcF,eAAO,MAAM,uBAAuB,oEAenC,CAAC;AAEF,eAAO,MAAM,yBAAyB,oEAuBnC,CAAC;AAEJ,eAAO,MAAM,0BAA0B,oEAStC,CAAC;AAEF,eAAO,MAAM,0BAA0B,MAAO,SAAS,2DAatD,CAAC;AACF,eAAO,MAAM,wBAAwB,MAAO,SAAS,uEAyBpD,CAAC;AAEF,eAAO,MAAM,+BAA+B;;;uCAE3C,CAAC;AAEF,eAAO,MAAM,+BAA+B;;;;uCAU3C,CAAC;AAEF,eAAO,MAAM,8BAA8B;;;uCAO1C,CAAC;AAEF,eAAO,MAAM,yBAAyB,UAAW,MAAM,qBAAqB,MAAM,qEA0D7E,CAAC;AAEN,eAAO,MAAM,oBAAoB,kEAIhC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AdvancedNetworkFields.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAiC1B,QAAA,MAAM,qBAAqB,yBAiH1B,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { HostSubnet } from '../../../../common';
|
|
3
|
-
import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
|
|
4
|
-
export interface AvailableSubnetsControlProps {
|
|
5
|
-
clusterId: Cluster['id'];
|
|
6
|
-
hostSubnets: HostSubnet[];
|
|
7
|
-
isRequired: boolean;
|
|
8
|
-
isDisabled: boolean;
|
|
9
|
-
openshiftVersion?: string;
|
|
10
|
-
}
|
|
11
|
-
export declare const AvailableSubnetsControl: ({ clusterId, hostSubnets, isRequired, isDisabled, openshiftVersion, }: AvailableSubnetsControlProps) => React.JSX.Element;
|
|
12
|
-
//# sourceMappingURL=AvailableSubnetsControl.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AvailableSubnetsControl.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAMzC,OAAO,EACL,UAAU,EAKX,MAAM,oBAAoB,CAAC;AAI5B,OAAO,EAAE,OAAO,EAAkB,MAAM,sDAAsD,CAAC;AAkB/F,MAAM,WAAW,4BAA4B;IAC3C,SAAS,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IACzB,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,eAAO,MAAM,uBAAuB,0EAMjC,4BAA4B,sBA+J9B,CAAC"}
|
package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { HostSubnets } from '../../../../common';
|
|
3
|
-
import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
|
|
4
|
-
type StackTypeControlGroupProps = {
|
|
5
|
-
clusterId: Cluster['id'];
|
|
6
|
-
isDualStackSelectable: boolean;
|
|
7
|
-
hostSubnets: HostSubnets;
|
|
8
|
-
};
|
|
9
|
-
export declare const StackTypeControlGroup: ({ clusterId, isDualStackSelectable, hostSubnets, }: StackTypeControlGroupProps) => React.JSX.Element;
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=StackTypeControl.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StackTypeControl.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EACL,WAAW,EAQZ,MAAM,oBAAoB,CAAC;AAM5B,OAAO,EACL,OAAO,EAIR,MAAM,sDAAsD,CAAC;AAE9D,KAAK,0BAA0B,GAAG;IAChC,SAAS,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IACzB,qBAAqB,EAAE,OAAO,CAAC;IAC/B,WAAW,EAAE,WAAW,CAAC;CAC1B,CAAC;AAgBF,eAAO,MAAM,qBAAqB,uDAI/B,0BAA0B,sBAqQ5B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SubnetsDropdown.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAML,eAAe,EAEhB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAEL,UAAU,EAIX,MAAM,oBAAoB,CAAC;AAG5B,KAAK,oBAAoB,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,UAAU,EAAE,CAAC;IAC7B,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,CAAC,EAAE,CAAC,aAAa,EAAE,MAAM,KAAK,IAAI,CAAC;CACjD,CAAC;AAyBF,eAAO,MAAM,eAAe,kEAMzB,oBAAoB,GAAG,eAAe,sBAwIxC,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Cluster, SupportLevel } from '@openshift-assisted/types/assisted-installer-service';
|
|
3
|
-
export type VirtualIPControlGroupProps = {
|
|
4
|
-
cluster: Cluster;
|
|
5
|
-
isVipDhcpAllocationDisabled?: boolean;
|
|
6
|
-
supportLevel?: SupportLevel;
|
|
7
|
-
};
|
|
8
|
-
export declare const VirtualIPControlGroup: ({ cluster, isVipDhcpAllocationDisabled, supportLevel, }: VirtualIPControlGroupProps) => React.JSX.Element;
|
|
9
|
-
//# sourceMappingURL=VirtualIPControlGroup.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VirtualIPControlGroup.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA2B1B,OAAO,EAEL,OAAO,EAEP,YAAY,EACb,MAAM,sDAAsD,CAAC;AA4C9D,MAAM,MAAM,0BAA0B,GAAG;IACvC,OAAO,EAAE,OAAO,CAAC;IACjB,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC,YAAY,CAAC,EAAE,YAAY,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,qBAAqB,4DAI/B,0BAA0B,sBAoM5B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"reorderNetworks.d.ts","sourceRoot":"","sources":["../../../../../../lib/ocm/components/clusterConfiguration/networkConfiguration/reorderNetworks.ts"],"names":[],"mappings":"AACA,OAAO,EAAc,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAqD5C,eAAO,MAAM,yBAAyB,oBACnB,MAAM,UACf,0BAA0B,iBACnB,cAAc,0BAA0B,CAAC,CAAC,eAAe,CAAC,SAI1E,CAAC;AAEF,eAAO,MAAM,+BAA+B,WAClC,0BAA0B,iBACnB,cAAc,0BAA0B,CAAC,CAAC,eAAe,CAAC,SAK1E,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AdvancedNetworkFields.js","sourceRoot":"","sources":["../../../../../lib/common/components/clusterConfiguration/AdvancedNetworkFields.tsx"],"names":[],"mappings":";;;AAAA,0DAA0B;AAC1B,uDAA8D;AAC9D,mCAA0C;AAC1C,4CAAiD;AAEjD,sDAAgE;AAChE,iFAAqE;AAMrE,MAAM,qBAAqB,GAAyC,CAAC,EAAE,iBAAiB,EAAE,EAAE,EAAE;IAC5F,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,GAAG,IAAA,yBAAgB,GAA8B,CAAC;IACjF,MAAM,wBAAwB,GAAG,QAAQ,CAAC,CAAC,MAAM,CAAC,kBAAkB,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IAChG,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,wCAAc,GAAE,CAAC;IAC/B,MAAM,8BAA8B,GAAG,CAAC,CAAsC,EAAE,EAAE;QAChF,IAAI,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE;YACnC,aAAa,CAAC,0BAA0B,EAAE,wBAAwB,CAAC,CAAC;SACrE;IACH,CAAC,CAAC;IAEF,MAAM,kCAAkC,GAAG,iBAAiB;QAC1D,CAAC,CAAC,CAAC,CACC,mZAAmZ,CACpZ;QACH,CAAC,CAAC,CAAC,CACC,6YAA6Y,CAC9Y,CAAC;IAEN,OAAO,CACL,8BAAC,iBAAI,IAAC,SAAS;QACb,8BAAC,eAAU,IACT,IAAI,EAAC,oBAAoB,EACzB,KAAK,EAAE,CAAC,CAAC,yBAAyB,CAAC,EACnC,UAAU,EAAE,CAAC,CACX,6RAA6R,CAC9R,EACD,UAAU,SACV;QACF,8BAAC,eAAU,IACT,IAAI,EAAC,0BAA0B,EAC/B,KAAK,EAAE,CAAC,CAAC,gCAAgC,CAAC,EAC1C,IAAI,EAAE,2BAAc,CAAC,MAAM,EAC3B,GAAG,EAAE,wBAAwB,EAC7B,GAAG,EAAE,iBAAiB,CAAC,CAAC,CAAC,kCAAsB,CAAC,IAAI,CAAC,CAAC,CAAC,kCAAsB,CAAC,IAAI,EAClF,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,8BAA8B,CAAC,CAAwC,CAAC,EACvF,UAAU,EAAE,kCAAkC,EAC9C,UAAU,SACV;QACF,8BAAC,eAAU,IACT,IAAI,EAAC,oBAAoB,EACzB,KAAK,EAAE,CAAC,CAAC,yBAAyB,CAAC,EACnC,UAAU,EAAE,CAAC,CACX,0NAA0N,CAC3N,EACD,UAAU,SACV,CACG,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,qBAAqB,CAAC"}
|