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

Re: [libvirt-users] libvirt iSCSI target discovery

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

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. 

|: 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 :|

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