mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 11:51:11 +00:00
0a1b565382
Add support for converting openvswitch interface configuration to/from libvirt domXML and xl.cfg(5). The xl config syntax for virtual interfaces is described in detail in the xl-network-configuration(5) man page. The Xen Networking wiki also contains information and examples for using openvswitch in xl.cfg config format https://wiki.xenproject.org/wiki/Xen_Networking#Open_vSwitch Tests are added to check conversions of openvswitch tagged and trunked VLAN configuration. Signed-off-by: Jim Fehlig <jfehlig@suse.com> ACKed-by: Michal Privoznik <mprivozn@redhat.com>
26 lines
585 B
INI
26 lines
585 B
INI
name = "XenGuest2"
|
|
uuid = "c7a5fdb2-cdaf-9455-926a-d65c16db1809"
|
|
maxmem = 8192
|
|
memory = 8192
|
|
vcpus = 8
|
|
pae = 1
|
|
acpi = 1
|
|
apic = 1
|
|
viridian = 0
|
|
rtc_timeoffset = 0
|
|
localtime = 0
|
|
on_poweroff = "destroy"
|
|
on_reboot = "restart"
|
|
on_crash = "restart"
|
|
device_model = "/usr/lib/xen/bin/qemu-system-i386"
|
|
sdl = 0
|
|
vnc = 1
|
|
vncunused = 1
|
|
vnclisten = "127.0.0.1"
|
|
vif = [ "mac=00:16:3e:66:92:9c,bridge=ovsbr0:42:43,script=vif-openvswitch,model=e1000" ]
|
|
parallel = "none"
|
|
serial = "none"
|
|
builder = "hvm"
|
|
boot = "c"
|
|
disk = [ "format=raw,vdev=hda,access=rw,backendtype=phy,target=/dev/HostVG/XenGuest2" ]
|