Fix Bug 2336: Manual Healing option in Ui
[osm/NG-UI.git] / src / models / NSInstanceModel.ts
index 66a6da8..ffa95a2 100644 (file)
@@ -18,7 +18,7 @@
 /**
  * @file  Model for NS Instance related information.
  */
-// tslint:disable: completed-docs
+/* eslint-disable */
 import { DF, VLD } from 'NSDModel';
 import { VNFDAdminDetails } from 'VNFDModel';
 
@@ -49,6 +49,8 @@ export interface NSInstanceDetails {
     additionalParamsForNs: AdditionalParamForN;
     _id?: string;
     vcaStatus?: object;
+    startTime?: string;
+    'create-time'?: string;
 }
 
 /** Interface for Admin */
@@ -67,7 +69,6 @@ interface ROAdmin {
 }
 
 /** Interface for _Admin */
-// tslint:disable-next-line:class-name
 interface _Admin {
     'projects_write': string[];
     deployed: DeployedAdmin;
@@ -114,7 +115,6 @@ export interface NSD {
 }
 
 /** Interface for _AdminDetails */
-// tslint:disable-next-line:class-name
 export interface _AdminDetails {
     usageState: string;
     projects_write: string[];
@@ -185,6 +185,51 @@ export interface TERMINATEVNF {
     removeVnfInstanceId: string;
 }
 
+/** Interface for Start, Stop & Rebuild */
+export interface StartStopRebuild {
+    updateType: string;
+    operateVnfData: OPERATEVNFDATA;
+}
+
+/** Interface for operateVnfData  in Start, Stop and Rebuild */
+export interface OPERATEVNFDATA {
+    additionalParam: ADDITIONALPARAMS;
+    vnfInstanceId: string;
+    changeStateTo: string;
+}
+
+/** Interface for additionalParam in Start, Stop and Rebuild */
+export interface ADDITIONALPARAMS {
+    'run-day1': boolean;
+    'vdu_id': string;
+    'count-index': string;
+}
+
+/** Interface for VerticalScaling */
+export interface VerticalScaling {
+    lcmOperationType: string;
+    verticalScale: string;
+    nsInstanceId: string;
+    changeVnfFlavorData: CHANGEVNFFLAVORDATAPARAM;
+}
+
+/** Interface for changeVnfFlavorData in Vertical Scaling */
+export interface CHANGEVNFFLAVORDATAPARAM {
+    vnfInstanceId: string;
+    additionalParams: ADDITIONALPARAM;
+
+}
+
+/** Interface for additionalParam in Vertical Scaling */
+export interface ADDITIONALPARAM {
+    vduid: string;
+    vduCountIndex: string;
+    virtualMemory: number;
+    sizeOfStorage: number;
+    numVirtualCpu: number;
+
+}
+
 /** Interface for InstantiateParam */
 interface InstantiateParam {
     nsdId: string;
@@ -222,6 +267,8 @@ export interface NSDInstanceData {
     nsd?: NSD;
     operationParams?: OPERATIONPARAMS;
     'nsd-id': string;
+    constituent: string[];
+    'create-time'?: string;
 }
 
 /** Interface for the operationparams */
@@ -341,3 +388,18 @@ export interface VNFRINFO {
     vnfdId: string;
     memberIndex: string;
 }
+
+/** Interface for vdu mappings */
+export interface VDUMAP {
+    vdu_mappings?: VDUMAPPINGS[];
+}
+
+/** Interface for vdu Mappings */
+export interface VDUMAPPINGS {
+    vduId?: string;
+    'vdu-id'?: string;
+    countIndex?: string;
+    'count-index'?: string;
+    runDay1?: Boolean;
+    'run-day1'?: Boolean;
+}