mirror of
https://github.com/libvirt/libvirt.git
synced 2026-08-08 20:18:11 -05:00
Revert "libvirt domain xml allow to set peer address"
This reverts commit 690969af9c, which
added the domain config parts to support a "peer" attribute in domain
interface <ip> elements.
It's being removed temporarily for the release of libvirt 1.3.4
because the feature doesn't work, and there are concerns that it may
need to be modified in an externally visible manner which could create
backward compatibility problems.
This commit is contained in:
@@ -4836,7 +4836,6 @@ qemu-kvm -net nic,model=? /dev/null
|
||||
<source network='default'/>
|
||||
<target dev='vnet0'/>
|
||||
<b><ip address='192.168.122.5' prefix='24'/></b>
|
||||
<b><ip address='192.168.122.5' prefix='24' peer='10.0.0.10'/></b>
|
||||
<b><route family='ipv4' address='192.168.122.0' prefix='24' gateway='192.168.122.1'/></b>
|
||||
<b><route family='ipv4' address='192.168.122.8' gateway='192.168.122.1'/></b>
|
||||
</interface>
|
||||
@@ -4869,16 +4868,7 @@ qemu-kvm -net nic,model=? /dev/null
|
||||
to define the network routes to use for the network device. The attributes
|
||||
of this element are described in the documentation for the <code>route</code>
|
||||
element in <a href="formatnetwork.html#elementsStaticroute">network definitions</a>.
|
||||
This is used by the LXC driver and <span class="since">Since 1.3.3</span> by the QEMU
|
||||
driver.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<span class="since">Since 1.3.3</span> ip elements can hold peer attribute to assign
|
||||
a point-to-point address for the network device. The attributes of this element
|
||||
are described in the documentation for the <code>ip</code> element in
|
||||
<a href="formatnetwork.html#elementsAddress">network definitions</a>.
|
||||
This is only used by the LXC and QEMU drivers.
|
||||
This is only used by the LXC driver.
|
||||
</p>
|
||||
|
||||
<h5><a name="elementVhostuser">vhost-user interface</a></h5>
|
||||
|
||||
@@ -2410,11 +2410,6 @@
|
||||
<ref name="ipPrefix"/>
|
||||
</attribute>
|
||||
</optional>
|
||||
<optional>
|
||||
<attribute name="peer">
|
||||
<ref name="ipAddr"/>
|
||||
</attribute>
|
||||
</optional>
|
||||
<empty/>
|
||||
</element>
|
||||
</zeroOrMore>
|
||||
|
||||
Reference in New Issue
Block a user