]> git.ipfire.org Git - thirdparty/libvirt.git/commit
schema: Fix interface link state schema
authorPeter Krempa <pkrempa@redhat.com>
Mon, 2 Mar 2015 16:21:23 +0000 (17:21 +0100)
committerCole Robinson <crobinso@redhat.com>
Tue, 28 Apr 2015 15:06:37 +0000 (11:06 -0400)
commite022ba7334ac2a324203ebbd91e27eb7ed2d6485
tree444c0805148daf059777b3e79052f2274c5c5e27
parentd048e8ec9ef5a72cb2fd471883fb9f11ab3f6c2e
schema: Fix interface link state schema

In commit edd1295e1da6bfe8e4e257e5fbfad71ac0bf7c87 I've introduced an
XML element that allows to configure state of the network interface
link. Somehow the RNG schema hunk ended up in a weird place in the
network schema definition. Move it to the right place and add a test
case.

Note that the link state is set up via the monitor at VM startup so I
originally didn't think of adding a test case.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1173468
(cherry picked from commit 8eb907b8d0fd73c8f88f9cd8df1fa0e7abf40c93)
docs/schemas/domaincommon.rng
docs/schemas/network.rng
tests/qemuxml2argvdata/qemuxml2argv-interface-driver.xml