libvirt/tests
Laine Stump 3f9274a524 conf: add <vlan> element to network and domain interface elements
The following config elements now support a <vlan> subelements:

within a domain: <interface>, and the <actual> subelement of <interface>
within a network: the toplevel, as well as any <portgroup>

Each vlan element must have one or more <tag id='n'/> subelements.  If
there is more than one tag, it is assumed that vlan trunking is being
requested. If trunking is required with only a single tag, the
attribute "trunk='yes'" should be added to the toplevel <vlan>
element.

Some examples:

  <interface type='hostdev'/>
    <vlan>
      <tag id='42'/>
    </vlan>
    <mac address='52:54:00:12:34:56'/>
    ...
  </interface>

  <network>
    <name>vlan-net</name>
    <vlan trunk='yes'>
      <tag id='30'/>
    </vlan>
    <virtualport type='openvswitch'/>
  </network>

  <interface type='network'/>
    <source network='vlan-net'/>
    ...
  </interface>

  <network>
    <name>trunk-vlan</name>
    <vlan>
      <tag id='42'/>
      <tag id='43'/>
    </vlan>
    ...
  </network>

  <network>
    <name>multi</name>
    ...
    <portgroup name='production'/>
      <vlan>
        <tag id='42'/>
      </vlan>
    </portgroup>
    <portgroup name='test'/>
      <vlan>
        <tag id='666'/>
      </vlan>
    </portgroup>
  </network>

  <interface type='network'/>
    <source network='multi' portgroup='test'/>
    ...
  </interface>

