-
Notifications
You must be signed in to change notification settings - Fork 293
Closed
Description
👋,
When looking the API for message class it shows that the string expression used as a a parameter for filtering get_all_records_where is not used. And indeed when looking the code the string is ignored and a function that always returns true is used instead.
It looks like for example for VDIs it is implemented and as I don't see the implementation in xapi_vdi.ml I suppose that it is autogenerated? Because for VDIs you can create query like:
let query = Printf.sprintf "(field \"location\"=\"%s\") and (field \"SR\"=\"%s\")" remote_vdi (Ref.string_of dest_sr_ref) in
let vdis = XenAPI.VDI.get_all_records_where remote.rpc remote.session query inAre there any reasons why for the "message" class we don't use the filter? would it be easy to implement the same filtering as for VDIs? maybe there is something already in progress or some other plans ?
Thanks for your insights!
Metadata
Metadata
Assignees
Labels
No labels