Fix Bug 2121: NG-UI uses unmaintained Chokidar version
[osm/NG-UI.git] / src / models / VNFDModel.ts
index 4f76f7c..6eafe39 100644 (file)
@@ -18,7 +18,6 @@
 /**
  * @file  Model for VNFD related information.
  */
-// tslint:disable: completed-docs
 /** Interface for Project */
 export interface ProjectModel {
     project_id: string;
@@ -32,6 +31,8 @@ export interface ProjectModel {
     username: string;
     remote_host: string;
     admin: boolean;
+    message?: string;
+    user_id?: string;
 }
 
 /** Interface for ProjectDetails */
@@ -63,6 +64,7 @@ export interface VNFD {
     usageState?: string;
     vdu?: VDU[];
     version?: string;
+    'software-version'?: string;
     'virtual-compute-desc'?: string;
     'virtual-storage-desc'?: string[];
     _admin?: VNFDAdminDetails;
@@ -83,6 +85,7 @@ export interface DF {
     'instantiation-level'?: INSTANTIATIONLEVEL[];
     'vdu-profile'?: VDUPROFILE[];
     'vnf-configuration-id'?: string;
+    'scaling-aspect'?: SCALING[];
 }
 /** Interface for INSTANTIATIONLEVEL */
 export interface INSTANTIATIONLEVEL {
@@ -103,6 +106,31 @@ export interface VDUPROFILE {
     'vdu-configuration-id'?: string;
     'vdu-configuration'?: VDUCONFIG;
 }
+/** Interface for SCALING */
+export interface SCALING {
+    'aspect-delta-details'?: object;
+    id: string;
+    name?: string;
+    'max-scale-level'?: number;
+    'scaling-policy'?: SCALINGPOLICY[];
+}
+/** Interface for SCALINGPOLICY */
+export interface SCALINGPOLICY {
+    'cooldown-time': number;
+    name?: string;
+    'scaling-criteria': SCALINGCRITERIA[];
+    'scaling-type'?: string;
+    'threshold-time'?: number;
+}
+/** Interface for SCALINGCRITERIA */
+export interface SCALINGCRITERIA {
+    name?: string;
+    'scale-in-relational-operation': string;
+    'scale-in-threshold'?: string;
+    'scale-out-relational-operation'?: string;
+    'scale-out-threshold'?: string;
+    'vnf-monitoring-param-ref'?: string;
+}
 /** Interface for VDUCONFIG */
 export interface VDUCONFIG {
     id: string;