summaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/shared/models
diff options
context:
space:
mode:
authorAlexey Sandler <alexey.sandler@intl.att.com>2020-04-30 13:31:30 +0300
committerAlexey Sandler <alexey.sandler@intl.att.com>2020-05-03 13:52:41 +0300
commit89050ec38eb9b61cd3ce4283f0bc910c5e414624 (patch)
treeac3ecdad854e213f60cbbac29c5dc49cdd69e170 /vid-webpack-master/src/app/shared/models
parent4464942ccab08ce2c562c7b27451d0f2c48cc1ff (diff)
Add action and reducer for vfModule pause instantiation.
Issue-ID: VID-821 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: Ia7735aa147752dd8bcd5cca820585324f14988ed Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
Diffstat (limited to 'vid-webpack-master/src/app/shared/models')
-rw-r--r--vid-webpack-master/src/app/shared/models/serviceInstanceActions.ts5
-rw-r--r--vid-webpack-master/src/app/shared/models/vfModuleInstance.ts2
2 files changed, 6 insertions, 1 deletions
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();