Feature 10911-Vertical scaling of VM instances from OSM
*Added NG-UI support for Vertical scaling
*In NS Instances page. Click "Vertical Scaling" in the VIM action menu.
*Then a new pop-up page will be opened.
*In the popup there will be fields containing membervnfIndex, vduid, count index mandatory fields with Virtual Memory, size of storage and vcpu count field to vertically scale
*When the fields are selected then Click Apply button.
*The pop-up window is closed and the page is directed to "History of operations" page
Change-Id: I6d898c8637b361af69dc7e516e46834a346cda82
Signed-off-by: SANDHYA.JS <sandhya.j@tataelxsi.co.in>
diff --git a/src/models/NSInstanceModel.ts b/src/models/NSInstanceModel.ts
index 99af8d7..c10c5ce 100644
--- a/src/models/NSInstanceModel.ts
+++ b/src/models/NSInstanceModel.ts
@@ -205,6 +205,31 @@
'count-index': string;
}
+/** Interface for VerticalScaling */
+export interface VerticalScaling {
+ lcmOperationType: string;
+ verticalScale: string;
+ nsInstanceId: string;
+ changeVnfFlavorData: CHANGEVNFFLAVORDATAPARAM;
+}
+
+/** Interface for changeVnfFlavorData in Vertical Scaling */
+export interface CHANGEVNFFLAVORDATAPARAM {
+ vnfInstanceId: string;
+ additionalParams: ADDITIONALPARAM;
+
+}
+
+/** Interface for additionalParam in Vertical Scaling */
+export interface ADDITIONALPARAM {
+ vduid: string;
+ vduCountIndex: string;
+ virtualMemory: number;
+ sizeOfStorage: number;
+ numVirtualCpu: number;
+
+}
+
/** Interface for InstantiateParam */
interface InstantiateParam {
nsdId: string;