cloudstack/api/src/com/cloud
Rohit Yadav 7a1cb28c9f server: Introduce Unknown Status to be used in AbstractInvestigatorImpl
The PR #211 introduced changes where the abstract investigator testIpAddress()
would return other Status, which previously only returned null, Up or Down. In
this patch we introduce a new Status "Unknown" that replaces null's semantics.

The important changes #211 introduced was the debugging statements as semantically
the changes would work same as the consumers of testIpAddress() method only used
if returned values were Up or Down and in other cases (null, Alert etc) it would
simply continue to loop through the resources being investigated.

Keeping the debug logs, this commit only replaces the previously returned null
values with Status.Unknown and fixed the debug statements to reflect the same.
In case of trapped exceptions too, we return Unknown status but log the exception
we trapped.

server: add null assertions and remove dead code with testIpAddress usage

This closes #222

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-03 15:15:29 +02:00
..
agent CLOUDSTACK-7219: Cannot display Cluster Settings for missing commit 95e41fdf0d 2015-01-16 10:57:49 +01:00
alert All Checkstyle problems corrected 2013-12-12 12:26:07 -08:00
api/commands Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
capacity CLOUDSTACK-6649: CS is not giving the system-wide capacity for GPU reosurce. 2014-05-14 15:05:28 +05:30
configuration CS-19072: fixed broken pagination and count in listNetworkOfferings 2014-07-28 14:44:04 -07:00
consoleproxy Removed schema from the dependency of many components 2013-07-29 10:55:19 -07:00
dc CLOUDSTACK-6139: Fix regression, allow zone level systemvm localstorage config 2015-05-01 15:24:53 +02:00
deploy CLOUDSTACK-5853 cannot deploy vm with differing service storage tag and data disk storage tag 2014-11-18 14:07:51 -08:00
domain Removed getUUID() method from Domain interface as this interface already implements @Identity where getUUID is defined 2014-03-13 12:54:13 -07:00
event CLOUDSTACK-7795 2014-10-27 16:11:26 -07:00
exception CID-1114601 to 1114604 Recommended practice is to test the result of 2014-09-19 14:29:01 +02:00
gpu CLOUDSTACK-6447: Grid K120Q and K220Q vGPU types are missing in create service offering menu. 2014-04-18 13:49:26 +05:30
ha Removed trailing spaces 2013-11-21 04:08:01 -08:00
host server: Introduce Unknown Status to be used in AbstractInvestigatorImpl 2015-05-03 15:15:29 +02:00
hypervisor CLOUDSTACK-8088: VM scale up is failing in vmware with Unable to execute ScaleVmCommand due to java.lang.NullPointerException 2015-01-18 17:28:17 +05:30
info Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
network CLOUDSTACK-6920 Support listing of LBHealthcheck policy with LBHealthcheck policy ID 2015-01-18 17:31:15 +05:30
offering For volumes created from template, do not log offering ID in VOLUME.CREATE in usage_event. Moved offering type to DiskOffering interface 2015-02-05 16:37:59 +05:30
org Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
projects Revert "CLOUDSTACK-5872: Async response from addAccountToProject doesn't contain useful information" 2014-03-03 12:44:08 -08:00
region/ha All Checkstyle problems corrected 2013-12-12 12:26:07 -08:00
resource Reformatted all of the code. 2013-11-21 06:15:26 -08:00
serializer API response: added new field to @Param - RoleType[] authorized() default {}. The field defines who is authorized to see this partciluar reponse field. If not specified, the parameter is returned to everybody 2014-02-20 17:15:43 -08:00
server CLOUDSTACK-7308 - Adds tagging support for security group rules 2014-08-15 09:39:53 +02:00
storage CLOUDSTACK-7792: Usage Events to be captured based on Volume State Machine 2015-02-05 15:22:21 +05:30
template 1) More fixes for the problems found by findBugs 2014-03-13 16:05:45 -07:00
user CLOUDSTACK-5236 : ability to identify where the user is from (ex. LDAP) 2015-03-16 12:35:37 +05:30
uservm CLOUDSTACK-6199: Action Events - hide them when display flag is off in the context of "Ability to have better control over first class objects in CS" feature. 2014-03-04 14:59:30 -08:00
vm ensure agent reconciliation triggers events 2015-02-18 11:15:13 +05:30