Fix Bug 1924: Not possible to add VIM with type dummy
[osm/NG-UI.git] / src / models / CommonModel.ts
index 7b51e9e..437899a 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[] = [
@@ -332,4 +334,10 @@ export interface DOMAINS {
 export interface LOGINPARAMS {
     username?: string;
     password?: string;
+    old_password?: string;
+}
+/** Interface for the LABELVALUE */
+export interface LABELVALUE {
+    label: string;
+    value: string;
 }