Hi,
How to find the relation between "list storagedomains" and
"list
storageconnections"?
To find out which storage connections a specific storage domain is using
you could do:
show storagedomain STORAGE_DOMAIN-ID
or with curl via REST API
curl --insecure --user user --request GET
https://ovirt.host/ovirt-engine/api/storagedomains/STORAGE_DOMAIN_ID
But it does not give the storage connection ID, I used the
storage-volume_group-logical_unit-address
storage-volume_group-logical_unit-portal
to match them with the storage connection...there might be a way but I
do not know :(
Regards,
--
Duarte Rocha <dfr(a)eurotux.com>