@openshift-assisted/types 2.9.15-cim → 2.10.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.
@@ -15,6 +15,16 @@ export interface ApiVip {
15
15
  */
16
16
  verification?: VipVerification;
17
17
  }
18
+ export interface ApiVipConnectivityAdditionalRequestHeader {
19
+ /**
20
+ * Value of the header's key when making a request
21
+ */
22
+ key?: string;
23
+ /**
24
+ * The value corresponding to the header key
25
+ */
26
+ value?: string;
27
+ }
18
28
  export interface ApiVipConnectivityRequest {
19
29
  /**
20
30
  * URL address of the API.
@@ -29,9 +39,13 @@ export interface ApiVipConnectivityRequest {
29
39
  */
30
40
  caCertificate?: string;
31
41
  /**
32
- * A string which will be used as Authorization Bearer token to fetch the ignition from ignitionEndpointUrl.
42
+ * A string which will be used as Authorization Bearer token to fetch the ignition from ignitionEndpointUrl (DEPRECATED use requestHeaders to pass this token).
33
43
  */
34
44
  ignitionEndpointToken?: string;
45
+ /**
46
+ * Additional request headers to include when fetching the ignition from ignitionEndpointUrl.
47
+ */
48
+ requestHeaders?: ApiVipConnectivityAdditionalRequestHeader[];
35
49
  }
36
50
  /**
37
51
  * 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.
@@ -68,6 +82,7 @@ export interface BindHostParams {
68
82
  export interface Boot {
69
83
  currentBootMode?: string;
70
84
  pxeInterface?: string;
85
+ commandLine?: string;
71
86
  }
72
87
  export interface Cluster {
73
88
  /**
@@ -127,10 +142,6 @@ export interface Cluster {
127
142
  * 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.
128
143
  */
129
144
  serviceNetworkCidr?: string; // ^(?:(?:(?:[0-9]{1,3}\.){3}[0-9]{1,3}\/(?:(?:[0-9])|(?:[1-2][0-9])|(?:3[0-2])))|(?:(?:[0-9a-fA-F]*:[0-9a-fA-F]*){2,})/(?:(?:[0-9])|(?:[1-9][0-9])|(?:1[0-1][0-9])|(?:12[0-8])))$
130
- /**
131
- * (DEPRECATED) The virtual IP used to reach the OpenShift cluster's API.
132
- */
133
- apiVip?: string; // ^(?:(?:(?:[0-9]{1,3}\.){3}[0-9]{1,3})|(?:(?:[0-9a-fA-F]*:[0-9a-fA-F]*){2,}))$
134
145
  /**
135
146
  * The virtual IPs used to reach the OpenShift cluster's API. Enter one IP address for single-stack clusters, or up to two for dual-stack clusters (at most one IP address per IP stack used). The order of stacks should be the same as order of subnets in Cluster Networks, Service Networks, and Machine Networks.
136
147
  */
