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/CommonModel.ts b/src/models/CommonModel.ts
index 437899a..a33e6f3 100644
--- a/src/models/CommonModel.ts
+++ b/src/models/CommonModel.ts
@@ -71,7 +71,9 @@
     sdnOperationalStateThirdStep = 'ERROR',
     k8OperationalStateFirstStep = 'PROCESSING',
     k8OperationalStateStateSecondStep = 'ENABLED',
-    k8OperationalStateThirdStep = 'ERROR'
+    k8OperationalStateThirdStep = 'ERROR',
+    done = 'done',
+    close = 'close'
 }
 /** Interface for Post options */
 export interface POSTAPIRESOURCE {
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;
diff --git a/src/models/VNFDModel.ts b/src/models/VNFDModel.ts
index 5f2cc05..339dd02 100644
--- a/src/models/VNFDModel.ts
+++ b/src/models/VNFDModel.ts
@@ -65,6 +65,7 @@
     usageState?: string;
     vdu?: VDU[];
     version?: string;
+    'software-version'?: string;
     'virtual-compute-desc'?: string;
     'virtual-storage-desc'?: string[];
     _admin?: VNFDAdminDetails;