]> xenbits.xensource.com Git - libvirt.git/commitdiff
schema: add missing vlan element to networkport RNG
authorLaine Stump <laine@redhat.com>
Fri, 14 Feb 2020 23:59:52 +0000 (18:59 -0500)
committerLaine Stump <laine@redhat.com>
Fri, 21 Feb 2020 04:04:54 +0000 (23:04 -0500)
This is in the data structure and the parse/format functions, and is
getting passed all around correctly, it just was omitted from the RNG,
which hasn't been noticed because no human is creating <networkport>
XML, and so it's never getting validated against the schema.

Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
docs/schemas/networkport.rng

index 8cfc043a4078383a5b858a530a89f9d84dbb82e6..ea43c03d4111a31e3bb3e440a1bf33346369095d 100644 (file)
@@ -29,6 +29,9 @@
         <optional>
           <ref name="bandwidth"/>
         </optional>
+        <optional>
+          <ref name="vlan"/>
+        </optional>
         <optional>
           <ref name="plug"/>
         </optional>