@openshift-assisted/types 2.25.2 → 2.25.4
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 +6 -203
- package/package.json +1 -1
|
@@ -15,7 +15,6 @@ export interface ApiVip {
|
|
|
15
15
|
*/
|
|
16
16
|
verification?: VipVerification;
|
|
17
17
|
}
|
|
18
|
-
|
|
19
18
|
export interface ApiVipConnectivityRequest {
|
|
20
19
|
/**
|
|
21
20
|
* URL address of the API.
|
|
@@ -34,7 +33,6 @@ export interface ApiVipConnectivityRequest {
|
|
|
34
33
|
*/
|
|
35
34
|
ignitionEndpointToken?: string;
|
|
36
35
|
}
|
|
37
|
-
|
|
38
36
|
/**
|
|
39
37
|
* 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.
|
|
40
38
|
* Note - the name "API VIP connectivity" is old and misleading and is preserved for backwards compatibility.
|
|
@@ -58,23 +56,19 @@ export interface ApiVipConnectivityResponse {
|
|
|
58
56
|
*/
|
|
59
57
|
ignition?: string;
|
|
60
58
|
}
|
|
61
|
-
|
|
62
59
|
export type ArchitectureSupportLevelId =
|
|
63
60
|
| 'X86_64_ARCHITECTURE'
|
|
64
61
|
| 'ARM64_ARCHITECTURE'
|
|
65
62
|
| 'PPC64LE_ARCHITECTURE'
|
|
66
63
|
| 'S390X_ARCHITECTURE'
|
|
67
64
|
| 'MULTIARCH_RELEASE_IMAGE';
|
|
68
|
-
|
|
69
65
|
export interface BindHostParams {
|
|
70
66
|
clusterId: string; // uuid
|
|
71
67
|
}
|
|
72
|
-
|
|
73
68
|
export interface Boot {
|
|
74
69
|
currentBootMode?: string;
|
|
75
70
|
pxeInterface?: string;
|
|
76
71
|
}
|
|
77
|
-
|
|
78
72
|
export interface Cluster {
|
|
79
73
|
/**
|
|
80
74
|
* Indicates the type of this object. Will be 'Cluster' if this is a complete object,
|
|
@@ -362,7 +356,6 @@ export interface Cluster {
|
|
|
362
356
|
*/
|
|
363
357
|
tags?: string;
|
|
364
358
|
}
|
|
365
|
-
|
|
366
359
|
export interface ClusterCreateParams {
|
|
367
360
|
/**
|
|
368
361
|
* Name of the OpenShift cluster.
|
|
@@ -496,7 +489,6 @@ export interface ClusterCreateParams {
|
|
|
496
489
|
*/
|
|
497
490
|
tags?: string;
|
|
498
491
|
}
|
|
499
|
-
|
|
500
492
|
export interface ClusterDefaultConfig {
|
|
501
493
|
clusterNetworkCidr?: string; // ^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)[\/]([1-9]|[1-2][0-9]|3[0-2]?)$
|
|
502
494
|
clusterNetworkHostPrefix?: number;
|
|
@@ -512,7 +504,6 @@ export interface ClusterDefaultConfig {
|
|
|
512
504
|
*/
|
|
513
505
|
forbiddenHostnames?: string[];
|
|
514
506
|
}
|
|
515
|
-
|
|
516
507
|
export interface ClusterHostRequirements {
|
|
517
508
|
/**
|
|
518
509
|
* Unique identifier of the host the requirements relate to.
|
|
@@ -531,7 +522,6 @@ export interface ClusterHostRequirements {
|
|
|
531
522
|
*/
|
|
532
523
|
operators?: OperatorHostRequirements[];
|
|
533
524
|
}
|
|
534
|
-
|
|
535
525
|
export interface ClusterHostRequirementsDetails {
|
|
536
526
|
/**
|
|
537
527
|
* Required number of CPU cores
|
|
@@ -562,10 +552,8 @@ export interface ClusterHostRequirementsDetails {
|
|
|
562
552
|
*/
|
|
563
553
|
tpmEnabledInBios?: boolean;
|
|
564
554
|
}
|
|
565
|
-
|
|
566
555
|
export type ClusterHostRequirementsList = ClusterHostRequirements[];
|
|
567
556
|
export type ClusterList = Cluster[];
|
|
568
|
-
|
|
569
557
|
/**
|
|
570
558
|
* 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.
|
|
571
559
|
*/
|
|
@@ -583,14 +571,12 @@ export interface ClusterNetwork {
|
|
|
583
571
|
*/
|
|
584
572
|
hostPrefix?: number;
|
|
585
573
|
}
|
|
586
|
-
|
|
587
574
|
export interface ClusterProgressInfo {
|
|
588
575
|
totalPercentage?: number;
|
|
589
576
|
preparingForInstallationStagePercentage?: number;
|
|
590
577
|
installingStagePercentage?: number;
|
|
591
578
|
finalizingStagePercentage?: number;
|
|
592
579
|
}
|
|
593
|
-
|
|
594
580
|
export type ClusterValidationId =
|
|
595
581
|
| 'machine-cidr-defined'
|
|
596
582
|
| 'cluster-cidr-defined'
|
|
@@ -616,7 +602,6 @@ export type ClusterValidationId =
|
|
|
616
602
|
| 'mce-requirements-satisfied'
|
|
617
603
|
| 'network-type-valid'
|
|
618
604
|
| 'platform-requirements-satisfied';
|
|
619
|
-
|
|
620
605
|
export interface CompletionParams {
|
|
621
606
|
isSuccess: boolean;
|
|
622
607
|
errorInfo?: string;
|
|
@@ -627,30 +612,24 @@ export interface CompletionParams {
|
|
|
627
612
|
[name: string]: Record<string, unknown>;
|
|
628
613
|
};
|
|
629
614
|
}
|
|
630
|
-
|
|
631
615
|
export interface ConnectivityCheckHost {
|
|
632
616
|
hostId?: string; // uuid
|
|
633
617
|
nics?: ConnectivityCheckNic[];
|
|
634
618
|
}
|
|
635
|
-
|
|
636
619
|
export interface ConnectivityCheckNic {
|
|
637
620
|
name?: string;
|
|
638
621
|
mac?: string; // mac
|
|
639
622
|
ipAddresses?: string /* ^(?:(?:(?:[0-9]{1,3}\.){3}[0-9]{1,3})|(?:(?:[0-9a-fA-F]*:[0-9a-fA-F]*){2,}))$ */[];
|
|
640
623
|
}
|
|
641
|
-
|
|
642
624
|
export type ConnectivityCheckParams = ConnectivityCheckHost[];
|
|
643
|
-
|
|
644
625
|
export interface ConnectivityRemoteHost {
|
|
645
626
|
hostId?: string; // uuid
|
|
646
627
|
l2Connectivity?: L2Connectivity[];
|
|
647
628
|
l3Connectivity?: L3Connectivity[];
|
|
648
629
|
}
|
|
649
|
-
|
|
650
630
|
export interface ConnectivityReport {
|
|
651
631
|
remoteHosts?: ConnectivityRemoteHost[];
|
|
652
632
|
}
|
|
653
|
-
|
|
654
633
|
export interface ContainerImageAvailability {
|
|
655
634
|
/**
|
|
656
635
|
* A fully qualified image name (FQIN).
|
|
@@ -670,7 +649,6 @@ export interface ContainerImageAvailability {
|
|
|
670
649
|
downloadRate?: number;
|
|
671
650
|
result?: ContainerImageAvailabilityResult;
|
|
672
651
|
}
|
|
673
|
-
|
|
674
652
|
export interface ContainerImageAvailabilityRequest {
|
|
675
653
|
/**
|
|
676
654
|
* Positive number represents a timeout in seconds for a pull operation.
|
|
@@ -681,19 +659,16 @@ export interface ContainerImageAvailabilityRequest {
|
|
|
681
659
|
*/
|
|
682
660
|
images: string /* ^(([a-zA-Z0-9\-\.]+)(:[0-9]+)?\/)?[a-z0-9\._\-\/@]+[?::a-zA-Z0-9_\-.]+$ */[];
|
|
683
661
|
}
|
|
684
|
-
|
|
685
662
|
export interface ContainerImageAvailabilityResponse {
|
|
686
663
|
/**
|
|
687
664
|
* List of images that were checked.
|
|
688
665
|
*/
|
|
689
666
|
images: ContainerImageAvailability[];
|
|
690
667
|
}
|
|
691
|
-
|
|
692
668
|
/**
|
|
693
669
|
* Image availability result.
|
|
694
670
|
*/
|
|
695
671
|
export type ContainerImageAvailabilityResult = 'success' | 'failure';
|
|
696
|
-
|
|
697
672
|
export interface Cpu {
|
|
698
673
|
count?: number;
|
|
699
674
|
frequency?: number;
|
|
@@ -701,7 +676,6 @@ export interface Cpu {
|
|
|
701
676
|
modelName?: string;
|
|
702
677
|
architecture?: string;
|
|
703
678
|
}
|
|
704
|
-
|
|
705
679
|
export interface CreateManifestParams {
|
|
706
680
|
/**
|
|
707
681
|
* The folder that contains the files. Manifests can be placed in 'manifests' or 'openshift' directories.
|
|
@@ -716,13 +690,11 @@ export interface CreateManifestParams {
|
|
|
716
690
|
*/
|
|
717
691
|
content: string;
|
|
718
692
|
}
|
|
719
|
-
|
|
720
693
|
export interface Credentials {
|
|
721
694
|
username?: string;
|
|
722
695
|
password?: string;
|
|
723
696
|
consoleUrl?: string;
|
|
724
697
|
}
|
|
725
|
-
|
|
726
698
|
export interface DhcpAllocationRequest {
|
|
727
699
|
/**
|
|
728
700
|
* The network interface (NIC) to run the DHCP requests on.
|
|
@@ -745,7 +717,6 @@ export interface DhcpAllocationRequest {
|
|
|
745
717
|
*/
|
|
746
718
|
ingressVipLease?: string;
|
|
747
719
|
}
|
|
748
|
-
|
|
749
720
|
export interface DhcpAllocationResponse {
|
|
750
721
|
/**
|
|
751
722
|
* The IPv4 address that was allocated by DHCP for the API virtual IP.
|
|
@@ -764,7 +735,6 @@ export interface DhcpAllocationResponse {
|
|
|
764
735
|
*/
|
|
765
736
|
ingressVipLease?: string;
|
|
766
737
|
}
|
|
767
|
-
|
|
768
738
|
export interface Disk {
|
|
769
739
|
/**
|
|
770
740
|
* Determine the disk's unique identifier which is the by-id field if it exists and fallback to the by-path field otherwise
|
|
@@ -811,12 +781,10 @@ export interface Disk {
|
|
|
811
781
|
*/
|
|
812
782
|
holders?: string;
|
|
813
783
|
}
|
|
814
|
-
|
|
815
784
|
export interface DiskConfigParams {
|
|
816
785
|
id: string;
|
|
817
786
|
role?: DiskRole;
|
|
818
787
|
}
|
|
819
|
-
|
|
820
788
|
export interface DiskEncryption {
|
|
821
789
|
/**
|
|
822
790
|
* Enable/disable disk encryption on master nodes, worker nodes, or all nodes.
|
|
@@ -833,15 +801,12 @@ export interface DiskEncryption {
|
|
|
833
801
|
*/
|
|
834
802
|
tangServers?: string;
|
|
835
803
|
}
|
|
836
|
-
|
|
837
804
|
export interface DiskInfo {
|
|
838
805
|
id?: string; // uuid
|
|
839
806
|
path?: string;
|
|
840
807
|
diskSpeed?: DiskSpeed;
|
|
841
808
|
}
|
|
842
|
-
|
|
843
809
|
export type DiskRole = 'none' | 'install';
|
|
844
|
-
|
|
845
810
|
/**
|
|
846
811
|
* Allows an addition or removal of a host disk from the host's skipFormattingDisks list
|
|
847
812
|
*/
|
|
@@ -855,20 +820,17 @@ export interface DiskSkipFormattingParams {
|
|
|
855
820
|
*/
|
|
856
821
|
skipFormatting: boolean;
|
|
857
822
|
}
|
|
858
|
-
|
|
859
823
|
export interface DiskSpeed {
|
|
860
824
|
tested?: boolean;
|
|
861
825
|
exitCode?: number;
|
|
862
826
|
speedMs?: number;
|
|
863
827
|
}
|
|
864
|
-
|
|
865
828
|
export interface DiskSpeedCheckRequest {
|
|
866
829
|
/**
|
|
867
830
|
* --filename argument for fio (expects a file or a block device path).
|
|
868
831
|
*/
|
|
869
832
|
path: string;
|
|
870
833
|
}
|
|
871
|
-
|
|
872
834
|
export interface DiskSpeedCheckResponse {
|
|
873
835
|
/**
|
|
874
836
|
* The 99th percentile of fdatasync durations in milliseconds.
|
|
@@ -879,16 +841,9 @@ export interface DiskSpeedCheckResponse {
|
|
|
879
841
|
*/
|
|
880
842
|
path?: string;
|
|
881
843
|
}
|
|
882
|
-
|
|
883
844
|
export interface DomainResolutionRequest {
|
|
884
|
-
domains:
|
|
885
|
-
/**
|
|
886
|
-
* The domain name that should be resolved
|
|
887
|
-
*/
|
|
888
|
-
domainName: string; // ^([a-zA-Z0-9]+(-[a-zA-Z0-9]+)*[.])+[a-zA-Z]{2,}[.]?$
|
|
889
|
-
}[];
|
|
845
|
+
domains: Record<string, unknown>[];
|
|
890
846
|
}
|
|
891
|
-
|
|
892
847
|
export interface DomainResolutionResponse {
|
|
893
848
|
resolutions: {
|
|
894
849
|
/**
|
|
@@ -905,7 +860,6 @@ export interface DomainResolutionResponse {
|
|
|
905
860
|
ipv6Addresses?: string /* ipv6 */[];
|
|
906
861
|
}[];
|
|
907
862
|
}
|
|
908
|
-
|
|
909
863
|
/**
|
|
910
864
|
* Information sent to the agent for downloading artifacts to boot a host into discovery.
|
|
911
865
|
*/
|
|
@@ -928,7 +882,6 @@ export interface DownloadBootArtifactsRequest {
|
|
|
928
882
|
*/
|
|
929
883
|
hostFsMountDir: string;
|
|
930
884
|
}
|
|
931
|
-
|
|
932
885
|
export type DriveType =
|
|
933
886
|
| 'Unknown'
|
|
934
887
|
| 'HDD'
|
|
@@ -944,7 +897,6 @@ export type DriveType =
|
|
|
944
897
|
| 'ECKD'
|
|
945
898
|
| 'ECKD (ESE)'
|
|
946
899
|
| 'FBA';
|
|
947
|
-
|
|
948
900
|
export interface Error {
|
|
949
901
|
/**
|
|
950
902
|
* Indicates the type of this object. Will always be 'Error'.
|
|
@@ -967,7 +919,6 @@ export interface Error {
|
|
|
967
919
|
*/
|
|
968
920
|
reason: string;
|
|
969
921
|
}
|
|
970
|
-
|
|
971
922
|
export interface Event {
|
|
972
923
|
/**
|
|
973
924
|
* Event Name.
|
|
@@ -998,52 +949,7 @@ export interface Event {
|
|
|
998
949
|
*/
|
|
999
950
|
props?: string;
|
|
1000
951
|
}
|
|
1001
|
-
|
|
1002
952
|
export type EventList = Event[];
|
|
1003
|
-
|
|
1004
|
-
/**
|
|
1005
|
-
* (DEPRECATED) List of features attached to openshift version
|
|
1006
|
-
*/
|
|
1007
|
-
export interface FeatureSupportLevel {
|
|
1008
|
-
/**
|
|
1009
|
-
* Version of the OpenShift cluster.
|
|
1010
|
-
*/
|
|
1011
|
-
openshiftVersion?: string;
|
|
1012
|
-
features?: {
|
|
1013
|
-
/**
|
|
1014
|
-
* (DEPRECATED) The ID of the feature
|
|
1015
|
-
*/
|
|
1016
|
-
featureId:
|
|
1017
|
-
| 'ADDITIONAL_NTP_SOURCE'
|
|
1018
|
-
| 'REQUESTED_HOSTNAME'
|
|
1019
|
-
| 'PROXY'
|
|
1020
|
-
| 'SNO'
|
|
1021
|
-
| 'DAY2_HOSTS'
|
|
1022
|
-
| 'VIP_AUTO_ALLOC'
|
|
1023
|
-
| 'DISK_SELECTION'
|
|
1024
|
-
| 'OVN_NETWORK_TYPE'
|
|
1025
|
-
| 'SDN_NETWORK_TYPE'
|
|
1026
|
-
| 'PLATFORM_SELECTION'
|
|
1027
|
-
| 'SCHEDULABLE_MASTERS'
|
|
1028
|
-
| 'AUTO_ASSIGN_ROLE'
|
|
1029
|
-
| 'CUSTOM_MANIFEST'
|
|
1030
|
-
| 'DISK_ENCRYPTION'
|
|
1031
|
-
| 'CLUSTER_MANAGED_NETWORKING_WITH_VMS'
|
|
1032
|
-
| 'ARM64_ARCHITECTURE'
|
|
1033
|
-
| 'ARM64_ARCHITECTURE_WITH_CLUSTER_MANAGED_NETWORKING'
|
|
1034
|
-
| 'PPC64LE_ARCHITECTURE'
|
|
1035
|
-
| 'S390X_ARCHITECTURE'
|
|
1036
|
-
| 'SINGLE_NODE_EXPANSION'
|
|
1037
|
-
| 'LVM'
|
|
1038
|
-
| 'DUAL_STACK_NETWORKING'
|
|
1039
|
-
| 'MULTIARCH_RELEASE_IMAGE'
|
|
1040
|
-
| 'NUTANIX_INTEGRATION'
|
|
1041
|
-
| 'DUAL_STACK_VIPS'
|
|
1042
|
-
| 'USER_MANAGED_NETWORKING_WITH_MULTI_NODE';
|
|
1043
|
-
supportLevel: SupportLevel;
|
|
1044
|
-
}[];
|
|
1045
|
-
}
|
|
1046
|
-
|
|
1047
953
|
export type FeatureSupportLevelId =
|
|
1048
954
|
| 'SNO'
|
|
1049
955
|
| 'VIP_AUTO_ALLOC'
|
|
@@ -1055,6 +961,8 @@ export type FeatureSupportLevelId =
|
|
|
1055
961
|
| 'CNV'
|
|
1056
962
|
| 'MCE'
|
|
1057
963
|
| 'NUTANIX_INTEGRATION'
|
|
964
|
+
| 'BAREMETAL_PLATFORM'
|
|
965
|
+
| 'NONE_PLATFORM'
|
|
1058
966
|
| 'VSPHERE_INTEGRATION'
|
|
1059
967
|
| 'DUAL_STACK_VIPS'
|
|
1060
968
|
| 'CLUSTER_MANAGED_NETWORKING'
|
|
@@ -1062,22 +970,16 @@ export type FeatureSupportLevelId =
|
|
|
1062
970
|
| 'MINIMAL_ISO'
|
|
1063
971
|
| 'FULL_ISO'
|
|
1064
972
|
| 'EXTERNAL_PLATFORM_OCI'
|
|
1065
|
-
| 'DUAL_STACK'
|
|
1066
|
-
|
|
1067
|
-
* (DEPRECATED) List of objects that containing a list of feature-support level and attached to openshift-version
|
|
1068
|
-
*/
|
|
1069
|
-
export type FeatureSupportLevels = FeatureSupportLevel[];
|
|
973
|
+
| 'DUAL_STACK'
|
|
974
|
+
| 'PLATFORM_MANAGED_NETWORKING';
|
|
1070
975
|
export type FreeAddressesList = string /* ipv4 */[];
|
|
1071
976
|
export type FreeAddressesRequest =
|
|
1072
977
|
string /* ^([0-9]{1,3}\.){3}[0-9]{1,3}\/[0-9]|[1-2][0-9]|3[0-2]?$ */[];
|
|
1073
|
-
|
|
1074
978
|
export interface FreeNetworkAddresses {
|
|
1075
979
|
network?: string; // ^([0-9]{1,3}\.){3}[0-9]{1,3}\/[0-9]|[1-2][0-9]|3[0-2]?$
|
|
1076
980
|
freeAddresses?: string /* ipv4 */[];
|
|
1077
981
|
}
|
|
1078
|
-
|
|
1079
982
|
export type FreeNetworksAddresses = FreeNetworkAddresses[];
|
|
1080
|
-
|
|
1081
983
|
export interface Gpu {
|
|
1082
984
|
/**
|
|
1083
985
|
* The name of the device vendor (for example "Intel Corporation")
|
|
@@ -1100,7 +1002,6 @@ export interface Gpu {
|
|
|
1100
1002
|
*/
|
|
1101
1003
|
address?: string;
|
|
1102
1004
|
}
|
|
1103
|
-
|
|
1104
1005
|
export interface Host {
|
|
1105
1006
|
/**
|
|
1106
1007
|
* Indicates the type of this object. Will be 'Host' if this is a complete object or 'HostLink' if it is just a link, or
|
|
@@ -1271,28 +1172,22 @@ export interface Host {
|
|
|
1271
1172
|
*/
|
|
1272
1173
|
skipFormattingDisks?: string;
|
|
1273
1174
|
}
|
|
1274
|
-
|
|
1275
1175
|
export interface HostCreateParams {
|
|
1276
1176
|
hostId: string; // uuid
|
|
1277
1177
|
discoveryAgentVersion?: string;
|
|
1278
1178
|
}
|
|
1279
|
-
|
|
1280
1179
|
export interface HostIgnitionParams {
|
|
1281
1180
|
config?: string;
|
|
1282
1181
|
}
|
|
1283
|
-
|
|
1284
1182
|
export type HostList = Host[];
|
|
1285
|
-
|
|
1286
1183
|
export interface HostNetwork {
|
|
1287
1184
|
cidr?: string;
|
|
1288
1185
|
hostIds?: string /* uuid */[];
|
|
1289
1186
|
}
|
|
1290
|
-
|
|
1291
1187
|
export interface HostProgress {
|
|
1292
1188
|
currentStage?: HostStage;
|
|
1293
1189
|
progressInfo?: string;
|
|
1294
1190
|
}
|
|
1295
|
-
|
|
1296
1191
|
export interface HostProgressInfo {
|
|
1297
1192
|
installationPercentage?: number;
|
|
1298
1193
|
currentStage?: HostStage;
|
|
@@ -1306,7 +1201,6 @@ export interface HostProgressInfo {
|
|
|
1306
1201
|
*/
|
|
1307
1202
|
stageUpdatedAt?: string; // date-time
|
|
1308
1203
|
}
|
|
1309
|
-
|
|
1310
1204
|
export interface HostRegistrationResponse {
|
|
1311
1205
|
/**
|
|
1312
1206
|
* Indicates the type of this object. Will be 'Host' if this is a complete object or 'HostLink' if it is just a link, or
|
|
@@ -1488,7 +1382,6 @@ export interface HostRegistrationResponse {
|
|
|
1488
1382
|
retrySeconds?: number;
|
|
1489
1383
|
};
|
|
1490
1384
|
}
|
|
1491
|
-
|
|
1492
1385
|
export type HostRole = 'auto-assign' | 'master' | 'worker' | 'bootstrap';
|
|
1493
1386
|
export type HostRoleUpdateParams = 'auto-assign' | 'master' | 'worker';
|
|
1494
1387
|
export type HostStage =
|
|
@@ -1504,7 +1397,6 @@ export type HostStage =
|
|
|
1504
1397
|
| 'Joined'
|
|
1505
1398
|
| 'Done'
|
|
1506
1399
|
| 'Failed';
|
|
1507
|
-
|
|
1508
1400
|
export interface HostStaticNetworkConfig {
|
|
1509
1401
|
/**
|
|
1510
1402
|
* yaml string that can be processed by nmstate
|
|
@@ -1515,7 +1407,6 @@ export interface HostStaticNetworkConfig {
|
|
|
1515
1407
|
*/
|
|
1516
1408
|
macInterfaceMap?: MacInterfaceMap;
|
|
1517
1409
|
}
|
|
1518
|
-
|
|
1519
1410
|
export interface HostTypeHardwareRequirements {
|
|
1520
1411
|
/**
|
|
1521
1412
|
* Host requirements that can be quantified
|
|
@@ -1526,7 +1417,6 @@ export interface HostTypeHardwareRequirements {
|
|
|
1526
1417
|
*/
|
|
1527
1418
|
qualitative?: string[];
|
|
1528
1419
|
}
|
|
1529
|
-
|
|
1530
1420
|
export interface HostTypeHardwareRequirementsWrapper {
|
|
1531
1421
|
/**
|
|
1532
1422
|
* Requirements towards a worker node
|
|
@@ -1537,7 +1427,6 @@ export interface HostTypeHardwareRequirementsWrapper {
|
|
|
1537
1427
|
*/
|
|
1538
1428
|
master?: HostTypeHardwareRequirements;
|
|
1539
1429
|
}
|
|
1540
|
-
|
|
1541
1430
|
export interface HostUpdateParams {
|
|
1542
1431
|
hostRole?: 'auto-assign' | 'master' | 'worker';
|
|
1543
1432
|
hostName?: string;
|
|
@@ -1556,7 +1445,6 @@ export interface HostUpdateParams {
|
|
|
1556
1445
|
*/
|
|
1557
1446
|
nodeLabels?: NodeLabelParams[];
|
|
1558
1447
|
}
|
|
1559
|
-
|
|
1560
1448
|
export type HostValidationId =
|
|
1561
1449
|
| 'connected'
|
|
1562
1450
|
| 'media-connected'
|
|
@@ -1599,7 +1487,6 @@ export type HostValidationId =
|
|
|
1599
1487
|
| 'no-skip-installation-disk'
|
|
1600
1488
|
| 'no-skip-missing-disk'
|
|
1601
1489
|
| 'no-ip-collisions-in-network';
|
|
1602
|
-
|
|
1603
1490
|
/**
|
|
1604
1491
|
* Explicit ignition endpoint overrides the default ignition endpoint.
|
|
1605
1492
|
*/
|
|
@@ -1613,7 +1500,6 @@ export interface IgnitionEndpoint {
|
|
|
1613
1500
|
*/
|
|
1614
1501
|
caCertificate?: string;
|
|
1615
1502
|
}
|
|
1616
|
-
|
|
1617
1503
|
export interface IgnoredValidations {
|
|
1618
1504
|
/**
|
|
1619
1505
|
* 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.
|
|
@@ -1624,7 +1510,6 @@ export interface IgnoredValidations {
|
|
|
1624
1510
|
*/
|
|
1625
1511
|
'host-validation-ids'?: string; // string
|
|
1626
1512
|
}
|
|
1627
|
-
|
|
1628
1513
|
export interface ImageCreateParams {
|
|
1629
1514
|
/**
|
|
1630
1515
|
* SSH public key for debugging the installation.
|
|
@@ -1636,7 +1521,6 @@ export interface ImageCreateParams {
|
|
|
1636
1521
|
*/
|
|
1637
1522
|
imageType?: ImageType;
|
|
1638
1523
|
}
|
|
1639
|
-
|
|
1640
1524
|
export interface ImageInfo {
|
|
1641
1525
|
/**
|
|
1642
1526
|
* SSH public key for debugging the installation.
|
|
@@ -1656,9 +1540,7 @@ export interface ImageInfo {
|
|
|
1656
1540
|
staticNetworkConfig?: string;
|
|
1657
1541
|
type?: ImageType;
|
|
1658
1542
|
}
|
|
1659
|
-
|
|
1660
1543
|
export type ImageType = 'full-iso' | 'minimal-iso';
|
|
1661
|
-
|
|
1662
1544
|
export interface ImportClusterParams {
|
|
1663
1545
|
/**
|
|
1664
1546
|
* OpenShift cluster name.
|
|
@@ -1677,7 +1559,6 @@ export interface ImportClusterParams {
|
|
|
1677
1559
|
*/
|
|
1678
1560
|
openshiftClusterId: string; // uuid
|
|
1679
1561
|
}
|
|
1680
|
-
|
|
1681
1562
|
export interface InfraEnv {
|
|
1682
1563
|
/**
|
|
1683
1564
|
* Indicates the type of this object.
|
|
@@ -1756,7 +1637,6 @@ export interface InfraEnv {
|
|
|
1756
1637
|
*/
|
|
1757
1638
|
additionalTrustBundle?: string;
|
|
1758
1639
|
}
|
|
1759
|
-
|
|
1760
1640
|
export interface InfraEnvCreateParams {
|
|
1761
1641
|
/**
|
|
1762
1642
|
* Name of the infra-env.
|
|
@@ -1802,9 +1682,7 @@ export interface InfraEnvCreateParams {
|
|
|
1802
1682
|
*/
|
|
1803
1683
|
additionalTrustBundle?: string;
|
|
1804
1684
|
}
|
|
1805
|
-
|
|
1806
1685
|
export type InfraEnvList = InfraEnv[];
|
|
1807
|
-
|
|
1808
1686
|
export interface InfraEnvUpdateParams {
|
|
1809
1687
|
proxy?: Proxy;
|
|
1810
1688
|
/**
|
|
@@ -1831,7 +1709,6 @@ export interface InfraEnvUpdateParams {
|
|
|
1831
1709
|
*/
|
|
1832
1710
|
additionalTrustBundle?: string;
|
|
1833
1711
|
}
|
|
1834
|
-
|
|
1835
1712
|
export interface InfraError {
|
|
1836
1713
|
/**
|
|
1837
1714
|
* Numeric identifier of the error.
|
|
@@ -1842,9 +1719,7 @@ export interface InfraError {
|
|
|
1842
1719
|
*/
|
|
1843
1720
|
message: string;
|
|
1844
1721
|
}
|
|
1845
|
-
|
|
1846
1722
|
export type IngressCertParams = string;
|
|
1847
|
-
|
|
1848
1723
|
/**
|
|
1849
1724
|
* The virtual IP used for cluster ingress traffic.
|
|
1850
1725
|
*/
|
|
@@ -1862,7 +1737,6 @@ export interface IngressVip {
|
|
|
1862
1737
|
*/
|
|
1863
1738
|
verification?: VipVerification;
|
|
1864
1739
|
}
|
|
1865
|
-
|
|
1866
1740
|
export interface InstallCmdRequest {
|
|
1867
1741
|
/**
|
|
1868
1742
|
* Cluster id
|
|
@@ -1929,7 +1803,6 @@ export interface InstallCmdRequest {
|
|
|
1929
1803
|
*/
|
|
1930
1804
|
skipInstallationDiskCleanup?: boolean;
|
|
1931
1805
|
}
|
|
1932
|
-
|
|
1933
1806
|
export interface InstallerArgsParams {
|
|
1934
1807
|
/**
|
|
1935
1808
|
* List of additional arguments passed to coreos-installer
|
|
@@ -1938,7 +1811,6 @@ export interface InstallerArgsParams {
|
|
|
1938
1811
|
*/
|
|
1939
1812
|
args?: string[];
|
|
1940
1813
|
}
|
|
1941
|
-
|
|
1942
1814
|
export interface Interface {
|
|
1943
1815
|
ipv6Addresses?: string[];
|
|
1944
1816
|
vendor?: string;
|
|
@@ -1954,7 +1826,6 @@ export interface Interface {
|
|
|
1954
1826
|
speedMbps?: number;
|
|
1955
1827
|
type?: string;
|
|
1956
1828
|
}
|
|
1957
|
-
|
|
1958
1829
|
export interface Inventory {
|
|
1959
1830
|
hostname?: string;
|
|
1960
1831
|
bmcAddress?: string;
|
|
@@ -1969,14 +1840,12 @@ export interface Inventory {
|
|
|
1969
1840
|
routes?: Route[];
|
|
1970
1841
|
tpmVersion?: 'none' | '1.2' | '2.0';
|
|
1971
1842
|
}
|
|
1972
|
-
|
|
1973
1843
|
export interface IoPerf {
|
|
1974
1844
|
/**
|
|
1975
1845
|
* 99th percentile of fsync duration in milliseconds
|
|
1976
1846
|
*/
|
|
1977
1847
|
syncDuration?: number;
|
|
1978
1848
|
}
|
|
1979
|
-
|
|
1980
1849
|
export type Ip = string; // ^(?:(?:(?:[0-9]{1,3}\.){3}[0-9]{1,3})|(?:(?:[0-9a-fA-F]*:[0-9a-fA-F]*){2,}))?$
|
|
1981
1850
|
/**
|
|
1982
1851
|
* pair of [operation, argument] specifying the argument and what operation should be applied on it.
|
|
@@ -1997,12 +1866,10 @@ export interface KernelArgument {
|
|
|
1997
1866
|
*/
|
|
1998
1867
|
value?: string; // ^(?:(?:[^ \t\n\r"]+)|(?:"[^"]*"))+$
|
|
1999
1868
|
}
|
|
2000
|
-
|
|
2001
1869
|
/**
|
|
2002
1870
|
* List of kernel arugment objects that define the operations and values to be applied.
|
|
2003
1871
|
*/
|
|
2004
1872
|
export type KernelArguments = KernelArgument[];
|
|
2005
|
-
|
|
2006
1873
|
export interface L2Connectivity {
|
|
2007
1874
|
outgoingNic?: string;
|
|
2008
1875
|
outgoingIpAddress?: string;
|
|
@@ -2010,7 +1877,6 @@ export interface L2Connectivity {
|
|
|
2010
1877
|
remoteMac?: string;
|
|
2011
1878
|
successful?: boolean;
|
|
2012
1879
|
}
|
|
2013
|
-
|
|
2014
1880
|
export interface L3Connectivity {
|
|
2015
1881
|
outgoingNic?: string;
|
|
2016
1882
|
remoteIpAddress?: string;
|
|
@@ -2024,15 +1890,12 @@ export interface L3Connectivity {
|
|
|
2024
1890
|
*/
|
|
2025
1891
|
packetLossPercentage?: number; // double
|
|
2026
1892
|
}
|
|
2027
|
-
|
|
2028
1893
|
export type ListManagedDomains = ManagedDomain[];
|
|
2029
1894
|
export type ListManifests = Manifest[];
|
|
2030
|
-
|
|
2031
1895
|
export interface ListVersions {
|
|
2032
1896
|
versions?: Versions;
|
|
2033
1897
|
releaseTag?: string;
|
|
2034
1898
|
}
|
|
2035
|
-
|
|
2036
1899
|
export interface LogsGatherCmdRequest {
|
|
2037
1900
|
/**
|
|
2038
1901
|
* Cluster id
|
|
@@ -2059,14 +1922,12 @@ export interface LogsGatherCmdRequest {
|
|
|
2059
1922
|
*/
|
|
2060
1923
|
masterIps?: string /* ^(?:(?:(?:[0-9]{1,3}\.){3}[0-9]{1,3})|(?:(?:[0-9a-fA-F]*:[0-9a-fA-F]*){2,}))$ */[];
|
|
2061
1924
|
}
|
|
2062
|
-
|
|
2063
1925
|
export interface LogsProgressParams {
|
|
2064
1926
|
/**
|
|
2065
1927
|
* The state of collecting logs.
|
|
2066
1928
|
*/
|
|
2067
1929
|
logsState: LogsState;
|
|
2068
1930
|
}
|
|
2069
|
-
|
|
2070
1931
|
export type LogsState = 'requested' | 'collecting' | 'completed' | 'timeout' | '';
|
|
2071
1932
|
export type LogsType = 'host' | 'controller' | 'all' | '';
|
|
2072
1933
|
export type MacInterfaceMap = {
|
|
@@ -2079,7 +1940,6 @@ export type MacInterfaceMap = {
|
|
|
2079
1940
|
*/
|
|
2080
1941
|
logicalNicName?: string;
|
|
2081
1942
|
}[];
|
|
2082
|
-
|
|
2083
1943
|
/**
|
|
2084
1944
|
* 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.
|
|
2085
1945
|
*/
|
|
@@ -2093,12 +1953,10 @@ export interface MachineNetwork {
|
|
|
2093
1953
|
*/
|
|
2094
1954
|
cidr?: Subnet; // ^(?:(?:(?:[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])))$
|
|
2095
1955
|
}
|
|
2096
|
-
|
|
2097
1956
|
export interface ManagedDomain {
|
|
2098
1957
|
domain?: string;
|
|
2099
1958
|
provider?: 'route53';
|
|
2100
1959
|
}
|
|
2101
|
-
|
|
2102
1960
|
export interface Manifest {
|
|
2103
1961
|
/**
|
|
2104
1962
|
* The folder that contains the files. Manifests can be placed in 'manifests' or 'openshift' directories.
|
|
@@ -2109,7 +1967,6 @@ export interface Manifest {
|
|
|
2109
1967
|
*/
|
|
2110
1968
|
fileName?: string;
|
|
2111
1969
|
}
|
|
2112
|
-
|
|
2113
1970
|
export interface Memory {
|
|
2114
1971
|
physicalBytes?: number;
|
|
2115
1972
|
usableBytes?: number;
|
|
@@ -2118,9 +1975,7 @@ export interface Memory {
|
|
|
2118
1975
|
*/
|
|
2119
1976
|
physicalBytesMethod?: MemoryMethod;
|
|
2120
1977
|
}
|
|
2121
|
-
|
|
2122
1978
|
export type MemoryMethod = 'dmidecode' | 'ghw' | 'meminfo';
|
|
2123
|
-
|
|
2124
1979
|
export interface MonitoredOperator {
|
|
2125
1980
|
/**
|
|
2126
1981
|
* The cluster that this operator is associated with.
|
|
@@ -2161,9 +2016,7 @@ export interface MonitoredOperator {
|
|
|
2161
2016
|
*/
|
|
2162
2017
|
statusUpdatedAt?: string; // date-time
|
|
2163
2018
|
}
|
|
2164
|
-
|
|
2165
2019
|
export type MonitoredOperatorsList = MonitoredOperator[];
|
|
2166
|
-
|
|
2167
2020
|
export interface NextStepCmdRequest {
|
|
2168
2021
|
/**
|
|
2169
2022
|
* Infra env id
|
|
@@ -2178,7 +2031,6 @@ export interface NextStepCmdRequest {
|
|
|
2178
2031
|
*/
|
|
2179
2032
|
agentVersion: string; // ^(([a-zA-Z0-9\-\.]+)(:[0-9]+)?\/)?[a-z0-9\._\-\/@]+[?::a-zA-Z0-9_\-.]+$
|
|
2180
2033
|
}
|
|
2181
|
-
|
|
2182
2034
|
export interface NodeLabelParams {
|
|
2183
2035
|
/**
|
|
2184
2036
|
* The key for the label's key-value pair.
|
|
@@ -2189,7 +2041,6 @@ export interface NodeLabelParams {
|
|
|
2189
2041
|
*/
|
|
2190
2042
|
value: string;
|
|
2191
2043
|
}
|
|
2192
|
-
|
|
2193
2044
|
export interface NtpSource {
|
|
2194
2045
|
/**
|
|
2195
2046
|
* NTP source name or IP.
|
|
@@ -2200,18 +2051,15 @@ export interface NtpSource {
|
|
|
2200
2051
|
*/
|
|
2201
2052
|
sourceState?: SourceState;
|
|
2202
2053
|
}
|
|
2203
|
-
|
|
2204
2054
|
export interface NtpSynchronizationRequest {
|
|
2205
2055
|
/**
|
|
2206
2056
|
* A comma-separated list of NTP sources (name or IP) going to be added to all the hosts.
|
|
2207
2057
|
*/
|
|
2208
2058
|
ntpSource: string;
|
|
2209
2059
|
}
|
|
2210
|
-
|
|
2211
2060
|
export interface NtpSynchronizationResponse {
|
|
2212
2061
|
ntpSources?: NtpSource[];
|
|
2213
2062
|
}
|
|
2214
|
-
|
|
2215
2063
|
export interface OpenshiftVersion {
|
|
2216
2064
|
/**
|
|
2217
2065
|
* Name of the version to be presented to the user.
|
|
@@ -2230,11 +2078,9 @@ export interface OpenshiftVersion {
|
|
|
2230
2078
|
*/
|
|
2231
2079
|
cpuArchitectures: string[];
|
|
2232
2080
|
}
|
|
2233
|
-
|
|
2234
2081
|
export interface OpenshiftVersions {
|
|
2235
2082
|
[name: string]: OpenshiftVersion;
|
|
2236
2083
|
}
|
|
2237
|
-
|
|
2238
2084
|
export interface OperatorCreateParams {
|
|
2239
2085
|
name?: string;
|
|
2240
2086
|
/**
|
|
@@ -2242,7 +2088,6 @@ export interface OperatorCreateParams {
|
|
|
2242
2088
|
*/
|
|
2243
2089
|
properties?: string;
|
|
2244
2090
|
}
|
|
2245
|
-
|
|
2246
2091
|
export interface OperatorHardwareRequirements {
|
|
2247
2092
|
/**
|
|
2248
2093
|
* Unique name of the operator. Corresponds to name property of the monitored-operator, i.e. "lso", "cnv", etc.
|
|
@@ -2254,7 +2099,6 @@ export interface OperatorHardwareRequirements {
|
|
|
2254
2099
|
dependencies?: string[];
|
|
2255
2100
|
requirements?: HostTypeHardwareRequirementsWrapper;
|
|
2256
2101
|
}
|
|
2257
|
-
|
|
2258
2102
|
export interface OperatorHostRequirements {
|
|
2259
2103
|
/**
|
|
2260
2104
|
* Name of the operator
|
|
@@ -2265,7 +2109,6 @@ export interface OperatorHostRequirements {
|
|
|
2265
2109
|
*/
|
|
2266
2110
|
requirements?: ClusterHostRequirementsDetails;
|
|
2267
2111
|
}
|
|
2268
|
-
|
|
2269
2112
|
export interface OperatorMonitorReport {
|
|
2270
2113
|
/**
|
|
2271
2114
|
* Unique name of the operator.
|
|
@@ -2281,9 +2124,7 @@ export interface OperatorMonitorReport {
|
|
|
2281
2124
|
*/
|
|
2282
2125
|
statusInfo?: string;
|
|
2283
2126
|
}
|
|
2284
|
-
|
|
2285
2127
|
export type OperatorProperties = OperatorProperty[];
|
|
2286
|
-
|
|
2287
2128
|
export interface OperatorProperty {
|
|
2288
2129
|
/**
|
|
2289
2130
|
* Name of the property
|
|
@@ -2310,7 +2151,6 @@ export interface OperatorProperty {
|
|
|
2310
2151
|
*/
|
|
2311
2152
|
defaultValue?: string;
|
|
2312
2153
|
}
|
|
2313
|
-
|
|
2314
2154
|
/**
|
|
2315
2155
|
* Represents the operator state.
|
|
2316
2156
|
*/
|
|
@@ -2319,7 +2159,6 @@ export type OperatorStatus = 'failed' | 'progressing' | 'available';
|
|
|
2319
2159
|
* Kind of operator. Different types are monitored by the service differently.
|
|
2320
2160
|
*/
|
|
2321
2161
|
export type OperatorType = 'builtin' | 'olm';
|
|
2322
|
-
|
|
2323
2162
|
export interface OsImage {
|
|
2324
2163
|
/**
|
|
2325
2164
|
* Version of the operating system image
|
|
@@ -2340,9 +2179,7 @@ export interface OsImage {
|
|
|
2340
2179
|
*/
|
|
2341
2180
|
version: string;
|
|
2342
2181
|
}
|
|
2343
|
-
|
|
2344
2182
|
export type OsImages = OsImage[];
|
|
2345
|
-
|
|
2346
2183
|
/**
|
|
2347
2184
|
* The configuration for the specific platform upon which to perform the installation.
|
|
2348
2185
|
*/
|
|
@@ -2354,9 +2191,7 @@ export interface Platform {
|
|
|
2354
2191
|
*/
|
|
2355
2192
|
readonly isExternal?: boolean;
|
|
2356
2193
|
}
|
|
2357
|
-
|
|
2358
2194
|
export type PlatformType = 'baremetal' | 'nutanix' | 'vsphere' | 'none' | 'oci';
|
|
2359
|
-
|
|
2360
2195
|
export interface PreflightHardwareRequirements {
|
|
2361
2196
|
/**
|
|
2362
2197
|
* Preflight operators hardware requirements
|
|
@@ -2367,7 +2202,6 @@ export interface PreflightHardwareRequirements {
|
|
|
2367
2202
|
*/
|
|
2368
2203
|
ocp?: HostTypeHardwareRequirementsWrapper;
|
|
2369
2204
|
}
|
|
2370
|
-
|
|
2371
2205
|
export interface PresignedUrl {
|
|
2372
2206
|
/**
|
|
2373
2207
|
* Pre-signed URL for downloading the infra-env discovery image.
|
|
@@ -2378,7 +2212,6 @@ export interface PresignedUrl {
|
|
|
2378
2212
|
*/
|
|
2379
2213
|
expiresAt?: string; // date-time
|
|
2380
2214
|
}
|
|
2381
|
-
|
|
2382
2215
|
export interface Proxy {
|
|
2383
2216
|
/**
|
|
2384
2217
|
* A proxy URL to use for creating HTTP connections outside the cluster.
|
|
@@ -2397,7 +2230,6 @@ export interface Proxy {
|
|
|
2397
2230
|
*/
|
|
2398
2231
|
noProxy?: string;
|
|
2399
2232
|
}
|
|
2400
|
-
|
|
2401
2233
|
/**
|
|
2402
2234
|
* Information sent to the agent for rebooting a host into discovery.
|
|
2403
2235
|
*/
|
|
@@ -2408,7 +2240,6 @@ export interface RebootForReclaimRequest {
|
|
|
2408
2240
|
*/
|
|
2409
2241
|
hostFsMountDir: string;
|
|
2410
2242
|
}
|
|
2411
|
-
|
|
2412
2243
|
export interface ReleaseImage {
|
|
2413
2244
|
/**
|
|
2414
2245
|
* Version of the OpenShift cluster.
|
|
@@ -2439,9 +2270,7 @@ export interface ReleaseImage {
|
|
|
2439
2270
|
*/
|
|
2440
2271
|
supportLevel?: 'beta' | 'production' | 'maintenance';
|
|
2441
2272
|
}
|
|
2442
|
-
|
|
2443
2273
|
export type ReleaseImages = ReleaseImage[];
|
|
2444
|
-
|
|
2445
2274
|
export interface Route {
|
|
2446
2275
|
/**
|
|
2447
2276
|
* Interface to which packets for this route will be sent
|
|
@@ -2464,7 +2293,6 @@ export interface Route {
|
|
|
2464
2293
|
*/
|
|
2465
2294
|
metric?: number; // int32
|
|
2466
2295
|
}
|
|
2467
|
-
|
|
2468
2296
|
/**
|
|
2469
2297
|
* IP address block for service IP blocks.
|
|
2470
2298
|
*/
|
|
@@ -2478,7 +2306,6 @@ export interface ServiceNetwork {
|
|
|
2478
2306
|
*/
|
|
2479
2307
|
cidr?: Subnet; // ^(?:(?:(?:[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])))$
|
|
2480
2308
|
}
|
|
2481
|
-
|
|
2482
2309
|
export type SourceState =
|
|
2483
2310
|
| 'synced'
|
|
2484
2311
|
| 'combined'
|
|
@@ -2486,13 +2313,11 @@ export type SourceState =
|
|
|
2486
2313
|
| 'error'
|
|
2487
2314
|
| 'variable'
|
|
2488
2315
|
| 'unreachable';
|
|
2489
|
-
|
|
2490
2316
|
export interface Step {
|
|
2491
2317
|
stepType?: StepType;
|
|
2492
2318
|
stepId?: string;
|
|
2493
2319
|
args?: string[];
|
|
2494
2320
|
}
|
|
2495
|
-
|
|
2496
2321
|
export interface StepReply {
|
|
2497
2322
|
stepType?: StepType;
|
|
2498
2323
|
stepId?: string;
|
|
@@ -2500,7 +2325,6 @@ export interface StepReply {
|
|
|
2500
2325
|
output?: string;
|
|
2501
2326
|
error?: string;
|
|
2502
2327
|
}
|
|
2503
|
-
|
|
2504
2328
|
export type StepType =
|
|
2505
2329
|
| 'connectivity-check'
|
|
2506
2330
|
| 'execute'
|
|
@@ -2521,7 +2345,6 @@ export type StepType =
|
|
|
2521
2345
|
| 'download-boot-artifacts'
|
|
2522
2346
|
| 'reboot-for-reclaim'
|
|
2523
2347
|
| 'verify-vips';
|
|
2524
|
-
|
|
2525
2348
|
export interface Steps {
|
|
2526
2349
|
nextInstructionSeconds?: number;
|
|
2527
2350
|
/**
|
|
@@ -2530,7 +2353,6 @@ export interface Steps {
|
|
|
2530
2353
|
postStepAction?: 'exit' | 'continue';
|
|
2531
2354
|
instructions?: Step[];
|
|
2532
2355
|
}
|
|
2533
|
-
|
|
2534
2356
|
export type StepsReply = StepReply[];
|
|
2535
2357
|
export type Subnet = 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])))$
|
|
2536
2358
|
export type SupportLevel =
|
|
@@ -2539,14 +2361,12 @@ export type SupportLevel =
|
|
|
2539
2361
|
| 'tech-preview'
|
|
2540
2362
|
| 'dev-preview'
|
|
2541
2363
|
| 'unavailable';
|
|
2542
|
-
|
|
2543
2364
|
/**
|
|
2544
2365
|
* Map of feature ID or CPU architecture alongside their support level
|
|
2545
2366
|
*/
|
|
2546
2367
|
export interface SupportLevels {
|
|
2547
2368
|
[name: string]: SupportLevel;
|
|
2548
2369
|
}
|
|
2549
|
-
|
|
2550
2370
|
export interface SystemVendor {
|
|
2551
2371
|
serialNumber?: string;
|
|
2552
2372
|
productName?: string;
|
|
@@ -2556,14 +2376,12 @@ export interface SystemVendor {
|
|
|
2556
2376
|
*/
|
|
2557
2377
|
virtual?: boolean;
|
|
2558
2378
|
}
|
|
2559
|
-
|
|
2560
2379
|
export interface TangConnectivityRequest {
|
|
2561
2380
|
/**
|
|
2562
2381
|
* JSON-formatted string containing additional information regarding tang's configuration
|
|
2563
2382
|
*/
|
|
2564
2383
|
tangServers: string;
|
|
2565
2384
|
}
|
|
2566
|
-
|
|
2567
2385
|
export interface TangConnectivityResponse {
|
|
2568
2386
|
/**
|
|
2569
2387
|
* Tang check result.
|
|
@@ -2584,7 +2402,6 @@ export interface TangConnectivityResponse {
|
|
|
2584
2402
|
}[];
|
|
2585
2403
|
}[];
|
|
2586
2404
|
}
|
|
2587
|
-
|
|
2588
2405
|
export interface UpdateManifestParams {
|
|
2589
2406
|
/**
|
|
2590
2407
|
* The folder for the manifest to modify.
|
|
@@ -2607,7 +2424,6 @@ export interface UpdateManifestParams {
|
|
|
2607
2424
|
*/
|
|
2608
2425
|
updatedContent?: string;
|
|
2609
2426
|
}
|
|
2610
|
-
|
|
2611
2427
|
export interface UpgradeAgentRequest {
|
|
2612
2428
|
/**
|
|
2613
2429
|
* Full image reference of the image that the agent should upgrade to, for example
|
|
@@ -2616,7 +2432,6 @@ export interface UpgradeAgentRequest {
|
|
|
2616
2432
|
*/
|
|
2617
2433
|
agentImage?: string;
|
|
2618
2434
|
}
|
|
2619
|
-
|
|
2620
2435
|
export interface UpgradeAgentResponse {
|
|
2621
2436
|
/**
|
|
2622
2437
|
* Full image reference of the image that the agent has upgraded to, for example
|
|
@@ -2626,12 +2441,10 @@ export interface UpgradeAgentResponse {
|
|
|
2626
2441
|
agentImage?: string;
|
|
2627
2442
|
result?: UpgradeAgentResult;
|
|
2628
2443
|
}
|
|
2629
|
-
|
|
2630
2444
|
/**
|
|
2631
2445
|
* Agent upgrade result.
|
|
2632
2446
|
*/
|
|
2633
2447
|
export type UpgradeAgentResult = 'success' | 'failure';
|
|
2634
|
-
|
|
2635
2448
|
export interface Usage {
|
|
2636
2449
|
/**
|
|
2637
2450
|
* Unique idenftifier of the feature
|
|
@@ -2648,7 +2461,6 @@ export interface Usage {
|
|
|
2648
2461
|
[name: string]: Record<string, unknown>;
|
|
2649
2462
|
};
|
|
2650
2463
|
}
|
|
2651
|
-
|
|
2652
2464
|
export interface V2ClusterUpdateParams {
|
|
2653
2465
|
/**
|
|
2654
2466
|
* OpenShift cluster name.
|
|
@@ -2772,7 +2584,6 @@ export interface V2ClusterUpdateParams {
|
|
|
2772
2584
|
*/
|
|
2773
2585
|
tags?: string;
|
|
2774
2586
|
}
|
|
2775
|
-
|
|
2776
2587
|
export interface V2Events {
|
|
2777
2588
|
clusterId?: string;
|
|
2778
2589
|
hostId?: string;
|
|
@@ -2787,21 +2598,18 @@ export interface V2Events {
|
|
|
2787
2598
|
clusterLevel?: boolean;
|
|
2788
2599
|
categories?: string[];
|
|
2789
2600
|
}
|
|
2790
|
-
|
|
2791
2601
|
export interface V2InfraEnvs {
|
|
2792
2602
|
clusterId?: string;
|
|
2793
2603
|
owner?: string;
|
|
2794
2604
|
}
|
|
2795
|
-
|
|
2796
2605
|
export interface V2SupportLevelsArchitectures {
|
|
2797
2606
|
openshiftVersion: string;
|
|
2798
2607
|
}
|
|
2799
|
-
|
|
2800
2608
|
export interface V2SupportLevelsFeatures {
|
|
2801
2609
|
openshiftVersion: string;
|
|
2802
2610
|
cpuArchitecture?: 'x86_64' | 'aarch64' | 'arm64' | 'ppc64le' | 's390x' | 'multi';
|
|
2611
|
+
platformType?: 'baremetal' | 'none' | 'nutanix' | 'vsphere' | 'oci';
|
|
2803
2612
|
}
|
|
2804
|
-
|
|
2805
2613
|
/**
|
|
2806
2614
|
* Single VIP verification result.
|
|
2807
2615
|
*/
|
|
@@ -2810,7 +2618,6 @@ export interface VerifiedVip {
|
|
|
2810
2618
|
vipType?: VipType;
|
|
2811
2619
|
verification?: VipVerification;
|
|
2812
2620
|
}
|
|
2813
|
-
|
|
2814
2621
|
/**
|
|
2815
2622
|
* Request to verify single vip.
|
|
2816
2623
|
*/
|
|
@@ -2818,7 +2625,6 @@ export interface VerifyVip {
|
|
|
2818
2625
|
vip?: Ip; // ^(?:(?:(?:[0-9]{1,3}\.){3}[0-9]{1,3})|(?:(?:[0-9a-fA-F]*:[0-9a-fA-F]*){2,}))?$
|
|
2819
2626
|
vipType?: VipType;
|
|
2820
2627
|
}
|
|
2821
|
-
|
|
2822
2628
|
/**
|
|
2823
2629
|
* list of vips to be verified.
|
|
2824
2630
|
*/
|
|
@@ -2827,7 +2633,6 @@ export type VerifyVipsRequest = VerifyVip[];
|
|
|
2827
2633
|
* list of verified vips.
|
|
2828
2634
|
*/
|
|
2829
2635
|
export type VerifyVipsResponse = VerifiedVip[];
|
|
2830
|
-
|
|
2831
2636
|
export interface VersionedHostRequirements {
|
|
2832
2637
|
/**
|
|
2833
2638
|
* Version of the component for which requirements are defined
|
|
@@ -2850,11 +2655,9 @@ export interface VersionedHostRequirements {
|
|
|
2850
2655
|
*/
|
|
2851
2656
|
'edge-worker'?: ClusterHostRequirementsDetails;
|
|
2852
2657
|
}
|
|
2853
|
-
|
|
2854
2658
|
export interface Versions {
|
|
2855
2659
|
[name: string]: string;
|
|
2856
2660
|
}
|
|
2857
|
-
|
|
2858
2661
|
/**
|
|
2859
2662
|
* The vip type.
|
|
2860
2663
|
*/
|
package/package.json
CHANGED