Feature: 11055 Support of several node groups in clusters created by OSM
- Added control plane support in managed post
- When aws vim account is selected paylaod will get differed
- Added details page in clusters to view node and ksu for
specified cluster
- Fixed Bug 2402 - Unable to create Ns Config template from Ui
bug by chnaging api
Change-Id: I4eb327fd86b0c4a706b05a8ed10524e4d2c5bc95
Signed-off-by: SANDHYA.JS <sandhya.j@tataelxsi.co.in>
diff --git a/src/models/K8sModel.ts b/src/models/K8sModel.ts
index 06a13b2..0843033 100644
--- a/src/models/K8sModel.ts
+++ b/src/models/K8sModel.ts
@@ -21,23 +21,47 @@
/** Interface for K8SCLUSTERDATA */
export interface K8SCLUSTERDATA {
- credentials: Credentials;
- description: string;
- k8s_version: number;
- name: string;
- namespace: string;
- nets: Nets;
- schema_version: string;
- vim_account: string;
- _admin: Admin;
- _id: string;
+ credentials?: Credentials;
+ description?: string;
+ k8s_version?: number;
+ name?: string;
+ namespace?: string;
+ nets?: Nets;
+ schema_version?: string;
+ vim_account?: string;
+ _admin?: Admin;
+ _id?: string;
state?: string;
resourceState?: string;
created?: string;
bootstrap?: boolean;
key?: string;
+ cloud_type?: string;
+ cluster_mode?: string;
node_count?: number;
- node_size?: number;
+ node_size?: string;
+ ksu_count?: number;
+ cluster_name?: string;
+ private_subnet?: string[];
+ public_subnet?: string[];
+ cluster_id?: string;
+ count?: number;
+ package_name?: string;
+ package_path?: string;
+ data?: K8SNODEDATA[];
+}
+/** Interface for K8SCLUSTERDATA */
+export interface K8SNODEDATA {
+ description: string;
+ name: string;
+ package_name?: string;
+ package_path?: string;
+ _admin: Admin;
+ _id: string;
+ state?: string;
+ resourceState?: string;
+ node_count?: number;
+ node_size?: string;
}
/** Interface for K8SCLUSTERDATA */
export interface K8SREPODATA {
@@ -117,10 +141,10 @@
name: string;
identifier: string;
operationalState?: string;
- version: number;
+ version?: number;
created?: string;
modified?: string;
- pageType: string;
+ pageType?: string;
description?: string;
default?: boolean;
state?: string;
@@ -128,6 +152,14 @@
bootstrap?: boolean;
key?: boolean;
clusterMode?: string;
+ nodeCount?: number;
+ nodeSize?: string;
+ cloud_type?: string;
+ cluster_mode?: string;
+ cluster_name?: string;
+ cluster_id?: string;
+ package_name?: string;
+ package_path?: string;
}
/** Interface for the K8SCLUSTERDATA Return to Display */
export interface K8SREPODATADISPLAY {
@@ -144,6 +176,9 @@
createdbyosm?: boolean;
bootstrap?: boolean;
key?: boolean;
+ cloud_type?: string;
+ cluster_mode?: string;
+ cluster_id?: string;
}
/** Interface for the Create cluster */
@@ -187,6 +222,9 @@
createdbyosm?: boolean;
bootstrap?: boolean;
key?: boolean;
+ cluster_mode?: string;
+ cluster_id?: string;
+ resourceState?: string;
}
/** Interface for the KSU */