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/VNFDModel.ts b/src/models/VNFDModel.ts
index 4f76f7c..7029ace 100644
--- a/src/models/VNFDModel.ts
+++ b/src/models/VNFDModel.ts
@@ -83,6 +83,7 @@
'instantiation-level'?: INSTANTIATIONLEVEL[];
'vdu-profile'?: VDUPROFILE[];
'vnf-configuration-id'?: string;
+ 'scaling-aspect'?: SCALING[];
}
/** Interface for INSTANTIATIONLEVEL */
export interface INSTANTIATIONLEVEL {
@@ -103,6 +104,31 @@
'vdu-configuration-id'?: string;
'vdu-configuration'?: VDUCONFIG;
}
+/** Interface for SCALING */
+export interface SCALING {
+ 'aspect-delta-details'?: object;
+ id: string;
+ name?: string;
+ 'max-scale-level'?: number;
+ 'scaling-policy'?: SCALINGPOLICY[];
+}
+/** Interface for SCALINGPOLICY */
+export interface SCALINGPOLICY {
+ 'cooldown-time': number;
+ name?: string;
+ 'scaling-criteria': SCALINGCRITERIA[];
+ 'scaling-type'?: string;
+ 'threshold-time'?: number;
+}
+/** Interface for SCALINGCRITERIA */
+export interface SCALINGCRITERIA {
+ name?: string;
+ 'scale-in-relational-operation': string;
+ 'scale-in-threshold'?: string;
+ 'scale-out-relational-operation'?: string;
+ 'scale-out-threshold'?: string;
+ 'vnf-monitoring-param-ref'?: string;
+}
/** Interface for VDUCONFIG */
export interface VDUCONFIG {
id: string;