@openshift-assisted/types 2.17.4-cim → 2.18.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.
@@ -111,9 +111,10 @@ export interface Cluster {
111
111
  /**
112
112
  * Indicates the type of this object. Will be 'Cluster' if this is a complete object,
113
113
  * 'AddHostsCluster' for cluster that add hosts to existing OCP cluster,
114
+ * 'DisconnectedCluster' for clusters with embedded ignition for offline installation,
114
115
  *
115
116
  */
116
- kind: 'Cluster' | 'AddHostsCluster';
117
+ kind: 'Cluster' | 'AddHostsCluster' | 'DisconnectedCluster';
117
118
  /**
118
119
  * (DEPRECATED) Please use 'controlPlaneCount' instead. Guaranteed availability of the installed cluster. 'Full' installs a Highly-Available cluster
119
120
  * over multiple master nodes whereas 'None' installs a full cluster over one node.
@@ -215,7 +216,8 @@ export interface Cluster {
215
216
  | 'installed'
216
217
  | 'adding-hosts'
217
218
  | 'cancelled'
218
- | 'installing-pending-user-action';
219
+ | 'installing-pending-user-action'
220
+ | 'unmonitored';
219
221
  /**
220
222
  * Additional information pertaining to the status of the OpenShift cluster.
221
223
  */
@@ -357,8 +359,15 @@ export interface Cluster {
357
359
  featureUsage?: string;
358
360
  /**
359
361
  * The desired network type used.
362
+ * - OVNKubernetes: Default CNI for OpenShift (recommended)
363
+ * - OpenShiftSDN: Legacy SDN (deprecated in newer versions)
364
+ * - CiscoACI: Cisco ACI CNI (requires custom manifests)
365
+ * - Cilium: Isovalent Cilium CNI (requires custom manifests)
366
+ * - Calico: Tigera Calico CNI (requires custom manifests)
367
+ * - None: No CNI - user must provide custom CNI manifests
368
+ *
360
369
  */
361
- networkType?: 'OpenShiftSDN' | 'OVNKubernetes';
370
+ networkType?: 'OpenShiftSDN' | 'OVNKubernetes' | 'CiscoACI' | 'Cilium' | 'Calico' | 'None';
362
371
  /**
363
372
  * Cluster networks that are associated with this cluster.
364
373
  */
@@ -505,8 +514,17 @@ export interface ClusterCreateParams {
505
514
  | 'all';
506
515
  /**
507
516
  * The desired network type used.
517
+ * - OVNKubernetes: Default CNI for OpenShift (recommended)
518
+ * - OpenShiftSDN: Legacy SDN (deprecated in newer versions)
519
+ * - CiscoACI: Cisco ACI CNI (requires custom manifests)
520
+ * - Cilium: Isovalent Cilium CNI (requires custom manifests)
521
+ * - Calico: Tigera Calico CNI (requires custom manifests)
522
+ * - None: No CNI - user must provide custom CNI manifests
523
+ * Note: Third-party CNIs (CiscoACI, Cilium, Calico, None) require uploading
524
+ * CNI manifests via the custom manifests API before installation.
525
+ *
508
526
  */
509
- networkType?: 'OpenShiftSDN' | 'OVNKubernetes';
527
+ networkType?: 'OpenShiftSDN' | 'OVNKubernetes' | 'CiscoACI' | 'Cilium' | 'Calico' | 'None';
510
528
  /**
511
529
  * Schedule workloads on masters
512
530
  */
@@ -554,8 +572,10 @@ export interface ClusterDefaultConfig {
554
572
  ntpSource?: string;
555
573
  clusterNetworksIpv4?: ClusterNetwork[];
556
574
  clusterNetworksDualstack?: ClusterNetwork[];
575
+ clusterNetworksIpv6?: ClusterNetwork[];
557
576
  serviceNetworksIpv4?: ServiceNetwork[];
558
577
  serviceNetworksDualstack?: ServiceNetwork[];
578
+ serviceNetworksIpv6?: ServiceNetwork[];
559
579
  /**
560
580
  * This provides a list of forbidden hostnames. If this list is empty or not present, this implies that the UI should fall back to a hard coded list.
561
581
  */
@@ -666,6 +686,7 @@ export type ClusterValidationId =
666
686
  | 'mtv-requirements-satisfied'
667
687
  | 'osc-requirements-satisfied'
668
688
  | 'network-type-valid'
689
+ | 'custom-manifests-requirements-satisfied'
669
690
  | 'platform-requirements-satisfied'
670
691
  | 'node-feature-discovery-requirements-satisfied'
671
692
  | 'nvidia-gpu-requirements-satisfied'
@@ -823,6 +844,16 @@ export interface DhcpAllocationResponse {
823
844
  */
824
845
  ingressVipLease?: string;
825
846
  }
847
+ export interface DisconnectedClusterCreateParams {
848
+ /**
849
+ * Name of the OpenShift cluster.
850
+ */
851
+ name: string;
852
+ /**
853
+ * Version of the OpenShift cluster.
854
+ */
855
+ openshiftVersion: string;
856
+ }
826
857
  export interface Disk {
827
858
  /**
828
859
  * Determine the disk's unique identifier which is the by-id field if it exists and fallback to the by-path field otherwise
@@ -1053,9 +1084,16 @@ export interface Event {
1053
1084
  props?: string;
1054
1085
  }
1055
1086
  export type EventList = Event[];
1087
+ export interface Feature {
1088
+ 'feature-support-level-id': FeatureSupportLevelId;
1089
+ supportLevel: SupportLevel;
1090
+ reason?: IncompatibilityReason;
1091
+ incompatibilities: FeatureSupportLevelId[];
1092
+ }
1056
1093
  export type FeatureSupportLevelId =
1057
1094
  | 'SNO'
1058
1095
  | 'TNA'
1096
+ | 'TNF'
1059
1097
  | 'VIP_AUTO_ALLOC'
1060
1098
  | 'CUSTOM_MANIFEST'
1061
1099
  | 'SINGLE_NODE_EXPANSION'
@@ -1081,6 +1119,10 @@ export type FeatureSupportLevelId =
1081
1119
  | 'EXTERNAL_PLATFORM'
1082
1120
  | 'OVN_NETWORK_TYPE'
1083
1121
  | 'SDN_NETWORK_TYPE'
1122
+ | 'CILIUM_NETWORK_TYPE'
1123
+ | 'CALICO_NETWORK_TYPE'
1124
+ | 'CISCO_ACI_NETWORK_TYPE'
1125
+ | 'NONE_NETWORK_TYPE'
1084
1126
  | 'NODE_FEATURE_DISCOVERY'
1085
1127
  | 'NVIDIA_GPU'
1086
1128
  | 'PIPELINES'
@@ -1102,8 +1144,27 @@ export type FeatureSupportLevelId =
1102
1144
  | 'NUMA_RESOURCES'
1103
1145
  | 'OADP'
1104
1146
  | 'METALLB'
1147
+ | 'DUAL_STACK_PRIMARY_IPV6'
1105
1148
  | 'LOKI'
1106
1149
  | 'OPENSHIFT_LOGGING';
1150
+ export interface FencingCredentialsParams {
1151
+ /**
1152
+ * The URL of the host's BMC, for example https://bmc1.example.com.
1153
+ */
1154
+ address: string;
1155
+ /**
1156
+ * The username to connect to the host's BMC.
1157
+ */
1158
+ username: string;
1159
+ /**
1160
+ * The password to connect to the host's BMC.
1161
+ */
1162
+ password: string;
1163
+ /**
1164
+ * Whether to enable or disable certificate verification when connecting to the host's BMC.
1165
+ */
1166
+ certificateVerification?: 'Enabled' | 'Disabled';
1167
+ }
1107
1168
  /**
1108
1169
  * Cluster finalizing stage managed by controller
1109
1170
  */
@@ -1318,6 +1379,10 @@ export interface Host {
1318
1379
  * formatting.
1319
1380
  */
1320
1381
  skipFormattingDisks?: string;
1382
+ /**
1383
+ * The host's BMC credentials that will be used in TNF.
1384
+ */
1385
+ fencingCredentials?: string;
1321
1386
  }
1322
1387
  export interface HostCreateParams {
1323
1388
  hostId: string; // uuid
@@ -1525,6 +1590,10 @@ export interface HostRegistrationResponse {
1525
1590
  * formatting.
1526
1591
  */
1527
1592
  skipFormattingDisks?: string;
1593
+ /**
1594
+ * The host's BMC credentials that will be used in TNF.
1595
+ */
1596
+ fencingCredentials?: string;
1528
1597
  /**
1529
1598
  * Command for starting the next step runner
1530
1599
  */
@@ -1546,6 +1615,7 @@ export type HostStage =
1546
1615
  | 'Waiting for controller'
1547
1616
  | 'Installing'
1548
1617
  | 'Writing image to disk'
1618
+ | 'Copying registry data to disk'
1549
1619
  | 'Rebooting'
1550
1620
  | 'Waiting for ignition'
1551
1621
  | 'Configuring'
@@ -1603,6 +1673,10 @@ export interface HostUpdateParams {
1603
1673
  * Labels to be added to the corresponding node.
1604
1674
  */
1605
1675
  nodeLabels?: NodeLabelParams[];
1676
+ /**
1677
+ * The host's BMC credentials that will be used in TNF.
1678
+ */
1679
+ fencingCredentials?: FencingCredentialsParams;
1606
1680
  }
1607
1681
  export type HostValidationId =
1608
1682
  | 'connected'
@@ -1753,6 +1827,11 @@ export interface ImportClusterParams {
1753
1827
  */
1754
1828
  openshiftClusterId: string; // uuid
1755
1829
  }
1830
+ export type IncompatibilityReason =
1831
+ | 'cpuArchitecture'
1832
+ | 'platform'
1833
+ | 'openshiftVersion'
1834
+ | 'ociExternalIntegrationDisabled';
1756
1835
  export interface InfraEnv {
1757
1836
  /**
1758
1837
  * Indicates the type of this object.
@@ -1794,6 +1873,12 @@ export interface InfraEnv {
1794
1873
  * static network configuration string in the format expected by discovery ignition generation.
1795
1874
  */
1796
1875
  staticNetworkConfig?: string;
1876
+ /**
1877
+ * The IP address of the host that will act as the rendezvous (bootstrap) node for agent-based installations.
1878
+ * This is optional for disconnected-iso image type and specifies which host will run the assisted service
1879
+ * during the bootstrap phase. All other hosts will connect to this IP to coordinate the installation.
1880
+ */
1881
+ rendezvousIp?: string; // ^(?:$|(?:(?:(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])|(?:([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:(:[0-9a-fA-F]{1,4}){1,6}|:(:[0-9a-fA-F]{1,4}){1,7}|:|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1?[0-9])?[0-9])\.){3}(25[0-5]|(2[0-4]|1?[0-9])?[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1?[0-9])?[0-9])\.){3}(25[0-5]|(2[0-4]|1?[0-9])?[0-9]))))$
1797
1882
  type: ImageType;
1798
1883
  /**
1799
1884
  * Json formatted string containing the user overrides for the initial ignition config.
@@ -1850,6 +1935,12 @@ export interface InfraEnvCreateParams {
1850
1935
  */
1851
1936
  pullSecret: string;
1852
1937
  staticNetworkConfig?: HostStaticNetworkConfig[];
1938
+ /**
1939
+ * The IP address of the host that will act as the rendezvous (bootstrap) node for agent-based installations.
1940
+ * This is optional for disconnected-iso image type and specifies which host will run the assisted service
1941
+ * during the bootstrap phase. All other hosts will connect to this IP to coordinate the installation.
1942
+ */
1943
+ rendezvousIp?: string; // ^(?:$|(?:(?:(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])|(?:([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:(:[0-9a-fA-F]{1,4}){1,6}|:(:[0-9a-fA-F]{1,4}){1,7}|:|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1?[0-9])?[0-9])\.){3}(25[0-5]|(2[0-4]|1?[0-9])?[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1?[0-9])?[0-9])\.){3}(25[0-5]|(2[0-4]|1?[0-9])?[0-9]))))$
1853
1944
  imageType?: ImageType;
1854
1945
  /**
1855
1946
  * JSON formatted string containing the user overrides for the initial ignition config.
@@ -1866,7 +1957,7 @@ export interface InfraEnvCreateParams {
1866
1957
  /**
1867
1958
  * The CPU architecture of the image (x86_64/arm64/etc).
1868
1959
  */
1869
- cpuArchitecture?: 'x86_64' | 'aarch64' | 'arm64' | 'ppc64le' | 's390x';
1960
+ cpuArchitecture?: 'x86_64' | 'aarch64' | 'arm64' | 'ppc64le' | 's390x' | 'multi';
1870
1961
  kernelArguments?: KernelArguments;
1871
1962
  /**
1872
1963
  * PEM-encoded X.509 certificate bundle. Hosts discovered by this
@@ -1892,6 +1983,12 @@ export interface InfraEnvUpdateParams {
1892
1983
  */
1893
1984
  pullSecret?: string;
1894
1985
  staticNetworkConfig?: HostStaticNetworkConfig[];
1986
+ /**
1987
+ * The IP address of the host that will act as the rendezvous (bootstrap) node for agent-based installations.
1988
+ * This is optional for disconnected-iso image type and specifies which host will run the assisted service
1989
+ * during the bootstrap phase. All other hosts will connect to this IP to coordinate the installation.
1990
+ */
1991
+ rendezvousIp?: string; // ^(?:$|(?:(?:(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])|(?:([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:(:[0-9a-fA-F]{1,4}){1,6}|:(:[0-9a-fA-F]{1,4}){1,7}|:|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1?[0-9])?[0-9])\.){3}(25[0-5]|(2[0-4]|1?[0-9])?[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1?[0-9])?[0-9])\.){3}(25[0-5]|(2[0-4]|1?[0-9])?[0-9]))))$
1895
1992
  imageType?: ImageType;
1896
1993
  /**
1897
1994
  * JSON formatted string containing the user overrides for the initial ignition config.
@@ -2176,7 +2273,7 @@ export type MacInterfaceMap = {
2176
2273
  /**
2177
2274
  * mac address present on the host
2178
2275
  */
2179
- macAddress?: string; // ^([0-9A-Fa-f]{2}[:]){5}([0-9A-Fa-f]{2})$
2276
+ macAddress: string; // ^([0-9A-Fa-f]{2}[:]){5}([0-9A-Fa-f]{2})$
2180
2277
  /**
2181
2278
  * nic name used in the yaml, which relates 1:1 to the mac address
2182
2279
  */
@@ -2340,6 +2437,17 @@ export interface OpenshiftVersion {
2340
2437
  export interface OpenshiftVersions {
2341
2438
  [name: string]: OpenshiftVersion;
2342
2439
  }
2440
+ export interface Operator {
2441
+ 'feature-support-level-id': FeatureSupportLevelId;
2442
+ supportLevel: SupportLevel;
2443
+ reason?: IncompatibilityReason;
2444
+ incompatibilities: FeatureSupportLevelId[];
2445
+ /**
2446
+ * Name of the operator
2447
+ */
2448
+ name: string;
2449
+ dependencies: FeatureSupportLevelId[];
2450
+ }
2343
2451
  export interface OperatorCreateParams {
2344
2452
  name?: string;
2345
2453
  /**
@@ -2847,8 +2955,17 @@ export interface V2ClusterUpdateParams {
2847
2955
  | 'all';
2848
2956
  /**
2849
2957
  * The desired network type used.
2958
+ * - OVNKubernetes: Default CNI for OpenShift (recommended)
2959
+ * - OpenShiftSDN: Legacy SDN (deprecated in newer versions)
2960
+ * - CiscoACI: Cisco ACI CNI (requires custom manifests)
2961
+ * - Cilium: Isovalent Cilium CNI (requires custom manifests)
2962
+ * - Calico: Tigera Calico CNI (requires custom manifests)
2963
+ * - None: No CNI - user must provide custom CNI manifests
2964
+ * Note: Third-party CNIs (CiscoACI, Cilium, Calico, None) require uploading
2965
+ * CNI manifests via the custom manifests API before installation.
2966
+ *
2850
2967
  */
2851
- networkType?: 'OpenShiftSDN' | 'OVNKubernetes';
2968
+ networkType?: 'OpenShiftSDN' | 'OVNKubernetes' | 'CiscoACI' | 'Cilium' | 'Calico' | 'None';
2852
2969
  /**
2853
2970
  * Schedule workloads on masters
2854
2971
  */
@@ -2905,6 +3022,13 @@ export interface V2OpenshiftVersions {
2905
3022
  version?: string;
2906
3023
  onlyLatest?: boolean;
2907
3024
  }
3025
+ export interface V2OperatorsBundles {
3026
+ openshiftVersion?: string;
3027
+ cpuArchitecture?: 'x86_64' | 'aarch64' | 'arm64' | 'ppc64le' | 's390x' | 'multi';
3028
+ platformType?: 'baremetal' | 'none' | 'nutanix' | 'vsphere' | 'external';
3029
+ externalPlatformName?: string;
3030
+ featureIds?: 'SNO'[];
3031
+ }
2908
3032
  export interface V2SupportLevelsArchitectures {
2909
3033
  openshiftVersion: string;
2910
3034
  }
@@ -2914,6 +3038,12 @@ export interface V2SupportLevelsFeatures {
2914
3038
  platformType?: 'baremetal' | 'none' | 'nutanix' | 'vsphere' | 'external';
2915
3039
  externalPlatformName?: string;
2916
3040
  }
3041
+ export interface V2SupportLevelsFeaturesDetailed {
3042
+ openshiftVersion: string;
3043
+ cpuArchitecture?: 'x86_64' | 'arm64' | 'ppc64le' | 's390x' | 'multi';
3044
+ platformType?: 'baremetal' | 'none' | 'nutanix' | 'vsphere' | 'external';
3045
+ externalPlatformName?: string;
3046
+ }
2917
3047
  /**
2918
3048
  * Single VIP verification result.
2919
3049
  */
package/package.json CHANGED
@@ -47,5 +47,5 @@
47
47
  "js-yaml": "^4.1.1",
48
48
  "sw2dts": "^2.6.3"
49
49
  },
50
- "version": "2.17.4-cim"
50
+ "version": "2.18.1-cim"
51
51
  }
package/tsconfig.json CHANGED
@@ -4,6 +4,7 @@
4
4
  "incremental": true,
5
5
  "noEmit": false,
6
6
  "resolveJsonModule": true,
7
+ "skipLibCheck": true,
7
8
  "tsBuildInfoFile": "node_modules/.cache/tsc/tsconfig.tsbuildinfo"
8
9
  },
9
10
  "include": ["*.d.ts"]