Skip to content

Commit 3ed4513

Browse files
authored
[minigraph.py] Fix an issue that mirror table might be considered ctrlplane table (#1656)
1 parent 8d3c5fb commit 3ed4513

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sonic-config-engine/minigraph.py

+2
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,8 @@ def parse_dpg(dpg, hname):
216216
acls[aclname] = {'policy_desc': aclname,
217217
'ports': acl_intfs,
218218
'type': 'MIRROR' if is_mirror else 'L3'}
219+
elif is_mirror:
220+
acls[aclname] = {'policy_desc': aclname, 'type': 'MIRROR'}
219221
else:
220222
# This ACL has no interfaces to attach to -- consider this a control plane ACL
221223
try:

0 commit comments

Comments
 (0)