[PATCH] docs: add an IPv6 address to network XML examples

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

 



It was just pointed out that, although I added documentation for the
IPv6 additions to the network XML, I neglected to use those additions
in the xamples. This patch adds an IPv6 address to each of the
examples except for the "default" network, since that is a faithful
reproduction of the default network config that's automatically
installed, which doesn't include any IPv6 address (for good reason -
because there is no such thing as IPv6 NAT, there is no one IPv6
address that would work for all installations).
---
 docs/formatnetwork.html.in |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/docs/formatnetwork.html.in b/docs/formatnetwork.html.in
index c6969eb..589aaff 100644
--- a/docs/formatnetwork.html.in
+++ b/docs/formatnetwork.html.in
@@ -121,6 +121,7 @@
             <host mac="00:16:3e:3e:a9:1a" name="bar.example.com" ip="192.168.122.11" />
           </dhcp>
         </ip>
+        <ip family="ipv6" address="2001:8794:ca2:2::1" prefix="64" />
       &lt;/network&gt;</pre>
 
     <dl>
@@ -226,6 +227,7 @@
             &lt;range start="192.168.122.2" end="192.168.122.254" /&gt;
           &lt;/dhcp&gt;
         &lt;/ip&gt;
+        &lt;ip family="ipv6" address="2001:8794:ca2:2::1" prefix="64" /&gt;
       &lt;/network&gt;</pre>
 
     <h3><a name="examplesRoute">Routed network config</a></h3>
@@ -249,6 +251,7 @@
             &lt;range start="192.168.122.2" end="192.168.122.254" /&gt;
           &lt;/dhcp&gt;
         &lt;/ip&gt;
+        &lt;ip family="ipv6" address="2001:8794:ca2:2::1" prefix="64" /&gt;
       &lt;/network&gt;</pre>
 
     <h3><a name="examplesPrivate">Isolated network config</a></h3>
@@ -270,6 +273,7 @@
             &lt;range start="192.168.152.2" end="192.168.152.254" /&gt;
           &lt;/dhcp&gt;
         &lt;/ip&gt;
+        &lt;ip family="ipv6" address="2001:8794:ca2:3::1" prefix="64" /&gt;
       &lt;/network&gt;</pre>
 
   </body>
-- 
1.7.3.4

--
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]