@@ -143,10 +154,6 @@ export interface Cluster {
143
154
  * 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.
144
155
  */
145
156
  machineNetworkCidr?: string; // ^(?:(?:(?:[0-9]{1,3}\.){3}[0-9]{1,3}\/(?:(?:[0-9])|(?:[1-2][0-9])|(?:3[0-2])))|(?:(?:[0-9a-fA-F]*:[0-9a-fA-F]*){2,})/(?:(?:[0-9])|(?:[1-9][0-9])|(?:1[0-1][0-9])|(?:12[0-8])))$
146
- /**
147
- * (DEPRECATED) The virtual IP used for cluster ingress traffic.
148
- */
149
- ingressVip?: string; // ^(?:(?:(?:[0-9]{1,3}\.){3}[0-9]{1,3})|(?:(?:[0-9a-fA-F]*:[0-9a-fA-F]*){2,}))$
150
157
  /**
151
158
  * The virtual IPs used for cluster ingress traffic. Enter one IP address for single-stack clusters, or up to two for dual-stack clusters (at most one IP address per IP stack used). The order of stacks should be the same as order of subnets in Cluster Networks, Service Networks, and Machine Networks.
152
159
  */
@@ -355,6 +362,7 @@ export interface Cluster {
355
362
  * A comma-separated list of tags that are associated to the cluster.
356
363
  */
357
364
  tags?: string;
365
+ 'last-installation-preparation'?: LastInstallationPreparation;
358
366
  }
359
367
  export interface ClusterCreateParams {
360
368
  /**
@@ -391,18 +399,10 @@ export interface ClusterCreateParams {
391
399
  * 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.
392
400
  */
393
401
  serviceNetworkCidr?: string; // ^(?:(?:(?:[0-9]{1,3}\.){3}[0-9]{1,3}\/(?:(?:[0-9])|(?:[1-2][0-9])|(?:3[0-2])))|(?:(?:[0-9a-fA-F]*:[0-9a-fA-F]*){2,})/(?:(?:[0-9])|(?:[1-9][0-9])|(?:1[0-1][0-9])|(?:12[0-8])))$
394
- /**
395
- * (DEPRECATED) The virtual IP used to reach the OpenShift cluster's API.
396
- */
397
- apiVip?: string; // ^(?:(?:(?:[0-9]{1,3}\.){3}[0-9]{1,3})|(?:(?:[0-9a-fA-F]*:[0-9a-fA-F]*){2,}))?$
398
402
  /**
399
403
  * The virtual IPs used to reach the OpenShift cluster's API. Enter one IP address for single-stack clusters, or up to two for dual-stack clusters (at most one IP address per IP stack used). The order of stacks should be the same as order of subnets in Cluster Networks, Service Networks, and Machine Networks.
400
404
  */
401
405
  apiVips?: ApiVip[];
402
- /**
403
- * (DEPRECATED) The virtual IP used for cluster ingress traffic.
404
- */
405
- ingressVip?: string; // ^(?:(?:(?:[0-9]{1,3}\.){3}[0-9]{1,3})|(?:(?:[0-9a-fA-F]*:[0-9a-fA-F]*){2,}))$
406
406
  /**
407
407
  * The virtual IPs used for cluster ingress traffic. Enter one IP address for single-stack clusters, or up to two for dual-stack clusters (at most one IP address per IP stack used). The order of stacks should be the same as order of subnets in Cluster Networks, Service Networks, and Machine Networks.
408
408
  */
@@ -504,6 +504,9 @@ export interface ClusterDefaultConfig {
504
504
  */
505
505
  forbiddenHostnames?: string[];
506
506
  }
507
+ export interface ClusterFinalizingProgress {
508
+ finalizingStage?: FinalizingStage;
509
+ }
507
510
  export interface ClusterHostRequirements {
508
511
  /**
509
512
  * Unique identifier of the host the requirements relate to.
@@ -576,6 +579,10 @@ export interface ClusterProgressInfo {
576
579
  preparingForInstallationStagePercentage?: number;
577
580
  installingStagePercentage?: number;
578
581
  finalizingStagePercentage?: number;
582
+ finalizingStage?: FinalizingStage;
583
+ finalizingStageStartedAt?: string; // date-time
584
+ nodeUpdaterStartedAt?: string; // date-time
585
+ nodeUpdaterFinishedAt?: string; // date-time
579
586
  }
580
587
  export type ClusterValidationId =
581
588
  | 'machine-cidr-defined'
@@ -971,7 +978,22 @@ export type FeatureSupportLevelId =
971
978
  | 'FULL_ISO'
972
979
  | 'EXTERNAL_PLATFORM_OCI'
973
980
  | 'DUAL_STACK'
974
- | 'PLATFORM_MANAGED_NETWORKING';
981
+ | 'PLATFORM_MANAGED_NETWORKING'
982
+ | 'SKIP_MCO_REBOOT'
983
+ | 'EXTERNAL_PLATFORM'
984
+ | 'OVN_NETWORK_TYPE'
985
+ | 'SDN_NETWORK_TYPE';
986
+ /**
987
+ * Cluster finalizing stage managed by controller
988
+ */
989
+ export type FinalizingStage =
990
+ | 'Waiting for finalizing'
991
+ | 'Waiting for cluster operators'
992
+ | 'Adding router ca'
993
+ | 'Waiting for olm operators'
994
+ | 'Applying manifests'
995
+ | 'Waiting for olm operators csv'
996
+ | 'Done';
975
997
  export type FreeAddressesList = string /* ipv4 */[];
976
998
  export type FreeAddressesRequest =
977
999
  string /* ^([0-9]{1,3}\.){3}[0-9]{1,3}\/[0-9]|[1-2][0-9]|3[0-2]?$ */[];
@@ -1200,6 +1222,10 @@ export interface HostProgressInfo {
1200
1222
  * Time at which the current progress stage was last updated.
1201
1223
  */
1202
1224
  stageUpdatedAt?: string; // date-time
1225
+ /**
1226
+ * Indicate of the current stage has been timed out.
1227
+ */
1228
+ stageTimedOut?: boolean;
1203
1229
  }
1204
1230
  export interface HostRegistrationResponse {
1205
1231
  /**
@@ -1802,6 +1828,10 @@ export interface InstallCmdRequest {
1802
1828
  * Skip formatting installation disk
1803
1829
  */
1804
1830
  skipInstallationDiskCleanup?: boolean;
1831
+ /**
1832
+ * If true, assisted service will attempt to skip MCO reboot
1833
+ */
1834
+ enableSkipMcoReboot?: boolean;
1805
1835
  }
1806
1836
  export interface InstallerArgsParams {
1807
1837
  /**
@@ -1890,6 +1920,19 @@ export interface L3Connectivity {
1890
1920
  */
1891
1921
  packetLossPercentage?: number; // double
1892
1922
  }
1923
+ /**
1924
+ * Gives the status of the last installation preparation (if any)
1925
+ */
1926
+ export interface LastInstallationPreparation {
1927
+ /**
1928
+ * The last installation preparation status
1929
+ */
1930
+ status?: 'notStarted' | 'failed' | 'success';
1931
+ /**
1932
+ * The reason for the preparation status if applicable
1933
+ */
1934
+ reason?: string;
1935
+ }
1893
1936
  export type ListManagedDomains = ManagedDomain[];
1894
1937
  export type ListManifests = Manifest[];
1895
1938
  export interface ListVersions {
@@ -2185,13 +2228,22 @@ export type OsImages = OsImage[];
2185
2228
  */
2186
2229
  export interface Platform {
2187
2230
  type: PlatformType;
2231
+ external?: PlatformExternal;
2232
+ }
2233
+ /**
2234
+ * Configuration used when installing with an external platform type.
2235
+ */
2236
+ export interface PlatformExternal {
2237
+ /**
2238
+ * Holds the arbitrary string representing the infrastructure provider name.
2239
+ */
2240
+ platformName?: string;
2188
2241
  /**
2189
- * Used by the service to indicate that the platform-specific components are not included in
2190
- * OpenShift and must be provided as manifests separately.
2242
+ * When set to external, this property will enable an external cloud provider.
2191
2243
  */
2192
- readonly isExternal?: boolean;
2244
+ cloudControllerManager?: '' | 'External';
2193
2245
  }
2194
- export type PlatformType = 'baremetal' | 'nutanix' | 'vsphere' | 'none' | 'oci';
2246
+ export type PlatformType = 'baremetal' | 'nutanix' | 'vsphere' | 'none' | 'external';
2195
2247
  export interface PreflightHardwareRequirements {
2196
2248
  /**
2197
2249
  * Preflight operators hardware requirements
@@ -2483,18 +2535,10 @@ export interface V2ClusterUpdateParams {
2483
2535
  * 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.
2484
2536
  */
2485
2537
  serviceNetworkCidr?: string; // ^(?:(?:(?:[0-9]{1,3}\.){3}[0-9]{1,3}\/(?:(?:[0-9])|(?:[1-2][0-9])|(?:3[0-2])))|(?:(?:[0-9a-fA-F]*:[0-9a-fA-F]*){2,})/(?:(?:[0-9])|(?:[1-9][0-9])|(?:1[0-1][0-9])|(?:12[0-8])))$
2486
- /**
2487
- * (DEPRECATED) The virtual IP used to reach the OpenShift cluster's API.
2488
- */
2489
- apiVip?: string; // ^(?:(?:(?:[0-9]{1,3}\.){3}[0-9]{1,3})|(?:(?:[0-9a-fA-F]*:[0-9a-fA-F]*){2,}))?$
2490
2538
  /**
2491
2539
  * The virtual IPs used to reach the OpenShift cluster's API. Enter one IP address for single-stack clusters, or up to two for dual-stack clusters (at most one IP address per IP stack used). The order of stacks should be the same as order of subnets in Cluster Networks, Service Networks, and Machine Networks.
2492
2540
  */
2493
2541
  apiVips?: ApiVip[];
2494
- /**
2495
- * (DEPRECATED) The virtual IP used for cluster ingress traffic.
2496
- */
2497
- ingressVip?: string; // ^(?:(?:(?:[0-9]{1,3}\.){3}[0-9]{1,3})|(?:(?:[0-9a-fA-F]*:[0-9a-fA-F]*){2,}))?$
2498
2542
  /**
2499
2543
  * The virtual IPs used for cluster ingress traffic. Enter one IP address for single-stack clusters, or up to two for dual-stack clusters (at most one IP address per IP stack used). The order of stacks should be the same as order of subnets in Cluster Networks, Service Networks, and Machine Networks.
2500
2544
  */
@@ -2608,7 +2652,8 @@ export interface V2SupportLevelsArchitectures {
2608
2652
  export interface V2SupportLevelsFeatures {
2609
2653
  openshiftVersion: string;
2610
2654
  cpuArchitecture?: 'x86_64' | 'aarch64' | 'arm64' | 'ppc64le' | 's390x' | 'multi';
2611
- platformType?: 'baremetal' | 'none' | 'nutanix' | 'vsphere' | 'oci';
2655
+ platformType?: 'baremetal' | 'none' | 'nutanix' | 'vsphere' | 'external';
2656
+ externalPlatformName?: string;
2612
2657
  }
2613
2658
  /**
2614
2659
  * Single VIP verification result.
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.9.15-cim"
50
+ "version": "2.10.0-cim"
51
51
  }