Fix for Bug 1495 NG-UI does not start on Air-gapped environments.
[osm/NG-UI.git] / src / models / CommonModel.ts
index 7284bbc..7bd1cca 100644 (file)
@@ -16,6 +16,8 @@
  Author: KUMARAN M (kumaran.m@tataelxsi.co.in), RAJESH S (rajesh.s@tataelxsi.co.in), BARATH KUMAR R (barath.r@tataelxsi.co.in)
  */
 import { HttpHeaders } from '@angular/common/http';
+import { NSD } from 'NSInstanceModel';
+import { VNFD } from 'VNFDModel';
 
 /**
  * @file  Model for Commonly used information.
@@ -48,6 +50,7 @@ export enum CONFIGCONSTANT {
     operationalStateFirstStep = 'init',
     operationalStateSecondStep = 'running',
     operationalStateThirdStep = 'failed',
+    operationalStateFourthStep = 'scaling',
     configStateFirstStep = 'init',
     configStateSecondStep = 'configured',
     configStateThirdStep = 'failed',
@@ -108,6 +111,10 @@ export interface URLPARAMS {
     nsConfig?: object;
     projectID?: string;
     username?: string;
+    vnfID?: [];
+    nsID?: string;
+    nsd?: NSD;
+    data?: VNFD[];
 }
 /** Handle the Delete params */
 export interface DELETEPARAMS {
@@ -243,7 +250,7 @@ export const TYPEOPENSTACK: {} = {
     user_domain_id: '',
     security_groups: '',
     user_domain_name: '',
-    availabilityZone: '',
+    availability_zone: '',
     keypair: '',
     region_name: '',
     dataplane_physical_net: '',