IMPORTANT NOTE: As of this patch there is no backend support for the
vlan element for *any* network device type. When support is added in
later patches, it will only be for those select network types that
support setting up a vlan on the host side, without the guest's
involvement. (For example, it will be possible to configure a vlan for
a guest connected to an openvswitch bridge, but it won't be possible
to do that for one that is connected to a standard Linux host bridge.)
2012-08-15 13:10:57 -04:00
..
capabilityschemadata Update xml schemas according to libvirt source 2012-08-02 14:36:23 -06:00
commanddata command: avoid deadlock on EPIPE situation 2012-06-04 13:06:07 -06:00
confdata
cputestdata
domainschemadata parallels: add domain configuration example 2012-08-15 16:39:40 +08:00
domainsnapshotxml2xmlin
domainsnapshotxml2xmlout
interfaceschemadata
lxcxml2xmldata numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
networkxml2argvdata
networkxml2xmlin conf: add <vlan> element to network and domain interface elements 2012-08-15 13:10:57 -04:00
networkxml2xmlout conf: add <vlan> element to network and domain interface elements 2012-08-15 13:10:57 -04:00
nodedevschemadata Update xml schemas according to libvirt source 2012-08-02 14:36:23 -06:00
nodeinfodata tests: reduce length of nodeinfodata test names 2012-07-20 15:36:11 -06:00
nwfilterxml2xmlin nwfilter: Add support for ipset 2012-05-21 06:26:34 -04:00
nwfilterxml2xmlout nwfilter: Add support for ipset 2012-05-21 06:26:34 -04:00
qemuhelpdata tests: Refresh qemu-1.1.0 data 2012-06-05 15:44:40 +02:00
qemuxml2argvdata conf: add <vlan> element to network and domain interface elements 2012-08-15 13:10:57 -04:00
qemuxml2xmloutdata Fix logic for assigning PCI addresses to USB2 companion controllers 2012-05-15 17:07:34 +01:00
qemuxmlnsdata
sexpr2xmldata numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
storagepoolxml2xmlin Update xml schemas according to libvirt source 2012-08-02 14:36:23 -06:00
storagepoolxml2xmlout Update xml schemas according to libvirt source 2012-08-02 14:36:23 -06:00
storagevolxml2xmlin Added timestamps to storage volumes 2012-08-02 17:14:17 -06:00
storagevolxml2xmlout Add a sheepdog backend for the storage driver 2012-07-18 20:08:27 +01:00
vmx2xmldata vmx: handle shared folders parsing 2012-07-21 20:15:02 +02:00
xencapsdata
xmconfigdata numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
xml2sexprdata
xml2vmxdata vmx: handle shared folders formatting 2012-07-21 19:45:02 +02:00
.valgrind.supp
capabilityschematest
commandhelper.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
commandtest.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
conftest.c
cpuset maint: avoid regression on copyright listings 2012-07-27 07:42:34 -06:00
cputest.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
define-dev-segfault numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
domainschematest
domainsnapshotschematest
domainsnapshotxml2xmltest.c
esxutilstest.c
eventtest.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
int-overflow
interfaceschematest
interfacexml2xmltest.c
jsontest.c
libvirtd-fail
libvirtd-pool
libvirtdconftest.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
lxcxml2xmltest.c
Makefile.am Set LIBVIRT_AUTOSTART=0 when running test suites 2012-08-07 14:58:17 +01:00
networkschematest
networkxml2argvtest.c
networkxml2xmltest.c conf: support partially-specified <virtualport> in parser and formatter 2012-08-14 15:47:50 -04:00
nodedevschematest
nodedevxml2xmltest.c
nodeinfotest.c tests: reduce length of nodeinfodata test names 2012-07-20 15:36:11 -06:00
nwfilterschematest
nwfilterxml2xmltest.c nwfilter: Add support for ipset 2012-05-21 06:26:34 -04:00
object-locking.ml maint: avoid regression on copyright listings 2012-07-27 07:42:34 -06:00
oomtrace.pl Remove tabs from all perl files & enforce this 2012-07-30 13:09:57 +01:00
openvzutilstest.c numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
openvzutilstest.conf
pkix_asn1_tab.c
qemuargv2xmltest.c
qemuhelptest.c qemu: add capabilities flags related to scsi controller 2012-08-08 14:25:24 +08:00
qemumonitortest.c
qemuxml2argvtest.c qemu: add two qemu caps for lsi and virtio-scsi SCSI controllers 2012-08-08 15:06:33 +08:00
qemuxml2xmltest.c conf: add <vlan> element to network and domain interface elements 2012-08-15 13:10:57 -04:00
qemuxmlnstest.c Convert public datatypes to inherit from virObject 2012-08-07 11:47:41 +01:00
read-bufsiz maint: avoid regression on copyright listings 2012-07-27 07:42:34 -06:00
read-non-seekable maint: avoid regression on copyright listings 2012-07-27 07:42:34 -06:00
reconnect.c
schematestutils.sh
seclabeltest.c virrandom: make virRandomInitialize an automatic one-shot 2012-08-06 08:15:13 -06:00
sexpr2xmltest.c Convert public datatypes to inherit from virObject 2012-08-07 11:47:41 +01:00
shunloadhelper.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
shunloadtest.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
sockettest.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
ssh.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
start maint: avoid regression on copyright listings 2012-07-27 07:42:34 -06:00
statstest.c
storagebackendsheepdogtest.c build: fix PROBE() usage of intptr_t 2012-08-09 15:40:42 -06:00
storagepoolschematest
storagepoolxml2xmltest.c Add a sheepdog backend for the storage driver 2012-07-18 20:08:27 +01:00
storagevolschematest
storagevolxml2xmltest.c Add a sheepdog backend for the storage driver 2012-07-18 20:08:27 +01:00
test_conf.sh
test-lib.sh
testutils.c virrandom: make virRandomInitialize an automatic one-shot 2012-08-06 08:15:13 -06:00
testutils.h maint: Use consistent copyright. 2012-07-27 18:27:21 +08:00
testutilslxc.c
testutilslxc.h
testutilsqemu.c S390: Adding testcases for s390 2012-07-11 11:19:05 +02:00
testutilsqemu.h
testutilsxen.c
testutilsxen.h
undefine maint: avoid regression on copyright listings 2012-07-27 07:42:34 -06:00
utiltest.c
vcpupin maint: avoid regression on copyright listings 2012-07-27 07:42:34 -06:00
viratomictest.c maint: drop a leftover comment line 2012-08-14 11:39:56 -06:00
virauthconfigtest.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
virbuftest.c buf: support peeking at string contents 2012-06-11 09:21:27 -06:00
virdrivermoduletest.c daemon: Fix the wrong macro name 2012-07-24 15:45:20 -06:00
virhashdata.h
virhashtest.c
virkeyfiletest.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
virnetmessagetest.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
virnetsockettest.c Turn virSocket into a virObject 2012-08-07 11:47:41 +01:00
virnettlscontexttest.c Turn virNetTLSContext and virNetTLSSession into virObject instances 2012-08-07 11:47:41 +01:00
virsh-all Don't check the 'connect' command in virsh-all test 2012-08-07 11:59:08 +01:00
virsh-optparse maint: avoid regression on copyright listings 2012-07-27 07:42:34 -06:00
virsh-schedinfo maint: avoid regression on copyright listings 2012-07-27 07:42:34 -06:00
virsh-synopsis maint: avoid regression on copyright listings 2012-07-27 07:42:34 -06:00
virshtest.c virsh: output scaled values with correct units 2012-05-01 14:58:14 -06:00
virt-aa-helper-test
virtimetest.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
viruritest.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
vmx2xmltest.c vmx: handle shared folders parsing 2012-07-21 20:15:02 +02:00
xencapstest.c
xmconfigtest.c Convert public datatypes to inherit from virObject 2012-08-07 11:47:41 +01:00
xml2sexprtest.c
xml2vmxtest.c vmx: handle shared folders formatting 2012-07-21 19:45:02 +02:00