X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=src%2Fmodels%2FVNFDModel.ts;h=6eafe39c886b72d2ef15190cfc5235cb84a8adff;hb=0a34dfa32165036b380ec6ac493469b34007df0a;hp=4f76f7ce7bc140ec60d63c68a367a54cdfe66e41;hpb=063a3f1741d0cb20d5ee80590339fec54ab1acdd;p=osm%2FNG-UI.git diff --git a/src/models/VNFDModel.ts b/src/models/VNFDModel.ts index 4f76f7c..6eafe39 100644 --- a/src/models/VNFDModel.ts +++ b/src/models/VNFDModel.ts @@ -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;