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

Maxim Perevedentsev mperevedentsev at virtuozzo.com
Wed Jun 29 14:17:54 UTC 2016


---
 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>
-      <network ipv6='yes' trustGuestRxFilters='no'>
+      <network ipv6='yes' trustGuestRxFilters='no' ipv6noDefRoute='yes'>
         <name>default</name>
         <uuid>3e3fce45-4f53-4fa7-bb32-11f34168b82b</uuid>
         ...</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




More information about the libvir-list mailing list