openstack-I版启动虚拟机XML文件

<domain type="kvm">
  <uuid>3b6ec2ed-817b-4bfa-af37-d9e7be8a7f07</uuid>
  <name>instance-000000d0</name>
  <memory>2097152</memory>
  <vcpu>1</vcpu>
  <sysinfo type="smbios">
    <system>
      <entry name="manufacturer">Apple Inc.</entry>
      <entry name="product">OpenStack Nova</entry>
      <entry name="version">2014.1-2.el6</entry>
      <entry name="serial">800bab3c-a4d4-a0e9-5cf5-82510e10d056</entry>
      <entry name="uuid">3b6ec2ed-817b-4bfa-af37-d9e7be8a7f07</entry>
    </system>
  </sysinfo>
  <os>
    <type>hvm</type>
    <boot dev="hd"/>
    <smbios mode="sysinfo"/>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <clock offset="utc">
    <timer name="pit" tickpolicy="delay"/>
    <timer name="rtc" tickpolicy="catchup"/>
    <timer name="hpet" present="no"/>
  </clock>
  <cpu mode="host-model" match="exact"/>
  <devices>
    <disk type="network" device="disk">
      <driver type="raw" cache="none"/>
      <source protocol="rbd" name="vms/3b6ec2ed-817b-4bfa-af37-d9e7be8a7f07_disk">
        <host name="192.168.8.8" port="6789"/>
      </source>
      <auth username="cinder">
        <secret type="ceph" uuid="e9a0d016-621f-433b-a3e8-bbe31ccc47b4"/>
      </auth>
      <target bus="virtio" dev="vda"/>
    </disk>
    <interface type="bridge">
      <mac address="fa:16:3e:fa:ba:d3"/>
      <model type="virtio"/>
      <source bridge="brq3fd6e7e1-c5"/>
      <target dev="tapc1428460-73"/>
      <bandwidth>
        <inbound average="200"/>
        <outbound average="250"/>
      </bandwidth>
    </interface>
    <serial type="file">
      <source path="/var/lib/nova/instances/3b6ec2ed-817b-4bfa-af37-d9e7be8a7f07/console.log"/>
    </serial>
    <serial type="pty"/>
    <input type="tablet" bus="usb"/>
    <graphics type="vnc" autoport="yes" keymap="en-us" listen="192.168.8.8"/>
    <video>
      <model type="cirrus"/>
    </video>
  </devices>
</domain>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值