OpenNebula / one

The open source Cloud & Edge Computing Platform bringing real freedom to your Enterprise Cloud 🚀
http://opennebula.io
Apache License 2.0
1.23k stars 478 forks source link

List VMs on a Datastore #6614

Open OpenNebulaSupport opened 3 months ago

OpenNebulaSupport commented 3 months ago

Description List all VMs deployed on a specific Datastore from the CLI or Sunstone interface.

Use case Currently there's no way of doing this in a direct manner, instead it's necessary to either check each VM individually or run custom scripts from CLI. This should be similar as how it's possible to view all images on a Image DS, from the "Images" tab.

Interface Changes From Sunstone, it would be interesting to have something like "Storage>Datastores>Datastore>VMs", so there's a tab on each system datastore that shows a list of all currently deployed VMs on it. From CLI, it could be implemented on the onedatastore command, for example with something like onedatastore show DS_ID --vms.

Additional Context

Progress Status