Fix Bug 1922: Not possible to add VIM with type dummy
[osm/NG-UI.git] / src / models / CommonModel.ts
index 7b51e9e..80a49b8 100644 (file)
@@ -43,7 +43,8 @@ export enum CONSTANTNUMBER {
     paginationDefaultValue = 10,
     splitLongitude = 1,
     splitLatitude = 2,
-    timeOutDefaultSeconds = 5
+    timeOutDefaultSeconds = 5,
+    oneGB = 1024
 }
 /**
  * handle count @enum
@@ -205,7 +206,8 @@ export const VIM_TYPES: TYPESECTION[] = [
     { value: 'vmware', title: 'VMware vCD' },
     { value: 'openvim', title: 'OpenVIM' },
     { value: 'opennebula', title: 'OpenNebula' },
-    { value: 'azure', title: 'Azure' }
+    { value: 'azure', title: 'Azure' },
+    { value: 'dummy', title: 'Dummy' }
 ];
 /** Constants of the SDN Types */
 export const SDN_TYPES: TYPESECTION[] = [
@@ -333,3 +335,8 @@ export interface LOGINPARAMS {
     username?: string;
     password?: string;
 }
+/** Interface for the LABELVALUE */
+export interface LABELVALUE {
+    label: string;
+    value: string;
+}