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.

Vish

On Dec 17, 2014, at 10:29 PM, Ryu Ishimoto <r...@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@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to