cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Schmit <sam.sch...@appcore.com>
Subject Question on CLOUDSTACK-5837
Date Tue, 29 Apr 2014 19:13:47 GMT
All,

I'm looking into addressing
CLOUDSTACK-5837<https://issues.apache.org/jira/browse/CLOUDSTACK-5837>,
but I wanted to make sure this wasn't intended functionality before
proceeding.

If no VM ID is not passed into the listHostsCmd, the response object is
built via the QueryServiceImpl (and more specifically, a HostJoinVO object).

If a VM ID is passed in, the response object is built via a chain of
createHostResponse/newHostReponse calls, evenually using a HostJoinDAOImpl
object.

The bug description is correct - the HostJoinVO object does not pay any
attention to the "details" argument.  However, the HostJoinDAOImpl does,
and will change the output level based on the detail desired.

Should a listHosts response with no VM ID specified make use of the
HostJoinDAOImpl (and thus the "details" argument), or does it need to be
done via HostJoinVO for other reasons?

Thank you,
Sam

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message