Skip to content

Commit

Permalink
Update backend_acl.py to specify ACL table name (#17553)
Browse files Browse the repository at this point in the history
  • Loading branch information
bingwang-ms authored and mssonicbld committed Jan 3, 2024
1 parent 8a76e8f commit 25791e0
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 25791e0

Please sign in to comment.