Feature 10910: Migration of Openstack based VM instances
*Added NG-UI support for Vm Migration
*In NS Instances page. Click "Vm Migration" in the actions menu.
*Then a new pop-up page will be opened.
*In the popup there will be fields containing membervnfIndex, vduid, count index and migrate to host
*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: I5c218ebcdc67d1244e60e7d4653d6d76c5189684
Signed-off-by: SANDHYA.JS <sandhya.j@tataelxsi.co.in>
diff --git a/src/models/NSInstanceModel.ts b/src/models/NSInstanceModel.ts
index 62b9c5c..1d5fba3 100644
--- a/src/models/NSInstanceModel.ts
+++ b/src/models/NSInstanceModel.ts
@@ -149,6 +149,20 @@
df: DF[];
}
+/** Interface for Vm Migration */
+export interface VMMIGRATION {
+ lcmOperationType: string;
+ vnfInstanceId: string;
+ migrateToHost?: string;
+ vdu?: VDUPARAM;
+}
+
+/** Interface for vdu for Vm Migration */
+export interface VDUPARAM {
+ vduId?: string;
+ vduCountIndex?: string;
+}
+
/** Interface for InstantiateParam */
interface InstantiateParam {
nsdId: string;
@@ -189,19 +203,19 @@
}
/** Interface for the operationparams */
-export interface OPERATIONPARAMS{
+export interface OPERATIONPARAMS {
scaleType?: string;
scaleVnfData?: SCALEVNFDATA;
}
/** Interface for the scaleVnfData */
-export interface SCALEVNFDATA{
+export interface SCALEVNFDATA {
scaleVnfType?: string;
scaleByStepData?: SCALEBYSTEPDATA;
}
/** Interface for the scaleByStepData */
-export interface SCALEBYSTEPDATA{
+export interface SCALEBYSTEPDATA {
'scaling-group-descriptor'?: string;
'member-vnf-index'?: string;
}
@@ -295,7 +309,7 @@
}
/** Interface for the VNFR Info */
-export interface VNFRINFO{
+export interface VNFRINFO {
vimID: string;
_id: string;
ip: string;