[PATCH 2/2] docs: add ipv6noDefRoute to schema and html.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 docs/formatnetwork.html.in | 15 ++++++++++++++-
 docs/schemas/network.rng   |  5 +++++
 2 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/docs/formatnetwork.html.in b/docs/formatnetwork.html.in
index 1cea931..e710f25 100644
--- a/docs/formatnetwork.html.in
+++ b/docs/formatnetwork.html.in
@@ -35,7 +35,7 @@
     </p>
 
     <pre>
-      &lt;network ipv6='yes' trustGuestRxFilters='no'&gt;
+      &lt;network ipv6='yes' trustGuestRxFilters='no' ipv6noDefRoute='yes'&gt;
         &lt;name&gt;default&lt;/name&gt;
         &lt;uuid&gt;3e3fce45-4f53-4fa7-bb32-11f34168b82b&lt;/uuid&gt;
         ...</pre>
@@ -71,6 +71,19 @@
         more details. Note that an explicit setting of this attribute
         in a portgroup or the individual domain interface will
         override the setting in the network.</dd>
+      <dt><code>ipv6noDefRoute='yes'</code></dt>
+      <dd>The optional parameter <code>ipv6noDefRoute='yes'</code>
+        disables installing IPv6 default gateway into guest from
+        IPv6 Router Advertisements (RA). If no gateway is specified
+        explicitly, guest learns a default route via the source of RA
+        (normally, link-local address of virbr*).
+        This parameter is only considered for isolated networks.
+        It is useful if a domain has two network interfaces,
+        one of which is connected to public network and another one
+        to isolated network. This option prevents IPv6 default route
+        to isolated network from RA from disturbing normal routing
+        to public network.
+        <span class="since">Since 2.0.1</span></dd>
     </dl>
 
     <h3><a name="elementsConnect">Connectivity</a></h3>
diff --git a/docs/schemas/network.rng b/docs/schemas/network.rng
index 4edb6eb..66c849c 100644
--- a/docs/schemas/network.rng
+++ b/docs/schemas/network.rng
@@ -29,6 +29,11 @@
           <ref name="virYesNo"/>
         </attribute>
       </optional>
+      <optional>
+        <attribute name="ipv6noDefRoute">
+          <ref name="virYesNo"/>
+        </attribute>
+      </optional>
       <interleave>
 
         <!-- The name of the network, used to refer to it through the API
-- 
1.8.3.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]