Skip to content

Commit

Permalink
Don't start caclmgrd on any Arista platform (including 7050)
Browse files Browse the repository at this point in the history
  • Loading branch information
jleveque committed Jan 9, 2018
1 parent cabed4c commit fcd1bb6
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions files/image_config/caclmgrd/caclmgrd-start.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
#!/usr/bin/env bash

PLATFORM=$(sonic-cfggen -v "platform")

# If this is an Arista platform newer than the 7050, do not start caclmgrd.
# Newer Arista devices will use their own service ACL manager instead.
if [ "$(echo $PLATFORM | grep -v "7050" | grep -c "arista")" -gt 0 ]; then
# Only start control plance ACL manager daemon if not an Arista platform.
# Arista devices will use their own service ACL manager daemon(s) instead.
if [ "$(sonic-cfggen -v "platform" | grep -c "arista")" -gt 0 ]; then
echo "Not starting caclmgrd - unsupported platform"
exit 0
fi
Expand Down

0 comments on commit fcd1bb6

Please sign in to comment.