[minigraph.py] Fix an issue that mirror table might be considered ctrlplane table (#1656)
This commit is contained in:
parent
8d3c5fbcc2
commit
3ed4513d65
@ -216,6 +216,8 @@ def parse_dpg(dpg, hname):
|
||||
acls[aclname] = {'policy_desc': aclname,
|
||||
'ports': acl_intfs,
|
||||
'type': 'MIRROR' if is_mirror else 'L3'}
|
||||
elif is_mirror:
|
||||
acls[aclname] = {'policy_desc': aclname, 'type': 'MIRROR'}
|
||||
else:
|
||||
# This ACL has no interfaces to attach to -- consider this a control plane ACL
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user