@openshift-assisted/ui-lib 2.7.11-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.
Files changed (599) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +99 -0
  3. package/dist/cim/index.css +2 -0
  4. package/dist/cim/index.css.map +7 -0
  5. package/dist/cim/index.js +25 -0
  6. package/dist/cim/index.js.map +7 -0
  7. package/dist/index.css +2 -0
  8. package/dist/index.css.map +7 -0
  9. package/dist/index.js +37 -0
  10. package/dist/index.js.map +7 -0
  11. package/dist/locales/en/translation.json +763 -0
  12. package/dist/locales/ja/translation.json +763 -0
  13. package/dist/locales/ko/translation.json +763 -0
  14. package/dist/locales/zh/translation.json +763 -0
  15. package/dist/ocm/index.css +2 -0
  16. package/dist/ocm/index.css.map +7 -0
  17. package/dist/ocm/index.js +34 -0
  18. package/dist/ocm/index.js.map +7 -0
  19. package/dist/src/cim/components/Agent/AgentStatus.d.ts +14 -0
  20. package/dist/src/cim/components/Agent/AgentTable.d.ts +12 -0
  21. package/dist/src/cim/components/Agent/AgentsSelectionHostCountAlerts.d.ts +8 -0
  22. package/dist/src/cim/components/Agent/AgentsSelectionHostCountLabelIcon.d.ts +2 -0
  23. package/dist/src/cim/components/Agent/AgentsSelectionTable.d.ts +16 -0
  24. package/dist/src/cim/components/Agent/AgentsSelectionUtils.d.ts +7 -0
  25. package/dist/src/cim/components/Agent/BMCForm.d.ts +4 -0
  26. package/dist/src/cim/components/Agent/BMHStatus.d.ts +7 -0
  27. package/dist/src/cim/components/Agent/MinimalHWRequirements.d.ts +15 -0
  28. package/dist/src/cim/components/Agent/NoAgentsAlert.d.ts +5 -0
  29. package/dist/src/cim/components/Agent/index.d.ts +3 -0
  30. package/dist/src/cim/components/Agent/tableUtils.d.ts +51 -0
  31. package/dist/src/cim/components/Agent/types.d.ts +36 -0
  32. package/dist/src/cim/components/ClusterDeployment/ACMClusterDeploymentDetailsStep.d.ts +23 -0
  33. package/dist/src/cim/components/ClusterDeployment/AdditionalNTPSourcesDialogToggle.d.ts +2 -0
  34. package/dist/src/cim/components/ClusterDeployment/ArmCheckbox.d.ts +7 -0
  35. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.d.ts +9 -0
  36. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentCredentials.d.ts +13 -0
  37. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentDetails.d.ts +13 -0
  38. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentDetailsForm.d.ts +13 -0
  39. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentDetailsStep.d.ts +19 -0
  40. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentDetailsTable.d.ts +10 -0
  41. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentHostDiscoveryTable.d.ts +4 -0
  42. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentHostSelectionStep.d.ts +14 -0
  43. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscovery.d.ts +4 -0
  44. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentHostsDiscoveryStep.d.ts +4 -0
  45. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentHostsNetworkTable.d.ts +10 -0
  46. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentHostsSelection.d.ts +4 -0
  47. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentHostsSelectionAdvanced.d.ts +15 -0
  48. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentHostsSelectionBasic.d.ts +8 -0
  49. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentKubeconfigDownload.d.ts +10 -0
  50. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentNetworkingForm.d.ts +20 -0
  51. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentNetworkingStep.d.ts +4 -0
  52. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentProgress.d.ts +13 -0
  53. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentReviewStep.d.ts +13 -0
  54. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentValidationsOverview.d.ts +9 -0
  55. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentWizard.d.ts +4 -0
  56. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentWizardContext.d.ts +10 -0
  57. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentWizardFooter.d.ts +12 -0
  58. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentWizardNavigation.d.ts +3 -0
  59. package/dist/src/cim/components/ClusterDeployment/ClusterDeploymentWizardStep.d.ts +6 -0
  60. package/dist/src/cim/components/ClusterDeployment/ClusterDetailsFormFields.d.ts +16 -0
  61. package/dist/src/cim/components/ClusterDeployment/ClusterInstallationError.d.ts +7 -0
  62. package/dist/src/cim/components/ClusterDeployment/ClusterScaleUpAutoHostsSelection.d.ts +7 -0
  63. package/dist/src/cim/components/ClusterDeployment/LabelsSelector.d.ts +13 -0
  64. package/dist/src/cim/components/ClusterDeployment/LocationsSelector.d.ts +6 -0
  65. package/dist/src/cim/components/ClusterDeployment/LogsDownloadButton.d.ts +11 -0
  66. package/dist/src/cim/components/ClusterDeployment/NetworkConfiguration.d.ts +9 -0
  67. package/dist/src/cim/components/ClusterDeployment/ScaleUpForm.d.ts +9 -0
  68. package/dist/src/cim/components/ClusterDeployment/ShortCapacitySummary.d.ts +9 -0
  69. package/dist/src/cim/components/ClusterDeployment/constants.d.ts +14 -0
  70. package/dist/src/cim/components/ClusterDeployment/helpers.d.ts +23 -0
  71. package/dist/src/cim/components/ClusterDeployment/index.d.ts +17 -0
  72. package/dist/src/cim/components/ClusterDeployment/networkConfigurationValidation.d.ts +5 -0
  73. package/dist/src/cim/components/ClusterDeployment/types.d.ts +174 -0
  74. package/dist/src/cim/components/ClusterDeployment/use-networking-formik.d.ts +39 -0
  75. package/dist/src/cim/components/ClusterDeployment/validationSchemas.d.ts +3 -0
  76. package/dist/src/cim/components/ClusterDeployment/wizardTransition.d.ts +10 -0
  77. package/dist/src/cim/components/Hypershift/DetailsPage/ClusterInstallationProgress.d.ts +21 -0
  78. package/dist/src/cim/components/Hypershift/DetailsPage/ConditionsTable.d.ts +11 -0
  79. package/dist/src/cim/components/Hypershift/DetailsPage/HostedClusterProgress.d.ts +7 -0
  80. package/dist/src/cim/components/Hypershift/DetailsPage/HypershiftKubeconfigDownload.d.ts +8 -0
  81. package/dist/src/cim/components/Hypershift/DetailsPage/NodePoolStatus.d.ts +8 -0
  82. package/dist/src/cim/components/Hypershift/DetailsPage/NodePoolsProgress.d.ts +18 -0
  83. package/dist/src/cim/components/Hypershift/DetailsPage/NodePoolsTable.d.ts +25 -0
  84. package/dist/src/cim/components/Hypershift/DetailsPage/index.d.ts +2 -0
  85. package/dist/src/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsForm.d.ts +4 -0
  86. package/dist/src/cim/components/Hypershift/HostedClusterWizard/DetailsStep/DetailsStep.d.ts +4 -0
  87. package/dist/src/cim/components/Hypershift/HostedClusterWizard/DetailsStep/index.d.ts +1 -0
  88. package/dist/src/cim/components/Hypershift/HostedClusterWizard/DetailsStep/types.d.ts +35 -0
  89. package/dist/src/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.d.ts +4 -0
  90. package/dist/src/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.d.ts +4 -0
  91. package/dist/src/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.d.ts +11 -0
  92. package/dist/src/cim/components/Hypershift/HostedClusterWizard/HostsStep/index.d.ts +1 -0
  93. package/dist/src/cim/components/Hypershift/HostedClusterWizard/HostsStep/types.d.ts +30 -0
  94. package/dist/src/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkForm.d.ts +5 -0
  95. package/dist/src/cim/components/Hypershift/HostedClusterWizard/NetworkStep/NetworkStep.d.ts +4 -0
  96. package/dist/src/cim/components/Hypershift/HostedClusterWizard/NetworkStep/index.d.ts +2 -0
  97. package/dist/src/cim/components/Hypershift/HostedClusterWizard/NetworkStep/types.d.ts +23 -0
  98. package/dist/src/cim/components/Hypershift/HostedClusterWizard/index.d.ts +3 -0
  99. package/dist/src/cim/components/Hypershift/forms/NodePoolAgentsForm.d.ts +10 -0
  100. package/dist/src/cim/components/Hypershift/hooks/useSupportedOCPVersions.d.ts +3 -0
  101. package/dist/src/cim/components/Hypershift/hooks/useTemptiflySync.d.ts +6 -0
  102. package/dist/src/cim/components/Hypershift/index.d.ts +4 -0
  103. package/dist/src/cim/components/Hypershift/modals/AddNodePoolModal.d.ts +12 -0
  104. package/dist/src/cim/components/Hypershift/modals/ManageHostsModal.d.ts +16 -0
  105. package/dist/src/cim/components/Hypershift/modals/NodePoolForm.d.ts +18 -0
  106. package/dist/src/cim/components/Hypershift/modals/RemoveNodePoolModal.d.ts +8 -0
  107. package/dist/src/cim/components/Hypershift/types.d.ts +195 -0
  108. package/dist/src/cim/components/Hypershift/utils/index.d.ts +3 -0
  109. package/dist/src/cim/components/Hypershift/utils/labels.d.ts +10 -0
  110. package/dist/src/cim/components/Hypershift/utils/nodepool.d.ts +3 -0
  111. package/dist/src/cim/components/Hypershift/utils/status.d.ts +10 -0
  112. package/dist/src/cim/components/InfraEnv/AddHostDropdown.d.ts +4 -0
  113. package/dist/src/cim/components/InfraEnv/AgentAlerts.d.ts +9 -0
  114. package/dist/src/cim/components/InfraEnv/EnvironmentDetails.d.ts +16 -0
  115. package/dist/src/cim/components/InfraEnv/EnvironmentErrors.d.ts +9 -0
  116. package/dist/src/cim/components/InfraEnv/InfraEnvAgentTable.d.ts +4 -0
  117. package/dist/src/cim/components/InfraEnv/InfraEnvFormPage.d.ts +31 -0
  118. package/dist/src/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.d.ts +8 -0
  119. package/dist/src/cim/components/InfraEnv/InfraTableToolbar.d.ts +16 -0
  120. package/dist/src/cim/components/InfraEnv/index.d.ts +8 -0
  121. package/dist/src/cim/components/InfraEnv/types.d.ts +12 -0
  122. package/dist/src/cim/components/InfraEnv/utils.d.ts +13 -0
  123. package/dist/src/cim/components/YamlPreview/YamlPreview.d.ts +8 -0
  124. package/dist/src/cim/components/YamlPreview/index.d.ts +2 -0
  125. package/dist/src/cim/components/YamlPreview/useYAMLPreview.d.ts +14 -0
  126. package/dist/src/cim/components/common/InfoAndTroubleshootingNotification.d.ts +7 -0
  127. package/dist/src/cim/components/common/ResourceAlerts.d.ts +7 -0
  128. package/dist/src/cim/components/common/SpecSyncErrAlert.d.ts +5 -0
  129. package/dist/src/cim/components/common/ValidationsRunningAlert.d.ts +2 -0
  130. package/dist/src/cim/components/common/constants.d.ts +10 -0
  131. package/dist/src/cim/components/common/index.d.ts +2 -0
  132. package/dist/src/cim/components/featureSupportLevels/ACMFeatureSupportLevelProvider.d.ts +8 -0
  133. package/dist/src/cim/components/featureSupportLevels/featureStateUtils.d.ts +4 -0
  134. package/dist/src/cim/components/featureSupportLevels/index.d.ts +1 -0
  135. package/dist/src/cim/components/helpers/agentClusterInstall.d.ts +3 -0
  136. package/dist/src/cim/components/helpers/agentStatus.d.ts +3 -0
  137. package/dist/src/cim/components/helpers/agents.d.ts +15 -0
  138. package/dist/src/cim/components/helpers/clusterDeployment.d.ts +38 -0
  139. package/dist/src/cim/components/helpers/conditions.d.ts +9 -0
  140. package/dist/src/cim/components/helpers/index.d.ts +11 -0
  141. package/dist/src/cim/components/helpers/labels.d.ts +3 -0
  142. package/dist/src/cim/components/helpers/network.d.ts +6 -0
  143. package/dist/src/cim/components/helpers/proxy.d.ts +1 -0
  144. package/dist/src/cim/components/helpers/status.d.ts +26 -0
  145. package/dist/src/cim/components/helpers/storage.d.ts +1 -0
  146. package/dist/src/cim/components/helpers/toAssisted.d.ts +12 -0
  147. package/dist/src/cim/components/helpers/units.d.ts +50 -0
  148. package/dist/src/cim/components/helpers/versions.d.ts +7 -0
  149. package/dist/src/cim/components/index.d.ts +8 -0
  150. package/dist/src/cim/components/modals/AddBmcHostModal.d.ts +4 -0
  151. package/dist/src/cim/components/modals/AddBmcHostYamlForm.d.ts +5 -0
  152. package/dist/src/cim/components/modals/AddBmcHostYamlModal.d.ts +4 -0
  153. package/dist/src/cim/components/modals/AddHostModal.d.ts +4 -0
  154. package/dist/src/cim/components/modals/CimConfiguration/CimConfigDisconnectedAlert.d.ts +4 -0
  155. package/dist/src/cim/components/modals/CimConfiguration/CimConfigProgressAlert.d.ts +4 -0
  156. package/dist/src/cim/components/modals/CimConfiguration/CimConfigurationForm.d.ts +4 -0
  157. package/dist/src/cim/components/modals/CimConfiguration/CimConfigurationModal.d.ts +4 -0
  158. package/dist/src/cim/components/modals/CimConfiguration/CimIsMissingAlert.d.ts +2 -0
  159. package/dist/src/cim/components/modals/CimConfiguration/CimStorageMissingAlert.d.ts +5 -0
  160. package/dist/src/cim/components/modals/CimConfiguration/constants.d.ts +4 -0
  161. package/dist/src/cim/components/modals/CimConfiguration/index.d.ts +6 -0
  162. package/dist/src/cim/components/modals/CimConfiguration/persist.d.ts +23 -0
  163. package/dist/src/cim/components/modals/CimConfiguration/types.d.ts +43 -0
  164. package/dist/src/cim/components/modals/CimConfiguration/utils.d.ts +15 -0
  165. package/dist/src/cim/components/modals/EditAgentModal.d.ts +4 -0
  166. package/dist/src/cim/components/modals/EditBMHModal.d.ts +4 -0
  167. package/dist/src/cim/components/modals/EditNtpSourcesModal.d.ts +11 -0
  168. package/dist/src/cim/components/modals/EditPullSecretModal.d.ts +19 -0
  169. package/dist/src/cim/components/modals/EditSSHKeyModal.d.ts +13 -0
  170. package/dist/src/cim/components/modals/MassApproveAction.d.ts +8 -0
  171. package/dist/src/cim/components/modals/MassApproveAgentModal.d.ts +10 -0
  172. package/dist/src/cim/components/modals/MassDeleteAgentModal.d.ts +13 -0
  173. package/dist/src/cim/components/modals/ScaleUpModal.d.ts +13 -0
  174. package/dist/src/cim/components/modals/constants.d.ts +63 -0
  175. package/dist/src/cim/components/modals/index.d.ts +10 -0
  176. package/dist/src/cim/components/modals/types.d.ts +45 -0
  177. package/dist/src/cim/components/modals/utils.d.ts +28 -0
  178. package/dist/src/cim/config/constants.d.ts +9 -0
  179. package/dist/src/cim/index.d.ts +13 -0
  180. package/dist/src/cim/types/fromOCP/index.d.ts +1 -0
  181. package/dist/src/cim/types/fromOCP/k8sTypes.d.ts +46 -0
  182. package/dist/src/cim/types/index.d.ts +4 -0
  183. package/dist/src/cim/types/k8s/agent-cluster-install.d.ts +68 -0
  184. package/dist/src/cim/types/k8s/agent-service-config.d.ts +23 -0
  185. package/dist/src/cim/types/k8s/agent.d.ts +48 -0
  186. package/dist/src/cim/types/k8s/bare-metal-host.d.ts +31 -0
  187. package/dist/src/cim/types/k8s/cluster-deployment.d.ts +41 -0
  188. package/dist/src/cim/types/k8s/cluster-image-set.d.ts +6 -0
  189. package/dist/src/cim/types/k8s/cluster-version.d.ts +45 -0
  190. package/dist/src/cim/types/k8s/index.d.ts +12 -0
  191. package/dist/src/cim/types/k8s/infra-env-k8s-resource.d.ts +36 -0
  192. package/dist/src/cim/types/k8s/infrastructure.d.ts +22 -0
  193. package/dist/src/cim/types/k8s/nm-state.d.ts +10 -0
  194. package/dist/src/cim/types/k8s/shared.d.ts +13 -0
  195. package/dist/src/cim/types/k8s/storage-class.d.ts +8 -0
  196. package/dist/src/cim/types/metal3.d.ts +86 -0
  197. package/dist/src/cim/types/resources.d.ts +44 -0
  198. package/dist/src/cim/utils.d.ts +2 -0
  199. package/dist/src/common/api/index.d.ts +2 -0
  200. package/dist/src/common/api/types.d.ts +2241 -0
  201. package/dist/src/common/api/utils.d.ts +2 -0
  202. package/dist/src/common/components/AddHosts/AddHostsContext.d.ts +9 -0
  203. package/dist/src/common/components/AddHosts/index.d.ts +1 -0
  204. package/dist/src/common/components/AlertsContextProvider.d.ts +10 -0
  205. package/dist/src/common/components/ErrorHandling/ErrorMonitorContext.d.ts +12 -0
  206. package/dist/src/common/components/ErrorHandling/WithErrorBoundary.d.ts +5 -0
  207. package/dist/src/common/components/clusterConfiguration/AdvancedNetworkFields.d.ts +7 -0
  208. package/dist/src/common/components/clusterConfiguration/DiscoveryImageConfigForm.d.ts +16 -0
  209. package/dist/src/common/components/clusterConfiguration/DiscoveryImageCpuArchitectureControlGroup.d.ts +8 -0
  210. package/dist/src/common/components/clusterConfiguration/DiscoveryImageTypeControlGroup.d.ts +2 -0
  211. package/dist/src/common/components/clusterConfiguration/DiscoveryInstructions.d.ts +6 -0
  212. package/dist/src/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.d.ts +13 -0
  213. package/dist/src/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionControlGroup.d.ts +8 -0
  214. package/dist/src/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.d.ts +6 -0
  215. package/dist/src/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionValues.d.ts +11 -0
  216. package/dist/src/common/components/clusterConfiguration/DiskEncryptionFields/TangServers.d.ts +3 -0
  217. package/dist/src/common/components/clusterConfiguration/DownloadIso.d.ts +10 -0
  218. package/dist/src/common/components/clusterConfiguration/DownloadIsoModal.d.ts +7 -0
  219. package/dist/src/common/components/clusterConfiguration/FormatDiskWarning.d.ts +5 -0
  220. package/dist/src/common/components/clusterConfiguration/OpenShiftVersionSelect.d.ts +7 -0
  221. package/dist/src/common/components/clusterConfiguration/ProxyFields.d.ts +5 -0
  222. package/dist/src/common/components/clusterConfiguration/SNOControlGroup.d.ts +8 -0
  223. package/dist/src/common/components/clusterConfiguration/SNODisclaimer.d.ts +8 -0
  224. package/dist/src/common/components/clusterConfiguration/SecurityFields.d.ts +12 -0
  225. package/dist/src/common/components/clusterConfiguration/UploadSSH.d.ts +6 -0
  226. package/dist/src/common/components/clusterConfiguration/index.d.ts +13 -0
  227. package/dist/src/common/components/clusterConfiguration/utils.d.ts +20 -0
  228. package/dist/src/common/components/clusterDetail/ClusterCredentials.d.ts +12 -0
  229. package/dist/src/common/components/clusterDetail/ClusterProgress.d.ts +9 -0
  230. package/dist/src/common/components/clusterDetail/ClusterProgressItem.d.ts +6 -0
  231. package/dist/src/common/components/clusterDetail/ClusterProgressItems.d.ts +11 -0
  232. package/dist/src/common/components/clusterDetail/ClusterPropertiesList.d.ts +11 -0
  233. package/dist/src/common/components/clusterDetail/ConsoleModal.d.ts +20 -0
  234. package/dist/src/common/components/clusterDetail/FinalizingProgress.d.ts +14 -0
  235. package/dist/src/common/components/clusterDetail/KubeconfigDownload.d.ts +10 -0
  236. package/dist/src/common/components/clusterDetail/OperatorsProgressItem.d.ts +13 -0
  237. package/dist/src/common/components/clusterDetail/ProgressBarTexts.d.ts +7 -0
  238. package/dist/src/common/components/clusterDetail/index.d.ts +4 -0
  239. package/dist/src/common/components/clusterWizard/ClusterWizardStep.d.ts +8 -0
  240. package/dist/src/common/components/clusterWizard/ClusterWizardStepHeader.d.ts +3 -0
  241. package/dist/src/common/components/clusterWizard/ClusterWizardStepValidationsAlert.d.ts +15 -0
  242. package/dist/src/common/components/clusterWizard/ReviewHostsInventory.d.ts +6 -0
  243. package/dist/src/common/components/clusterWizard/ReviewValidations.d.ts +3 -0
  244. package/dist/src/common/components/clusterWizard/clusterDetailsValidation.d.ts +24 -0
  245. package/dist/src/common/components/clusterWizard/index.d.ts +8 -0
  246. package/dist/src/common/components/clusterWizard/networkingSteps/AvailableSubnetsControl.d.ts +9 -0
  247. package/dist/src/common/components/clusterWizard/networkingSteps/ManagedNetworkingControlGroup.d.ts +5 -0
  248. package/dist/src/common/components/clusterWizard/networkingSteps/NetworkTypeControlGroup.d.ts +5 -0
  249. package/dist/src/common/components/clusterWizard/networkingSteps/UserManagedNetworkingTextContent.d.ts +4 -0
  250. package/dist/src/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.d.ts +8 -0
  251. package/dist/src/common/components/clusterWizard/networkingSteps/index.d.ts +8 -0
  252. package/dist/src/common/components/clusterWizard/types.d.ts +62 -0
  253. package/dist/src/common/components/clusterWizard/validationsInfoUtils.d.ts +35 -0
  254. package/dist/src/common/components/clusters/PullSecret.d.ts +7 -0
  255. package/dist/src/common/components/clusters/index.d.ts +1 -0
  256. package/dist/src/common/components/constants.d.ts +2 -0
  257. package/dist/src/common/components/featureSupportLevels/FeatureSupportLevelBadge.d.ts +8 -0
  258. package/dist/src/common/components/featureSupportLevels/FeatureSupportLevelContext.d.ts +15 -0
  259. package/dist/src/common/components/featureSupportLevels/index.d.ts +2 -0
  260. package/dist/src/common/components/featureSupportLevels/utils.d.ts +5 -0
  261. package/dist/src/common/components/fetching/EventListFetch.d.ts +3 -0
  262. package/dist/src/common/components/fetching/index.d.ts +1 -0
  263. package/dist/src/common/components/hosts/AITable.d.ts +51 -0
  264. package/dist/src/common/components/hosts/AdditionalNTPSourcesDialog.d.ts +12 -0
  265. package/dist/src/common/components/hosts/DiskLimitations.d.ts +7 -0
  266. package/dist/src/common/components/hosts/DiskRole.d.ts +14 -0
  267. package/dist/src/common/components/hosts/EditHostForm.d.ts +13 -0
  268. package/dist/src/common/components/hosts/EditHostModal.d.ts +15 -0
  269. package/dist/src/common/components/hosts/FormatDiskCheckbox.d.ts +16 -0
  270. package/dist/src/common/components/hosts/HostProgress.d.ts +5 -0
  271. package/dist/src/common/components/hosts/HostPropertyValidationPopover.d.ts +12 -0
  272. package/dist/src/common/components/hosts/HostRequirements.d.ts +15 -0
  273. package/dist/src/common/components/hosts/HostRowDetail.d.ts +13 -0
  274. package/dist/src/common/components/hosts/HostStatus.d.ts +4 -0
  275. package/dist/src/common/components/hosts/HostToolbarActions.d.ts +10 -0
  276. package/dist/src/common/components/hosts/HostValidationGroups.d.ts +20 -0
  277. package/dist/src/common/components/hosts/Hostname.d.ts +13 -0
  278. package/dist/src/common/components/hosts/HostsCount.d.ts +9 -0
  279. package/dist/src/common/components/hosts/HostsTable.d.ts +19 -0
  280. package/dist/src/common/components/hosts/HostsTableDetailContext.d.ts +11 -0
  281. package/dist/src/common/components/hosts/MassChangeHostnameModal.d.ts +14 -0
  282. package/dist/src/common/components/hosts/MassDeleteHostModal.d.ts +10 -0
  283. package/dist/src/common/components/hosts/NtpValidationStatus.d.ts +9 -0
  284. package/dist/src/common/components/hosts/OcpConsoleNodesSectionLink.d.ts +6 -0
  285. package/dist/src/common/components/hosts/RoleCell.d.ts +13 -0
  286. package/dist/src/common/components/hosts/RoleDropdown.d.ts +11 -0
  287. package/dist/src/common/components/hosts/TableToolbar.d.ts +18 -0
  288. package/dist/src/common/components/hosts/VMRebootConfigurationInfo.d.ts +3 -0
  289. package/dist/src/common/components/hosts/hardwareInfo.d.ts +19 -0
  290. package/dist/src/common/components/hosts/index.d.ts +16 -0
  291. package/dist/src/common/components/hosts/status.d.ts +3 -0
  292. package/dist/src/common/components/hosts/tableUtils.d.ts +22 -0
  293. package/dist/src/common/components/hosts/types.d.ts +72 -0
  294. package/dist/src/common/components/hosts/usePagination.d.ts +9 -0
  295. package/dist/src/common/components/hosts/utils.d.ts +36 -0
  296. package/dist/src/common/components/index.d.ts +11 -0
  297. package/dist/src/common/components/storage/DisksTable.d.ts +13 -0
  298. package/dist/src/common/components/storage/StorageDetail.d.ts +11 -0
  299. package/dist/src/common/components/storage/StorageTable.d.ts +11 -0
  300. package/dist/src/common/components/storage/StorageUtils.d.ts +6 -0
  301. package/dist/src/common/components/ui/Alerts.d.ts +5 -0
  302. package/dist/src/common/components/ui/BorderedIcon/BorderedIcon.d.ts +10 -0
  303. package/dist/src/common/components/ui/ClusterEventsList.d.ts +9 -0
  304. package/dist/src/common/components/ui/ClusterEventsToolbar.d.ts +12 -0
  305. package/dist/src/common/components/ui/ConfirmationModal.d.ts +13 -0
  306. package/dist/src/common/components/ui/DetailList.d.ts +21 -0
  307. package/dist/src/common/components/ui/EventsList.d.ts +8 -0
  308. package/dist/src/common/components/ui/ExternalLink.d.ts +8 -0
  309. package/dist/src/common/components/ui/GridGap.d.ts +7 -0
  310. package/dist/src/common/components/ui/ModalProgress.d.ts +10 -0
  311. package/dist/src/common/components/ui/OpenShiftVersionDropown.d.ts +17 -0
  312. package/dist/src/common/components/ui/PopoverIcon.d.ts +14 -0
  313. package/dist/src/common/components/ui/PreviewBadge.d.ts +14 -0
  314. package/dist/src/common/components/ui/PrismCode.d.ts +11 -0
  315. package/dist/src/common/components/ui/RenderIf.d.ts +6 -0
  316. package/dist/src/common/components/ui/SectionTitle.d.ts +6 -0
  317. package/dist/src/common/components/ui/SimpleDropdown.d.ts +15 -0
  318. package/dist/src/common/components/ui/StaticTextField.d.ts +23 -0
  319. package/dist/src/common/components/ui/Toolbar/ToolbarButton.d.ts +4 -0
  320. package/dist/src/common/components/ui/Toolbar/ToolbarProgress.d.ts +4 -0
  321. package/dist/src/common/components/ui/Toolbar/ToolbarSecondaryGroup.d.ts +3 -0
  322. package/dist/src/common/components/ui/Toolbar/ToolbarText.d.ts +4 -0
  323. package/dist/src/common/components/ui/Toolbar/index.d.ts +4 -0
  324. package/dist/src/common/components/ui/ViewClusterEventsButton.d.ts +8 -0
  325. package/dist/src/common/components/ui/WizardFooter.d.ts +22 -0
  326. package/dist/src/common/components/ui/WizardNavItem.d.ts +7 -0
  327. package/dist/src/common/components/ui/eventsModal.d.ts +29 -0
  328. package/dist/src/common/components/ui/formik/AddButton.d.ts +7 -0
  329. package/dist/src/common/components/ui/formik/AdditionalNTPSourcesField.d.ts +10 -0
  330. package/dist/src/common/components/ui/formik/CheckboxField.d.ts +4 -0
  331. package/dist/src/common/components/ui/formik/CodeField.d.ts +3 -0
  332. package/dist/src/common/components/ui/formik/FormikAutoSave.d.ts +7 -0
  333. package/dist/src/common/components/ui/formik/HelperText.d.ts +11 -0
  334. package/dist/src/common/components/ui/formik/InputField.d.ts +8 -0
  335. package/dist/src/common/components/ui/formik/LabelField.d.ts +13 -0
  336. package/dist/src/common/components/ui/formik/MultiSelectField.d.ts +4 -0
  337. package/dist/src/common/components/ui/formik/NumberInputField.d.ts +4 -0
  338. package/dist/src/common/components/ui/formik/PencilEditField.d.ts +8 -0
  339. package/dist/src/common/components/ui/formik/PullSecretField.d.ts +12 -0
  340. package/dist/src/common/components/ui/formik/RadioField.d.ts +3 -0
  341. package/dist/src/common/components/ui/formik/RadioFieldWithTooltip.d.ts +7 -0
  342. package/dist/src/common/components/ui/formik/RemovableField.d.ts +10 -0
  343. package/dist/src/common/components/ui/formik/RichInputField.d.ts +17 -0
  344. package/dist/src/common/components/ui/formik/SelectField.d.ts +4 -0
  345. package/dist/src/common/components/ui/formik/SingleNodeCheckbox.d.ts +8 -0
  346. package/dist/src/common/components/ui/formik/SwitchField.d.ts +4 -0
  347. package/dist/src/common/components/ui/formik/TextAreaField.d.ts +4 -0
  348. package/dist/src/common/components/ui/formik/TextAreaSecretField.d.ts +4 -0
  349. package/dist/src/common/components/ui/formik/UploadField.d.ts +4 -0
  350. package/dist/src/common/components/ui/formik/constants.d.ts +50 -0
  351. package/dist/src/common/components/ui/formik/index.d.ts +25 -0
  352. package/dist/src/common/components/ui/formik/types.d.ts +117 -0
  353. package/dist/src/common/components/ui/formik/utils.d.ts +24 -0
  354. package/dist/src/common/components/ui/formik/validationSchemas.d.ts +33 -0
  355. package/dist/src/common/components/ui/index.d.ts +23 -0
  356. package/dist/src/common/components/ui/table/index.d.ts +2 -0
  357. package/dist/src/common/components/ui/table/utils.d.ts +17 -0
  358. package/dist/src/common/components/ui/table/wrappable.d.ts +8 -0
  359. package/dist/src/common/components/ui/uiState/EmptyState.d.ts +11 -0
  360. package/dist/src/common/components/ui/uiState/ErrorState.d.ts +14 -0
  361. package/dist/src/common/components/ui/uiState/LoadingState.d.ts +8 -0
  362. package/dist/src/common/components/ui/uiState/index.d.ts +3 -0
  363. package/dist/src/common/components/ui/utils.d.ts +2 -0
  364. package/dist/src/common/config/constants.d.ts +204 -0
  365. package/dist/src/common/config/index.d.ts +1 -0
  366. package/dist/src/common/features/featureGate.d.ts +25 -0
  367. package/dist/src/common/features/index.d.ts +1 -0
  368. package/dist/src/common/hacks.d.ts +1 -0
  369. package/dist/src/common/hooks/index.d.ts +2 -0
  370. package/dist/src/common/hooks/use-translation-wrapper.d.ts +1 -0
  371. package/dist/src/common/hooks/useDeepCompareMemoize.d.ts +2 -0
  372. package/dist/src/common/hooks/useFieldErrorMsg.d.ts +8 -0
  373. package/dist/src/common/hooks/useFormikHelpers.d.ts +6 -0
  374. package/dist/src/common/hooks/useStateSafely.d.ts +3 -0
  375. package/dist/src/common/index.d.ts +10 -0
  376. package/dist/src/common/reducers/alertsSlice.d.ts +18 -0
  377. package/dist/src/common/reducers/dialogsSlice.d.ts +9 -0
  378. package/dist/src/common/reducers/index.d.ts +2 -0
  379. package/dist/src/common/selectors/clusterSelectors.d.ts +28 -0
  380. package/dist/src/common/selectors/index.d.ts +1 -0
  381. package/dist/src/common/sevices/DateAndTime.d.ts +2 -0
  382. package/dist/src/common/types/clusters.d.ts +53 -0
  383. package/dist/src/common/types/events.d.ts +22 -0
  384. package/dist/src/common/types/featureSupportLevel.d.ts +23 -0
  385. package/dist/src/common/types/hosts.d.ts +19 -0
  386. package/dist/src/common/types/index.d.ts +16 -0
  387. package/dist/src/common/types/proxyFields.d.ts +7 -0
  388. package/dist/src/common/types/typescriptExtensions.d.ts +9 -0
  389. package/dist/src/common/types/versions.d.ts +10 -0
  390. package/dist/src/common/utils.d.ts +2 -0
  391. package/dist/src/index.d.ts +2 -0
  392. package/dist/src/ocm/api/axiosClient.d.ts +6 -0
  393. package/dist/src/ocm/api/axiosExtensions.d.ts +2 -0
  394. package/dist/src/ocm/api/index.d.ts +2 -0
  395. package/dist/src/ocm/api/types.d.ts +5 -0
  396. package/dist/src/ocm/api/utils.d.ts +8 -0
  397. package/dist/src/ocm/components/AddHosts/AddHosts.d.ts +1 -0
  398. package/dist/src/ocm/components/AddHosts/InventoryAddHost.d.ts +5 -0
  399. package/dist/src/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.d.ts +2 -0
  400. package/dist/src/ocm/components/AddHosts/day2Wizard/Day2DiscoveryImageModalButton.d.ts +5 -0
  401. package/dist/src/ocm/components/AddHosts/day2Wizard/Day2DownloadISO.d.ts +2 -0
  402. package/dist/src/ocm/components/AddHosts/day2Wizard/Day2GenerateISO.d.ts +2 -0
  403. package/dist/src/ocm/components/AddHosts/day2Wizard/Day2StaticIP.d.ts +2 -0
  404. package/dist/src/ocm/components/AddHosts/day2Wizard/Day2StaticIpHostConfigurations.d.ts +2 -0
  405. package/dist/src/ocm/components/AddHosts/day2Wizard/Day2Wizard.d.ts +2 -0
  406. package/dist/src/ocm/components/AddHosts/day2Wizard/Day2WizardContext.d.ts +21 -0
  407. package/dist/src/ocm/components/AddHosts/day2Wizard/Day2WizardContextProvider.d.ts +8 -0
  408. package/dist/src/ocm/components/AddHosts/day2Wizard/Day2WizardNav.d.ts +2 -0
  409. package/dist/src/ocm/components/AddHosts/day2Wizard/constants.d.ts +6 -0
  410. package/dist/src/ocm/components/AddHosts/index.d.ts +2 -0
  411. package/dist/src/ocm/components/AddHosts/types.d.ts +46 -0
  412. package/dist/src/ocm/components/HostsClusterDetailTab/HostsClusterDetailTab.d.ts +3 -0
  413. package/dist/src/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.d.ts +2 -0
  414. package/dist/src/ocm/components/HostsClusterDetailTab/index.d.ts +2 -0
  415. package/dist/src/ocm/components/HostsClusterDetailTab/types.d.ts +6 -0
  416. package/dist/src/ocm/components/HostsClusterDetailTab/utils.d.ts +4 -0
  417. package/dist/src/ocm/components/Router.d.ts +8 -0
  418. package/dist/src/ocm/components/SentryErrorMonitorContextProvider.d.ts +2 -0
  419. package/dist/src/ocm/components/SingleCluster.d.ts +2 -0
  420. package/dist/src/ocm/components/clusterConfiguration/ArmCheckbox.d.ts +7 -0
  421. package/dist/src/ocm/components/clusterConfiguration/ClusterDefaultConfigurationContext.d.ts +8 -0
  422. package/dist/src/ocm/components/clusterConfiguration/DiscoveryImageForm.d.ts +9 -0
  423. package/dist/src/ocm/components/clusterConfiguration/DiscoveryImageModal.d.ts +11 -0
  424. package/dist/src/ocm/components/clusterConfiguration/DiscoveryImageSummary.d.ts +11 -0
  425. package/dist/src/ocm/components/clusterConfiguration/HostInventory.d.ts +5 -0
  426. package/dist/src/ocm/components/clusterConfiguration/HostsNetworkConfigurationControlGroup.d.ts +4 -0
  427. package/dist/src/ocm/components/clusterConfiguration/InformationAndAlerts.d.ts +5 -0
  428. package/dist/src/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts +13 -0
  429. package/dist/src/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.d.ts +7 -0
  430. package/dist/src/ocm/components/clusterConfiguration/ReviewCluster.d.ts +6 -0
  431. package/dist/src/ocm/components/clusterConfiguration/ReviewStep.d.ts +6 -0
  432. package/dist/src/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.d.ts +2 -0
  433. package/dist/src/ocm/components/clusterConfiguration/networkConfiguration/AvailableSubnetsControl.d.ts +8 -0
  434. package/dist/src/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.d.ts +9 -0
  435. package/dist/src/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.d.ts +5 -0
  436. package/dist/src/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationTable.d.ts +3 -0
  437. package/dist/src/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationTableBase.d.ts +18 -0
  438. package/dist/src/ocm/components/clusterConfiguration/networkConfiguration/StackTypeControl.d.ts +8 -0
  439. package/dist/src/ocm/components/clusterConfiguration/networkConfiguration/VirtualIPControlGroup.d.ts +6 -0
  440. package/dist/src/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.d.ts +4 -0
  441. package/dist/src/ocm/components/clusterConfiguration/operators/CnvCheckbox.d.ts +3 -0
  442. package/dist/src/ocm/components/clusterConfiguration/operators/CnvHostRequirements.d.ts +5 -0
  443. package/dist/src/ocm/components/clusterConfiguration/operators/LvmCheckbox.d.ts +3 -0
  444. package/dist/src/ocm/components/clusterConfiguration/operators/LvmHostRequirements.d.ts +5 -0
  445. package/dist/src/ocm/components/clusterConfiguration/operators/OdfCheckbox.d.ts +4 -0
  446. package/dist/src/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegration.d.ts +5 -0
  447. package/dist/src/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationVsphere.d.ts +2 -0
  448. package/dist/src/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.d.ts +11 -0
  449. package/dist/src/ocm/components/clusterConfiguration/staticIp/components/CollapsedHost.d.ts +11 -0
  450. package/dist/src/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHosts.d.ts +3 -0
  451. package/dist/src/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.d.ts +5 -0
  452. package/dist/src/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/formViewHostsValidationSchema.d.ts +5 -0
  453. package/dist/src/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWide.d.ts +3 -0
  454. package/dist/src/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWideFields.d.ts +6 -0
  455. package/dist/src/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/formViewNetworkWideValidationSchema.d.ts +13 -0
  456. package/dist/src/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.d.ts +3 -0
  457. package/dist/src/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.d.ts +19 -0
  458. package/dist/src/ocm/components/clusterConfiguration/staticIp/components/StaticIpPage.d.ts +4 -0
  459. package/dist/src/ocm/components/clusterConfiguration/staticIp/components/StaticIpViewRadioGroup.d.ts +8 -0
  460. package/dist/src/ocm/components/clusterConfiguration/staticIp/components/YamlView/MacIpMapping.d.ts +6 -0
  461. package/dist/src/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlView.d.ts +3 -0
  462. package/dist/src/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlViewFields.d.ts +1 -0
  463. package/dist/src/ocm/components/clusterConfiguration/staticIp/components/YamlView/yamlViewValidationSchema.d.ts +3 -0
  464. package/dist/src/ocm/components/clusterConfiguration/staticIp/components/propTypes.d.ts +28 -0
  465. package/dist/src/ocm/components/clusterConfiguration/staticIp/data/dataTypes.d.ts +53 -0
  466. package/dist/src/ocm/components/clusterConfiguration/staticIp/data/dummyData.d.ts +20 -0
  467. package/dist/src/ocm/components/clusterConfiguration/staticIp/data/emptyData.d.ts +9 -0
  468. package/dist/src/ocm/components/clusterConfiguration/staticIp/data/formDataFromInfraEnvField.d.ts +3 -0
  469. package/dist/src/ocm/components/clusterConfiguration/staticIp/data/formDataToInfraEnvField.d.ts +4 -0
  470. package/dist/src/ocm/components/clusterConfiguration/staticIp/data/fromInfraEnv.d.ts +13 -0
  471. package/dist/src/ocm/components/clusterConfiguration/staticIp/data/machineNetwork.d.ts +2 -0
  472. package/dist/src/ocm/components/clusterConfiguration/staticIp/data/nmstateTypes.d.ts +60 -0
  473. package/dist/src/ocm/components/clusterConfiguration/staticIp/data/nmstateYaml.d.ts +16 -0
  474. package/dist/src/ocm/components/clusterConfiguration/staticIp/data/protocolVersion.d.ts +8 -0
  475. package/dist/src/ocm/components/clusterDetail/AssistedInstallerDetailCard.d.ts +8 -0
  476. package/dist/src/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.d.ts +7 -0
  477. package/dist/src/ocm/components/clusterDetail/CancelInstallationModal.d.ts +3 -0
  478. package/dist/src/ocm/components/clusterDetail/ClusterDetail.d.ts +7 -0
  479. package/dist/src/ocm/components/clusterDetail/ClusterDetailStatusMessages.d.ts +8 -0
  480. package/dist/src/ocm/components/clusterDetail/ClusterDetailStatusVarieties.d.ts +18 -0
  481. package/dist/src/ocm/components/clusterDetail/ClusterDetailsButtonGroup.d.ts +7 -0
  482. package/dist/src/ocm/components/clusterDetail/ClusterInstallationProgressCard.d.ts +6 -0
  483. package/dist/src/ocm/components/clusterDetail/ClusterPollingErrorModal.d.ts +2 -0
  484. package/dist/src/ocm/components/clusterDetail/ClusterProperties.d.ts +7 -0
  485. package/dist/src/ocm/components/clusterDetail/OpenShiftVersionDetail.d.ts +5 -0
  486. package/dist/src/ocm/components/clusterDetail/ProgressBarAlerts.d.ts +15 -0
  487. package/dist/src/ocm/components/clusterDetail/ResetClusterModal.d.ts +3 -0
  488. package/dist/src/ocm/components/clusterDetail/getProgressBarAlerts.d.ts +3 -0
  489. package/dist/src/ocm/components/clusterDetail/index.d.ts +5 -0
  490. package/dist/src/ocm/components/clusterDetail/utils.d.ts +7 -0
  491. package/dist/src/ocm/components/clusterWizard/ClusterDetails.d.ts +8 -0
  492. package/dist/src/ocm/components/clusterWizard/ClusterDetailsForm.d.ts +17 -0
  493. package/dist/src/ocm/components/clusterWizard/ClusterPlatformIntegrationHint.d.ts +8 -0
  494. package/dist/src/ocm/components/clusterWizard/ClusterWizard.d.ts +8 -0
  495. package/dist/src/ocm/components/clusterWizard/ClusterWizardContext.d.ts +16 -0
  496. package/dist/src/ocm/components/clusterWizard/ClusterWizardContextProvider.d.ts +8 -0
  497. package/dist/src/ocm/components/clusterWizard/ClusterWizardFooter.d.ts +11 -0
  498. package/dist/src/ocm/components/clusterWizard/ClusterWizardNavigation.d.ts +5 -0
  499. package/dist/src/ocm/components/clusterWizard/HostDiscovery.d.ts +5 -0
  500. package/dist/src/ocm/components/clusterWizard/NewClusterWizard.d.ts +3 -0
  501. package/dist/src/ocm/components/clusterWizard/Operators.d.ts +6 -0
  502. package/dist/src/ocm/components/clusterWizard/OperatorsStep.d.ts +2 -0
  503. package/dist/src/ocm/components/clusterWizard/StaticIp.d.ts +7 -0
  504. package/dist/src/ocm/components/clusterWizard/Storage.d.ts +5 -0
  505. package/dist/src/ocm/components/clusterWizard/constants.d.ts +6 -0
  506. package/dist/src/ocm/components/clusterWizard/index.d.ts +1 -0
  507. package/dist/src/ocm/components/clusterWizard/wizardTransition.d.ts +19 -0
  508. package/dist/src/ocm/components/clusters/ClusterBreadcrumbs.d.ts +7 -0
  509. package/dist/src/ocm/components/clusters/ClusterLoading.d.ts +2 -0
  510. package/dist/src/ocm/components/clusters/ClusterPage.d.ts +7 -0
  511. package/dist/src/ocm/components/clusters/ClusterPageErrors.d.ts +2 -0
  512. package/dist/src/ocm/components/clusters/ClusterStatus.d.ts +15 -0
  513. package/dist/src/ocm/components/clusters/ClusterToolbar.d.ts +7 -0
  514. package/dist/src/ocm/components/clusters/Clusters.d.ts +4 -0
  515. package/dist/src/ocm/components/clusters/ClustersListToolbar.d.ts +12 -0
  516. package/dist/src/ocm/components/clusters/ClustersTable.d.ts +8 -0
  517. package/dist/src/ocm/components/clusters/DeleteClusterModal.d.ts +8 -0
  518. package/dist/src/ocm/components/clusters/NewClusterPage.d.ts +2 -0
  519. package/dist/src/ocm/components/clusters/clusterPolling.d.ts +17 -0
  520. package/dist/src/ocm/components/clusters/index.d.ts +5 -0
  521. package/dist/src/ocm/components/clusters/utils.d.ts +11 -0
  522. package/dist/src/ocm/components/featureSupportLevels/FeatureSupportLevelProvider.d.ts +11 -0
  523. package/dist/src/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.d.ts +13 -0
  524. package/dist/src/ocm/components/featureSupportLevels/featureStateUtils.d.ts +6 -0
  525. package/dist/src/ocm/components/featureSupportLevels/index.d.ts +2 -0
  526. package/dist/src/ocm/components/fetching/fetchEvents.d.ts +2 -0
  527. package/dist/src/ocm/components/hosts/AdditionaNTPSourceDialogToggle.d.ts +1 -0
  528. package/dist/src/ocm/components/hosts/ClusterHostsTable.d.ts +9 -0
  529. package/dist/src/ocm/components/hosts/DeleteHostModal.d.ts +8 -0
  530. package/dist/src/ocm/components/hosts/HardwareStatus.d.ts +21 -0
  531. package/dist/src/ocm/components/hosts/HostRequirementsContent.d.ts +8 -0
  532. package/dist/src/ocm/components/hosts/HostsDiscoveryTable.d.ts +6 -0
  533. package/dist/src/ocm/components/hosts/HostsDiscoveryTroubleshootingInfoLinkWithModal.d.ts +5 -0
  534. package/dist/src/ocm/components/hosts/HostsStorageTable.d.ts +7 -0
  535. package/dist/src/ocm/components/hosts/HostsTableEmptyState.d.ts +5 -0
  536. package/dist/src/ocm/components/hosts/ModalDialogsContext.d.ts +53 -0
  537. package/dist/src/ocm/components/hosts/NetworkingStatus.d.ts +4 -0
  538. package/dist/src/ocm/components/hosts/OdfDisksManualFormattingHint.d.ts +2 -0
  539. package/dist/src/ocm/components/hosts/ResetHostModal.d.ts +9 -0
  540. package/dist/src/ocm/components/hosts/StorageAlerts.d.ts +5 -0
  541. package/dist/src/ocm/components/hosts/UpdateDay2ApiVipDialogToggle.d.ts +2 -0
  542. package/dist/src/ocm/components/hosts/UpdateDay2ApiVipForm.d.ts +11 -0
  543. package/dist/src/ocm/components/hosts/UpdateDay2ApiVipModal.d.ts +7 -0
  544. package/dist/src/ocm/components/hosts/use-hosts-table.d.ts +39 -0
  545. package/dist/src/ocm/components/hosts/utils.d.ts +4 -0
  546. package/dist/src/ocm/components/index.d.ts +7 -0
  547. package/dist/src/ocm/components/ui/AssistedUILibVersion.d.ts +2 -0
  548. package/dist/src/ocm/components/ui/InfoLinkWithModal.d.ts +11 -0
  549. package/dist/src/ocm/components/ui/OcmFormFields.d.ts +22 -0
  550. package/dist/src/ocm/components/ui/index.d.ts +1 -0
  551. package/dist/src/ocm/config/constants.d.ts +8 -0
  552. package/dist/src/ocm/config/index.d.ts +2 -0
  553. package/dist/src/ocm/config/routeBaseBath.d.ts +2 -0
  554. package/dist/src/ocm/hooks/index.d.ts +7 -0
  555. package/dist/src/ocm/hooks/useClusterPreflightRequirements.d.ts +7 -0
  556. package/dist/src/ocm/hooks/useClusterSupportedPlatforms.d.ts +10 -0
  557. package/dist/src/ocm/hooks/useInfraEnv.d.ts +7 -0
  558. package/dist/src/ocm/hooks/useInfraEnvId.d.ts +5 -0
  559. package/dist/src/ocm/hooks/useInfraEnvImageUrl.d.ts +9 -0
  560. package/dist/src/ocm/hooks/useManagedDomains.d.ts +2 -0
  561. package/dist/src/ocm/hooks/useOpenshiftVersions.d.ts +15 -0
  562. package/dist/src/ocm/hooks/usePullSecret.d.ts +1 -0
  563. package/dist/src/ocm/hooks/useSetClusterPermissions.d.ts +2 -0
  564. package/dist/src/ocm/hooks/useUsedClusterNames.d.ts +4 -0
  565. package/dist/src/ocm/index.d.ts +11 -0
  566. package/dist/src/ocm/reducers/clusters/clustersSlice.d.ts +25 -0
  567. package/dist/src/ocm/reducers/clusters/currentClusterSlice.d.ts +130 -0
  568. package/dist/src/ocm/reducers/clusters/index.d.ts +2 -0
  569. package/dist/src/ocm/selectors/clusters.d.ts +61 -0
  570. package/dist/src/ocm/selectors/currentCluster.d.ts +13 -0
  571. package/dist/src/ocm/selectors/index.d.ts +2 -0
  572. package/dist/src/ocm/sentry.d.ts +2 -0
  573. package/dist/src/ocm/services/ClusterDetailsService.d.ts +14 -0
  574. package/dist/src/ocm/services/ClustersService.d.ts +16 -0
  575. package/dist/src/ocm/services/CpuArchitectureService.d.ts +14 -0
  576. package/dist/src/ocm/services/Day2ClusterService.d.ts +87 -0
  577. package/dist/src/ocm/services/DiscoveryImageFormService.d.ts +9 -0
  578. package/dist/src/ocm/services/DiskEncryptionService.d.ts +6 -0
  579. package/dist/src/ocm/services/HostDiscoveryService.d.ts +6 -0
  580. package/dist/src/ocm/services/HostsService.d.ts +20 -0
  581. package/dist/src/ocm/services/InfraEnvIdsCacheService.d.ts +9 -0
  582. package/dist/src/ocm/services/InfraEnvsService.d.ts +13 -0
  583. package/dist/src/ocm/services/OperatorsService.d.ts +11 -0
  584. package/dist/src/ocm/services/apis/ClustersAPI.d.ts +35 -0
  585. package/dist/src/ocm/services/apis/ComponentVersionsAPI.d.ts +6 -0
  586. package/dist/src/ocm/services/apis/EventsAPI.d.ts +7 -0
  587. package/dist/src/ocm/services/apis/FeatureSupportLevelsAPI.d.ts +6 -0
  588. package/dist/src/ocm/services/apis/HostsAPI.d.ts +14 -0
  589. package/dist/src/ocm/services/apis/InfraEnvsAPI.d.ts +17 -0
  590. package/dist/src/ocm/services/apis/ManagedDomainsAPI.d.ts +6 -0
  591. package/dist/src/ocm/services/apis/SupportedOpenshiftVersionsAPI.d.ts +6 -0
  592. package/dist/src/ocm/services/apis/index.d.ts +8 -0
  593. package/dist/src/ocm/services/apis/types.d.ts +13 -0
  594. package/dist/src/ocm/services/index.d.ts +10 -0
  595. package/dist/src/ocm/services/types.d.ts +11 -0
  596. package/dist/src/ocm/store/index.d.ts +36 -0
  597. package/dist/src/ocm/store/slices/infraEnvs/slice.d.ts +3 -0
  598. package/dist/src/ocm/types.d.ts +5 -0
  599. package/package.json +148 -0
