Skip to content

Commit

Permalink
Update backend_acl.py to specify ACL table name (sonic-net#17553) (so…
Browse files Browse the repository at this point in the history
  • Loading branch information
mssonicbld authored Jan 4, 2024
1 parent b72a740 commit 76d8ff0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/image_config/backend_acl/backend_acl.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def load_backend_acl(device_type):
if os.path.isfile(BACKEND_ACL_TEMPLATE_FILE):
run_command(['sudo', SONIC_CFGGEN_PATH, '-d', '-t', '{},{}'.format(BACKEND_ACL_TEMPLATE_FILE, BACKEND_ACL_FILE)])
if os.path.isfile(BACKEND_ACL_FILE):
run_command(['acl-loader', 'update', 'incremental', BACKEND_ACL_FILE])
run_command(['acl-loader', 'update', 'full', BACKEND_ACL_FILE, '--table_name', 'DATAACL'])
else:
log_info("Skipping backend acl load - conditions not met")

Expand Down

0 comments on commit 76d8ff0

Please sign in to comment.