X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=src%2Fmodels%2FNSInstanceModel.ts;h=66a6da8e1efc2f1132c970fcb3c3550c2e0c7c51;hb=99144589707c8c854149258c87cd3871b4c4f6be;hp=62b9c5c9e6e42196185a588929c9193d2c470dd5;hpb=f2ae5462f9c1d6b7a649eb389c5a4c990501b5c4;p=osm%2FNG-UI.git diff --git a/src/models/NSInstanceModel.ts b/src/models/NSInstanceModel.ts index 62b9c5c..66a6da8 100644 --- a/src/models/NSInstanceModel.ts +++ b/src/models/NSInstanceModel.ts @@ -149,6 +149,42 @@ export interface NSDVLD { df: DF[]; } +/** Interface for Vm Migration */ +export interface VMMIGRATION { + lcmOperationType: string; + vnfInstanceId: string; + migrateToHost?: string; + vdu?: VDUPARAM; +} + +/** Interface for vdu for Vm Migration */ +export interface VDUPARAM { + vduId?: string; + vduCountIndex?: string; +} + +/** Interface for Ns Update */ +export interface NSUPDATE { + lcmOperationType: string; + updateType: string; + nsInstanceId: string; + changeVnfPackageData: CHANGEVNFDATA; +} + +/** Interface for changeVnfPackageData in Ns Update */ +export interface CHANGEVNFDATA { + vnfdId: string; + vnfInstanceId: string; +} + +/** Interface for terminate vnf in Ns Update */ +export interface TERMINATEVNF { + lcmOperationType: string; + updateType: string; + nsInstanceId: string; + removeVnfInstanceId: string; +} + /** Interface for InstantiateParam */ interface InstantiateParam { nsdId: string; @@ -189,19 +225,19 @@ export interface NSDInstanceData { } /** Interface for the operationparams */ -export interface OPERATIONPARAMS{ +export interface OPERATIONPARAMS { scaleType?: string; scaleVnfData?: SCALEVNFDATA; } /** Interface for the scaleVnfData */ -export interface SCALEVNFDATA{ +export interface SCALEVNFDATA { scaleVnfType?: string; scaleByStepData?: SCALEBYSTEPDATA; } /** Interface for the scaleByStepData */ -export interface SCALEBYSTEPDATA{ +export interface SCALEBYSTEPDATA { 'scaling-group-descriptor'?: string; 'member-vnf-index'?: string; } @@ -295,7 +331,7 @@ export interface VLINFO { } /** Interface for the VNFR Info */ -export interface VNFRINFO{ +export interface VNFRINFO { vimID: string; _id: string; ip: string;