summaryrefslogtreecommitdiff
path: root/tests/data/cli/virtclone/clone-net-rbd.xml
blob: 048f59b3d170e4c13c9613793a8f6d92e3358215 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<domain type='test' id='1'>
  <name>origtest</name>
  <uuid>db69fa1f-eef0-e567-3c20-3ef16f10376b</uuid>
  <memory>8388608</memory>
  <currentMemory>2097152</currentMemory>
  <vcpu>2</vcpu>
  <os>
    <type arch='i686'>hvm</type>
    <boot dev='hd'/>
  </os>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <disk type="network" device="disk">
      <auth username="admin">
        <secret type="ceph" uuid="f65cc5a8-b77b-4254-9030-d50a528fb456"/>
      </auth>
      <source protocol="rbd" name="rbd-sourcename/some-rbd-vol">
        <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='vda' bus='virtio'/>
    </disk>
  </devices>
</domain>