From 89050ec38eb9b61cd3ce4283f0bc910c5e414624 Mon Sep 17 00:00:00 2001 From: Alexey Sandler Date: Thu, 30 Apr 2020 13:31:30 +0300 Subject: Add action and reducer for vfModule pause instantiation. Issue-ID: VID-821 Signed-off-by: Alexey Sandler Change-Id: Ia7735aa147752dd8bcd5cca820585324f14988ed Signed-off-by: Alexey Sandler --- vid-webpack-master/src/app/shared/models/serviceInstanceActions.ts | 5 ++++- vid-webpack-master/src/app/shared/models/vfModuleInstance.ts | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'vid-webpack-master/src/app/shared/models') diff --git a/vid-webpack-master/src/app/shared/models/serviceInstanceActions.ts b/vid-webpack-master/src/app/shared/models/serviceInstanceActions.ts index 0c8756d50..808c3df7a 100644 --- a/vid-webpack-master/src/app/shared/models/serviceInstanceActions.ts +++ b/vid-webpack-master/src/app/shared/models/serviceInstanceActions.ts @@ -8,7 +8,7 @@ export enum ServiceInstanceActions{ Resume = "Resume", Update_Delete = 'Update_Delete', None_Delete = 'None_Delete', - None_Upgrade = 'None_Upgrade' + None_Upgrade = 'None_Upgrade', } export enum ServiceAction { INSTANTIATE = 'INSTANTIATE', @@ -26,3 +26,6 @@ export enum JobStatus { COMPLETED_WITH_ERRORS = 'COMPLETED_WITH_ERRORS', CREATING = 'CREATING' } +export enum PauseStatus { + AFTER_COMPLETION = 'afterCompletion', +} diff --git a/vid-webpack-master/src/app/shared/models/vfModuleInstance.ts b/vid-webpack-master/src/app/shared/models/vfModuleInstance.ts index ed5a07212..7aedab42a 100644 --- a/vid-webpack-master/src/app/shared/models/vfModuleInstance.ts +++ b/vid-webpack-master/src/app/shared/models/vfModuleInstance.ts @@ -1,4 +1,5 @@ import {ChildNodeInstance} from "./nodeInstance"; +import {PauseStatus} from "./serviceInstanceActions"; export class VfModuleInstance extends ChildNodeInstance{ volumeGroupName: string; @@ -7,6 +8,7 @@ export class VfModuleInstance extends ChildNodeInstance{ statusMessage?: string; tenantId? :string; lcpCloudRegionId?: string; + pauseInstantiation?: PauseStatus; constructor() { super(); -- cgit 1.2.3-korg