[minigraph]: Fix bug in copying list in Python (#2831)
'=' cannot be used for copying the list Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
This commit is contained in:
parent
edc8685e1e
commit
34734e4c55
@ -251,7 +251,7 @@ def parse_dpg(dpg, hname):
|
||||
# Erspan session will be attached to all front panel ports,
|
||||
# if panel ports is a member port of LAG, should add the LAG
|
||||
# to acl table instead of the panel ports
|
||||
acl_intfs = pc_intfs
|
||||
acl_intfs = pc_intfs[:]
|
||||
for panel_port in port_alias_map.values():
|
||||
if panel_port not in intfs_inpc:
|
||||
acl_intfs.append(panel_port)
|
||||
|
Loading…
Reference in New Issue
Block a user