mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
conf: support configuring mtu size in a virtual network
Example:
<network>
...
<mtu size='9000'/>
...
If mtu is unset, it's assumed that we want the default for whatever is
the underlying transport (usually this is 1500).
This setting isn't yet wired in, so it will have no effect.
This partially resolves: https://bugzilla.redhat.com/1224348
This commit is contained in:
12
tests/networkxml2xmlin/set-mtu.xml
Normal file
12
tests/networkxml2xmlin/set-mtu.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<network ipv6='no'>
|
||||
<name>private</name>
|
||||
<uuid>81ff0d90-c91e-6742-64da-4a736edb9a9b</uuid>
|
||||
<bridge name='virbr2'/>
|
||||
<mtu size='9000'/>
|
||||
<mac address='52:54:00:17:3F:37'/>
|
||||
<ip address="192.168.152.1" netmask="255.255.255.0">
|
||||
<dhcp>
|
||||
<range start="192.168.152.2" end="192.168.152.254"/>
|
||||
</dhcp>
|
||||
</ip>
|
||||
</network>
|
||||
Reference in New Issue
Block a user