@openshift-assisted/types 2.28.1 → 2.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assisted-installer-service.d.ts +37 -30
- package/package.json +1 -1
|
@@ -68,6 +68,7 @@ export interface BindHostParams {
|
|
|
68
68
|
export interface Boot {
|
|
69
69
|
currentBootMode?: string;
|
|
70
70
|
pxeInterface?: string;
|
|
71
|
+
commandLine?: string;
|
|
71
72
|
}
|
|
72
73
|
export interface Cluster {
|
|
73
74
|
/**
|
|
@@ -127,10 +128,6 @@ export interface Cluster {
|
|
|
127
128
|
* 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
129
|
*/
|
|
129
130
|
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
131
|
/**
|
|
135
132
|
* 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
133
|
*/
|
|
@@ -143,10 +140,6 @@ export interface Cluster {
|
|
|
143
140
|
* 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
141
|
*/
|
|
145
142
|
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
143
|
/**
|
|
151
144
|
* 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
145
|
*/
|
|
@@ -355,6 +348,7 @@ export interface Cluster {
|
|
|
355
348
|
* A comma-separated list of tags that are associated to the cluster.
|
|
356
349
|
*/
|
|
357
350
|
tags?: string;
|
|
351
|
+
'last-installation-preparation'?: LastInstallationPreparation;
|
|
358
352
|
}
|
|
359
353
|
export interface ClusterCreateParams {
|
|
360
354
|
/**
|
|
@@ -391,18 +385,10 @@ export interface ClusterCreateParams {
|
|
|
391
385
|
* 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
386
|
*/
|
|
393
387
|
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
388
|
/**
|
|
399
389
|
* 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
390
|
*/
|
|
401
391
|
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
392
|
/**
|
|
407
393
|
* 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
394
|
*/
|
|
@@ -971,7 +957,9 @@ export type FeatureSupportLevelId =
|
|
|
971
957
|
| 'FULL_ISO'
|
|
972
958
|
| 'EXTERNAL_PLATFORM_OCI'
|
|
973
959
|
| 'DUAL_STACK'
|
|
974
|
-
| 'PLATFORM_MANAGED_NETWORKING'
|
|
960
|
+
| 'PLATFORM_MANAGED_NETWORKING'
|
|
961
|
+
| 'SKIP_MCO_REBOOT'
|
|
962
|
+
| 'EXTERNAL_PLATFORM';
|
|
975
963
|
export type FreeAddressesList = string /* ipv4 */[];
|
|
976
964
|
export type FreeAddressesRequest =
|
|
977
965
|
string /* ^([0-9]{1,3}\.){3}[0-9]{1,3}\/[0-9]|[1-2][0-9]|3[0-2]?$ */[];
|
|
@@ -1802,6 +1790,10 @@ export interface InstallCmdRequest {
|
|
|
1802
1790
|
* Skip formatting installation disk
|
|
1803
1791
|
*/
|
|
1804
1792
|
skipInstallationDiskCleanup?: boolean;
|
|
1793
|
+
/**
|
|
1794
|
+
* If true, assisted service will attempt to skip MCO reboot
|
|
1795
|
+
*/
|
|
1796
|
+
enableSkipMcoReboot?: boolean;
|
|
1805
1797
|
}
|
|
1806
1798
|
export interface InstallerArgsParams {
|
|
1807
1799
|
/**
|
|
@@ -1890,6 +1882,19 @@ export interface L3Connectivity {
|
|
|
1890
1882
|
*/
|
|
1891
1883
|
packetLossPercentage?: number; // double
|
|
1892
1884
|
}
|
|
1885
|
+
/**
|
|
1886
|
+
* Gives the status of the last installation preparation (if any)
|
|
1887
|
+
*/
|
|
1888
|
+
export interface LastInstallationPreparation {
|
|
1889
|
+
/**
|
|
1890
|
+
* The last installation preparation status
|
|
1891
|
+
*/
|
|
1892
|
+
status?: 'preparationNeverPerformed' | 'failed' | 'success';
|
|
1893
|
+
/**
|
|
1894
|
+
* The reason for the preparation status if applicable
|
|
1895
|
+
*/
|
|
1896
|
+
reason?: string;
|
|
1897
|
+
}
|
|
1893
1898
|
export type ListManagedDomains = ManagedDomain[];
|
|
1894
1899
|
export type ListManifests = Manifest[];
|
|
1895
1900
|
export interface ListVersions {
|
|
@@ -2185,13 +2190,22 @@ export type OsImages = OsImage[];
|
|
|
2185
2190
|
*/
|
|
2186
2191
|
export interface Platform {
|
|
2187
2192
|
type: PlatformType;
|
|
2193
|
+
external?: PlatformExternal;
|
|
2194
|
+
}
|
|
2195
|
+
/**
|
|
2196
|
+
* Configuration used when installing with an external platform type.
|
|
2197
|
+
*/
|
|
2198
|
+
export interface PlatformExternal {
|
|
2188
2199
|
/**
|
|
2189
|
-
*
|
|
2190
|
-
* OpenShift and must be provided as manifests separately.
|
|
2200
|
+
* Holds the arbitrary string representing the infrastructure provider name.
|
|
2191
2201
|
*/
|
|
2192
|
-
|
|
2202
|
+
platformName?: string;
|
|
2203
|
+
/**
|
|
2204
|
+
* When set to external, this property will enable an external cloud provider.
|
|
2205
|
+
*/
|
|
2206
|
+
cloudControllerManager?: '' | 'External';
|
|
2193
2207
|
}
|
|
2194
|
-
export type PlatformType = 'baremetal' | 'nutanix' | 'vsphere' | 'none' | '
|
|
2208
|
+
export type PlatformType = 'baremetal' | 'nutanix' | 'vsphere' | 'none' | 'external';
|
|
2195
2209
|
export interface PreflightHardwareRequirements {
|
|
2196
2210
|
/**
|
|
2197
2211
|
* Preflight operators hardware requirements
|
|
@@ -2483,18 +2497,10 @@ export interface V2ClusterUpdateParams {
|
|
|
2483
2497
|
* 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
2498
|
*/
|
|
2485
2499
|
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
2500
|
/**
|
|
2491
2501
|
* 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
2502
|
*/
|
|
2493
2503
|
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
2504
|
/**
|
|
2499
2505
|
* 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
2506
|
*/
|
|
@@ -2608,7 +2614,8 @@ export interface V2SupportLevelsArchitectures {
|
|
|
2608
2614
|
export interface V2SupportLevelsFeatures {
|
|
2609
2615
|
openshiftVersion: string;
|
|
2610
2616
|
cpuArchitecture?: 'x86_64' | 'aarch64' | 'arm64' | 'ppc64le' | 's390x' | 'multi';
|
|
2611
|
-
platformType?: 'baremetal' | 'none' | 'nutanix' | 'vsphere' | '
|
|
2617
|
+
platformType?: 'baremetal' | 'none' | 'nutanix' | 'vsphere' | 'external';
|
|
2618
|
+
externalPlatformName?: string;
|
|
2612
2619
|
}
|
|
2613
2620
|
/**
|
|
2614
2621
|
* Single VIP verification result.
|
package/package.json
CHANGED