X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=src%2Fmodels%2FNSInstanceModel.ts;h=c10c5ce840fce5f2799126fbe82d04049f3346ab;hb=017df364be742ba4d89013ae32572c2b300e2a29;hp=66a6da8e1efc2f1132c970fcb3c3550c2e0c7c51;hpb=99144589707c8c854149258c87cd3871b4c4f6be;p=osm%2FNG-UI.git diff --git a/src/models/NSInstanceModel.ts b/src/models/NSInstanceModel.ts index 66a6da8..c10c5ce 100644 --- a/src/models/NSInstanceModel.ts +++ b/src/models/NSInstanceModel.ts @@ -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;