[PATCH 1/2] tests: fix xml for 'chap' authentication

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

 



The change eb0d79c64be49950a42497c79709c1386bf588ce in libvirt changes
the 'chap' authentication XML logic to work in the same way as 'ceph'.

This patch changes the XML layout for tests accordingly.
---
 tests/testdriver.xml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/testdriver.xml b/tests/testdriver.xml
index 614bd32..b956727 100644
--- a/tests/testdriver.xml
+++ b/tests/testdriver.xml
@@ -1106,7 +1106,9 @@
   <source>
     <host name="iscsi.example.com"/>
     <device path="demo-target"/>
-    <auth type='chap' login='foobar' passwd='frobbar'/>
+    <auth type='chap' username='foobar'>
+      <secret uuid='2ec115d7-3a88-3ceb-bc12-0ac909a6fd87'/>
+    </auth>
   </source>
   <target>
     <path>/iscsi-pool</path>
-- 
1.8.3.1

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list




[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux