Skip to content

Commit

Permalink
[ledd]: Update non-port-name flags to ignore in DB table (sonic-net#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
jleveque authored and lguohan committed Nov 4, 2017
1 parent a94b80c commit d1df471
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sonic-ledd/scripts/ledd
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,9 @@ def main():
# Remove table name prefix
port_name = key[len(PORT_TABLE_PREFIX):]

# TODO: Once the DB is fixed and this 'ConfigDone' entry is gone, remove this check
if port_name == 'ConfigDone':
# TODO: Once these flag entries have been removed from the DB,
# we can remove this check
if port_name in ["PortConfigDone", "PortInitDone"]:
continue

port_status_dict[port_name] = 'down'
Expand Down

0 comments on commit d1df471

Please sign in to comment.