[openstack-dev] [nova] Setting MTU size for tap device

Vishvananda Ishaya vishvananda at gmail.com
Mon Dec 22 17:12:34 UTC 2014

It makes sense to add it to me. Libvirt sets the mtu from the bridge when it creates the tap device, but if you are creating it manually you might need to set it to something else.


On Dec 17, 2014, at 10:29 PM, Ryu Ishimoto <ryu at midokura.com> wrote:

> Hi All,
> I noticed that in linux_net.py, the method to create a tap interface[1] does not let you set the MTU size.  In other places, I see calls made to set the MTU of the device [2].
> I'm wondering if there is any technical reasons to why we can't also set the MTU size when creating tap interfaces for general cases.  In certain overlay solutions, this would come in handy.  If there isn't any, I would love to submit a patch to accomplish this.
> Thanks in advance!
> Ryu
> [1] https://github.com/openstack/nova/blob/master/nova/network/linux_net.py#L1374
> [2] https://github.com/openstack/nova/blob/master/nova/network/linux_net.py#L1309
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20141222/4d69ebc8/attachment.html>

More information about the OpenStack-dev mailing list