Browse Source
OVN Driver currently fixes gateway_mtu MTU to the provider MTU value without considering if the private networks in the associated router have greater MTU values than the provider. This is unnecesary and adds extra actions for each packet. This patch fixes that, as now gateway_mtu is only set in case the provider MTU is smaller than the private MTU. The changes in create_router_port and delete_router_port were necessary as there could be a use case when the user first sets the gateway router and later adds subnets from networks with greater MTU, so this parameter needs to be checked after adding a subnet. Closes-Bug: #1951559 Signed-off-by: Elvira García <egarciar@redhat.com> (manually cherry-picked from commit 0725533a6fa6a42d361e518b027f69da8e1e1ec5) Change-Id: I710723682e2b59c24d0ca1ef9f582c73c3c5af87changes/55/819655/1
3 changed files with 40 additions and 11 deletions
Loading…
Reference in new issue