github.com/mirantis/virtlet@v1.5.2-0.20191204181327-1659b8a48e9b/pkg/libvirttools/TestDomainResourceConstraints.out.yaml (about)

     1  - name: 'domain conn: DefineDomain'
     2    value: |-
     3      <domain type="kvm">
     4        <name>virtlet-231700d5-c9a6-container1</name>
     5        <uuid>231700d5-c9a6-5a49-738d-99a954c51550</uuid>
     6        <memory unit="b">1234567</memory>
     7        <vcpu>2</vcpu>
     8        <cputune>
     9          <shares>100</shares>
    10          <period>100000</period>
    11          <quota>12500</quota>
    12        </cputune>
    13        <os>
    14          <type>hvm</type>
    15          <boot dev="hd"></boot>
    16        </os>
    17        <features>
    18          <acpi></acpi>
    19        </features>
    20        <on_poweroff>destroy</on_poweroff>
    21        <on_reboot>restart</on_reboot>
    22        <on_crash>restart</on_crash>
    23        <devices>
    24          <emulator>/vmwrapper</emulator>
    25          <disk type="file" device="disk">
    26            <driver name="qemu" type="qcow2"></driver>
    27            <source file="/var/lib/virtlet/volumes/virtlet_root_231700d5-c9a6-5a49-738d-99a954c51550"></source>
    28            <target dev="sda" bus="scsi"></target>
    29            <address type="drive" controller="0" bus="0" target="0" unit="0"></address>
    30          </disk>
    31          <disk type="file" device="cdrom">
    32            <driver name="qemu" type="raw"></driver>
    33            <source file="/var/lib/virtlet/config/config-231700d5-c9a6-5a49-738d-99a954c51550.iso"></source>
    34            <target dev="sdb" bus="scsi"></target>
    35            <readonly></readonly>
    36            <address type="drive" controller="0" bus="0" target="0" unit="1"></address>
    37          </disk>
    38          <controller type="scsi" index="0" model="virtio-scsi">
    39            <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"></address>
    40          </controller>
    41          <controller type="pci" model="pci-root"></controller>
    42          <serial type="unix">
    43            <source mode="connect" path="/var/lib/libvirt/streamer.sock">
    44              <reconnect enabled="yes" timeout="1"></reconnect>
    45            </source>
    46            <target port="0"></target>
    47          </serial>
    48          <input type="tablet" bus="usb"></input>
    49          <graphics type="vnc" port="-1"></graphics>
    50          <video>
    51            <model type="cirrus"></model>
    52          </video>
    53        </devices>
    54        <commandline xmlns="http://libvirt.org/schemas/domain/qemu/1.0">
    55          <env name="VIRTLET_EMULATOR" value="/usr/bin/kvm"></env>
    56          <env name="VIRTLET_NET_KEY" value="/tmp/fakenetns"></env>
    57          <env name="VIRTLET_CONTAINER_ID" value="231700d5-c9a6-5a49-738d-99a954c51550"></env>
    58          <env name="VIRTLET_CONTAINER_LOG_PATH" value="/var/log/pods/69eec606-0493-5825-73a4-c5e0c0236155/container1_42.log"></env>
    59        </commandline>
    60      </domain>