]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: make interface start mode element optional
authorLaine Stump <laine@laine.org>
Mon, 27 Mar 2017 04:40:18 +0000 (00:40 -0400)
committerLaine Stump <laine@laine.org>
Mon, 27 Mar 2017 14:22:15 +0000 (10:22 -0400)
This brings the libvirt version of this RNG file in line with the same
file in netcf (as soon as the corresponding patch there is ACKed and
pushed).

There's no reason to require it when defining an interface (the config
option it corresponds to is optional), and it isn't even output in the
status of an interface.

Resolves: https://bugzilla.redhat.com/1414404

docs/schemas/interface.rng

index 052703ce84aae8a09a8a1ac279505115d863b281..4bb08e96a4aa34751722b1432dcf2dda337d7283 100644 (file)
   </define>
 
   <define name="startmode">
-    <element name="start">
-      <attribute name="mode">
-        <choice>
-          <value>onboot</value>
-          <value>none</value>
-          <value>hotplug</value>
-          <!-- Jim Fehlig lists the following that SuSe supports:
-               manual, ifplug, nfsroot -->
-        </choice>
-      </attribute>
-    </element>
+    <optional>
+      <element name="start">
+        <attribute name="mode">
+          <choice>
+            <value>onboot</value>
+            <value>none</value>
+            <value>hotplug</value>
+            <!-- Jim Fehlig lists the following that SuSe supports:
+                 manual, ifplug, nfsroot -->
+          </choice>
+        </attribute>
+      </element>
+    </optional>
   </define>
 
   <!--