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

Cole Robinson crobinso at redhat.com
Mon Feb 22 22:10:53 UTC 2010


Signed-off-by: Cole Robinson <crobinso at redhat.com>
---
 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 @@
         <source>
           <host name="iscsi.example.com"/>
           <device path="demo-target"/>
+          <auth type="chap" login="foobar" passwd="foo-passwd"/>
         </source>
         ...</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>
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.
         <source>
           <host name="iscsi.example.com"/>
           <device path="demo-target"/>
+          <auth type="chap" login="foobar" passwd="foo-passwd"/>
         </source>
         <target>
           <path>/dev/disk/by-path</path>
-- 
1.6.6




More information about the libvir-list mailing list