~andrewjbeach/juju-ci-tools/get-juju-dict

« back to all changes in this revision

Viewing changes to maas/maas-node-1.xml

  • Committer: John George
  • Date: 2016-02-05 22:13:41 UTC
  • mto: This revision was merged to the branch mainline in revision 1275.
  • Revision ID: john.george@canonical.com-20160205221341-3v2px3j23ik1zw5r
virtual maas templates and setup script.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<domain type='kvm'>
 
2
  <name>maas-node-1</name>
 
3
  <memory unit='KiB'>8388608</memory>
 
4
  <currentMemory unit='KiB'>8388608</currentMemory>
 
5
  <vcpu>1</vcpu>
 
6
  <os>
 
7
    <type>hvm</type>
 
8
  </os>
 
9
  <features>
 
10
    <acpi/>
 
11
    <apic/>
 
12
    <pae/>
 
13
  </features>
 
14
  <clock offset='utc'/>
 
15
  <on_poweroff>destroy</on_poweroff>
 
16
  <on_reboot>restart</on_reboot>
 
17
  <on_crash>restart</on_crash>
 
18
  <devices>
 
19
    <emulator>/usr/bin/kvm-spice</emulator>
 
20
    <disk type='file' device='disk'>
 
21
      <driver name='qemu' type='qcow2'/>
 
22
      <source file='/images/maaspool1/maas-node-1.1.qcow2'/>
 
23
      <target dev='vda' bus='virtio'/>
 
24
      <boot order='2'/>
 
25
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
 
26
    </disk>
 
27
    <disk type='file' device='disk'>
 
28
      <driver name='qemu' type='qcow2'/>
 
29
      <source file='/images/maaspool1/maas-node-1.2.qcow2'/>
 
30
      <target dev='vdb' bus='virtio'/>
 
31
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
 
32
    </disk>
 
33
    <disk type='block' device='cdrom'>
 
34
      <driver name='qemu' type='raw'/>
 
35
      <target dev='hdc' bus='ide'/>
 
36
      <readonly/>
 
37
      <address type='drive' controller='0' bus='1' target='0' unit='0'/>
 
38
    </disk>
 
39
    <controller type='usb' index='0'>
 
40
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
 
41
    </controller>
 
42
    <controller type='pci' index='0' model='pci-root'/>
 
43
    <controller type='ide' index='0'>
 
44
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
 
45
    </controller>
 
46
    <interface type='network'>
 
47
      <source network='maasprv1'/>
 
48
      <model type='virtio'/>
 
49
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
 
50
    </interface>
 
51
    <interface type='network'>
 
52
      <source network='maasnet2'/>
 
53
      <model type='virtio'/>
 
54
      <boot order='1'/>
 
55
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
 
56
    </interface>
 
57
    <serial type='null'>
 
58
      <target port='0'/>
 
59
    </serial>
 
60
    <console type='null'>
 
61
      <target type='serial' port='0'/>
 
62
    </console>
 
63
    <input type='mouse' bus='ps2'/>
 
64
    <input type='keyboard' bus='ps2'/>
 
65
    <graphics type='vnc' port='-1' autoport='yes'/>
 
66
    <video>
 
67
      <model type='cirrus' vram='9216' heads='1'/>
 
68
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
 
69
    </video>
 
70
    <memballoon model='virtio'>
 
71
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
 
72
    </memballoon>
 
73
  </devices>
 
74
</domain>