@@ -0,0 +1,2241 @@
1
+ export interface ApiVipConnectivityRequest {
2
+ /**
3
+ * URL address of the API.
4
+ */
5
+ url: string;
6
+ /**
7
+ * Whether to verify if the API VIP belongs to one of the interfaces (DEPRECATED).
8
+ */
9
+ verifyCidr?: boolean;
10
+ /**
11
+ * A CA certficate to be used when contacting the URL via https.
12
+ */
13
+ caCertificate?: string;
14
+ /**
15
+ * A string which will be used as Authorization Bearer token to fetch the ignition from ignitionEndpointUrl.
16
+ */
17
+ ignitionEndpointToken?: string;
18
+ }
19
+ /**
20
+ * The response from the day-2 agent's attempt to download the worker ignition file from the API machine config server of the target cluster.
21
+ * Note - the name "API VIP connectivity" is old and misleading and is preserved for backwards compatibility.
22
+ */
23
+ export interface ApiVipConnectivityResponse {
24
+ /**
25
+ * Whether the agent was able to download the ignition or not
26
+ */
27
+ isSuccess?: boolean;
28
+ /**
29
+ * This parameter mirrors the url parameter of the corresponding apiVipConnectivityRequest
30
+ */
31
+ url?: string;
32
+ /**
33
+ * The error that occurred while downloading the worker ignition file, ignored when isSuccess is true
34
+ */
35
+ downloadError?: string;
36
+ /**
37
+ * Ignition file fetched from the target cluster's API machine config server.
38
+ * This ignition file may be incomplete as almost all files / systemd units are removed from it by the agent in order to save space.
39
+ */
40
+ ignition?: string;
41
+ }
42
+ export interface BindHostParams {
43
+ clusterId: string;
44
+ }
45
+ export interface Boot {
46
+ currentBootMode?: string;
47
+ pxeInterface?: string;
48
+ }
49
+ export interface Cluster {
50
+ /**
51
+ * Indicates the type of this object. Will be 'Cluster' if this is a complete object,
52
+ * 'AddHostsCluster' for cluster that add hosts to existing OCP cluster,
53
+ *
54
+ */
55
+ kind: 'Cluster' | 'AddHostsCluster';
56
+ /**
57
+ * Guaranteed availability of the installed cluster. 'Full' installs a Highly-Available cluster
58
+ * over multiple master nodes whereas 'None' installs a full cluster over one node.
59
+ *
60
+ */
61
+ highAvailabilityMode?: 'Full' | 'None';
62
+ /**
63
+ * Unique identifier of the object.
64
+ */
65
+ id: string;
66
+ /**
67
+ * Self link.
68
+ */
69
+ href: string;
70
+ /**
71
+ * Name of the OpenShift cluster.
72
+ */
73
+ name?: string;
74
+ userName?: string;
75
+ orgId?: string;
76
+ emailDomain?: string;
77
+ /**
78
+ * Version of the OpenShift cluster.
79
+ */
80
+ openshiftVersion?: string;
81
+ /**
82
+ * OpenShift release image URI.
83
+ */
84
+ ocpReleaseImage?: string;
85
+ /**
86
+ * Cluster ID on OCP system.
87
+ */
88
+ openshiftClusterId?: string;
89
+ imageInfo: ImageInfo;
90
+ platform?: Platform;
91
+ /**
92
+ * Base domain of the cluster. All DNS records must be sub-domains of this base and include the cluster name.
93
+ */
94
+ baseDnsDomain?: string;
95
+ /**
96
+ * IP address block from which Pod IPs are allocated. This block must not overlap with existing physical networks. These IP addresses are used for the Pod network, and if you need to access the Pods from an external network, configure load balancers and routers to manage the traffic.
97
+ */
98
+ clusterNetworkCidr?: string;
99
+ /**
100
+ * The subnet prefix length to assign to each individual node. For example, if clusterNetworkHostPrefix is set to 23, then each node is assigned a /23 subnet out of the given cidr (clusterNetworkCIDR), which allows for 510 (2^(32 - 23) - 2) pod IPs addresses. If you are required to provide access to nodes from an external network, configure load balancers and routers to manage the traffic.
101
+ */
102
+ clusterNetworkHostPrefix?: number;
103
+ /**
104
+ * The IP address pool to use for service IP addresses. You can enter only one IP address pool. If you need to access the services from an external network, configure load balancers and routers to manage the traffic.
105
+ */
106
+ serviceNetworkCidr?: string;
107
+ /**
108
+ * The virtual IP used to reach the OpenShift cluster's API.
109
+ */
110
+ apiVip?: string;
111
+ /**
112
+ * The domain name used to reach the OpenShift cluster API.
113
+ */
114
+ apiVipDnsName?: string;
115
+ /**
116
+ * A CIDR that all hosts belonging to the cluster should have an interfaces with IP address that belongs to this CIDR. The apiVip belongs to this CIDR.
117
+ */
118
+ machineNetworkCidr?: string;
119
+ /**
120
+ * The virtual IP used for cluster ingress traffic.
121
+ */
122
+ ingressVip?: string;
123
+ /**
124
+ * SSH public key for debugging OpenShift nodes.
125
+ */
126
+ sshPublicKey?: string;
127
+ /**
128
+ * A proxy URL to use for creating HTTP connections outside the cluster.
129
+ * http://\<username\>:\<pswd\>@\<ip\>:\<port\>
130
+ *
131
+ */
132
+ httpProxy?: string;
133
+ /**
134
+ * A proxy URL to use for creating HTTPS connections outside the cluster.
135
+ * http://\<username\>:\<pswd\>@\<ip\>:\<port\>
136
+ *
137
+ */
138
+ httpsProxy?: string;
139
+ /**
140
+ * A comma-separated list of destination domain names, domains, IP addresses, or other network CIDRs to exclude from proxying.
141
+ */
142
+ noProxy?: string;
143
+ /**
144
+ * Status of the OpenShift cluster.
145
+ */
146
+ status: 'insufficient' | 'ready' | 'error' | 'preparing-for-installation' | 'pending-for-input' | 'installing' | 'finalizing' | 'installed' | 'adding-hosts' | 'cancelled' | 'installing-pending-user-action';
147
+ /**
148
+ * Additional information pertaining to the status of the OpenShift cluster.
149
+ */
150
+ statusInfo: string;
151
+ /**
152
+ * The last time that the cluster status was updated.
153
+ */
154
+ statusUpdatedAt?: string;
155
+ /**
156
+ * Installation progress percentages of the cluster.
157
+ */
158
+ progress?: ClusterProgressInfo;
159
+ /**
160
+ * Information regarding hosts' installation disks encryption.
161
+ */
162
+ diskEncryption?: DiskEncryption;
163
+ /**
164
+ * Hosts that are associated with this cluster.
165
+ */
166
+ hosts?: Host[];
167
+ /**
168
+ * hosts associated to this cluster that are in 'known' state.
169
+ */
170
+ readyHostCount?: number;
171
+ /**
172
+ * hosts associated to this cluster that are not in 'disabled' state.
173
+ */
174
+ enabledHostCount?: number;
175
+ /**
176
+ * All hosts associated to this cluster.
177
+ */
178
+ totalHostCount?: number;
179
+ /**
180
+ * Schedule workloads on masters
181
+ */
182
+ schedulableMasters?: boolean;
183
+ /**
184
+ * Indicates if schedule workloads on masters will be enabled regardless the value of 'schedulableMasters' property.
185
+ * Set to 'true' when not enough hosts are associated with this cluster to disable the scheduling on masters.
186
+ *
187
+ */
188
+ schedulableMastersForcedTrue?: boolean;
189
+ /**
190
+ * The last time that this cluster was updated.
191
+ */
192
+ updatedAt?: string;
193
+ /**
194
+ * The time that this cluster was created.
195
+ */
196
+ createdAt?: string;
197
+ /**
198
+ * The time that this cluster started installation.
199
+ */
200
+ installStartedAt?: string;
201
+ /**
202
+ * The time that this cluster completed installation.
203
+ */
204
+ installCompletedAt?: string;
205
+ /**
206
+ * List of host networks to be filled during query.
207
+ */
208
+ hostNetworks?: HostNetwork[];
209
+ /**
210
+ * True if the pull secret has been added to the cluster.
211
+ */
212
+ pullSecretSet?: boolean;
213
+ /**
214
+ * Indicate if virtual IP DHCP allocation mode is enabled.
215
+ */
216
+ vipDhcpAllocation?: boolean;
217
+ /**
218
+ * JSON-formatted string containing the validation results for each validation id grouped by category (network, hosts-data, etc.)
219
+ */
220
+ validationsInfo?: string;
221
+ /**
222
+ * The progress of log collection or empty if logs are not applicable
223
+ */
224
+ logsInfo?: LogsState;
225
+ /**
226
+ * JSON-formatted string containing the user overrides for the install-config.yaml file.
227
+ * example:
228
+ * {"networking":{"networkType": "OVNKubernetes"},"fips":true}
229
+ */
230
+ installConfigOverrides?: string;
231
+ controllerLogsCollectedAt?: string;
232
+ controllerLogsStartedAt?: string;
233
+ /**
234
+ * Json formatted string containing the majority groups for connectivity checks.
235
+ */
236
+ connectivityMajorityGroups?: string;
237
+ /**
238
+ * swagger:ignore
239
+ */
240
+ deletedAt?: unknown;
241
+ /**
242
+ * Indicate if the networking is managed by the user.
243
+ */
244
+ userManagedNetworking?: boolean;
245
+ /**
246
+ * A comma-separated list of NTP sources (name or IP) going to be added to all the hosts.
247
+ */
248
+ additionalNtpSource?: string;
249
+ /**
250
+ * Operators that are associated with this cluster.
251
+ */
252
+ monitoredOperators?: MonitoredOperator[];
253
+ /**
254
+ * Unique identifier of the AMS subscription in OCM.
255
+ */
256
+ amsSubscriptionId?: string;
257
+ /**
258
+ * Enable/disable hyperthreading on master nodes, worker nodes, or all nodes
259
+ */
260
+ hyperthreading?: 'masters' | 'workers' | 'all' | 'none';
261
+ /**
262
+ * JSON-formatted string containing the usage information by feature name
263
+ */
264
+ featureUsage?: string;
265
+ /**
266
+ * The desired network type used.
267
+ */
268
+ networkType?: 'OpenShiftSDN' | 'OVNKubernetes';
269
+ /**
270
+ * Cluster networks that are associated with this cluster.
271
+ */
272
+ clusterNetworks?: ClusterNetwork[];
273
+ /**
274
+ * Service networks that are associated with this cluster.
275
+ */
276
+ serviceNetworks?: ServiceNetwork[];
277
+ /**
278
+ * Machine networks that are associated with this cluster.
279
+ */
280
+ machineNetworks?: MachineNetwork[];
281
+ /**
282
+ * The CPU architecture of the image (x86_64/arm64/etc).
283
+ */
284
+ cpuArchitecture?: string;
285
+ /**
286
+ * Explicit ignition endpoint overrides the default ignition endpoint.
287
+ */
288
+ ignitionEndpoint?: IgnitionEndpoint;
289
+ /**
290
+ * Indicates whether this cluster is an imported day-2 cluster or a
291
+ * regular cluster. Clusters are considered imported when they are
292
+ * created via the ../clusters/import endpoint. Day-2 clusters converted
293
+ * from day-1 clusters by kube-api controllers or the
294
+ * ../clusters/<clusterId>/actions/allow-add-workers endpoint are not
295
+ * considered imported. Imported clusters usually lack a lot of
296
+ * information and are filled with default values that don't necessarily
297
+ * reflect the actual cluster they represent
298
+ */
299
+ imported?: boolean;
300
+ /**
301
+ * A comma-separated list of tags that are associated to the cluster.
302
+ */
303
+ tags?: string;
304
+ }
305
+ export interface ClusterCreateParams {
306
+ /**
307
+ * Name of the OpenShift cluster.
308
+ */
309
+ name: string;
310
+ /**
311
+ * Guaranteed availability of the installed cluster. 'Full' installs a Highly-Available cluster
312
+ * over multiple master nodes whereas 'None' installs a full cluster over one node.
313
+ *
314
+ */
315
+ highAvailabilityMode?: 'Full' | 'None';
316
+ /**
317
+ * Version of the OpenShift cluster.
318
+ */
319
+ openshiftVersion: string;
320
+ /**
321
+ * OpenShift release image URI.
322
+ */
323
+ ocpReleaseImage?: string;
324
+ /**
325
+ * Base domain of the cluster. All DNS records must be sub-domains of this base and include the cluster name.
326
+ */
327
+ baseDnsDomain?: string;
328
+ /**
329
+ * IP address block from which Pod IPs are allocated. This block must not overlap with existing physical networks. These IP addresses are used for the Pod network, and if you need to access the Pods from an external network, configure load balancers and routers to manage the traffic.
330
+ */
331
+ clusterNetworkCidr?: string;
332
+ /**
333
+ * The subnet prefix length to assign to each individual node. For example, if clusterNetworkHostPrefix is set to 23, then each node is assigned a /23 subnet out of the given cidr (clusterNetworkCIDR), which allows for 510 (2^(32 - 23) - 2) pod IPs addresses. If you are required to provide access to nodes from an external network, configure load balancers and routers to manage the traffic.
334
+ */
335
+ clusterNetworkHostPrefix?: number;
336
+ /**
337
+ * The IP address pool to use for service IP addresses. You can enter only one IP address pool. If you need to access the services from an external network, configure load balancers and routers to manage the traffic.
338
+ */
339
+ serviceNetworkCidr?: string;
340
+ /**
341
+ * The virtual IP used to reach the OpenShift cluster's API.
342
+ */
343
+ apiVip?: string;
344
+ /**
345
+ * The virtual IP used for cluster ingress traffic.
346
+ */
347
+ ingressVip?: string;
348
+ /**
349
+ * The pull secret obtained from Red Hat OpenShift Cluster Manager at console.redhat.com/openshift/install/pull-secret.
350
+ */
351
+ pullSecret: string;
352
+ /**
353
+ * SSH public key for debugging OpenShift nodes.
354
+ */
355
+ sshPublicKey?: string;
356
+ /**
357
+ * Indicate if virtual IP DHCP allocation mode is enabled.
358
+ */
359
+ vipDhcpAllocation?: boolean;
360
+ /**
361
+ * A proxy URL to use for creating HTTP connections outside the cluster.
362
+ * http://\<username\>:\<pswd\>@\<ip\>:\<port\>
363
+ *
364
+ */
365
+ httpProxy?: string;
366
+ /**
367
+ * A proxy URL to use for creating HTTPS connections outside the cluster.
368
+ * http://\<username\>:\<pswd\>@\<ip\>:\<port\>
369
+ *
370
+ */
371
+ httpsProxy?: string;
372
+ /**
373
+ * An "*" or a comma-separated list of destination domain names, domains, IP addresses, or other network CIDRs to exclude from proxying.
374
+ */
375
+ noProxy?: string;
376
+ /**
377
+ * Indicate if the networking is managed by the user.
378
+ */
379
+ userManagedNetworking?: boolean;
380
+ /**
381
+ * A comma-separated list of NTP sources (name or IP) going to be added to all the hosts.
382
+ */
383
+ additionalNtpSource?: string;
384
+ /**
385
+ * List of OLM operators to be installed.
386
+ */
387
+ olmOperators?: OperatorCreateParams[];
388
+ /**
389
+ * Enable/disable hyperthreading on master nodes, worker nodes, or all nodes.
390
+ */
391
+ hyperthreading?: 'masters' | 'workers' | 'none' | 'all';
392
+ /**
393
+ * The desired network type used.
394
+ */
395
+ networkType?: 'OpenShiftSDN' | 'OVNKubernetes';
396
+ /**
397
+ * Schedule workloads on masters
398
+ */
399
+ schedulableMasters?: boolean;
400
+ /**
401
+ * Cluster networks that are associated with this cluster.
402
+ */
403
+ clusterNetworks?: ClusterNetwork[];
404
+ /**
405
+ * Service networks that are associated with this cluster.
406
+ */
407
+ serviceNetworks?: ServiceNetwork[];
408
+ /**
409
+ * Machine networks that are associated with this cluster.
410
+ */
411
+ machineNetworks?: MachineNetwork[];
412
+ platform?: Platform;
413
+ /**
414
+ * The CPU architecture of the image (x86_64/arm64/etc).
415
+ */
416
+ cpuArchitecture?: string;
417
+ /**
418
+ * Installation disks encryption mode and host roles to be applied.
419
+ */
420
+ diskEncryption?: DiskEncryption;
421
+ /**
422
+ * Explicit ignition endpoint overrides the default ignition endpoint.
423
+ */
424
+ ignitionEndpoint?: IgnitionEndpoint;
425
+ /**
426
+ * A comma-separated list of tags that are associated to the cluster.
427
+ */
428
+ tags?: string;
429
+ }
430
+ export interface ClusterDefaultConfig {
431
+ clusterNetworkCidr?: string;
432
+ clusterNetworkHostPrefix?: number;
433
+ inactiveDeletionHours?: number;
434
+ serviceNetworkCidr?: string;
435
+ ntpSource?: string;
436
+ clusterNetworksIpv4?: ClusterNetwork[];
437
+ clusterNetworksDualstack?: ClusterNetwork[];
438
+ serviceNetworksIpv4?: ServiceNetwork[];
439
+ serviceNetworksDualstack?: ServiceNetwork[];
440
+ /**
441
+ * This provides a list of forbidden hostnames. If this list is empty or not present, this implies that the UI should fall back to a hard coded list.
442
+ */
443
+ forbiddenHostnames?: string[];
444
+ }
445
+ export interface ClusterHostRequirements {
446
+ /**
447
+ * Unique identifier of the host the requirements relate to.
448
+ */
449
+ hostId?: string;
450
+ /**
451
+ * Total host requirements for the cluster configuration
452
+ */
453
+ total?: ClusterHostRequirementsDetails;
454
+ /**
455
+ * Host requirements for the OCP installation
456
+ */
457
+ ocp?: ClusterHostRequirementsDetails;
458
+ /**
459
+ * Host requirements related to requested operators
460
+ */
461
+ operators?: OperatorHostRequirements[];
462
+ }
463
+ export interface ClusterHostRequirementsDetails {
464
+ /**
465
+ * Required number of CPU cores
466
+ */
467
+ cpuCores?: number;
468
+ /**
469
+ * Required number of RAM in MiB
470
+ */
471
+ ramMib?: number;
472
+ /**
473
+ * Required disk size in GB
474
+ */
475
+ diskSizeGb?: number;
476
+ /**
477
+ * Required installation disk speed in ms
478
+ */
479
+ installationDiskSpeedThresholdMs?: number;
480
+ /**
481
+ * Maximum network average latency (RTT) at L3 for role.
482
+ */
483
+ networkLatencyThresholdMs?: number;
484
+ /**
485
+ * Maximum packet loss allowed at L3 for role.
486
+ */
487
+ packetLossPercentage?: number;
488
+ /**
489
+ * Whether TPM module should be enabled in host's BIOS.
490
+ */
491
+ tpmEnabledInBios?: boolean;
492
+ }
493
+ export declare type ClusterHostRequirementsList = ClusterHostRequirements[];
494
+ export declare type ClusterList = Cluster[];
495
+ /**
496
+ * A network from which Pod IPs are allocated. This block must not overlap with existing physical networks. These IP addresses are used for the Pod network, and if you need to access the Pods from an external network, configure load balancers and routers to manage the traffic.
497
+ */
498
+ export interface ClusterNetwork {
499
+ /**
500
+ * The cluster that this network is associated with.
501
+ */
502
+ clusterId?: string;
503
+ /**
504
+ * The IP block address pool.
505
+ */
506
+ cidr?: Subnet;
507
+ /**
508
+ * The subnet prefix length to assign to each individual node. For example if is set to 23, then each node is assigned a /23 subnet out of the given CIDR, which allows for 510 (2^(32 - 23) - 2) pod IPs addresses.
509
+ */
510
+ hostPrefix?: number;
511
+ }
512
+ export interface ClusterProgressInfo {
513
+ totalPercentage?: number;
514
+ preparingForInstallationStagePercentage?: number;
515
+ installingStagePercentage?: number;
516
+ finalizingStagePercentage?: number;
517
+ }
518
+ export declare type ClusterValidationId = 'machine-cidr-defined' | 'cluster-cidr-defined' | 'service-cidr-defined' | 'no-cidrs-overlapping' | 'networks-same-address-families' | 'network-prefix-valid' | 'machine-cidr-equals-to-calculated-cidr' | 'api-vip-defined' | 'api-vip-valid' | 'ingress-vip-defined' | 'ingress-vip-valid' | 'all-hosts-are-ready-to-install' | 'sufficient-masters-count' | 'dns-domain-defined' | 'pull-secret-set' | 'ntp-server-configured' | 'lso-requirements-satisfied' | 'ocs-requirements-satisfied' | 'odf-requirements-satisfied' | 'cnv-requirements-satisfied' | 'lvm-requirements-satisfied' | 'network-type-valid';
519
+ export interface CompletionParams {
520
+ isSuccess: boolean;
521
+ errorInfo?: string;
522
+ }
523
+ export interface ConnectivityCheckHost {
524
+ hostId?: string;
525
+ nics?: ConnectivityCheckNic[];
526
+ }
527
+ export interface ConnectivityCheckNic {
528
+ name?: string;
529
+ mac?: string;
530
+ ipAddresses?: string[];
531
+ }
532
+ export declare type ConnectivityCheckParams = ConnectivityCheckHost[];
533
+ export interface ConnectivityRemoteHost {
534
+ hostId?: string;
535
+ l2Connectivity?: L2Connectivity[];
536
+ l3Connectivity?: L3Connectivity[];
537
+ }
538
+ export interface ConnectivityReport {
539
+ remoteHosts?: ConnectivityRemoteHost[];
540
+ }
541
+ export interface ContainerImageAvailability {
542
+ /**
543
+ * A fully qualified image name (FQIN).
544
+ */
545
+ name?: string;
546
+ /**
547
+ * Size of the image in bytes.
548
+ */
549
+ sizeBytes?: number;
550
+ /**
551
+ * Seconds it took to pull the image.
552
+ */
553
+ time?: number;
554
+ /**
555
+ * The rate of size/time in seconds MBps.
556
+ */
557
+ downloadRate?: number;
558
+ result?: ContainerImageAvailabilityResult;
559
+ }
560
+ export interface ContainerImageAvailabilityRequest {
561
+ /**
562
+ * Positive number represents a timeout in seconds for a pull operation.
563
+ */
564
+ timeout?: number;
565
+ /**
566
+ * List of image names to be checked.
567
+ */
568
+ images: string[];
569
+ }
570
+ export interface ContainerImageAvailabilityResponse {
571
+ /**
572
+ * List of images that were checked.
573
+ */
574
+ images: ContainerImageAvailability[];
575
+ }
576
+ /**
577
+ * Image availability result.
578
+ */
579
+ export declare type ContainerImageAvailabilityResult = 'success' | 'failure';
580
+ export interface Cpu {
581
+ count?: number;
582
+ frequency?: number;
583
+ flags?: string[];
584
+ modelName?: string;
585
+ architecture?: string;
586
+ }
587
+ export interface CreateManifestParams {
588
+ /**
589
+ * The folder that contains the files. Manifests can be placed in 'manifests' or 'openshift' directories.
590
+ */
591
+ folder?: 'manifests' | 'openshift';
592
+ /**
593
+ * The name of the manifest to customize the installed OCP cluster.
594
+ */
595
+ fileName: string;
596
+ /**
597
+ * base64 encoded manifest content.
598
+ */
599
+ content: string;
600
+ }
601
+ export interface Credentials {
602
+ username?: string;
603
+ password?: string;
604
+ consoleUrl?: string;
605
+ }
606
+ export interface DhcpAllocationRequest {
607
+ /**
608
+ * The network interface (NIC) to run the DHCP requests on.
609
+ */
610
+ interface: string;
611
+ /**
612
+ * MAC address for the API virtual IP.
613
+ */
614
+ apiVipMac: string;
615
+ /**
616
+ * MAC address for the Ingress virtual IP.
617
+ */
618
+ ingressVipMac: string;
619
+ /**
620
+ * Contents of lease file to be used for API virtual IP.
621
+ */
622
+ apiVipLease?: string;
623
+ /**
624
+ * Contents of lease file to be used for for Ingress virtual IP.
625
+ */
626
+ ingressVipLease?: string;
627
+ }
628
+ export interface DhcpAllocationResponse {
629
+ /**
630
+ * The IPv4 address that was allocated by DHCP for the API virtual IP.
631
+ */
632
+ apiVipAddress: string;
633
+ /**
634
+ * The IPv4 address that was allocated by DHCP for the Ingress virtual IP.
635
+ */
636
+ ingressVipAddress: string;
637
+ /**
638
+ * Contents of last acquired lease for API virtual IP.
639
+ */
640
+ apiVipLease?: string;
641
+ /**
642
+ * Contents of last acquired lease for Ingress virtual IP.
643
+ */
644
+ ingressVipLease?: string;
645
+ }
646
+ export interface Disk {
647
+ /**
648
+ * Determine the disk's unique identifier which is the by-id field if it exists and fallback to the by-path field otherwise
649
+ */
650
+ id?: string;
651
+ driveType?: DriveType;
652
+ hasUuid?: boolean;
653
+ vendor?: string;
654
+ name?: string;
655
+ path?: string;
656
+ hctl?: string;
657
+ /**
658
+ * by-path is the shortest physical path to the device
659
+ */
660
+ byPath?: string;
661
+ /**
662
+ * by-id is the World Wide Number of the device which guaranteed to be unique for every storage device
663
+ */
664
+ byId?: string;
665
+ model?: string;
666
+ wwn?: string;
667
+ serial?: string;
668
+ sizeBytes?: number;
669
+ bootable?: boolean;
670
+ removable?: boolean;
671
+ /**
672
+ * Whether the disk appears to be an installation media or not
673
+ */
674
+ isInstallationMedia?: boolean;
675
+ installationEligibility?: {
676
+ /**
677
+ * Whether the disk is eligible for installation or not.
678
+ */
679
+ eligible?: boolean;
680
+ /**
681
+ * Reasons for why this disk is not eligible for installation.
682
+ */
683
+ notEligibleReasons?: string[];
684
+ };
685
+ smart?: string;
686
+ ioPerf?: IoPerf;
687
+ /**
688
+ * A comma-separated list of disk names that this disk belongs to
689
+ */
690
+ holders?: string;
691
+ }
692
+ export interface DiskConfigParams {
693
+ id: string;
694
+ role?: DiskRole;
695
+ }
696
+ export interface DiskEncryption {
697
+ /**
698
+ * Enable/disable disk encryption on master nodes, worker nodes, or all nodes.
699
+ */
700
+ enableOn?: 'none' | 'all' | 'masters' | 'workers';
701
+ /**
702
+ * The disk encryption mode to use.
703
+ */
704
+ mode?: 'tpmv2' | 'tang';
705
+ /**
706
+ * JSON-formatted string containing additional information regarding tang's configuration
707
+ * example:
708
+ * [{"url":"http://tang.example.com:7500","thumbprint":"PLjNyRdGw03zlRoGjQYMahSZGu9"}, {"url":"http://tang.example.com:7501","thumbprint":"PLjNyRdGw03zlRoGjQYMahSZGu8"}]
709
+ */
710
+ tangServers?: string;
711
+ }
712
+ export interface DiskInfo {
713
+ id?: string;
714
+ path?: string;
715
+ diskSpeed?: DiskSpeed;
716
+ }
717
+ export declare type DiskRole = 'none' | 'install';
718
+ /**
719
+ * Allows an addition or removal of a host disk from the host's skipFormattingDisks list
720
+ */
721
+ export interface DiskSkipFormattingParams {
722
+ /**
723
+ * The ID of the disk that is being added to or removed from the host's skipFormattingDisks list
724
+ */
725
+ diskId: string;
726
+ /**
727
+ * True if you wish to add the disk to the skipFormattingDisks list, false if you wish to remove it
728
+ */
729
+ skipFormatting: boolean;
730
+ }
731
+ export interface DiskSpeed {
732
+ tested?: boolean;
733
+ exitCode?: number;
734
+ speedMs?: number;
735
+ }
736
+ export interface DiskSpeedCheckRequest {
737
+ /**
738
+ * --filename argument for fio (expects a file or a block device path).
739
+ */
740
+ path: string;
741
+ }
742
+ export interface DiskSpeedCheckResponse {
743
+ /**
744
+ * The 99th percentile of fdatasync durations in milliseconds.
745
+ */
746
+ ioSyncDuration?: number;
747
+ /**
748
+ * The device path.
749
+ */
750
+ path?: string;
751
+ }
752
+ export interface DomainResolutionRequest {
753
+ domains: {
754
+ /**
755
+ * The domain name that should be resolved
756
+ */
757
+ domainName: string;
758
+ }[];
759
+ }
760
+ export interface DomainResolutionResponse {
761
+ resolutions: {
762
+ /**
763
+ * The domain that was resolved
764
+ */
765
+ domainName: string;
766
+ /**
767
+ * The IPv4 addresses of the domain, empty if none
768
+ */
769
+ ipv4Addresses?: string[];
770
+ /**
771
+ * The IPv6 addresses of the domain, empty if none
772
+ */
773
+ ipv6Addresses?: string[];
774
+ }[];
775
+ }
776
+ /**
777
+ * Information sent to the agent for downloading artifacts to boot a host into discovery.
778
+ */
779
+ export interface DownloadBootArtifactsRequest {
780
+ /**
781
+ * URL address to download the kernel.
782
+ */
783
+ kernelUrl: string;
784
+ /**
785
+ * URL address to download the rootfs.
786
+ */
787
+ rootfsUrl: string;
788
+ /**
789
+ * URL address to download the initrd.
790
+ */
791
+ initrdUrl: string;
792
+ /**
793
+ * The base directory on the host that contains the /boot folder. The host will download boot
794
+ * artifacts into a folder in this directory.
795
+ */
796
+ hostFsMountDir: string;
797
+ }
798
+ export declare type DriveType = 'Unknown' | 'HDD' | 'FDD' | 'ODD' | 'SSD' | 'virtual' | 'Multipath' | 'iSCSI' | 'FC' | 'LVM';
799
+ export interface Error {
800
+ /**
801
+ * Indicates the type of this object. Will always be 'Error'.
802
+ */
803
+ kind: 'Error';
804
+ /**
805
+ * Numeric identifier of the error.
806
+ */
807
+ id: number;
808
+ /**
809
+ * Self link.
810
+ */
811
+ href: string;
812
+ /**
813
+ * Globally unique code of the error, composed of the unique identifier of the API and the numeric identifier of the error. For example, if the numeric identifier of the error is 93 and the identifier of the API is assistedInstall then the code will be ASSISTED-INSTALL-93.
814
+ */
815
+ code: string;
816
+ /**
817
+ * Human-readable description of the error.
818
+ */
819
+ reason: string;
820
+ }
821
+ export interface Event {
822
+ /**
823
+ * Event Name.
824
+ */
825
+ name?: string;
826
+ /**
827
+ * Unique identifier of the cluster this event relates to.
828
+ */
829
+ clusterId?: string;
830
+ /**
831
+ * Unique identifier of the host this event relates to.
832
+ */
833
+ hostId?: string;
834
+ /**
835
+ * Unique identifier of the infra-env this event relates to.
836
+ */
837
+ infraEnvId?: string;
838
+ severity: 'info' | 'warning' | 'error' | 'critical';
839
+ category?: 'user' | 'metrics';
840
+ message: string;
841
+ eventTime: string;
842
+ /**
843
+ * Unique identifier of the request that caused this event to occur.
844
+ */
845
+ requestId?: string;
846
+ /**
847
+ * Additional properties for the event in JSON format.
848
+ */
849
+ props?: string;
850
+ }
851
+ export declare type EventList = Event[];
852
+ export interface FeatureSupportLevel {
853
+ /**
854
+ * Version of the OpenShift cluster.
855
+ */
856
+ openshiftVersion?: string;
857
+ features?: {
858
+ /**
859
+ * The ID of the feature
860
+ */
861
+ featureId?: 'ADDITIONAL_NTP_SOURCE' | 'REQUESTED_HOSTNAME' | 'PROXY' | 'SNO' | 'DAY2_HOSTS' | 'VIP_AUTO_ALLOC' | 'DISK_SELECTION' | 'OVN_NETWORK_TYPE' | 'SDN_NETWORK_TYPE' | 'PLATFORM_SELECTION' | 'SCHEDULABLE_MASTERS' | 'AUTO_ASSIGN_ROLE' | 'CUSTOM_MANIFEST' | 'DISK_ENCRYPTION' | 'CLUSTER_MANAGED_NETWORKING_WITH_VMS' | 'ARM64_ARCHITECTURE' | 'ARM64_ARCHITECTURE_WITH_CLUSTER_MANAGED_NETWORKING' | 'SINGLE_NODE_EXPANSION' | 'LVM' | 'DUAL_STACK_NETWORKING' | 'MULTIARCH_RELEASE_IMAGE' | 'NUTANIX_INTEGRATION';
862
+ supportLevel?: 'supported' | 'unsupported' | 'tech-preview' | 'dev-preview';
863
+ }[];
864
+ }
865
+ export declare type FeatureSupportLevels = FeatureSupportLevel[];
866
+ export declare type FreeAddressesList = string[];
867
+ export declare type FreeAddressesRequest = string[];
868
+ export interface FreeNetworkAddresses {
869
+ network?: string;
870
+ freeAddresses?: string[];
871
+ }
872
+ export declare type FreeNetworksAddresses = FreeNetworkAddresses[];
873
+ export interface Gpu {
874
+ /**
875
+ * The name of the device vendor (for example "Intel Corporation")
876
+ */
877
+ vendor?: string;
878
+ /**
879
+ * ID of the vendor (for example "8086")
880
+ */
881
+ vendorId?: string;
882
+ /**
883
+ * ID of the device (for example "3ea0")
884
+ */
885
+ deviceId?: string;
886
+ /**
887
+ * Product name of the device (for example "UHD Graphics 620 (Whiskey Lake)")
888
+ */
889
+ name?: string;
890
+ /**
891
+ * Device address (for example "0000:00:02.0")
892
+ */
893
+ address?: string;
894
+ }
895
+ export interface Host {
896
+ /**
897
+ * Indicates the type of this object. Will be 'Host' if this is a complete object or 'HostLink' if it is just a link, or
898
+ * 'AddToExistingClusterHost' for host being added to existing OCP cluster, or
899
+ *
900
+ */
901
+ kind: 'Host' | 'AddToExistingClusterHost';
902
+ /**
903
+ * Unique identifier of the object.
904
+ */
905
+ id: string;
906
+ /**
907
+ * Self link.
908
+ */
909
+ href: string;
910
+ /**
911
+ * The cluster that this host is associated with.
912
+ */
913
+ clusterId?: string;
914
+ /**
915
+ * The infra-env that this host is associated with.
916
+ */
917
+ infraEnvId?: string;
918
+ status: 'discovering' | 'known' | 'disconnected' | 'insufficient' | 'disabled' | 'preparing-for-installation' | 'preparing-failed' | 'preparing-successful' | 'pending-for-input' | 'installing' | 'installing-in-progress' | 'installing-pending-user-action' | 'resetting-pending-user-action' | 'installed' | 'error' | 'resetting' | 'added-to-existing-cluster' | 'cancelled' | 'binding' | 'unbinding' | 'unbinding-pending-user-action' | 'known-unbound' | 'disconnected-unbound' | 'insufficient-unbound' | 'disabled-unbound' | 'discovering-unbound' | 'reclaiming' | 'reclaiming-rebooting';
919
+ statusInfo: string;
920
+ /**
921
+ * JSON-formatted string containing the validation results for each validation id grouped by category (network, hardware, etc.)
922
+ */
923
+ validationsInfo?: string;
924
+ /**
925
+ * The progress of log collection or empty if logs are not applicable
926
+ */
927
+ logsInfo?: LogsState;
928
+ /**
929
+ * The last time that the host status was updated.
930
+ */
931
+ statusUpdatedAt?: string;
932
+ progress?: HostProgressInfo;
933
+ /**
934
+ * Time at which the current progress stage started.
935
+ */
936
+ stageStartedAt?: string;
937
+ /**
938
+ * Time at which the current progress stage was last updated.
939
+ */
940
+ stageUpdatedAt?: string;
941
+ progressStages?: HostStage[];
942
+ connectivity?: string;
943
+ /**
944
+ * Contains a serialized apiVipConnectivityResponse
945
+ */
946
+ apiVipConnectivity?: string;
947
+ tangConnectivity?: string;
948
+ inventory?: string;
949
+ freeAddresses?: string;
950
+ /**
951
+ * The configured NTP sources on the host.
952
+ */
953
+ ntpSources?: string;
954
+ /**
955
+ * Additional information about disks, formatted as JSON.
956
+ */
957
+ disksInfo?: string;
958
+ role?: HostRole;
959
+ suggestedRole?: HostRole;
960
+ bootstrap?: boolean;
961
+ logsCollectedAt?: string;
962
+ logsStartedAt?: string;
963
+ /**
964
+ * Installer version.
965
+ */
966
+ installerVersion?: string;
967
+ /**
968
+ * Contains the inventory disk path, This field is replaced by installationDiskId field and used for backward compatability with the old UI.
969
+ * example:
970
+ * /dev/sda
971
+ */
972
+ installationDiskPath?: string;
973
+ /**
974
+ * Contains the inventory disk id to install on.
975
+ */
976
+ installationDiskId?: string;
977
+ updatedAt?: string;
978
+ createdAt?: string;
979
+ /**
980
+ * The last time the host's agent communicated with the service.
981
+ */
982
+ checkedInAt?: string;
983
+ /**
984
+ * The last time the host's agent tried to register in the service.
985
+ */
986
+ registeredAt?: string;
987
+ discoveryAgentVersion?: string;
988
+ requestedHostname?: string;
989
+ userName?: string;
990
+ mediaStatus?: 'connected' | 'disconnected';
991
+ /**
992
+ * swagger:ignore
993
+ */
994
+ deletedAt?: unknown;
995
+ /**
996
+ * Json formatted string containing the user overrides for the host's pointer ignition
997
+ * example:
998
+ * {"ignition": {"version": "3.1.0"}, "storage": {"files": [{"path": "/tmp/example", "contents": {"source": "data:text/plain;base64,aGVscGltdHJhcHBlZGluYXN3YWdnZXJzcGVj"}}]}}
999
+ */
1000
+ ignitionConfigOverrides?: string;
1001
+ installerArgs?: string;
1002
+ /**
1003
+ * The time on the host as seconds since the Unix epoch.
1004
+ */
1005
+ timestamp?: number;
1006
+ machineConfigPoolName?: string;
1007
+ /**
1008
+ * Array of image statuses.
1009
+ */
1010
+ imagesStatus?: string;
1011
+ /**
1012
+ * The domain name resolution result.
1013
+ */
1014
+ domainNameResolutions?: string;
1015
+ /**
1016
+ * True if the token to fetch the ignition from ignitionEndpointUrl is set.
1017
+ */
1018
+ ignitionEndpointTokenSet?: boolean;
1019
+ /**
1020
+ * Json containing node's labels.
1021
+ */
1022
+ nodeLabels?: string;
1023
+ /**
1024
+ * A comma-separated list of disks that will be formatted once
1025
+ * installation begins, unless otherwise set to be skipped by
1026
+ * skipFormattingDisks. This means that this list also includes disks
1027
+ * that appear in skipFormattingDisks. This property is managed by the
1028
+ * service and cannot be modified by the user.
1029
+ */
1030
+ disksToBeFormatted?: string;
1031
+ /**
1032
+ * A comma-seperated list of host disks that the service will avoid
1033
+ * formatting.
1034
+ */
1035
+ skipFormattingDisks?: string;
1036
+ }
1037
+ export interface HostCreateParams {
1038
+ hostId: string;
1039
+ discoveryAgentVersion?: string;
1040
+ }
1041
+ export interface HostIgnitionParams {
1042
+ config?: string;
1043
+ }
1044
+ export declare type HostList = Host[];
1045
+ export interface HostNetwork {
1046
+ cidr?: string;
1047
+ hostIds?: string[];
1048
+ }
1049
+ export interface HostProgress {
1050
+ currentStage?: HostStage;
1051
+ progressInfo?: string;
1052
+ }
1053
+ export interface HostProgressInfo {
1054
+ installationPercentage?: number;
1055
+ currentStage?: HostStage;
1056
+ progressInfo?: string;
1057
+ /**
1058
+ * Time at which the current progress stage started.
1059
+ */
1060
+ stageStartedAt?: string;
1061
+ /**
1062
+ * Time at which the current progress stage was last updated.
1063
+ */
1064
+ stageUpdatedAt?: string;
1065
+ }
1066
+ export interface HostRegistrationResponse {
1067
+ /**
1068
+ * Indicates the type of this object. Will be 'Host' if this is a complete object or 'HostLink' if it is just a link, or
1069
+ * 'AddToExistingClusterHost' for host being added to existing OCP cluster, or
1070
+ *
1071
+ */
1072
+ kind: 'Host' | 'AddToExistingClusterHost';
1073
+ /**
1074
+ * Unique identifier of the object.
1075
+ */
1076
+ id: string;
1077
+ /**
1078
+ * Self link.
1079
+ */
1080
+ href: string;
1081
+ /**
1082
+ * The cluster that this host is associated with.
1083
+ */
1084
+ clusterId?: string;
1085
+ /**
1086
+ * The infra-env that this host is associated with.
1087
+ */
1088
+ infraEnvId?: string;
1089
+ status: 'discovering' | 'known' | 'disconnected' | 'insufficient' | 'disabled' | 'preparing-for-installation' | 'preparing-failed' | 'preparing-successful' | 'pending-for-input' | 'installing' | 'installing-in-progress' | 'installing-pending-user-action' | 'resetting-pending-user-action' | 'installed' | 'error' | 'resetting' | 'added-to-existing-cluster' | 'cancelled' | 'binding' | 'unbinding' | 'unbinding-pending-user-action' | 'known-unbound' | 'disconnected-unbound' | 'insufficient-unbound' | 'disabled-unbound' | 'discovering-unbound' | 'reclaiming' | 'reclaiming-rebooting';
1090
+ statusInfo: string;
1091
+ /**
1092
+ * JSON-formatted string containing the validation results for each validation id grouped by category (network, hardware, etc.)
1093
+ */
1094
+ validationsInfo?: string;
1095
+ /**
1096
+ * The progress of log collection or empty if logs are not applicable
1097
+ */
1098
+ logsInfo?: LogsState;
1099
+ /**
1100
+ * The last time that the host status was updated.
1101
+ */
1102
+ statusUpdatedAt?: string;
1103
+ progress?: HostProgressInfo;
1104
+ /**
1105
+ * Time at which the current progress stage started.
1106
+ */
1107
+ stageStartedAt?: string;
1108
+ /**
1109
+ * Time at which the current progress stage was last updated.
1110
+ */
1111
+ stageUpdatedAt?: string;
1112
+ progressStages?: HostStage[];
1113
+ connectivity?: string;
1114
+ /**
1115
+ * Contains a serialized apiVipConnectivityResponse
1116
+ */
1117
+ apiVipConnectivity?: string;
1118
+ tangConnectivity?: string;
1119
+ inventory?: string;
1120
+ freeAddresses?: string;
1121
+ /**
1122
+ * The configured NTP sources on the host.
1123
+ */
1124
+ ntpSources?: string;
1125
+ /**
1126
+ * Additional information about disks, formatted as JSON.
1127
+ */
1128
+ disksInfo?: string;
1129
+ role?: HostRole;
1130
+ suggestedRole?: HostRole;
1131
+ bootstrap?: boolean;
1132
+ logsCollectedAt?: string;
1133
+ logsStartedAt?: string;
1134
+ /**
1135
+ * Installer version.
1136
+ */
1137
+ installerVersion?: string;
1138
+ /**
1139
+ * Contains the inventory disk path, This field is replaced by installationDiskId field and used for backward compatability with the old UI.
1140
+ * example:
1141
+ * /dev/sda
1142
+ */
1143
+ installationDiskPath?: string;
1144
+ /**
1145
+ * Contains the inventory disk id to install on.
1146
+ */
1147
+ installationDiskId?: string;
1148
+ updatedAt?: string;
1149
+ createdAt?: string;
1150
+ /**
1151
+ * The last time the host's agent communicated with the service.
1152
+ */
1153
+ checkedInAt?: string;
1154
+ /**
1155
+ * The last time the host's agent tried to register in the service.
1156
+ */
1157
+ registeredAt?: string;
1158
+ discoveryAgentVersion?: string;
1159
+ requestedHostname?: string;
1160
+ userName?: string;
1161
+ mediaStatus?: 'connected' | 'disconnected';
1162
+ /**
1163
+ * swagger:ignore
1164
+ */
1165
+ deletedAt?: unknown;
1166
+ /**
1167
+ * Json formatted string containing the user overrides for the host's pointer ignition
1168
+ * example:
1169
+ * {"ignition": {"version": "3.1.0"}, "storage": {"files": [{"path": "/tmp/example", "contents": {"source": "data:text/plain;base64,aGVscGltdHJhcHBlZGluYXN3YWdnZXJzcGVj"}}]}}
1170
+ */
1171
+ ignitionConfigOverrides?: string;
1172
+ installerArgs?: string;
1173
+ /**
1174
+ * The time on the host as seconds since the Unix epoch.
1175
+ */
1176
+ timestamp?: number;
1177
+ machineConfigPoolName?: string;
1178
+ /**
1179
+ * Array of image statuses.
1180
+ */
1181
+ imagesStatus?: string;
1182
+ /**
1183
+ * The domain name resolution result.
1184
+ */
1185
+ domainNameResolutions?: string;
1186
+ /**
1187
+ * True if the token to fetch the ignition from ignitionEndpointUrl is set.
1188
+ */
1189
+ ignitionEndpointTokenSet?: boolean;
1190
+ /**
1191
+ * Json containing node's labels.
1192
+ */
1193
+ nodeLabels?: string;
1194
+ /**
1195
+ * A comma-separated list of disks that will be formatted once
1196
+ * installation begins, unless otherwise set to be skipped by
1197
+ * skipFormattingDisks. This means that this list also includes disks
1198
+ * that appear in skipFormattingDisks. This property is managed by the
1199
+ * service and cannot be modified by the user.
1200
+ */
1201
+ disksToBeFormatted?: string;
1202
+ /**
1203
+ * A comma-seperated list of host disks that the service will avoid
1204
+ * formatting.
1205
+ */
1206
+ skipFormattingDisks?: string;
1207
+ /**
1208
+ * Command for starting the next step runner
1209
+ */
1210
+ nextStepRunnerCommand?: {
1211
+ command?: string;
1212
+ args?: string[];
1213
+ /**
1214
+ * How long in seconds to wait before retrying registration if the command fails
1215
+ */
1216
+ retrySeconds?: number;
1217
+ };
1218
+ }
1219
+ export declare type HostRole = 'auto-assign' | 'master' | 'worker' | 'bootstrap';
1220
+ export declare type HostRoleUpdateParams = 'auto-assign' | 'master' | 'worker';
1221
+ export declare type HostStage = 'Starting installation' | 'Waiting for control plane' | 'Waiting for bootkube' | 'Waiting for controller' | 'Installing' | 'Writing image to disk' | 'Rebooting' | 'Waiting for ignition' | 'Configuring' | 'Joined' | 'Done' | 'Failed';
1222
+ export interface HostStaticNetworkConfig {
1223
+ /**
1224
+ * yaml string that can be processed by nmstate
1225
+ */
1226
+ networkYaml?: string;
1227
+ /**
1228
+ * mapping of host macs to logical interfaces used in the network yaml
1229
+ */
1230
+ macInterfaceMap?: MacInterfaceMap;
1231
+ }
1232
+ export interface HostTypeHardwareRequirements {
1233
+ /**
1234
+ * Host requirements that can be quantified
1235
+ */
1236
+ quantitative?: ClusterHostRequirementsDetails;
1237
+ /**
1238
+ * Host requirements that cannot be quantified at the time of calculation. Descriptions or formulas of requiements
1239
+ */
1240
+ qualitative?: string[];
1241
+ }
1242
+ export interface HostTypeHardwareRequirementsWrapper {
1243
+ /**
1244
+ * Requirements towards a worker node
1245
+ */
1246
+ worker?: HostTypeHardwareRequirements;
1247
+ /**
1248
+ * Requirements towards a master node
1249
+ */
1250
+ master?: HostTypeHardwareRequirements;
1251
+ }
1252
+ export interface HostUpdateParams {
1253
+ hostRole?: 'auto-assign' | 'master' | 'worker';
1254
+ hostName?: string;
1255
+ disksSelectedConfig?: DiskConfigParams[];
1256
+ /**
1257
+ * Allows changing the host's skipFormattingDisks parameter
1258
+ */
1259
+ disksSkipFormatting?: DiskSkipFormattingParams[];
1260
+ machineConfigPoolName?: string;
1261
+ /**
1262
+ * A string which will be used as Authorization Bearer token to fetch the ignition from ignitionEndpointUrl.
1263
+ */
1264
+ ignitionEndpointToken?: string;
1265
+ /**
1266
+ * Labels to be added to the corresponding node.
1267
+ */
1268
+ nodeLabels?: NodeLabelParams[];
1269
+ }
1270
+ export declare type HostValidationId = 'connected' | 'media-connected' | 'has-inventory' | 'has-min-cpu-cores' | 'has-min-valid-disks' | 'has-min-memory' | 'machine-cidr-defined' | 'has-cpu-cores-for-role' | 'has-memory-for-role' | 'hostname-unique' | 'hostname-valid' | 'belongs-to-machine-cidr' | 'ignition-downloadable' | 'belongs-to-majority-group' | 'valid-platform-network-settings' | 'ntp-synced' | 'container-images-available' | 'lso-requirements-satisfied' | 'ocs-requirements-satisfied' | 'odf-requirements-satisfied' | 'lvm-requirements-satisfied' | 'sufficient-installation-disk-speed' | 'cnv-requirements-satisfied' | 'sufficient-network-latency-requirement-for-role' | 'sufficient-packet-loss-requirement-for-role' | 'has-default-route' | 'api-domain-name-resolved-correctly' | 'api-int-domain-name-resolved-correctly' | 'apps-domain-name-resolved-correctly' | 'compatible-with-cluster-platform' | 'dns-wildcard-not-configured' | 'disk-encryption-requirements-satisfied' | 'non-overlapping-subnets' | 'vsphere-disk-uuid-enabled' | 'compatible-agent' | 'no-skip-installation-disk' | 'no-skip-missing-disk' | 'service-has-sufficient-spoke-kube-api-access';
1271
+ /**
1272
+ * Explicit ignition endpoint overrides the default ignition endpoint.
1273
+ */
1274
+ export interface IgnitionEndpoint {
1275
+ /**
1276
+ * The URL for the ignition endpoint.
1277
+ */
1278
+ url?: string;
1279
+ /**
1280
+ * base64 encoded CA certficate to be used when contacting the URL via https.
1281
+ */
1282
+ caCertificate?: string;
1283
+ }
1284
+ export interface ImageCreateParams {
1285
+ /**
1286
+ * SSH public key for debugging the installation.
1287
+ */
1288
+ sshPublicKey?: string;
1289
+ staticNetworkConfig?: HostStaticNetworkConfig[];
1290
+ /**
1291
+ * Type of image that should be generated.
1292
+ */
1293
+ imageType?: ImageType;
1294
+ }
1295
+ export interface ImageInfo {
1296
+ /**
1297
+ * SSH public key for debugging the installation.
1298
+ */
1299
+ sshPublicKey?: string;
1300
+ sizeBytes?: number;
1301
+ downloadUrl?: string;
1302
+ /**
1303
+ * Image generator version.
1304
+ */
1305
+ generatorVersion?: string;
1306
+ createdAt?: string;
1307
+ expiresAt?: string;
1308
+ /**
1309
+ * static network configuration string in the format expected by discovery ignition generation
1310
+ */
1311
+ staticNetworkConfig?: string;
1312
+ type?: ImageType;
1313
+ }
1314
+ export declare type ImageType = 'full-iso' | 'minimal-iso';
1315
+ export interface ImportClusterParams {
1316
+ /**
1317
+ * OpenShift cluster name.
1318
+ */
1319
+ name: string;
1320
+ /**
1321
+ * The domain name used to reach the OpenShift cluster API.
1322
+ */
1323
+ apiVipDnsname: string;
1324
+ /**
1325
+ * Version of the OpenShift cluster.
1326
+ */
1327
+ openshiftVersion?: string;
1328
+ /**
1329
+ * The id of the OCP cluster, that hosts will be added to
1330
+ */
1331
+ openshiftClusterId: string;
1332
+ }
1333
+ export interface InfraEnv {
1334
+ /**
1335
+ * Indicates the type of this object.
1336
+ */
1337
+ kind: 'InfraEnv';
1338
+ /**
1339
+ * Unique identifier of the object.
1340
+ */
1341
+ id: string;
1342
+ /**
1343
+ * Self link.
1344
+ */
1345
+ href: string;
1346
+ /**
1347
+ * Version of the OpenShift cluster (used to infer the RHCOS version - temporary until generic logic implemented).
1348
+ */
1349
+ openshiftVersion?: string;
1350
+ /**
1351
+ * Name of the infra-env.
1352
+ */
1353
+ name: string;
1354
+ userName?: string;
1355
+ orgId?: string;
1356
+ emailDomain?: string;
1357
+ proxy?: Proxy;
1358
+ /**
1359
+ * A comma-separated list of NTP sources (name or IP) going to be added to all the hosts.
1360
+ */
1361
+ additionalNtpSources?: string;
1362
+ /**
1363
+ * SSH public key for debugging the installation.
1364
+ */
1365
+ sshAuthorizedKey?: string;
1366
+ /**
1367
+ * True if the pull secret has been added to the cluster.
1368
+ */
1369
+ pullSecretSet?: boolean;
1370
+ /**
1371
+ * static network configuration string in the format expected by discovery ignition generation.
1372
+ */
1373
+ staticNetworkConfig?: string;
1374
+ type: ImageType;
1375
+ /**
1376
+ * Json formatted string containing the user overrides for the initial ignition config.
1377
+ */
1378
+ ignitionConfigOverride?: string;
1379
+ /**
1380
+ * If set, all hosts that register will be associated with the specified cluster.
1381
+ */
1382
+ clusterId?: string;
1383
+ sizeBytes?: number;
1384
+ downloadUrl?: string;
1385
+ /**
1386
+ * Image generator version.
1387
+ */
1388
+ generatorVersion?: string;
1389
+ /**
1390
+ * The last time that this infra-env was updated.
1391
+ */
1392
+ updatedAt: string;
1393
+ createdAt: string;
1394
+ expiresAt?: string;
1395
+ /**
1396
+ * The CPU architecture of the image (x86_64/arm64/etc).
1397
+ */
1398
+ cpuArchitecture?: string;
1399
+ }
1400
+ export interface InfraEnvCreateParams {
1401
+ /**
1402
+ * Name of the infra-env.
1403
+ */
1404
+ name: string;
1405
+ proxy?: Proxy;
1406
+ /**
1407
+ * A comma-separated list of NTP sources (name or IP) going to be added to all the hosts.
1408
+ */
1409
+ additionalNtpSources?: string;
1410
+ /**
1411
+ * SSH public key for debugging the installation.
1412
+ */
1413
+ sshAuthorizedKey?: string;
1414
+ /**
1415
+ * The pull secret obtained from Red Hat OpenShift Cluster Manager at console.redhat.com/openshift/install/pull-secret.
1416
+ */
1417
+ pullSecret: string;
1418
+ staticNetworkConfig?: HostStaticNetworkConfig[];
1419
+ imageType?: ImageType;
1420
+ /**
1421
+ * JSON formatted string containing the user overrides for the initial ignition config.
1422
+ */
1423
+ ignitionConfigOverride?: string;
1424
+ /**
1425
+ * If set, all hosts that register will be associated with the specified cluster.
1426
+ */
1427
+ clusterId?: string;
1428
+ /**
1429
+ * Version of the OpenShift cluster (used to infer the RHCOS version - temporary until generic logic implemented).
1430
+ */
1431
+ openshiftVersion?: string;
1432
+ /**
1433
+ * The CPU architecture of the image (x86_64/arm64/etc).
1434
+ */
1435
+ cpuArchitecture?: string;
1436
+ }
1437
+ export declare type InfraEnvList = InfraEnv[];
1438
+ export interface InfraEnvUpdateParams {
1439
+ proxy?: Proxy;
1440
+ /**
1441
+ * A comma-separated list of NTP sources (name or IP) going to be added to all the hosts.
1442
+ */
1443
+ additionalNtpSources?: string;
1444
+ /**
1445
+ * SSH public key for debugging the installation.
1446
+ */
1447
+ sshAuthorizedKey?: string;
1448
+ /**
1449
+ * The pull secret obtained from Red Hat OpenShift Cluster Manager at console.redhat.com/openshift/install/pull-secret.
1450
+ */
1451
+ pullSecret?: string;
1452
+ staticNetworkConfig?: HostStaticNetworkConfig[];
1453
+ imageType?: ImageType;
1454
+ /**
1455
+ * JSON formatted string containing the user overrides for the initial ignition config.
1456
+ */
1457
+ ignitionConfigOverride?: string;
1458
+ }
1459
+ export interface InfraError {
1460
+ /**
1461
+ * Numeric identifier of the error.
1462
+ */
1463
+ code: number;
1464
+ /**
1465
+ * Human-readable description of the error.
1466
+ */
1467
+ message: string;
1468
+ }
1469
+ export declare type IngressCertParams = string;
1470
+ export interface InstallCmdRequest {
1471
+ /**
1472
+ * Cluster id
1473
+ */
1474
+ clusterId: string;
1475
+ /**
1476
+ * Infra env id
1477
+ */
1478
+ infraEnvId: string;
1479
+ /**
1480
+ * Host id
1481
+ */
1482
+ hostId: string;
1483
+ role: HostRole;
1484
+ /**
1485
+ * Boot device to write image on
1486
+ */
1487
+ bootDevice: string;
1488
+ /**
1489
+ * Assisted installer controller image
1490
+ */
1491
+ controllerImage: string;
1492
+ /**
1493
+ * Assisted installer image
1494
+ */
1495
+ installerImage: string;
1496
+ /**
1497
+ * Guaranteed availability of the installed cluster. 'Full' installs a Highly-Available cluster
1498
+ * over multiple master nodes whereas 'None' installs a full cluster over one node.
1499
+ *
1500
+ */
1501
+ highAvailabilityMode?: 'Full' | 'None';
1502
+ proxy?: Proxy;
1503
+ /**
1504
+ * Check CVO status if needed
1505
+ */
1506
+ checkCvo?: boolean;
1507
+ /**
1508
+ * List of disks to format
1509
+ */
1510
+ disksToFormat?: string[];
1511
+ /**
1512
+ * Must-gather images to use
1513
+ */
1514
+ mustGatherImage?: string;
1515
+ /**
1516
+ * Machine config operator image
1517
+ */
1518
+ mcoImage?: string;
1519
+ /**
1520
+ * Version of the OpenShift cluster.
1521
+ */
1522
+ openshiftVersion?: string;
1523
+ /**
1524
+ * List of service ips
1525
+ */
1526
+ serviceIps?: string[];
1527
+ /**
1528
+ * Core-os installer addtional args
1529
+ */
1530
+ installerArgs?: string;
1531
+ /**
1532
+ * Skip formatting installation disk
1533
+ */
1534
+ skipInstallationDiskCleanup?: boolean;
1535
+ }
1536
+ export interface InstallerArgsParams {
1537
+ /**
1538
+ * List of additional arguments passed to coreos-installer
1539
+ * example:
1540
+ * --append-karg,ip=192.0.2.2::192.0.2.254:255.255.255.0:core0.example.com:enp1s0:none,--save-partindex,1,-n
1541
+ */
1542
+ args?: string[];
1543
+ }
1544
+ export interface Interface {
1545
+ ipv6Addresses?: string[];
1546
+ vendor?: string;
1547
+ name?: string;
1548
+ hasCarrier?: boolean;
1549
+ product?: string;
1550
+ mtu?: number;
1551
+ ipv4Addresses?: string[];
1552
+ biosdevname?: string;
1553
+ clientId?: string;
1554
+ macAddress?: string;
1555
+ flags?: string[];
1556
+ speedMbps?: number;
1557
+ type?: string;
1558
+ }
1559
+ export interface Inventory {
1560
+ hostname?: string;
1561
+ bmcAddress?: string;
1562
+ interfaces?: Interface[];
1563
+ disks?: Disk[];
1564
+ boot?: Boot;
1565
+ systemVendor?: SystemVendor;
1566
+ bmcV6address?: string;
1567
+ memory?: Memory;
1568
+ cpu?: Cpu;
1569
+ gpus?: Gpu[];
1570
+ routes?: Route[];
1571
+ tpmVersion?: 'none' | '1.2' | '2.0';
1572
+ }
1573
+ export interface IoPerf {
1574
+ /**
1575
+ * 99th percentile of fsync duration in milliseconds
1576
+ */
1577
+ syncDuration?: number;
1578
+ }
1579
+ export interface L2Connectivity {
1580
+ outgoingNic?: string;
1581
+ outgoingIpAddress?: string;
1582
+ remoteIpAddress?: string;
1583
+ remoteMac?: string;
1584
+ successful?: boolean;
1585
+ }
1586
+ export interface L3Connectivity {
1587
+ outgoingNic?: string;
1588
+ remoteIpAddress?: string;
1589
+ successful?: boolean;
1590
+ /**
1591
+ * Average round trip time in milliseconds.
1592
+ */
1593
+ averageRttMs?: number;
1594
+ /**
1595
+ * Percentage of packets lost during connectivity check.
1596
+ */
1597
+ packetLossPercentage?: number;
1598
+ }
1599
+ export declare type ListManagedDomains = ManagedDomain[];
1600
+ export declare type ListManifests = Manifest[];
1601
+ export interface ListVersions {
1602
+ versions?: Versions;
1603
+ releaseTag?: string;
1604
+ }
1605
+ export interface LogsGatherCmdRequest {
1606
+ /**
1607
+ * Cluster id
1608
+ */
1609
+ clusterId: string;
1610
+ /**
1611
+ * Infra env id
1612
+ */
1613
+ infraEnvId: string;
1614
+ /**
1615
+ * Host id
1616
+ */
1617
+ hostId: string;
1618
+ /**
1619
+ * Host is bootstrap or not
1620
+ */
1621
+ bootstrap: boolean;
1622
+ /**
1623
+ * Run installer gather logs
1624
+ */
1625
+ installerGather: boolean;
1626
+ /**
1627
+ * List of master ips
1628
+ */
1629
+ masterIps?: string[];
1630
+ }
1631
+ export interface LogsProgressParams {
1632
+ /**
1633
+ * The state of collecting logs.
1634
+ */
1635
+ logsState: LogsState;
1636
+ }
1637
+ export declare type LogsState = 'requested' | 'collecting' | 'completed' | 'timeout' | '';
1638
+ export declare type LogsType = 'host' | 'controller' | 'all' | '';
1639
+ export declare type MacInterfaceMap = {
1640
+ /**
1641
+ * mac address present on the host
1642
+ */
1643
+ macAddress?: string;
1644
+ /**
1645
+ * nic name used in the yaml, which relates 1:1 to the mac address
1646
+ */
1647
+ logicalNicName?: string;
1648
+ }[];
1649
+ /**
1650
+ * A network that all hosts belonging to the cluster should have an interface with IP address in. The VIPs (if exist) belong to this network.
1651
+ */
1652
+ export interface MachineNetwork {
1653
+ /**
1654
+ * The cluster that this network is associated with.
1655
+ */
1656
+ clusterId?: string;
1657
+ /**
1658
+ * The IP block address pool.
1659
+ */
1660
+ cidr?: Subnet;
1661
+ }
1662
+ export interface ManagedDomain {
1663
+ domain?: string;
1664
+ provider?: 'route53';
1665
+ }
1666
+ export interface Manifest {
1667
+ /**
1668
+ * The folder that contains the files. Manifests can be placed in 'manifests' or 'openshift' directories.
1669
+ */
1670
+ folder?: 'manifests' | 'openshift';
1671
+ /**
1672
+ * The file name prefaced by the folder that contains it.
1673
+ */
1674
+ fileName?: string;
1675
+ }
1676
+ export interface Memory {
1677
+ physicalBytes?: number;
1678
+ usableBytes?: number;
1679
+ /**
1680
+ * The method by which the physical memory was set
1681
+ */
1682
+ physicalBytesMethod?: MemoryMethod;
1683
+ }
1684
+ export declare type MemoryMethod = 'dmidecode' | 'ghw' | 'meminfo';
1685
+ export interface MonitoredOperator {
1686
+ /**
1687
+ * The cluster that this operator is associated with.
1688
+ */
1689
+ clusterId?: string;
1690
+ /**
1691
+ * Unique name of the operator.
1692
+ */
1693
+ name?: string;
1694
+ /**
1695
+ * Namespace where to deploy an operator. Only some operators require a namespace.
1696
+ */
1697
+ namespace?: string;
1698
+ /**
1699
+ * The name of the subscription of the operator.
1700
+ */
1701
+ subscriptionName?: string;
1702
+ operatorType?: OperatorType;
1703
+ /**
1704
+ * Blob of operator-dependent parameters that are required for installation.
1705
+ */
1706
+ properties?: string;
1707
+ /**
1708
+ * Positive number represents a timeout in seconds for the operator to be available.
1709
+ */
1710
+ timeoutSeconds?: number;
1711
+ status?: OperatorStatus;
1712
+ /**
1713
+ * Detailed information about the operator state.
1714
+ */
1715
+ statusInfo?: string;
1716
+ /**
1717
+ * Time at which the operator was last updated.
1718
+ */
1719
+ statusUpdatedAt?: string;
1720
+ }
1721
+ export declare type MonitoredOperatorsList = MonitoredOperator[];
1722
+ export interface NextStepCmdRequest {
1723
+ /**
1724
+ * Infra env id
1725
+ */
1726
+ infraEnvId: string;
1727
+ /**
1728
+ * Host id
1729
+ */
1730
+ hostId: string;
1731
+ /**
1732
+ * Agent image version
1733
+ */
1734
+ agentVersion: string;
1735
+ }
1736
+ export interface NodeLabelParams {
1737
+ /**
1738
+ * The key for the label's key-value pair.
1739
+ */
1740
+ key: string;
1741
+ /**
1742
+ * The value for the label's key-value pair.
1743
+ */
1744
+ value: string;
1745
+ }
1746
+ export interface NtpSource {
1747
+ /**
1748
+ * NTP source name or IP.
1749
+ */
1750
+ sourceName?: string;
1751
+ /**
1752
+ * Indication of state of an NTP source.
1753
+ */
1754
+ sourceState?: SourceState;
1755
+ }
1756
+ export interface NtpSynchronizationRequest {
1757
+ /**
1758
+ * A comma-separated list of NTP sources (name or IP) going to be added to all the hosts.
1759
+ */
1760
+ ntpSource: string;
1761
+ }
1762
+ export interface NtpSynchronizationResponse {
1763
+ ntpSources?: NtpSource[];
1764
+ }
1765
+ export interface OpenshiftVersion {
1766
+ /**
1767
+ * Name of the version to be presented to the user.
1768
+ */
1769
+ displayName: string;
1770
+ /**
1771
+ * Level of support of the version.
1772
+ */
1773
+ supportLevel: 'beta' | 'production' | 'maintenance';
1774
+ /**
1775
+ * Indication that the version is the recommended one.
1776
+ */
1777
+ default?: boolean;
1778
+ /**
1779
+ * Available CPU architectures.
1780
+ */
1781
+ cpuArchitectures: string[];
1782
+ }
1783
+ export interface OpenshiftVersions {
1784
+ [name: string]: OpenshiftVersion;
1785
+ }
1786
+ export interface OperatorCreateParams {
1787
+ name?: string;
1788
+ /**
1789
+ * Blob of operator-dependent parameters that are required for installation.
1790
+ */
1791
+ properties?: string;
1792
+ }
1793
+ export interface OperatorHardwareRequirements {
1794
+ /**
1795
+ * Unique name of the operator. Corresponds to name property of the monitored-operator, i.e. "lso", "cnv", etc.
1796
+ */
1797
+ operatorName?: string;
1798
+ /**
1799
+ * List of other operator unique names that are required to be installed. Corresponds to name property of the monitored-operator, i.e. "lso", "cnv", etc.
1800
+ */
1801
+ dependencies?: string[];
1802
+ requirements?: HostTypeHardwareRequirementsWrapper;
1803
+ }
1804
+ export interface OperatorHostRequirements {
1805
+ /**
1806
+ * Name of the operator
1807
+ */
1808
+ operatorName?: string;
1809
+ /**
1810
+ * Host requirements for the operator
1811
+ */
1812
+ requirements?: ClusterHostRequirementsDetails;
1813
+ }
1814
+ export interface OperatorMonitorReport {
1815
+ /**
1816
+ * Unique name of the operator.
1817
+ */
1818
+ name?: string;
1819
+ status?: OperatorStatus;
1820
+ /**
1821
+ * Detailed information about the operator state.
1822
+ */
1823
+ statusInfo?: string;
1824
+ }
1825
+ export declare type OperatorProperties = OperatorProperty[];
1826
+ export interface OperatorProperty {
1827
+ /**
1828
+ * Name of the property
1829
+ */
1830
+ name?: string;
1831
+ /**
1832
+ * Type of the property
1833
+ */
1834
+ dataType?: 'boolean' | 'string' | 'integer' | 'float';
1835
+ /**
1836
+ * Indicates whether the property is reqired
1837
+ */
1838
+ mandatory?: boolean;
1839
+ /**
1840
+ * Values to select from
1841
+ */
1842
+ options?: string[];
1843
+ /**
1844
+ * Description of a property
1845
+ */
1846
+ description?: string;
1847
+ /**
1848
+ * Default value for the property
1849
+ */
1850
+ defaultValue?: string;
1851
+ }
1852
+ /**
1853
+ * Represents the operator state.
1854
+ */
1855
+ export declare type OperatorStatus = 'failed' | 'progressing' | 'available';
1856
+ /**
1857
+ * Kind of operator. Different types are monitored by the service differently.
1858
+ */
1859
+ export declare type OperatorType = 'builtin' | 'olm';
1860
+ export interface OsImage {
1861
+ /**
1862
+ * Version of the OpenShift cluster.
1863
+ */
1864
+ openshiftVersion: string;
1865
+ /**
1866
+ * The CPU architecture of the image (x86_64/arm64/etc).
1867
+ */
1868
+ cpuArchitecture: string;
1869
+ /**
1870
+ * The base OS image used for the discovery iso.
1871
+ */
1872
+ url: string;
1873
+ /**
1874
+ * Build ID of the OS image.
1875
+ */
1876
+ version: string;
1877
+ }
1878
+ export declare type OsImages = OsImage[];
1879
+ /**
1880
+ * The configuration for the specific platform upon which to perform the installation.
1881
+ */
1882
+ export interface Platform {
1883
+ type: PlatformType;
1884
+ }
1885
+ export declare type PlatformType = 'baremetal' | 'nutanix' | 'vsphere' | 'none';
1886
+ export interface PreflightHardwareRequirements {
1887
+ /**
1888
+ * Preflight operators hardware requirements
1889
+ */
1890
+ operators?: OperatorHardwareRequirements[];
1891
+ /**
1892
+ * Preflight OCP requirements
1893
+ */
1894
+ ocp?: HostTypeHardwareRequirementsWrapper;
1895
+ }
1896
+ export interface PresignedUrl {
1897
+ /**
1898
+ * Pre-signed URL for downloading the infra-env discovery image.
1899
+ */
1900
+ url: string;
1901
+ /**
1902
+ * Expiration time for the URL token.
1903
+ */
1904
+ expiresAt?: string;
1905
+ }
1906
+ export interface Proxy {
1907
+ /**
1908
+ * A proxy URL to use for creating HTTP connections outside the cluster.
1909
+ * http://\<username\>:\<pswd\>@\<ip\>:\<port\>
1910
+ *
1911
+ */
1912
+ httpProxy?: string;
1913
+ /**
1914
+ * A proxy URL to use for creating HTTPS connections outside the cluster.
1915
+ * http://\<username\>:\<pswd\>@\<ip\>:\<port\>
1916
+ *
1917
+ */
1918
+ httpsProxy?: string;
1919
+ /**
1920
+ * An "*" or a comma-separated list of destination domain names, domains, IP addresses, or other network CIDRs to exclude from proxying.
1921
+ */
1922
+ noProxy?: string;
1923
+ }
1924
+ /**
1925
+ * Information sent to the agent for rebooting a host into discovery.
1926
+ */
1927
+ export interface RebootForReclaimRequest {
1928
+ /**
1929
+ * The base directory on the host that contains the /boot folder. The host needs to
1930
+ * chroot into this directory in order to properly reboot.
1931
+ */
1932
+ hostFsMountDir: string;
1933
+ }
1934
+ export interface ReleaseImage {
1935
+ /**
1936
+ * Version of the OpenShift cluster.
1937
+ */
1938
+ openshiftVersion: string;
1939
+ /**
1940
+ * (DEPRECATED) The CPU architecture of the image (x86_64/arm64/etc).
1941
+ */
1942
+ cpuArchitecture: string;
1943
+ /**
1944
+ * List of CPU architectures provided by the image.
1945
+ */
1946
+ cpuArchitectures?: string[];
1947
+ /**
1948
+ * The installation image of the OpenShift cluster.
1949
+ */
1950
+ url: string;
1951
+ /**
1952
+ * OCP version from the release metadata.
1953
+ */
1954
+ version: string;
1955
+ /**
1956
+ * Indication that the version is the recommended one.
1957
+ */
1958
+ default?: boolean;
1959
+ /**
1960
+ * Level of support of the version.
1961
+ */
1962
+ supportLevel?: 'beta' | 'production' | 'maintenance';
1963
+ }
1964
+ export declare type ReleaseImages = ReleaseImage[];
1965
+ export interface Route {
1966
+ /**
1967
+ * Interface to which packets for this route will be sent
1968
+ */
1969
+ interface?: string;
1970
+ /**
1971
+ * Gateway address where the packets are sent
1972
+ */
1973
+ gateway?: string;
1974
+ /**
1975
+ * The destination network or destination host
1976
+ */
1977
+ destination?: string;
1978
+ /**
1979
+ * Defines whether this is an IPv4 (4) or IPv6 route (6)
1980
+ */
1981
+ family?: number;
1982
+ /**
1983
+ * Route priority metric
1984
+ */
1985
+ metric?: number;
1986
+ }
1987
+ /**
1988
+ * IP address block for service IP blocks.
1989
+ */
1990
+ export interface ServiceNetwork {
1991
+ /**
1992
+ * A network to use for service IP addresses. If you need to access the services from an external network, configure load balancers and routers to manage the traffic.
1993
+ */
1994
+ clusterId?: string;
1995
+ /**
1996
+ * The IP block address pool.
1997
+ */
1998
+ cidr?: Subnet;
1999
+ }
2000
+ export declare type SourceState = 'synced' | 'combined' | 'notCombined' | 'error' | 'variable' | 'unreachable';
2001
+ export interface Step {
2002
+ stepType?: StepType;
2003
+ stepId?: string;
2004
+ args?: string[];
2005
+ }
2006
+ export interface StepReply {
2007
+ stepType?: StepType;
2008
+ stepId?: string;
2009
+ exitCode?: number;
2010
+ output?: string;
2011
+ error?: string;
2012
+ }
2013
+ export declare type StepType = 'connectivity-check' | 'execute' | 'inventory' | 'install' | 'free-network-addresses' | 'dhcp-lease-allocate' | 'api-vip-connectivity-check' | 'tang-connectivity-check' | 'ntp-synchronizer' | 'installation-disk-speed-check' | 'container-image-availability' | 'domain-resolution' | 'stop-installation' | 'logs-gather' | 'next-step-runner' | 'upgrade-agent' | 'download-boot-artifacts' | 'reboot-for-reclaim';
2014
+ export interface Steps {
2015
+ nextInstructionSeconds?: number;
2016
+ /**
2017
+ * What to do after finishing to run step instructions
2018
+ */
2019
+ postStepAction?: 'exit' | 'continue';
2020
+ instructions?: Step[];
2021
+ }
2022
+ export declare type StepsReply = StepReply[];
2023
+ export declare type Subnet = string;
2024
+ export interface SystemVendor {
2025
+ serialNumber?: string;
2026
+ productName?: string;
2027
+ manufacturer?: string;
2028
+ /**
2029
+ * Whether the machine appears to be a virtual machine or not
2030
+ */
2031
+ virtual?: boolean;
2032
+ }
2033
+ export interface TangConnectivityRequest {
2034
+ /**
2035
+ * JSON-formatted string containing additional information regarding tang's configuration
2036
+ */
2037
+ tangServers: string;
2038
+ }
2039
+ export interface TangConnectivityResponse {
2040
+ /**
2041
+ * Tang check result.
2042
+ */
2043
+ isSuccess?: boolean;
2044
+ tangServerResponse?: {
2045
+ /**
2046
+ * Tang URL.
2047
+ */
2048
+ tangUrl?: string;
2049
+ /**
2050
+ * Tang response payload.
2051
+ */
2052
+ payload?: string;
2053
+ signatures?: {
2054
+ protected?: string;
2055
+ signature?: string;
2056
+ }[];
2057
+ }[];
2058
+ }
2059
+ export interface UpgradeAgentRequest {
2060
+ /**
2061
+ * Full image reference of the image that the agent should upgrade to, for example
2062
+ * `quay.io/registry-proxy.engineering.redhat.com/rh-osbs/openshift4-assisted-installer-agent-rhel8:v1.0.0-142`.
2063
+ *
2064
+ */
2065
+ agentImage?: string;
2066
+ }
2067
+ export interface UpgradeAgentResponse {
2068
+ /**
2069
+ * Full image reference of the image that the agent has upgraded to, for example
2070
+ * `quay.io/registry-proxy.engineering.redhat.com/rh-osbs/openshift4-assisted-installer-agent-rhel8:v1.0.0-142`.
2071
+ *
2072
+ */
2073
+ agentImage?: string;
2074
+ result?: UpgradeAgentResult;
2075
+ }
2076
+ /**
2077
+ * Agent upgrade result.
2078
+ */
2079
+ export declare type UpgradeAgentResult = 'success' | 'failure';
2080
+ export interface Usage {
2081
+ /**
2082
+ * Unique idenftifier of the feature
2083
+ */
2084
+ id?: string;
2085
+ /**
2086
+ * name of the feature to track
2087
+ */
2088
+ name?: string;
2089
+ /**
2090
+ * additional properties of the feature
2091
+ */
2092
+ data?: {
2093
+ [name: string]: Record<string, unknown>;
2094
+ };
2095
+ }
2096
+ export interface V2ClusterUpdateParams {
2097
+ /**
2098
+ * OpenShift cluster name.
2099
+ */
2100
+ name?: string;
2101
+ /**
2102
+ * Base domain of the cluster. All DNS records must be sub-domains of this base and include the cluster name.
2103
+ */
2104
+ baseDnsDomain?: string;
2105
+ /**
2106
+ * IP address block from which Pod IPs are allocated. This block must not overlap with existing physical networks. These IP addresses are used for the Pod network, and if you need to access the Pods from an external network, configure load balancers and routers to manage the traffic.
2107
+ */
2108
+ clusterNetworkCidr?: string;
2109
+ platform?: Platform;
2110
+ /**
2111
+ * The subnet prefix length to assign to each individual node. For example, if clusterNetworkHostPrefix is set to 23, then each node is assigned a /23 subnet out of the given cidr (clusterNetworkCIDR), which allows for 510 (2^(32 - 23) - 2) pod IPs addresses. If you are required to provide access to nodes from an external network, configure load balancers and routers to manage the traffic.
2112
+ */
2113
+ clusterNetworkHostPrefix?: number;
2114
+ /**
2115
+ * The IP address pool to use for service IP addresses. You can enter only one IP address pool. If you need to access the services from an external network, configure load balancers and routers to manage the traffic.
2116
+ */
2117
+ serviceNetworkCidr?: string;
2118
+ /**
2119
+ * The virtual IP used to reach the OpenShift cluster's API.
2120
+ */
2121
+ apiVip?: string;
2122
+ /**
2123
+ * The virtual IP used for cluster ingress traffic.
2124
+ */
2125
+ ingressVip?: string;
2126
+ /**
2127
+ * The domain name used to reach the OpenShift cluster API.
2128
+ */
2129
+ apiVipDnsName?: string;
2130
+ /**
2131
+ * A CIDR that all hosts belonging to the cluster should have an interfaces with IP address that belongs to this CIDR. The apiVip belongs to this CIDR.
2132
+ */
2133
+ machineNetworkCidr?: string;
2134
+ /**
2135
+ * The pull secret obtained from Red Hat OpenShift Cluster Manager at console.redhat.com/openshift/install/pull-secret.
2136
+ */
2137
+ pullSecret?: string;
2138
+ /**
2139
+ * SSH public key for debugging OpenShift nodes.
2140
+ */
2141
+ sshPublicKey?: string;
2142
+ /**
2143
+ * Indicate if virtual IP DHCP allocation mode is enabled.
2144
+ */
2145
+ vipDhcpAllocation?: boolean;
2146
+ /**
2147
+ * A proxy URL to use for creating HTTP connections outside the cluster.
2148
+ * http://\<username\>:\<pswd\>@\<ip\>:\<port\>
2149
+ *
2150
+ */
2151
+ httpProxy?: string;
2152
+ /**
2153
+ * A proxy URL to use for creating HTTPS connections outside the cluster.
2154
+ * http://\<username\>:\<pswd\>@\<ip\>:\<port\>
2155
+ *
2156
+ */
2157
+ httpsProxy?: string;
2158
+ /**
2159
+ * An "*" or a comma-separated list of destination domain names, domains, IP addresses, or other network CIDRs to exclude from proxying.
2160
+ */
2161
+ noProxy?: string;
2162
+ /**
2163
+ * Indicate if the networking is managed by the user.
2164
+ */
2165
+ userManagedNetworking?: boolean;
2166
+ /**
2167
+ * A comma-separated list of NTP sources (name or IP) going to be added to all the hosts.
2168
+ */
2169
+ additionalNtpSource?: string;
2170
+ /**
2171
+ * List of OLM operators to be installed.
2172
+ */
2173
+ olmOperators?: OperatorCreateParams[];
2174
+ /**
2175
+ * Enable/disable hyperthreading on master nodes, worker nodes, or all nodes.
2176
+ */
2177
+ hyperthreading?: 'masters' | 'workers' | 'all' | 'none';
2178
+ /**
2179
+ * The desired network type used.
2180
+ */
2181
+ networkType?: 'OpenShiftSDN' | 'OVNKubernetes';
2182
+ /**
2183
+ * Schedule workloads on masters
2184
+ */
2185
+ schedulableMasters?: boolean;
2186
+ /**
2187
+ * Cluster networks that are associated with this cluster.
2188
+ */
2189
+ clusterNetworks?: ClusterNetwork[];
2190
+ /**
2191
+ * Service networks that are associated with this cluster.
2192
+ */
2193
+ serviceNetworks?: ServiceNetwork[];
2194
+ /**
2195
+ * Machine networks that are associated with this cluster.
2196
+ */
2197
+ machineNetworks?: MachineNetwork[];
2198
+ /**
2199
+ * Installation disks encryption mode and host roles to be applied.
2200
+ */
2201
+ diskEncryption?: DiskEncryption;
2202
+ /**
2203
+ * Explicit ignition endpoint overrides the default ignition endpoint.
2204
+ */
2205
+ ignitionEndpoint?: IgnitionEndpoint;
2206
+ /**
2207
+ * A comma-separated list of tags that are associated to the cluster.
2208
+ */
2209
+ tags?: string;
2210
+ }
2211
+ export interface V2Events {
2212
+ clusterId?: string;
2213
+ hostId?: string;
2214
+ infraEnvId?: string;
2215
+ categories?: string[];
2216
+ }
2217
+ export interface V2InfraEnvs {
2218
+ clusterId?: string;
2219
+ owner?: string;
2220
+ }
2221
+ export interface VersionedHostRequirements {
2222
+ /**
2223
+ * Version of the component for which requirements are defined
2224
+ */
2225
+ version?: string;
2226
+ /**
2227
+ * Master node requirements
2228
+ */
2229
+ master?: ClusterHostRequirementsDetails;
2230
+ /**
2231
+ * Worker node requirements
2232
+ */
2233
+ worker?: ClusterHostRequirementsDetails;
2234
+ /**
2235
+ * Single node OpenShift node requirements
2236
+ */
2237
+ sno?: ClusterHostRequirementsDetails;
2238
+ }
2239
+ export interface Versions {
2240
+ [name: string]: string;
2241
+ }