@openshift-assisted/types 2.13.0-cim → 2.14.0-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.
@@ -363,6 +363,10 @@ export interface Cluster {
363
363
  */
364
364
  tags?: string;
365
365
  'last-installation-preparation'?: LastInstallationPreparation;
366
+ /**
367
+ * Indication if organization soft timeouts is enabled for the cluster.
368
+ */
369
+ orgSoftTimeoutsEnabled?: boolean;
366
370
  }
367
371
  export interface ClusterCreateParams {
368
372
  /**
@@ -581,8 +585,7 @@ export interface ClusterProgressInfo {
581
585
  finalizingStagePercentage?: number;
582
586
  finalizingStage?: FinalizingStage;
583
587
  finalizingStageStartedAt?: string; // date-time
584
- nodeUpdaterStartedAt?: string; // date-time
585
- nodeUpdaterFinishedAt?: string; // date-time
588
+ finalizingStageTimedOut?: boolean;
586
589
  }
587
590
  export type ClusterValidationId =
588
591
  | 'machine-cidr-defined'
@@ -607,8 +610,15 @@ export type ClusterValidationId =
607
610
  | 'cnv-requirements-satisfied'
608
611
  | 'lvm-requirements-satisfied'
609
612
  | 'mce-requirements-satisfied'
613
+ | 'mtv-requirements-satisfied'
610
614
  | 'network-type-valid'
611
- | 'platform-requirements-satisfied';
615
+ | 'platform-requirements-satisfied'
616
+ | 'node-feature-discovery-requirements-satisfied'
617
+ | 'nvidia-gpu-requirements-satisfied'
618
+ | 'pipelines-requirements-satisfied'
619
+ | 'servicemesh-requirements-satisfied'
620
+ | 'serverless-requirements-satisfied'
621
+ | 'openshift-ai-requirements-satisfied';
612
622
  export interface CompletionParams {
613
623
  isSuccess: boolean;
614
624
  errorInfo?: string;
@@ -691,7 +701,7 @@ export interface CreateManifestParams {
691
701
  /**
692
702
  * The name of the manifest to customize the installed OCP cluster.
693
703
  */
694
- fileName: string; // ^[^/]*\.(yaml|yml|json)$
704
+ fileName: string; // ^[^\/]*\.(json|ya?ml(\.patch_?[a-zA-Z0-9_]*)?)$
695
705
  /**
696
706
  * base64 encoded manifest content.
697
707
  */
@@ -767,6 +777,7 @@ export interface Disk {
767
777
  sizeBytes?: number;
768
778
  bootable?: boolean;
769
779
  removable?: boolean;
780
+ partitionTypes?: string;
770
781
  /**
771
782
  * Whether the disk appears to be an installation media or not
772
783
  */
@@ -787,6 +798,7 @@ export interface Disk {
787
798
  * A comma-separated list of disk names that this disk belongs to
788
799
  */
789
800
  holders?: string;
801
+ iscsi?: Iscsi;
790
802
  }
791
803
  export interface DiskConfigParams {
792
804
  id: string;
@@ -865,6 +877,10 @@ export interface DomainResolutionResponse {
865
877
  * The IPv6 addresses of the domain, empty if none
866
878
  */
867
879
  ipv6Addresses?: string /* ipv6 */[];
880
+ /**
881
+ * The cnames that were resolved for the domain, empty if none
882
+ */
883
+ cnames?: string[];
868
884
  }[];
869
885
  }
870
886
  /**
@@ -967,6 +983,7 @@ export type FeatureSupportLevelId =
967
983
  | 'LSO'
968
984
  | 'CNV'
969
985
  | 'MCE'
986
+ | 'MTV'
970
987
  | 'NUTANIX_INTEGRATION'
971
988
  | 'BAREMETAL_PLATFORM'
972
989
  | 'NONE_PLATFORM'
@@ -982,17 +999,23 @@ export type FeatureSupportLevelId =
982
999
  | 'SKIP_MCO_REBOOT'
983
1000
  | 'EXTERNAL_PLATFORM'
984
1001
  | 'OVN_NETWORK_TYPE'
985
- | 'SDN_NETWORK_TYPE';
1002
+ | 'SDN_NETWORK_TYPE'
1003
+ | 'NODE_FEATURE_DISCOVERY'
1004
+ | 'NVIDIA_GPU'
1005
+ | 'PIPELINES'
1006
+ | 'SERVICEMESH'
1007
+ | 'SERVERLESS'
1008
+ | 'OPENSHIFT_AI';
986
1009
  /**
987
1010
  * Cluster finalizing stage managed by controller
988
1011
  */
989
1012
  export type FinalizingStage =
990
- | 'Waiting for finalizing'
991
1013
  | 'Waiting for cluster operators'
992
1014
  | 'Adding router ca'
993
- | 'Waiting for olm operators'
994
- | 'Applying manifests'
1015
+ | 'Applying olm manifests'
1016
+ | 'Waiting for olm operators csv initialization'
995
1017
  | 'Waiting for olm operators csv'
1018
+ | 'Waiting for OLM operator setup jobs'
996
1019
  | 'Done';
997
1020
  export type FreeAddressesList = string /* ipv4 */[];
998
1021
  export type FreeAddressesRequest =
@@ -1140,6 +1163,10 @@ export interface Host {
1140
1163
  * The last time the host's agent communicated with the service.
1141
1164
  */
1142
1165
  checkedInAt?: string; // date-time
1166
+ /**
1167
+ * Indicate that connection to assisted service was timed out when soft timeout is enabled.
1168
+ */
1169
+ connectionTimedOut?: boolean;
1143
1170
  /**
1144
1171
  * The last time the host's agent tried to register in the service.
1145
1172
  */
@@ -1343,6 +1370,10 @@ export interface HostRegistrationResponse {
1343
1370
  * The last time the host's agent communicated with the service.
1344
1371
  */
1345
1372
  checkedInAt?: string; // date-time
1373
+ /**
1374
+ * Indicate that connection to assisted service was timed out when soft timeout is enabled.
1375
+ */
1376
+ connectionTimedOut?: boolean;
1346
1377
  /**
1347
1378
  * The last time the host's agent tried to register in the service.
1348
1379
  */
@@ -1466,6 +1497,10 @@ export interface HostUpdateParams {
1466
1497
  * A string which will be used as Authorization Bearer token to fetch the ignition from ignitionEndpointUrl.
1467
1498
  */
1468
1499
  ignitionEndpointToken?: string;
1500
+ /**
1501
+ * JSON-formatted string of additional HTTP headers when fetching the ignition.
1502
+ */
1503
+ ignitionEndpointHttpHeaders?: IgnitionEndpointHttpHeadersParams[];
1469
1504
  /**
1470
1505
  * Labels to be added to the corresponding node.
1471
1506
  */
@@ -1495,6 +1530,7 @@ export type HostValidationId =
1495
1530
  | 'odf-requirements-satisfied'
1496
1531
  | 'lvm-requirements-satisfied'
1497
1532
  | 'mce-requirements-satisfied'
1533
+ | 'mtv-requirements-satisfied'
1498
1534
  | 'sufficient-installation-disk-speed'
1499
1535
  | 'cnv-requirements-satisfied'
1500
1536
  | 'sufficient-network-latency-requirement-for-role'
@@ -1512,7 +1548,14 @@ export type HostValidationId =
1512
1548
  | 'compatible-agent'
1513
1549
  | 'no-skip-installation-disk'
1514
1550
  | 'no-skip-missing-disk'
1515
- | 'no-ip-collisions-in-network';
1551
+ | 'no-ip-collisions-in-network'
1552
+ | 'no-iscsi-nic-belongs-to-machine-cidr'
1553
+ | 'node-feature-discovery-requirements-satisfied'
1554
+ | 'nvidia-gpu-requirements-satisfied'
1555
+ | 'pipelines-requirements-satisfied'
1556
+ | 'servicemesh-requirements-satisfied'
1557
+ | 'serverless-requirements-satisfied'
1558
+ | 'openshift-ai-requirements-satisfied';
1516
1559
  /**
1517
1560
  * Explicit ignition endpoint overrides the default ignition endpoint.
1518
1561
  */
@@ -1526,6 +1569,16 @@ export interface IgnitionEndpoint {
1526
1569
  */
1527
1570
  caCertificate?: string;
1528
1571
  }
1572
+ export interface IgnitionEndpointHttpHeadersParams {
1573
+ /**
1574
+ * The key for the http header's key-value pair.
1575
+ */
1576
+ key: string;
1577
+ /**
1578
+ * The value for the http header's key-value pair.
1579
+ */
1580
+ value: string;
1581
+ }
1529
1582
  export interface IgnoredValidations {
1530
1583
  /**
1531
1584
  * JSON-formatted list of cluster validation IDs that will be ignored for all hosts that belong to this cluster. It may also contain a list with a single string "all" to ignore all cluster validations. Some validations cannot be ignored.
@@ -1734,6 +1787,10 @@ export interface InfraEnvUpdateParams {
1734
1787
  * Allows users to change the additionalTrustBundle infra-env field
1735
1788
  */
1736
1789
  additionalTrustBundle?: string;
1790
+ /**
1791
+ * Version of the OS image
1792
+ */
1793
+ openshiftVersion?: string;
1737
1794
  }
1738
1795
  export interface InfraError {
1739
1796
  /**
@@ -1832,6 +1889,10 @@ export interface InstallCmdRequest {
1832
1889
  * If true, assisted service will attempt to skip MCO reboot
1833
1890
  */
1834
1891
  enableSkipMcoReboot?: boolean;
1892
+ /**
1893
+ * If true, notify number of reboots by assisted controller
1894
+ */
1895
+ notifyNumReboots?: boolean;
1835
1896
  }
1836
1897
  export interface InstallerArgsParams {
1837
1898
  /**
@@ -1877,6 +1938,12 @@ export interface IoPerf {
1877
1938
  syncDuration?: number;
1878
1939
  }
1879
1940
  export type Ip = string; // ^(?:(?:(?:[0-9]{1,3}\.){3}[0-9]{1,3})|(?:(?:[0-9a-fA-F]*:[0-9a-fA-F]*){2,}))?$
1941
+ export interface Iscsi {
1942
+ /**
1943
+ * Host IP address used to reach iSCSI target
1944
+ */
1945
+ hostIpAddress?: string;
1946
+ }
1880
1947
  /**
1881
1948
  * pair of [operation, argument] specifying the argument and what operation should be applied on it.
1882
1949
  */
@@ -2009,6 +2076,10 @@ export interface Manifest {
2009
2076
  * The file name prefaced by the folder that contains it.
2010
2077
  */
2011
2078
  fileName?: string;
2079
+ /**
2080
+ * Describes whether manifest is sourced from a user or created by the system.
2081
+ */
2082
+ manifestSource?: 'user' | 'system';
2012
2083
  }
2013
2084
  export interface Memory {
2014
2085
  physicalBytes?: number;
@@ -2111,7 +2182,7 @@ export interface OpenshiftVersion {
2111
2182
  /**
2112
2183
  * Level of support of the version.
2113
2184
  */
2114
- supportLevel: 'beta' | 'production' | 'maintenance';
2185
+ supportLevel: 'beta' | 'production' | 'maintenance' | 'end-of-life';
2115
2186
  /**
2116
2187
  * Indication that the version is the recommended one.
2117
2188
  */
@@ -2292,6 +2363,10 @@ export interface RebootForReclaimRequest {
2292
2363
  */
2293
2364
  hostFsMountDir: string;
2294
2365
  }
2366
+ /**
2367
+ * Release channel.
2368
+ */
2369
+ export type ReleaseChannel = 'candidate' | 'fast' | 'stable' | 'eus';
2295
2370
  export interface ReleaseImage {
2296
2371
  /**
2297
2372
  * Version of the OpenShift cluster.
@@ -2320,9 +2395,20 @@ export interface ReleaseImage {
2320
2395
  /**
2321
2396
  * Level of support of the version.
2322
2397
  */
2323
- supportLevel?: 'beta' | 'production' | 'maintenance';
2398
+ supportLevel?: 'beta' | 'production' | 'maintenance' | 'end-of-life';
2324
2399
  }
2325
2400
  export type ReleaseImages = ReleaseImage[];
2401
+ export interface ReleaseSource {
2402
+ /**
2403
+ * Version of the OpenShift cluster.
2404
+ * example:
2405
+ * 4.14
2406
+ */
2407
+ openshiftVersion: string;
2408
+ multiCpuArchitectures: ('x86_64' | 'aarch64' | 'arm64' | 'ppc64le' | 's390x')[];
2409
+ upgradeChannels: UpgradeChannel[];
2410
+ }
2411
+ export type ReleaseSources = ReleaseSource[];
2326
2412
  export interface Route {
2327
2413
  /**
2328
2414
  * Interface to which packets for this route will be sent
@@ -2462,7 +2548,7 @@ export interface UpdateManifestParams {
2462
2548
  /**
2463
2549
  * The file name for the manifest to modify.
2464
2550
  */
2465
- fileName: string; // ^[^/]*\.(yaml|yml|json)$
2551
+ fileName: string; // ^[^\/]*\.(json|ya?ml(\.patch_?[a-zA-Z0-9_]*)?)$
2466
2552
  /**
2467
2553
  * The new folder for the manifest. Manifests can be placed in 'manifests' or 'openshift' directories.
2468
2554
  */
@@ -2470,7 +2556,7 @@ export interface UpdateManifestParams {
2470
2556
  /**
2471
2557
  * The new file name for the manifest.
2472
2558
  */
2473
- updatedFileName?: string; // ^[^/]*\.(yaml|yml|json)$
2559
+ updatedFileName?: string; // ^[^\/]*\.(json|ya?ml(\.patch_?[a-zA-Z0-9_]*)?)$
2474
2560
  /**
2475
2561
  * The new base64 encoded manifest content.
2476
2562
  */
@@ -2497,6 +2583,13 @@ export interface UpgradeAgentResponse {
2497
2583
  * Agent upgrade result.
2498
2584
  */
2499
2585
  export type UpgradeAgentResult = 'success' | 'failure';
2586
+ export interface UpgradeChannel {
2587
+ /**
2588
+ * The CPU architecture of the image.
2589
+ */
2590
+ cpuArchitecture: 'x86_64' | 'aarch64' | 'arm64' | 'ppc64le' | 's390x' | 'multi';
2591
+ channels: ReleaseChannel[];
2592
+ }
2500
2593
  export interface Usage {
2501
2594
  /**
2502
2595
  * Unique idenftifier of the feature
@@ -2646,6 +2739,10 @@ export interface V2InfraEnvs {
2646
2739
  clusterId?: string;
2647
2740
  owner?: string;
2648
2741
  }
2742
+ export interface V2OpenshiftVersions {
2743
+ version?: string;
2744
+ onlyLatest?: boolean;
2745
+ }
2649
2746
  export interface V2SupportLevelsArchitectures {
2650
2747
  openshiftVersion: string;
2651
2748
  }
package/package.json CHANGED
@@ -47,5 +47,5 @@
47
47
  "js-yaml": "^4.1.0",
48
48
  "sw2dts": "^2.6.3"
49
49
  },
50
- "version": "2.13.0-cim"
50
+ "version": "2.14.0-cim"
51
51
  }