Skip to content

Commit

Permalink
[swssconfig] load dhcpv6 copp rules by default (#9047)
Browse files Browse the repository at this point in the history
Why I did it
Need to enable DHCPv6 copp rule

How I did it
Add a separate DHCPv6 copp rule config file and load it during cold reboot.

How to verify it
cold reboot, and verify config being loaded and dhcpv6 rules got installed.

Signed-off-by: Ying Xie [email protected]
  • Loading branch information
yxieca authored Oct 25, 2021
1 parent 5e2018e commit 7e4aa6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dockers/docker-orchagent/swssconfig.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ if [[ "$SYSTEM_WARM_START" == "true" ]] || [[ "$SWSS_WARM_START" == "true" ]]; t
fi
fi

SWSSCONFIG_ARGS="00-copp.config.json ipinip.json ports.json switch.json "
SWSSCONFIG_ARGS="00-copp.config.json 01-copp-dhcpv6.config.json ipinip.json ports.json switch.json "

for file in $SWSSCONFIG_ARGS; do
swssconfig /etc/swss/config.d/$file
Expand Down

0 comments on commit 7e4aa6a

Please sign in to comment.