Currently container mtu in contiv network set as static MTU value as 1450. With this PR, contiv/netplugin
detect minimum configured mtu of host and cofingured Veth pair container side MTU to read MTU - 50 if container is part of Vxlan Bridge in OVS
Type of fix: Bug Fix
Fixes #1132
Please describe:
Contiv/netplugin bringup 2 types of OVS switch in every node and all container interface are plugged into these OVS switch based on OVS bridge mode type( Vlan or Vxlan). Incase of Vxlan , Container should not send packets more configured host Interface , to fix this issue, netplugin read lowest configured mtu in set of host interface and set container interface mtu 50 byte less if container interface is part OVS vxlan bridge
type of testing done (both manual and automated)
Bring up Contiv network with Vxlan encap as default switch.
Bringup container which is part of above contiv network .
check the configured interface MTU which should be 50 byte less than host minimum MTU
…interface mtu
Description of the changes:
Currently container mtu in contiv network set as static MTU value as 1450. With this PR, contiv/netplugin detect minimum configured mtu of host and cofingured Veth pair container side MTU to read MTU - 50 if container is part of Vxlan Bridge in OVS
Type of fix: Bug Fix
Fixes #1132
Please describe:
Contiv/netplugin bringup 2 types of OVS switch in every node and all container interface are plugged into these OVS switch based on OVS bridge mode type( Vlan or Vxlan). Incase of Vxlan , Container should not send packets more configured host Interface , to fix this issue, netplugin read lowest configured mtu in set of host interface and set container interface mtu 50 byte less if container interface is part OVS vxlan bridge
type of testing done (both manual and automated) Bring up Contiv network with Vxlan encap as default switch. Bringup container which is part of above contiv network . check the configured interface MTU which should be 50 byte less than host minimum MTU
TODO