summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRauno Väli <rauno@oyenetwork.com>2018-01-26 12:27:20 +0200
committerCole Robinson <crobinso@redhat.com>2018-01-30 11:30:22 -0500
commit582c1d3dedbb09f987039213648d9f37ef80fd7c (patch)
tree3f42011c76fd088414e67486e850404397a894bd /tests
parentae5239358a1c162921eb4698c088e28e767fc68b (diff)
downloadvirt-manager-582c1d3dedbb09f987039213648d9f37ef80fd7c.tar.gz
devicedisk: copy all rbd pool host and auth for volume
(crobinso: add test suite coverage, fix some pylint)
Diffstat (limited to 'tests')
-rw-r--r--tests/cli-test-xml/compare/virt-install-many-devices.xml5
-rw-r--r--tests/testdriver.xml3
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/cli-test-xml/compare/virt-install-many-devices.xml b/tests/cli-test-xml/compare/virt-install-many-devices.xml
index 20752ee7..e265b049 100644
--- a/tests/cli-test-xml/compare/virt-install-many-devices.xml
+++ b/tests/cli-test-xml/compare/virt-install-many-devices.xml
@@ -84,8 +84,13 @@
</disk>
<disk type="network" device="disk">
<driver name="qemu" type="raw"/>
+ <auth username="admin">
+ <secret type="ceph" uuid="f65cc5a8-b77b-4254-9030-d50a528fb456"/>
+ </auth>
<source protocol="rbd" name="rbd/foobar">
<host name="ceph-mon-1.example.com" port="6789"/>
+ <host name="ceph-mon-2.example.com" port="6789"/>
+ <host name="ceph-mon-3.example.com" port="6789"/>
</source>
<target dev="vdh" bus="virtio"/>
</disk>
diff --git a/tests/testdriver.xml b/tests/testdriver.xml
index d81dfcfc..7c74e431 100644
--- a/tests/testdriver.xml
+++ b/tests/testdriver.xml
@@ -2078,6 +2078,9 @@ ba</description>
<host name='ceph-mon-2.example.com' port='6789'/>
<host name='ceph-mon-3.example.com' port='6789'/>
<name>rbd</name>
+ <auth type='ceph' username='admin'>
+ <secret uuid='f65cc5a8-b77b-4254-9030-d50a528fb456'/>
+ </auth>
</source>
<volume type='network'>