Skip to content

Commit

Permalink
[vs]Preventing ebtables cfg to be applied on vs (#11585)
Browse files Browse the repository at this point in the history
*Preventing ebtables rules to be applied on KVM image. The ebtables rules in SONiC are added to prevent ARP as well as L2 forwarding to be blocked in linux kernel since the hardware will take care of the actual L2 forward. However this is not the case with KVM where linux needs to forward even L2 packets
  • Loading branch information
dgsudharsan authored and yxieca committed Aug 8, 2022
1 parent 8a12a4b commit 871a1c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion files/build_templates/docker_image_ctl.j2
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,9 @@ function postStartAction()
fi
fi
# Setup ebtables configuration
{%- if sonic_asic_platform != "vs" %}
ebtables_config

{%- endif %}
# chassisdb starts before database starts, bypass the PING check since other
# databases are not availbale until database container is ready.
# also chassisdb doesn't support warm/fast reboot, its dump.rdb is deleted
Expand Down

0 comments on commit 871a1c5

Please sign in to comment.