Add configuration for mtu in docker examples 78/13078/2
authorMichal Cmarada <[email protected]>
Fri, 15 Jun 2018 11:38:44 +0000 (13:38 +0200)
committerMarek Gradzki <[email protected]>
Fri, 15 Jun 2018 11:43:02 +0000 (11:43 +0000)
commitc6e27c7f0e1f1bc791878f3d0ca277500aad5fe6
tree8b3cd315befd8ec11ef5e51d1777ee1bdbcb7f31
parent41e130b7f5d0aaf32c57c7b66ea6751adb219ba5
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]>
examples/docker/utils.sh