Skip to content

Add warning log if destination port is not defined for EXTERNAL_CLIENT_ACL#16

Merged
ZhaohuiS merged 1 commit intosonic-net:masterfrom
ZhaohuiS:feature/caclmgrd_external_client_warning_log
Sep 8, 2022
Merged

Add warning log if destination port is not defined for EXTERNAL_CLIENT_ACL#16
ZhaohuiS merged 1 commit intosonic-net:masterfrom
ZhaohuiS:feature/caclmgrd_external_client_warning_log

Conversation

@ZhaohuiS
Copy link
Contributor

@ZhaohuiS ZhaohuiS commented Sep 4, 2022

In #9 , I added a new EXTERNAL_CLIENT table for supporting Restapi/gnmi control plane acls.
But if dest port is not defined, it will print traceback in syslog.
Avoiding this scenario, we add a default empty list for dst_ports and print a warning log and skip processing EXTERNAL_CLIENT table.

Signed-off-by: Zhaohui Sun [email protected]

@ZhaohuiS ZhaohuiS changed the title Add warning log if destination port is not defined Add warning log if destination port is not defined for EXTERNAL_CLIENT_ACL Sep 4, 2022
@ZhaohuiS ZhaohuiS merged commit de54082 into sonic-net:master Sep 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants