Feature 10912, 10916: NS Update
*Added NG-UI support to remove VNF and change VNF in NS update
*In NS Instances page. Click "Ns Update" in the actions menu.
*Then a new pop-up page will opened.
*In the popup there will be drop-down containing Update Type with 'CHANGE_VNFPKG' & 'REMOVE_VNFPKG', membervnfIndex and text field Vnfd Id.
*When the fields are selected then Click Apply button.
*For CHANGE_VNFPKG type, the software-version will be checked whether matching or not and corresponding popup will be shown.
*The pop-up window is closed and the page is directed to "History of operations" page
Change-Id: I135dda039a381b1faa62baa263543e1f210384f7
Signed-off-by: SANDHYA.JS <sandhya.j@tataelxsi.co.in>
diff --git a/src/models/NSInstanceModel.ts b/src/models/NSInstanceModel.ts
index 1d5fba3..66a6da8 100644
--- a/src/models/NSInstanceModel.ts
+++ b/src/models/NSInstanceModel.ts
@@ -163,6 +163,28 @@
vduCountIndex?: string;
}
+/** Interface for Ns Update */
+export interface NSUPDATE {
+ lcmOperationType: string;
+ updateType: string;
+ nsInstanceId: string;
+ changeVnfPackageData: CHANGEVNFDATA;
+}
+
+/** Interface for changeVnfPackageData in Ns Update */
+export interface CHANGEVNFDATA {
+ vnfdId: string;
+ vnfInstanceId: string;
+}
+
+/** Interface for terminate vnf in Ns Update */
+export interface TERMINATEVNF {
+ lcmOperationType: string;
+ updateType: string;
+ nsInstanceId: string;
+ removeVnfInstanceId: string;
+}
+
/** Interface for InstantiateParam */
interface InstantiateParam {
nsdId: string;