Add configuration for mtu in docker examples 79/13079/1
authorMichal Cmarada <[email protected]>
Fri, 15 Jun 2018 11:38:44 +0000 (13:38 +0200)
committerMarek Gradzki <[email protected]>
Fri, 15 Jun 2018 11:44:05 +0000 (11:44 +0000)
commit14bc08567f3ec9afcc1e8b31e62fb43186f0c038
treee15ba9c048dbb716b7f3d757fb2e55c4fc80a8b3
parent26ed56b66aa02845962b4d831e6a9a549876ad97
Add configuration for mtu in docker examples

VPP is using mtu=9000 for interfaces that it creates.

This fixes the mtu value for veth interfaces on linux side
so they match the value configured in VPP for all veth interfaces
in docker examples. Originally veth interfaces use smaller value
since Linux automatically sets their MTU to be the smallest MTU
of their slave ports. For VPP this means if a bigger frame is sent
outside to the veth interface it will be dropped.

Change-Id: I41117490ec80a0b2d2d2897493c2690f92766734
Signed-off-by: Michal Cmarada <[email protected]>
(cherry picked from commit c6e27c7f0e1f1bc791878f3d0ca277500aad5fe6)
examples/docker/utils.sh