@openshift-assisted/types 2.14.7-cim → 2.15.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.
@@ -83,6 +83,29 @@ export interface Boot {
83
83
  currentBootMode?: string;
84
84
  pxeInterface?: string;
85
85
  commandLine?: string;
86
+ secureBootState?: SecureBootState;
87
+ deviceType?: 'persistent' | 'ephemeral';
88
+ }
89
+ export interface Bundle {
90
+ /**
91
+ * Unique identifier of the bundle, for example `virtualization` or `openshift-ai-nvidia`.
92
+ */
93
+ id?: string;
94
+ /**
95
+ * Short human friendly description for the bundle, usually only a few words, for example `Virtualization` or
96
+ * `OpenShift AI (NVIDIA)`.
97
+ *
98
+ */
99
+ title?: string;
100
+ /**
101
+ * Longer human friendly description for the bundle, usually one or more sentences.
102
+ *
103
+ */
104
+ description?: string;
105
+ /**
106
+ * List of operators associated with the bundle.
107
+ */
108
+ operators?: string[];
86
109
  }
87
110
  export interface Cluster {
88
111
  /**
@@ -371,6 +394,7 @@ export interface Cluster {
371
394
  * Specifies the required number of control plane nodes that should be part of the cluster.
372
395
  */
373
396
  controlPlaneCount?: number;
397
+ loadBalancer?: LoadBalancer;
374
398
  }
375
399
  export interface ClusterCreateParams {
376
400
  /**
@@ -378,7 +402,7 @@ export interface ClusterCreateParams {
378
402
  */
379
403
  name: string;
380
404
  /**
381
- * Guaranteed availability of the installed cluster. 'Full' installs a Highly-Available cluster
405
+ * (DEPRECATED) Please use 'controlPlaneCount' instead. Guaranteed availability of the installed cluster. 'Full' installs a Highly-Available cluster
382
406
  * over multiple master nodes whereas 'None' installs a full cluster over one node.
383
407
  *
384
408
  */
@@ -453,6 +477,8 @@ export interface ClusterCreateParams {
453
477
  additionalNtpSource?: string;
454
478
  /**
455
479
  * List of OLM operators to be installed.
480
+ * For the full list of supported operators, check the endpoint `/v2/supported-operators`:
481
+ *
456
482
  */
457
483
  olmOperators?: OperatorCreateParams[];
458
484
  /**
@@ -496,6 +522,11 @@ export interface ClusterCreateParams {
496
522
  * A comma-separated list of tags that are associated to the cluster.
497
523
  */
498
524
  tags?: string;
525
+ /**
526
+ * Specifies the required number of control plane nodes that should be part of the cluster.
527
+ */
528
+ controlPlaneCount?: number;
529
+ loadBalancer?: LoadBalancer;
499
530
  }
500
531
  export interface ClusterDefaultConfig {
501
532
  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]?)$
@@ -615,6 +646,7 @@ export type ClusterValidationId =
615
646
  | 'lvm-requirements-satisfied'
616
647
  | 'mce-requirements-satisfied'
617
648
  | 'mtv-requirements-satisfied'
649
+ | 'osc-requirements-satisfied'
618
650
  | 'network-type-valid'
619
651
  | 'platform-requirements-satisfied'
620
652
  | 'node-feature-discovery-requirements-satisfied'
@@ -622,7 +654,16 @@ export type ClusterValidationId =
622
654
  | 'pipelines-requirements-satisfied'
623
655
  | 'servicemesh-requirements-satisfied'
624
656
  | 'serverless-requirements-satisfied'
