Hi,
Is it possible to discover iSCSI targets using libvirt API..?
OR
is it possible to get the similar results of below commands using
libvirtAPI..?
iscsiadm --mode discovery --type sendtargets --portal
server1.example.com
sudo iscsiadm -m discovery -t st -p 192.168.0.10
This command is what we provide in this area
'virsh find-storage-pool-sources-as iscsi server1.exmaple ....more args...'
it should return an set of XML documents which can be used to create
storage pools for each discovered initiator.
Regards,
Daniel
--
|: