X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=src%2Fmodels%2FCommonModel.ts;h=80a49b803164c9e2fb55d8aa99637ee74010a459;hb=refs%2Fchanges%2F37%2F11937%2F1;hp=7bd1cca55ee07a35917ed03b5cf32db985bc069e;hpb=1245fc89f257bdc1c8db06d1f9f57e0e2eb760e2;p=osm%2FNG-UI.git diff --git a/src/models/CommonModel.ts b/src/models/CommonModel.ts index 7bd1cca..80a49b8 100644 --- a/src/models/CommonModel.ts +++ b/src/models/CommonModel.ts @@ -17,6 +17,7 @@ */ import { HttpHeaders } from '@angular/common/http'; import { NSD } from 'NSInstanceModel'; +import { EXECUTEDACTIONS } from 'OperationalModel'; import { VNFD } from 'VNFDModel'; /** @@ -41,7 +42,9 @@ export enum CONSTANTNUMBER { oneMB = 1048576, paginationDefaultValue = 10, splitLongitude = 1, - splitLatitude = 2 + splitLatitude = 2, + timeOutDefaultSeconds = 5, + oneGB = 1024 } /** * handle count @enum @@ -115,6 +118,9 @@ export interface URLPARAMS { nsID?: string; nsd?: NSD; data?: VNFD[]; + configs?: object; + actions?: object; + executedActions?: EXECUTEDACTIONS[]; } /** Handle the Delete params */ export interface DELETEPARAMS { @@ -200,7 +206,8 @@ export const VIM_TYPES: TYPESECTION[] = [ { value: 'vmware', title: 'VMware vCD' }, { value: 'openvim', title: 'OpenVIM' }, { value: 'opennebula', title: 'OpenNebula' }, - { value: 'azure', title: 'Azure' } + { value: 'azure', title: 'Azure' }, + { value: 'dummy', title: 'Dummy' } ]; /** Constants of the SDN Types */ export const SDN_TYPES: TYPESECTION[] = [ @@ -328,3 +335,8 @@ export interface LOGINPARAMS { username?: string; password?: string; } +/** Interface for the LABELVALUE */ +export interface LABELVALUE { + label: string; + value: string; +}