Re: libvirt iSCSI target discovery

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 25, 2014 at 07:09:11PM +0530, Sijo Jose wrote:
> 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
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users




[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux