Re: [libvirt] [PATCH 05/10] docs: storage: Document <auth> element

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

 



On Mon, Feb 22, 2010 at 05:10:53PM -0500, Cole Robinson wrote:
> 
> Signed-off-by: Cole Robinson <crobinso@xxxxxxxxxx>
> ---
>  docs/formatstorage.html.in |    8 ++++++++
>  docs/storage.html.in       |    1 +
>  2 files changed, 9 insertions(+), 0 deletions(-)
> 
> diff --git a/docs/formatstorage.html.in b/docs/formatstorage.html.in
> index 7ececed..855d475 100644
> --- a/docs/formatstorage.html.in
> +++ b/docs/formatstorage.html.in
> @@ -70,6 +70,7 @@
>          &lt;source&gt;
>            &lt;host name="iscsi.example.com"/&gt;
>            &lt;device path="demo-target"/&gt;
> +          &lt;auth type="chap" login="foobar" passwd="foo-passwd"/&gt;
>          &lt;/source&gt;
>          ...</pre>
>  
> @@ -103,6 +104,13 @@
>          type, or network filesystem type, or partition table type, or
>          LVM metadata type. All drivers are required to have a default
>          value for this, so it is optional. <span class="since">Since 0.4.1</span></dd>
> +      <dt><code>auth</code></dt>
> +      <dd>Provides login information for an iSCSI pools server.
> +      <code>type</code> is a required attribute which specifies the
> +      authentication method. Currently only <code>chap</code>
> +      (challenge-handshake) is supported. <code>login</code> and
> +      <code>passwd</code> specify the login and password respectively.
> +        <span class="since">Since 0.4.1</span></dd>
>      </dl>
>  
>      <h3><a name="StoragePoolTarget">Target elements</a></h3>

Our iSCSI backend never actually implemented any of this, so its a little
bit misleading & probably a bad idea in the XML in any case. I'm inclined
to actually remove this from the XML parser since it was never used.

> diff --git a/docs/storage.html.in b/docs/storage.html.in
> index 904fc7c..a3399c6 100644
> --- a/docs/storage.html.in
> +++ b/docs/storage.html.in
> @@ -329,6 +329,7 @@ libvirt.
>          &lt;source&gt;
>            &lt;host name="iscsi.example.com"/&gt;
>            &lt;device path="demo-target"/&gt;
> +          &lt;auth type="chap" login="foobar" passwd="foo-passwd"/&gt;
>          &lt;/source&gt;
>          &lt;target&gt;
>            &lt;path&gt;/dev/disk/by-path&lt;/path&gt;
> -- 

Daniel
-- 
|: Red Hat, Engineering, London    -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org        -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]