bernardodemarco commented on PR #11016: URL: https://github.com/apache/cloudstack/pull/11016#issuecomment-3036211224
@JoaoJandre, thanks for testing! I have just applied these suggestions https://github.com/apache/cloudstack/pull/11016#discussion_r2182778119. Now, the `startdate` and `enddate` API parameters are compared to the `created` attribute of console sessions, see 90b09eac9964e3680bd81d292f88f74f70b8152e. Additionally, the `acquired` parameter has been introduced, see 475460e95d0c9045a52babdd49f26795605ffe82. It is responsible for listing only acquired sessions, that is, sessions that have been accessed. The `activeonly` parameter has precedence over the `acquired` parameter. Thus, when `activeonly` is `true`, the value of `acquired` is ignored. Therefore: - when executing `list consolesessions isrecursive=true`, all active console sessions (acquired and not removed) are listed; - when executing `list consolesessions isrecursive=true activeonly=false`, all console sessions are listed; - when executing `list consolesessions isrecursive=true activeonly=false acquired=true`, all acquired console sessions (only marked as acquired in the DB) are listed; and, - when executing `list consolesessions isrecursive=true activeonly=true acquired=true`, all active console sessions are listed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org