czhujer

instance dump

Jun 7th, 2013
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.79 KB | None | 0 0
  1. root@cpnode:/etc/nova# virsh dumpxml 9
  2. <domain type='kvm' id='9'>
  3.   <name>instance-0000001a</name>
  4.   <uuid>f6cc00b4-c5ca-49e1-9664-291853087fb6</uuid>
  5.   <memory unit='KiB'>6242304</memory>
  6.   <currentMemory unit='KiB'>6242304</currentMemory>
  7.   <vcpu placement='static'>4</vcpu>
  8.   <sysinfo type='smbios'>
  9.     <system>
  10.       <entry name='manufacturer'>OpenStack Foundation</entry>
  11.       <entry name='product'>OpenStack Nova</entry>
  12.       <entry name='version'>2013.1</entry>
  13.       <entry name='serial'>564d786d-18df-626a-4395-cccb35cdd83c</entry>
  14.       <entry name='uuid'>f6cc00b4-c5ca-49e1-9664-291853087fb6</entry>
  15.     </system>
  16.   </sysinfo>
  17.   <os>
  18.     <type arch='x86_64' machine='pc-1.0'>hvm</type>
  19.     <boot dev='hd'/>
  20.     <smbios mode='sysinfo'/>
  21.   </os>
  22.   <features>
  23.     <acpi/>
  24.     <apic/>
  25.   </features>
  26.   <cpu mode='host-model'>
  27.     <model fallback='allow'/>
  28.   </cpu>
  29.   <clock offset='utc'>
  30.     <timer name='pit' tickpolicy='delay'/>
  31.     <timer name='rtc' tickpolicy='catchup'/>
  32.   </clock>
  33.   <on_poweroff>destroy</on_poweroff>
  34.   <on_reboot>restart</on_reboot>
  35.   <on_crash>destroy</on_crash>
  36.   <devices>
  37.     <emulator>/usr/bin/kvm</emulator>
  38.     <disk type='file' device='disk'>
  39.       <driver name='qemu' type='qcow2' cache='none'/>
  40.       <source file='/var/lib/nova/instances/f6cc00b4-c5ca-49e1-9664-291853087fb6/disk'/>
  41.       <target dev='vda' bus='virtio'/>
  42.       <alias name='virtio-disk0'/>
  43.       <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  44.     </disk>
  45.     <disk type='block' device='disk'>
  46.       <driver name='qemu' type='raw' cache='none'/>
  47.       <source dev='/dev/disk/by-path/ip-31.7.244.146:3260-iscsi-iqn.2010-10.org.openstack:volume-b97ed450-be98-42bb-ad09-ff0a52574b1b-lun-1'/>
  48.       <target dev='vdc' bus='virtio'/>
  49.       <serial>b97ed450-be98-42bb-ad09-ff0a52574b1b</serial>
  50.       <alias name='virtio-disk2'/>
  51.       <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
  52.     </disk>
  53.     <controller type='usb' index='0'>
  54.       <alias name='usb0'/>
  55.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
  56.     </controller>
  57.     <interface type='ethernet'>
  58.       <mac address='fa:16:3e:ec:14:85'/>
  59.       <script path=''/>
  60.       <target dev='tapaaf44db3-19'/>
  61.       <model type='virtio'/>
  62.       <alias name='net0'/>
  63.       <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  64.     </interface>
  65.     <serial type='file'>
  66.       <source path='/var/lib/nova/instances/f6cc00b4-c5ca-49e1-9664-291853087fb6/console.log'/>
  67.       <target port='0'/>
  68.       <alias name='serial0'/>
  69.     </serial>
  70.     <serial type='pty'>
  71.       <source path='/dev/pts/0'/>
  72.       <target port='1'/>
  73.       <alias name='serial1'/>
  74.     </serial>
  75.     <console type='file'>
  76.       <source path='/var/lib/nova/instances/f6cc00b4-c5ca-49e1-9664-291853087fb6/console.log'/>
  77.       <target type='serial' port='0'/>
  78.       <alias name='serial0'/>
  79.     </console>
  80.     <input type='tablet' bus='usb'>
  81.       <alias name='input0'/>
  82.     </input>
  83.     <input type='mouse' bus='ps2'/>
  84.     <graphics type='vnc' port='5900' autoport='yes' listen='0.0.0.0' keymap='en-us'>
  85.       <listen type='address' address='0.0.0.0'/>
  86.     </graphics>
  87.     <video>
  88.       <model type='cirrus' vram='9216' heads='1'/>
  89.       <alias name='video0'/>
  90.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  91.     </video>
  92.     <memballoon model='virtio'>
  93.       <alias name='balloon0'/>
  94.       <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
  95.     </memballoon>
  96.   </devices>
  97.   <seclabel type='dynamic' model='apparmor' relabel='yes'>
  98.     <label>libvirt-f6cc00b4-c5ca-49e1-9664-291853087fb6</label>
  99.     <imagelabel>libvirt-f6cc00b4-c5ca-49e1-9664-291853087fb6</imagelabel>
  100.   </seclabel>
  101. </domain>
Add Comment
Please, Sign In to add comment