@openshift-assisted/types 2.13.0-cim → 2.14.1-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,14 @@ 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;
370
+ /**
371
+ * Specifies the required number of control plane nodes that should be part of the cluster.
372
+ */
373
+ controlPlaneCount?: number;
366
374
  }
367
375
  export interface ClusterCreateParams {
368
376
  /**
@@ -581,8 +589,7 @@ export interface ClusterProgressInfo {
581
589
  finalizingStagePercentage?: number;
582
590
  finalizingStage?: FinalizingStage;
583
591
  finalizingStageStartedAt?: string; // date-time
584
- nodeUpdaterStartedAt?: string; // date-time
585
- nodeUpdaterFinishedAt?: string; // date-time
592
+ finalizingStageTimedOut?: boolean;
586
593
  }
587
594
  export type ClusterValidationId =
588
595
  | 'machine-cidr-defined'
@@ -607,8 +614,15 @@ export type ClusterValidationId =
607
614
  | 'cnv-requirements-satisfied'
608
615
  | 'lvm-requirements-satisfied'
609
616
  | 'mce-requirements-satisfied'
617
+ | 'mtv-requirements-satisfied'
610
618
  | 'network-type-valid'
611
- | 'platform-requirements-satisfied';
619
+ | 'platform-requirements-satisfied'
620
+ | 'node-feature-discovery-requirements-satisfied'
621
+ | 'nvidia-gpu-requirements-satisfied'
622
+ | 'pipelines-requirements-satisfied'
623
+ | 'servicemesh-requirements-satisfied'
624
+ | 'serverless-requirements-satisfied'
625
+ | 'openshift-ai-requirements-satisfied';
612
626
  export interface CompletionParams {
613
627
  isSuccess: boolean;
614
628
  errorInfo?: string;
@@ -691,7 +705,7 @@ export interface CreateManifestParams {
691
705
  /**
692
706
  * The name of the manifest to customize the installed OCP cluster.
693
707
  */
694
- fileName: string; // ^[^/]*\.(yaml|yml|json)$
708
+ fileName: string; // ^[^\/]*\.(json|ya?ml(\.patch_?[a-zA-Z0-9_]*)?)$
695
709
  /**
696
710
  * base64 encoded manifest content.
697
711
  */
@@ -767,6 +781,7 @@ export interface Disk {
767
781
  sizeBytes?: number;
768
782
  bootable?: boolean;
769
783
  removable?: boolean;
784
+ partitionTypes?: string;
770
785
  /**
771
786
  * Whether the disk appears to be an installation media or not
772
787
  */
@@ -787,6 +802,7 @@ export interface Disk {
787
802
  * A comma-separated list of disk names that this disk belongs to
788
803
  */
789
804
  holders?: string;
805
+ iscsi?: Iscsi;
790
806
  }
791
807
  export interface DiskConfigParams {
792
808
  id: string;
@@ -865,6 +881,10 @@ export interface DomainResolutionResponse {
865
881
  * The IPv6 addresses of the domain, empty if none
866
882
  */
867
883
  ipv6Addresses?: string /* ipv6 */[];
884
+ /**
885
+ * The cnames that were resolved for the domain, empty if none
886
+ */
887
+ cnames?: string[];
868
888
  }[];
869
889
  }
870
890
  /**
@@ -967,6 +987,7 @@ export type FeatureSupportLevelId =
967
987
  | 'LSO'
968
988
  | 'CNV'
969
989
  | 'MCE'
990
+ | 'MTV'
970
991
  | 'NUTANIX_INTEGRATION'
971
992
  | 'BAREMETAL_PLATFORM'
972
993
  | 'NONE_PLATFORM'
@@ -982,17 +1003,23 @@ export type FeatureSupportLevelId =
982
1003
  | 'SKIP_MCO_REBOOT'
983
1004
  | 'EXTERNAL_PLATFORM'
984
1005
  | 'OVN_NETWORK_TYPE'
985
- | 'SDN_NETWORK_TYPE';
1006
+ | 'SDN_NETWORK_TYPE'
1007
+ | 'NODE_FEATURE_DISCOVERY'
1008
+ | 'NVIDIA_GPU'
1009
+ | 'PIPELINES'
1010
+ | 'SERVICEMESH'
1011
+ | 'SERVERLESS'
1012
+ | 'OPENSHIFT_AI';
986
1013
  /**
987
1014
  * Cluster finalizing stage managed by controller
988
1015
  */
989
1016
  export type FinalizingStage =
990
- | 'Waiting for finalizing'
991
1017
  | 'Waiting for cluster operators'
992
1018
  | 'Adding router ca'
993
- | 'Waiting for olm operators'
994
- | 'Applying manifests'
1019
+ | 'Applying olm manifests'
1020
+ | 'Waiting for olm operators csv initialization'
995
1021
  | 'Waiting for olm operators csv'
1022
+ | 'Waiting for OLM operator setup jobs'
996
1023
  | 'Done';
997
1024
  export type FreeAddressesList = string /* ipv4 */[];
998
1025
  export type FreeAddressesRequest =
@@ -1140,6 +1167,10 @@ export interface Host {
1140
1167
  * The last time the host's agent communicated with the service.
1141
1168
  */
1142
1169
  checkedInAt?: string; // date-time
1170
+ /**
1171
+ * Indicate that connection to assisted service was timed out when soft timeout is enabled.
1172
+ */
1173
+ connectionTimedOut?: boolean;
1143
1174
  /**
1144
1175
  * The last time the host's agent tried to register in the service.
1145
1176
  */
@@ -1343,6 +1374,10 @@ export interface HostRegistrationResponse {
1343
1374
  * The last time the host's agent communicated with the service.
1344
1375
  */
1345
1376
  checkedInAt?: string; // date-time
1377
+ /**
1378
+ * Indicate that connection to assisted service was timed out when soft timeout is enabled.
1379
+ */
1380
+ connectionTimedOut?: boolean;
1346
1381
  /**
1347
1382
  * The last time the host's agent tried to register in the service.
1348
1383
  */
@@ -1466,6 +1501,10 @@ export interface HostUpdateParams {
1466
1501
  * A string which will be used as Authorization Bearer token to fetch the ignition from ignitionEndpointUrl.
1467
1502
  */
1468
1503
  ignitionEndpointToken?: string;
1504
+ /**
1505
+ * JSON-formatted string of additional HTTP headers when fetching the ignition.
1506
+ */
1507
+ ignitionEndpointHttpHeaders?: IgnitionEndpointHttpHeadersParams[];
1469
1508
  /**
1470
1509
  * Labels to be added to the corresponding node.
1471
1510
  */
@@ -1495,6 +1534,7 @@ export type HostValidationId =
1495
1534
  | 'odf-requirements-satisfied'
1496
1535
  | 'lvm-requirements-satisfied'
1497
1536
  | 'mce-requirements-satisfied'
1537
+ | 'mtv-requirements-satisfied'
1498
1538
  | 'sufficient-installation-disk-speed'
1499
1539
  | 'cnv-requirements-satisfied'
1500
1540
  | 'sufficient-network-latency-requirement-for-role'
@@ -1512,7 +1552,14 @@ export type HostValidationId =
1512
1552
  | 'compatible-agent'
1513
1553
  | 'no-skip-installation-disk'
1514
1554
  | 'no-skip-missing-disk'
1515
- | 'no-ip-collisions-in-network';
1555
+ | 'no-ip-collisions-in-network'
1556
+ | 'no-iscsi-nic-belongs-to-machine-cidr'
1557
+ | 'node-feature-discovery-requirements-satisfied'
1558
+ | 'nvidia-gpu-requirements-satisfied'
1559
+ | 'pipelines-requirements-satisfied'
1560
+ | 'servicemesh-requirements-satisfied'
1561
+ | 'serverless-requirements-satisfied'
1562
+ | 'openshift-ai-requirements-satisfied';
1516
1563
  /**
1517
1564
  * Explicit ignition endpoint overrides the default ignition endpoint.
1518
1565
  */
@@ -1526,6 +1573,16 @@ export interface IgnitionEndpoint {
1526
1573
  */
1527
1574
  caCertificate?: string;
1528
1575
  }
1576
+ export interface IgnitionEndpointHttpHeadersParams {
1577
+ /**
1578
+ * The key for the http header's key-value pair.
1579
+ */
1580
+ key: string;
1581
+ /**
1582
+ * The value for the http header's key-value pair.
1583
+ */
1584
+ value: string;
1585
+ }
1529
1586
  export interface IgnoredValidations {
1530
1587
  /**
1531
1588
  * 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 +1791,10 @@ export interface InfraEnvUpdateParams {
1734
1791
  * Allows users to change the additionalTrustBundle infra-env field
1735
1792
  */
1736
1793
  additionalTrustBundle?: string;
1794
+ /**
1795
+ * Version of the OS image
1796
+ */
1797
+ openshiftVersion?: string;
1737
1798
  }
1738
1799
  export interface InfraError {
1739
1800
  /**
@@ -1832,6 +1893,10 @@ export interface InstallCmdRequest {
1832
1893
  * If true, assisted service will attempt to skip MCO reboot
1833
1894
  */
1834
1895
  enableSkipMcoReboot?: boolean;
1896
+ /**
1897
+ * If true, notify number of reboots by assisted controller
1898
+ */
1899
+ notifyNumReboots?: boolean;
1835
1900
  }
1836
1901
  export interface InstallerArgsParams {
1837
1902
  /**
@@ -1877,6 +1942,12 @@ export interface IoPerf {
1877
1942
  syncDuration?: number;
1878
1943
  }
1879
1944
  export type Ip = string; // ^(?:(?:(?:[0-9]{1,3}\.){3}[0-9]{1,3})|(?:(?:[0-9a-fA-F]*:[0-9a-fA-F]*){2,}))?$
1945
+ export interface Iscsi {
1946
+ /**
1947
+ * Host IP address used to reach iSCSI target
1948
+ */
1949
+ hostIpAddress?: string;
1950
+ }
1880
1951
  /**
1881
1952
  * pair of [operation, argument] specifying the argument and what operation should be applied on it.
1882
1953
  */
@@ -2009,6 +2080,10 @@ export interface Manifest {
2009
2080
  * The file name prefaced by the folder that contains it.
2010
2081
  */
2011
2082
  fileName?: string;
2083
+ /**
2084
+ * Describes whether manifest is sourced from a user or created by the system.
2085
+ */
2086
+ manifestSource?: 'user' | 'system';
2012
2087
  }
2013
2088
  export interface Memory {
2014
2089
  physicalBytes?: number;
@@ -2111,7 +2186,7 @@ export interface OpenshiftVersion {
2111
2186
  /**
2112
2187
  * Level of support of the version.
2113
2188
  */
2114
- supportLevel: 'beta' | 'production' | 'maintenance';
2189
+ supportLevel: 'beta' | 'production' | 'maintenance' | 'end-of-life';
2115
2190
  /**
2116
2191
  * Indication that the version is the recommended one.
2117
2192
  */
@@ -2292,6 +2367,10 @@ export interface RebootForReclaimRequest {
2292
2367
  */
2293
2368
  hostFsMountDir: string;
2294
2369
  }
2370
+ /**
2371
+ * Release channel.
2372
+ */
2373
+ export type ReleaseChannel = 'candidate' | 'fast' | 'stable' | 'eus';
2295
2374
  export interface ReleaseImage {
2296
2375
  /**
2297
2376
  * Version of the OpenShift cluster.
@@ -2320,9 +2399,20 @@ export interface ReleaseImage {
2320
2399
  /**
2321
2400
  * Level of support of the version.
2322
2401
  */
2323
- supportLevel?: 'beta' | 'production' | 'maintenance';
2402
+ supportLevel?: 'beta' | 'production' | 'maintenance' | 'end-of-life';
2324
2403
  }
2325
2404
  export type ReleaseImages = ReleaseImage[];
2405
+ export interface ReleaseSource {
2406
+ /**
2407
+ * Version of the OpenShift cluster.
2408
+ * example:
2409
+ * 4.14
2410
+ */
2411
+ openshiftVersion: string;
2412
+ multiCpuArchitectures: ('x86_64' | 'aarch64' | 'arm64' | 'ppc64le' | 's390x')[];
2413
+ upgradeChannels: UpgradeChannel[];
2414
+ }
2415
+ export type ReleaseSources = ReleaseSource[];
2326
2416
  export interface Route {
2327
2417
  /**
2328
2418
  * Interface to which packets for this route will be sent
@@ -2462,7 +2552,7 @@ export interface UpdateManifestParams {
2462
2552
  /**
2463
2553
  * The file name for the manifest to modify.
2464
2554
  */
2465
- fileName: string; // ^[^/]*\.(yaml|yml|json)$
2555
+ fileName: string; // ^[^\/]*\.(json|ya?ml(\.patch_?[a-zA-Z0-9_]*)?)$
2466
2556
  /**
2467
2557
  * The new folder for the manifest. Manifests can be placed in 'manifests' or 'openshift' directories.
2468
2558
  */
@@ -2470,7 +2560,7 @@ export interface UpdateManifestParams {
2470
2560
  /**
2471
2561
  * The new file name for the manifest.
2472
2562
  */
2473
- updatedFileName?: string; // ^[^/]*\.(yaml|yml|json)$
2563
+ updatedFileName?: string; // ^[^\/]*\.(json|ya?ml(\.patch_?[a-zA-Z0-9_]*)?)$
2474
2564
  /**
2475
2565
  * The new base64 encoded manifest content.
2476
2566
  */
@@ -2497,6 +2587,13 @@ export interface UpgradeAgentResponse {
2497
2587
  * Agent upgrade result.
2498
2588
  */
2499
2589
  export type UpgradeAgentResult = 'success' | 'failure';
2590
+ export interface UpgradeChannel {
2591
+ /**
2592
+ * The CPU architecture of the image.
2593
+ */
2594
+ cpuArchitecture: 'x86_64' | 'aarch64' | 'arm64' | 'ppc64le' | 's390x' | 'multi';
2595
+ channels: ReleaseChannel[];
2596
+ }
2500
2597
  export interface Usage {
2501
2598
  /**
2502
2599
  * Unique idenftifier of the feature
@@ -2646,6 +2743,10 @@ export interface V2InfraEnvs {
2646
2743
  clusterId?: string;
2647
2744
  owner?: string;
2648
2745
  }
2746
+ export interface V2OpenshiftVersions {
2747
+ version?: string;
2748
+ onlyLatest?: boolean;
2749
+ }
2649
2750
  export interface V2SupportLevelsArchitectures {
2650
2751
  openshiftVersion: string;
2651
2752
  }
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.1-cim"
51
51
  }