Description
Is your feature request related to a problem? Please describe.
I have many VMs (1000+) at $job. Sometimes I need to export a list of VM with specific filter. For example, if I have a client who ask me the list on his VMs, I can filter by <name of the client>
, and see the result on XOA. Or, if I want to check with VM run with an old version of Debian, I can search with <os_version:distro:debian os_version:major:7>
and see the result. But, if I want to report my result elsewhere, I have no quick way to export my list and use it.
Describe the solution you'd like
I would like a magic button which allows me to export the result of my search. I don't really know the best format to export this, however. JSON? CSV? Maybe another format?
So, if I need to have this list of VMs, I can just search, click on export, and send it to my coworker, or parse it, or use it in a script...
Describe alternatives you've considered
Maybe it can start with a CLI command, but I think it will be more complex than a button on XOA for end user.
Additional context
I think we can extend it to other searches, like filter by host running on XenServer, Pool with more than 5 hosts in it... Export can be useful for many filters :)