aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/shared/models
diff options
context:
space:
mode:
Diffstat (limited to 'vid-webpack-master/src/app/shared/models')
-rw-r--r--vid-webpack-master/src/app/shared/models/serviceInstance.ts6
-rw-r--r--vid-webpack-master/src/app/shared/models/serviceInstanceActions.ts5
-rw-r--r--vid-webpack-master/src/app/shared/models/vnfInstance.ts2
3 files changed, 11 insertions, 2 deletions
diff --git a/vid-webpack-master/src/app/shared/models/serviceInstance.ts b/vid-webpack-master/src/app/shared/models/serviceInstance.ts
index d9167be16..cae69a6c8 100644
--- a/vid-webpack-master/src/app/shared/models/serviceInstance.ts
+++ b/vid-webpack-master/src/app/shared/models/serviceInstance.ts
@@ -19,6 +19,7 @@ export class ServiceInstance extends NodeInstance{
projectName: string;
owningEntityId: string;
owningEntityName: string;
+ latestAvailableVersion: Number;
pause: boolean;
bulkSize: number;
vnfs: { [vnf_module_model_name: string]: VnfInstance; };
@@ -26,6 +27,7 @@ export class ServiceInstance extends NodeInstance{
vnfGroups : {[vnf_module_model_name: string]: VnfGroupInstance; };
networks: { [vnf_module_model_name: string]: NetworkInstance; };
isDirty : boolean;
+ isUpgraded : boolean;
instanceParams: {[key: string]: string}[];
rollbackOnFailure: boolean;
subscriberName: string;
@@ -39,6 +41,7 @@ export class ServiceInstance extends NodeInstance{
optionalGroupMembersMap?: { [path: string]: VnfMember[]; };
statusMessage: string;
vidNotions?: VidNotions;
+ upgradedVFMSonsCounter: number;
constructor() {
super();
@@ -56,6 +59,7 @@ export class ServiceInstance extends NodeInstance{
this.networks = {};
this.vnfGroups = {};
this.bulkSize = 1;
+ this.isUpgraded = false;
+ this.upgradedVFMSonsCounter = 0;
}
-
}
diff --git a/vid-webpack-master/src/app/shared/models/serviceInstanceActions.ts b/vid-webpack-master/src/app/shared/models/serviceInstanceActions.ts
index cda2d0e88..0c8756d50 100644
--- a/vid-webpack-master/src/app/shared/models/serviceInstanceActions.ts
+++ b/vid-webpack-master/src/app/shared/models/serviceInstanceActions.ts
@@ -1,11 +1,14 @@
export enum ServiceInstanceActions{
Delete = "Delete",
+ Replace = "Replace",
+ Upgrade = "Upgrade",
Update="Update",
Create="Create",
None="None",
Resume = "Resume",
Update_Delete = 'Update_Delete',
- None_Delete = 'None_Delete'
+ None_Delete = 'None_Delete',
+ None_Upgrade = 'None_Upgrade'
}
export enum ServiceAction {
INSTANTIATE = 'INSTANTIATE',
diff --git a/vid-webpack-master/src/app/shared/models/vnfInstance.ts b/vid-webpack-master/src/app/shared/models/vnfInstance.ts
index 6082de67e..60f5c48ef 100644
--- a/vid-webpack-master/src/app/shared/models/vnfInstance.ts
+++ b/vid-webpack-master/src/app/shared/models/vnfInstance.ts
@@ -8,10 +8,12 @@ export class VnfInstance extends Level1Instance {
vnfStoreKey : string;
position: number;
statusMessage?: string;
+ upgradedVFMSonsCounter: number;
constructor() {
super();
this.vfModules = {};
this.vnfStoreKey = null;
+ this.upgradedVFMSonsCounter = 0;
}
}