home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

Sample XML snippet for the libvirt domain XML file

The libvirt domain XML file that is used in provisioning a guest automatically defines the guest parameters, such as the number of CPUs, amount of RAM, and details about the bridge and vhost interfaces.

When you are building your XML file, you can refer to the following sample XML snippet and the details of the elements in Supported libvirt domain XML elements and attributes. The following XML file configures a guest with the following details:
  • Name of the guest: aguest
  • Number of vCPUs: 4
  • Amount of RAM: 512 MB
  • IP address of the vhost interface: 192.168.1.1/24
<domain type='kvm'>
  <name>aguest</name>
  <vcpu>4</vcpu>
  <memory unit='M'>512</memory>
  <devices>
    <interface type=’ethernet’>
     <ip address='192.168.1.1' prefix='24'/>
    </interface>
  </devices>
</domain>