Feature-9518: Scale-in/Scale-out commands triggered from the UI
* In NS Instances page. Click "Manual Scaling" in the actions menu.
* Then a new pop-up page will opened.
* In the popup there will be a list box which is filled with the all scaling-group-descriptor names captured from all VNFDs in the NSD and whoose scaling-type is "manual".
* Select scale in / scale out.
* When the scaling-group-descriptor name and the scaling direction are selected then Click Apply button.
* The pop-up window is closed and the page is directed to "History of operations" page for this NS.
Change-Id: Iaaa1500bcabea4ebda89f6c11ea91b28396aa42f
Signed-off-by: Barath Kumar R <barath.r@tataelxsi.co.in>
diff --git a/src/models/CommonModel.ts b/src/models/CommonModel.ts
index 7284bbc..2d1c9c3 100644
--- a/src/models/CommonModel.ts
+++ b/src/models/CommonModel.ts
@@ -16,6 +16,8 @@
Author: KUMARAN M (kumaran.m@tataelxsi.co.in), RAJESH S (rajesh.s@tataelxsi.co.in), BARATH KUMAR R (barath.r@tataelxsi.co.in)
*/
import { HttpHeaders } from '@angular/common/http';
+import { NSD } from 'NSInstanceModel';
+import { VNFD } from 'VNFDModel';
/**
* @file Model for Commonly used information.
@@ -48,6 +50,7 @@
operationalStateFirstStep = 'init',
operationalStateSecondStep = 'running',
operationalStateThirdStep = 'failed',
+ operationalStateFourthStep = 'scaling',
configStateFirstStep = 'init',
configStateSecondStep = 'configured',
configStateThirdStep = 'failed',
@@ -108,6 +111,10 @@
nsConfig?: object;
projectID?: string;
username?: string;
+ vnfID?: [];
+ nsID?: string;
+ nsd?: NSD;
+ data?: VNFD[];
}
/** Handle the Delete params */
export interface DELETEPARAMS {