625
- | 'openshift-ai-requirements-satisfied';
657
+ | 'openshift-ai-requirements-satisfied'
658
+ | 'authorino-requirements-satisfied'
659
+ | 'nmstate-requirements-satisfied'
660
+ | 'amd-gpu-requirements-satisfied'
661
+ | 'kmm-requirements-satisfied'
662
+ | 'node-healthcheck-requirements-satisfied'
663
+ | 'self-node-remediation-requirements-satisfied'
664
+ | 'fence-agents-remediation-requirements-satisfied'
665
+ | 'node-maintenance-requirements-satisfied'
666
+ | 'kube-descheduler-requirements-satisfied';
626
667
  export interface CompletionParams {
627
668
  isSuccess: boolean;
628
669
  errorInfo?: string;
@@ -647,6 +688,7 @@ export interface ConnectivityRemoteHost {
647
688
  hostId?: string; // uuid
648
689
  l2Connectivity?: L2Connectivity[];
649
690
  l3Connectivity?: L3Connectivity[];
691
+ mtuReport?: MtuReport[];
650
692
  }
651
693
  export interface ConnectivityReport {
652
694
  remoteHosts?: ConnectivityRemoteHost[];
@@ -988,6 +1030,7 @@ export type FeatureSupportLevelId =
988
1030
  | 'CNV'
989
1031
  | 'MCE'
990
1032
  | 'MTV'
1033
+ | 'OSC'
991
1034
  | 'NUTANIX_INTEGRATION'
992
1035
  | 'BAREMETAL_PLATFORM'
993
1036
  | 'NONE_PLATFORM'
@@ -1009,7 +1052,18 @@ export type FeatureSupportLevelId =
1009
1052
  | 'PIPELINES'
1010
1053
  | 'SERVICEMESH'
1011
1054
  | 'SERVERLESS'
1012
- | 'OPENSHIFT_AI';
1055
+ | 'OPENSHIFT_AI'
1056
+ | 'NON_STANDARD_HA_CONTROL_PLANE'
1057
+ | 'AUTHORINO'
1058
+ | 'USER_MANAGED_LOAD_BALANCER'
1059
+ | 'NMSTATE'
1060
+ | 'AMD_GPU'
1061
+ | 'KMM'
1062
+ | 'NODE_HEALTHCHECK'
1063
+ | 'SELF_NODE_REMEDIATION'
1064
+ | 'FENCE_AGENTS_REMEDIATION'
1065
+ | 'NODE_MAINTENANCE'
1066
+ | 'KUBE_DESCHEDULER';
1013
1067
  /**
1014
1068
  * Cluster finalizing stage managed by controller
1015
1069
  */
@@ -1535,6 +1589,7 @@ export type HostValidationId =
1535
1589
  | 'lvm-requirements-satisfied'
1536
1590
  | 'mce-requirements-satisfied'
1537
1591
  | 'mtv-requirements-satisfied'
1592
+ | 'osc-requirements-satisfied'
1538
1593
  | 'sufficient-installation-disk-speed'
1539
1594
  | 'cnv-requirements-satisfied'
1540
1595
  | 'sufficient-network-latency-requirement-for-role'
@@ -1559,7 +1614,17 @@ export type HostValidationId =
1559
1614
  | 'pipelines-requirements-satisfied'
1560
1615
  | 'servicemesh-requirements-satisfied'
1561
1616
  | 'serverless-requirements-satisfied'
1562
- | 'openshift-ai-requirements-satisfied';
1617
+ | 'openshift-ai-requirements-satisfied'
1618
+ | 'authorino-requirements-satisfied'
1619
+ | 'mtu-valid'
1620
+ | 'nmstate-requirements-satisfied'
1621
+ | 'amd-gpu-requirements-satisfied'
1622
+ | 'kmm-requirements-satisfied'
1623
+ | 'node-healthcheck-requirements-satisfied'
1624
+ | 'self-node-remediation-requirements-satisfied'
1625
+ | 'fence-agents-remediation-requirements-satisfied'
1626
+ | 'node-maintenance-requirements-satisfied'
1627
+ | 'kube-descheduler-requirements-satisfied';
1563
1628
  /**
1564
1629
  * Explicit ignition endpoint overrides the default ignition endpoint.
1565
1630
  */
@@ -1856,6 +1921,10 @@ export interface InstallCmdRequest {
1856
1921
  *
1857
1922
  */
1858
1923
  highAvailabilityMode?: 'Full' | 'None';
1924
+ /**
1925
+ * Specifies the required number of control plane nodes that should be part of the cluster.
1926
+ */
1927
+ controlPlaneCount?: number;
1859
1928
  proxy?: Proxy;
1860
1929
  /**
1861
1930
  * Check CVO status if needed
@@ -1897,6 +1966,10 @@ export interface InstallCmdRequest {
1897
1966
  * If true, notify number of reboots by assisted controller
1898
1967
  */
1899
1968
  notifyNumReboots?: boolean;
1969
+ /**
1970
+ * CoreOS container image to use if installing to the local device
1971
+ */
1972
+ coreosImage?: string;
1900
1973
  }
1901
1974
  export interface InstallerArgsParams {
1902
1975
  /**
@@ -2010,6 +2083,21 @@ export interface ListVersions {
2010
2083
  versions?: Versions;
2011
2084
  releaseTag?: string;
2012
2085
  }
2086
+ export interface LoadBalancer {
2087
+ /**
2088
+ * Indicates if the load balancer will be managed by the cluster or by the user. This is optional and The
2089
+ * default is `cluster-managed`.
2090
+ *
2091
+ * `cluster-managed` means that the cluster will start the components that assign the API and ingress VIPs to the
2092
+ * nodes of the cluster automatically.
2093
+ *
2094
+ * `user-managed` means that the user is responsible for configuring an external load balancer and assign the
2095
+ * API and ingress VIPs to it. Note that this configuration needs to be completed before starting the
2096
+ * installation of the cluster, as it is needed during the installation process.
2097
+ *
2098
+ */
2099
+ type?: 'cluster-managed' | 'user-managed';
2100
+ }
2013
2101
  export interface LogsGatherCmdRequest {
2014
2102
  /**
2015
2103
  * Cluster id
@@ -2133,8 +2221,17 @@ export interface MonitoredOperator {
2133
2221
  * Time at which the operator was last updated.
2134
2222
  */
2135
2223
  statusUpdatedAt?: string; // date-time
2224
+ /**
2225
+ * List of identifier of the bundles associated with the operator. Can be empty.
2226
+ */
2227
+ bundles?: string[];
2136
2228
  }
2137
2229
  export type MonitoredOperatorsList = MonitoredOperator[];
2230
+ export interface MtuReport {
2231
+ outgoingNic?: string;
2232
+ remoteIpAddress?: string;
2233
+ mtuSuccessful?: boolean;
2234
+ }
2138
2235
  export interface NextStepCmdRequest {
2139
2236
  /**
2140
2237
  * Infra env id
@@ -2435,6 +2532,7 @@ export interface Route {
2435
2532
  */
2436
2533
  metric?: number; // int32
2437
2534
  }
2535
+ export type SecureBootState = 'Unknown' | 'NotSupported' | 'Enabled' | 'Disabled';
2438
2536
  /**
2439
2537
  * IP address block for service IP blocks.
2440
2538
  */
@@ -2686,6 +2784,8 @@ export interface V2ClusterUpdateParams {
2686
2784
  additionalNtpSource?: string;
2687
2785
  /**
2688
2786
  * List of OLM operators to be installed.
2787
+ * For the full list of supported operators, check the endpoint `/v2/supported-operators`:
2788
+ *
2689
2789
  */
2690
2790
  olmOperators?: OperatorCreateParams[];
2691
2791
  /**
@@ -2724,6 +2824,11 @@ export interface V2ClusterUpdateParams {
2724
2824
  * A comma-separated list of tags that are associated to the cluster.
2725
2825
  */
2726
2826
  tags?: string;
2827
+ /**
2828
+ * Specifies the required number of control plane nodes that should be part of the cluster.
2829
+ */
2830
+ controlPlaneCount?: number;
2831
+ loadBalancer?: LoadBalancer;
2727
2832
  }
2728
2833
  export interface V2Events {
2729
2834
  clusterId?: string;
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.14.7-cim"
50
+ "version": "2.15.1-cim"
51
51
  }