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:
Laine Stump
2017-01-22 21:23:48 -05:00
parent dd8ac030fb
commit 68a42bf6f7
8 changed files with 83 additions and 5 deletions

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