]> xenbits.xensource.com Git - libvirt.git/commitdiff
docs: add an IPv6 address to network XML examples
authorLaine Stump <laine@laine.org>
Thu, 7 Apr 2011 14:50:43 +0000 (10:50 -0400)
committerLaine Stump <laine@laine.org>
Thu, 7 Apr 2011 16:51:47 +0000 (12:51 -0400)
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 examples. 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

index c6969eb1a3c66e09aa45cc3905087776902f7771..589aaff20e033c960bfcdc7b1601c63e763bc1ad 100644 (file)
             &lt;host mac="00:16:3e:3e:a9:1a" name="bar.example.com" ip="192.168.122.11" /&gt;
           &lt;/dhcp&gt;
         &lt;/ip&gt;
+        &lt;ip family="ipv6" address="2001:8794:ca2:2::1" prefix="64" /&gt;
       &lt;/network&gt;</pre>
 
     <dl>
             &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>
             &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>
             &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>