Skip to content

Commit

Permalink
fix missing DOM threshold info from DB (sonic-net#50)
Browse files Browse the repository at this point in the history
function to fetch DOM threshold info "post_port_dom_threshold_info_to_db"
    is not called in "dom_info_update_task", so DOM threshokd info will be
    missing from the DB. Added call to "post_port_dom_threshold_info_to_db"

signned-off-by [email protected]
  • Loading branch information
keboliu authored and jleveque committed Jan 22, 2020
1 parent a3e163a commit 0498c69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sonic-xcvrd/scripts/xcvrd
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,7 @@ class dom_info_update_task:
logical_port_list = platform_sfputil.logical
for logical_port_name in logical_port_list:
post_port_dom_info_to_db(logical_port_name, dom_tbl, self.task_stopping_event)
post_port_dom_threshold_info_to_db(logical_port_name, dom_tbl, self.task_stopping_event)

logger.log_info("Stop DOM monitoring loop")

Expand Down

0 comments on commit 0498c69

Please sign in to comment.