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

[virt-tools-list] [PATCH 1/2] tests: fix xml for 'chap' authentication



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


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