@@ -38,46 +38,51 @@ private AlertType(short type, String name, boolean isDefault, boolean repetition
3838 }
3939 }
4040
41- public static final AlertType ALERT_TYPE_MEMORY = new AlertType (Capacity .CAPACITY_TYPE_MEMORY , "ALERT.MEMORY" , true , false );
42- public static final AlertType ALERT_TYPE_CPU = new AlertType (Capacity .CAPACITY_TYPE_CPU , "ALERT.CPU" , true , false );
43- public static final AlertType ALERT_TYPE_STORAGE = new AlertType (Capacity .CAPACITY_TYPE_STORAGE , "ALERT.STORAGE" , true , false );
44- public static final AlertType ALERT_TYPE_STORAGE_ALLOCATED = new AlertType (Capacity .CAPACITY_TYPE_STORAGE_ALLOCATED , "ALERT.STORAGE.ALLOCATED" , true , false );
45- public static final AlertType ALERT_TYPE_VIRTUAL_NETWORK_PUBLIC_IP = new AlertType (Capacity .CAPACITY_TYPE_VIRTUAL_NETWORK_PUBLIC_IP , "ALERT.NETWORK.PUBLICIP" , true , false );
46- public static final AlertType ALERT_TYPE_VIRTUAL_NETWORK_IPV6_SUBNET = new AlertType (Capacity .CAPACITY_TYPE_VIRTUAL_NETWORK_IPV6_SUBNET , "ALERT.NETWORK.IPV6SUBNET" , true , false );
47- public static final AlertType ALERT_TYPE_PRIVATE_IP = new AlertType (Capacity .CAPACITY_TYPE_PRIVATE_IP , "ALERT.NETWORK.PRIVATEIP" , true , false );
48- public static final AlertType ALERT_TYPE_SECONDARY_STORAGE = new AlertType (Capacity .CAPACITY_TYPE_SECONDARY_STORAGE , "ALERT.STORAGE.SECONDARY" , true , false );
41+ private AlertType (short type , String name , boolean isDefault ) {
42+ this (type , name , isDefault , false );
43+ }
44+
45+ public static final AlertType ALERT_TYPE_MEMORY = new AlertType (Capacity .CAPACITY_TYPE_MEMORY , "ALERT.MEMORY" , true );
46+ public static final AlertType ALERT_TYPE_CPU = new AlertType (Capacity .CAPACITY_TYPE_CPU , "ALERT.CPU" , true );
47+ public static final AlertType ALERT_TYPE_STORAGE = new AlertType (Capacity .CAPACITY_TYPE_STORAGE , "ALERT.STORAGE" , true );
48+ public static final AlertType ALERT_TYPE_STORAGE_ALLOCATED = new AlertType (Capacity .CAPACITY_TYPE_STORAGE_ALLOCATED , "ALERT.STORAGE.ALLOCATED" , true );
49+ public static final AlertType ALERT_TYPE_VIRTUAL_NETWORK_PUBLIC_IP = new AlertType (Capacity .CAPACITY_TYPE_VIRTUAL_NETWORK_PUBLIC_IP , "ALERT.NETWORK.PUBLICIP" ,
50+ true );
51+ public static final AlertType ALERT_TYPE_VIRTUAL_NETWORK_IPV6_SUBNET = new AlertType (Capacity .CAPACITY_TYPE_VIRTUAL_NETWORK_IPV6_SUBNET , "ALERT.NETWORK.IPV6SUBNET" , true );
52+ public static final AlertType ALERT_TYPE_PRIVATE_IP = new AlertType (Capacity .CAPACITY_TYPE_PRIVATE_IP , "ALERT.NETWORK.PRIVATEIP" , true );
53+ public static final AlertType ALERT_TYPE_SECONDARY_STORAGE = new AlertType (Capacity .CAPACITY_TYPE_SECONDARY_STORAGE , "ALERT.STORAGE.SECONDARY" , true );
4954 public static final AlertType ALERT_TYPE_HOST = new AlertType ((short )7 , "ALERT.COMPUTE.HOST" , true , true );
5055 public static final AlertType ALERT_TYPE_USERVM = new AlertType ((short )8 , "ALERT.USERVM" , true , true );
5156 public static final AlertType ALERT_TYPE_DOMAIN_ROUTER = new AlertType ((short )9 , "ALERT.SERVICE.DOMAINROUTER" , true , true );
5257 public static final AlertType ALERT_TYPE_CONSOLE_PROXY = new AlertType ((short )10 , "ALERT.SERVICE.CONSOLEPROXY" , true , true );
53- public static final AlertType ALERT_TYPE_ROUTING = new AlertType ((short )11 , "ALERT.NETWORK.ROUTING" , true , false );
58+ public static final AlertType ALERT_TYPE_ROUTING = new AlertType ((short )11 , "ALERT.NETWORK.ROUTING" , true );
5459 public static final AlertType ALERT_TYPE_STORAGE_MISC = new AlertType ((short )12 , "ALERT.STORAGE.MISC" , true , true );
55- public static final AlertType ALERT_TYPE_USAGE_SERVER = new AlertType ((short )13 , "ALERT.USAGE" , true , false );
60+ public static final AlertType ALERT_TYPE_USAGE_SERVER = new AlertType ((short )13 , "ALERT.USAGE" , true );
5661 public static final AlertType ALERT_TYPE_MANAGEMENT_NODE = new AlertType ((short )14 , "ALERT.MANAGEMENT" , true , true );
57- public static final AlertType ALERT_TYPE_DOMAIN_ROUTER_MIGRATE = new AlertType ((short )15 , "ALERT.NETWORK.DOMAINROUTERMIGRATE" , true , false );
58- public static final AlertType ALERT_TYPE_CONSOLE_PROXY_MIGRATE = new AlertType ((short )16 , "ALERT.SERVICE.CONSOLEPROXYMIGRATE" , true , false );
59- public static final AlertType ALERT_TYPE_USERVM_MIGRATE = new AlertType ((short )17 , "ALERT.USERVM.MIGRATE" , true , false );
60- public static final AlertType ALERT_TYPE_VLAN = new AlertType ((short )18 , "ALERT.NETWORK.VLAN" , true , false );
62+ public static final AlertType ALERT_TYPE_DOMAIN_ROUTER_MIGRATE = new AlertType ((short )15 , "ALERT.NETWORK.DOMAINROUTERMIGRATE" , true );
63+ public static final AlertType ALERT_TYPE_CONSOLE_PROXY_MIGRATE = new AlertType ((short )16 , "ALERT.SERVICE.CONSOLEPROXYMIGRATE" , true );
64+ public static final AlertType ALERT_TYPE_USERVM_MIGRATE = new AlertType ((short )17 , "ALERT.USERVM.MIGRATE" , true );
65+ public static final AlertType ALERT_TYPE_VLAN = new AlertType ((short )18 , "ALERT.NETWORK.VLAN" , true );
6166 public static final AlertType ALERT_TYPE_SSVM = new AlertType ((short )19 , "ALERT.SERVICE.SSVM" , true , true );
62- public static final AlertType ALERT_TYPE_USAGE_SERVER_RESULT = new AlertType ((short )20 , "ALERT.USAGE.RESULT" , true , false );
63- public static final AlertType ALERT_TYPE_STORAGE_DELETE = new AlertType ((short )21 , "ALERT.STORAGE.DELETE" , true , false );
64- public static final AlertType ALERT_TYPE_UPDATE_RESOURCE_COUNT = new AlertType ((short )22 , "ALERT.RESOURCE.COUNT" , true , false );
65- public static final AlertType ALERT_TYPE_USAGE_SANITY_RESULT = new AlertType ((short )23 , "ALERT.USAGE.SANITY" , true , false );
66- public static final AlertType ALERT_TYPE_DIRECT_ATTACHED_PUBLIC_IP = new AlertType ((short )24 , "ALERT.NETWORK.DIRECTPUBLICIP" , true , false );
67- public static final AlertType ALERT_TYPE_LOCAL_STORAGE = new AlertType ((short )25 , "ALERT.STORAGE.LOCAL" , true , false );
67+ public static final AlertType ALERT_TYPE_USAGE_SERVER_RESULT = new AlertType ((short )20 , "ALERT.USAGE.RESULT" , true );
68+ public static final AlertType ALERT_TYPE_STORAGE_DELETE = new AlertType ((short )21 , "ALERT.STORAGE.DELETE" , true );
69+ public static final AlertType ALERT_TYPE_UPDATE_RESOURCE_COUNT = new AlertType ((short )22 , "ALERT.RESOURCE.COUNT" , true );
70+ public static final AlertType ALERT_TYPE_USAGE_SANITY_RESULT = new AlertType ((short )23 , "ALERT.USAGE.SANITY" , true );
71+ public static final AlertType ALERT_TYPE_DIRECT_ATTACHED_PUBLIC_IP = new AlertType ((short )24 , "ALERT.NETWORK.DIRECTPUBLICIP" , true );
72+ public static final AlertType ALERT_TYPE_LOCAL_STORAGE = new AlertType ((short )25 , "ALERT.STORAGE.LOCAL" , true );
6873 public static final AlertType ALERT_TYPE_RESOURCE_LIMIT_EXCEEDED = new AlertType ((short )26 , "ALERT.RESOURCE.EXCEED" , true , true );
69- public static final AlertType ALERT_TYPE_SYNC = new AlertType ((short )27 , "ALERT.TYPE.SYNC" , true , false );
74+ public static final AlertType ALERT_TYPE_SYNC = new AlertType ((short )27 , "ALERT.TYPE.SYNC" , true );
7075 public static final AlertType ALERT_TYPE_UPLOAD_FAILED = new AlertType ((short )28 , "ALERT.UPLOAD.FAILED" , true , true );
7176 public static final AlertType ALERT_TYPE_OOBM_AUTH_ERROR = new AlertType ((short )29 , "ALERT.OOBM.AUTHERROR" , true , true );
7277 public static final AlertType ALERT_TYPE_HA_ACTION = new AlertType ((short )30 , "ALERT.HA.ACTION" , true , true );
7378 public static final AlertType ALERT_TYPE_CA_CERT = new AlertType ((short )31 , "ALERT.CA.CERT" , true , true );
74- public static final AlertType ALERT_TYPE_VM_SNAPSHOT = new AlertType ((short )32 , "ALERT.VM.SNAPSHOT" , true , false );
75- public static final AlertType ALERT_TYPE_VR_PUBLIC_IFACE_MTU = new AlertType ((short )32 , "ALERT.VR.PUBLIC.IFACE.MTU" , true , false );
76- public static final AlertType ALERT_TYPE_VR_PRIVATE_IFACE_MTU = new AlertType ((short )32 , "ALERT.VR.PRIVATE.IFACE.MTU" , true , false );
79+ public static final AlertType ALERT_TYPE_VM_SNAPSHOT = new AlertType ((short )32 , "ALERT.VM.SNAPSHOT" , true );
80+ public static final AlertType ALERT_TYPE_VR_PUBLIC_IFACE_MTU = new AlertType ((short )33 , "ALERT.VR.PUBLIC.IFACE.MTU" , true );
81+ public static final AlertType ALERT_TYPE_VR_PRIVATE_IFACE_MTU = new AlertType ((short )34 , "ALERT.VR.PRIVATE.IFACE.MTU" , true );
7782 public static final AlertType ALERT_TYPE_EXTENSION_PATH_NOT_READY = new AlertType ((short )33 , "ALERT.TYPE.EXTENSION.PATH.NOT.READY" , true , true );
7883 public static final AlertType ALERT_TYPE_VPN_GATEWAY_OBSOLETE_PARAMETERS = new AlertType ((short )34 , "ALERT.S2S.VPN.GATEWAY.OBSOLETE.PARAMETERS" , true , true );
79- public static final AlertType ALERT_TYPE_BACKUP_STORAGE = new AlertType (Capacity .CAPACITY_TYPE_BACKUP_STORAGE , "ALERT.STORAGE.BACKUP" , true , false );
80- public static final AlertType ALERT_TYPE_OBJECT_STORAGE = new AlertType (Capacity .CAPACITY_TYPE_OBJECT_STORAGE , "ALERT.STORAGE.OBJECT" , true , false );
84+ public static final AlertType ALERT_TYPE_BACKUP_STORAGE = new AlertType (Capacity .CAPACITY_TYPE_BACKUP_STORAGE , "ALERT.STORAGE.BACKUP" , true );
85+ public static final AlertType ALERT_TYPE_OBJECT_STORAGE = new AlertType (Capacity .CAPACITY_TYPE_OBJECT_STORAGE , "ALERT.STORAGE.OBJECT" , true );
8186
8287 public short getType () {
8388 return type ;
0 commit comments