Commit 0d79916
authored
[chassis][psud] Move the PSU parent information generation to the loop run function from the initialization function (sonic-net#576)
Description
Move the PSU parent information generation to the loop run function from the initialization function
Motivation and Context
Fixes sonic-net#575
How Has This Been Tested?
Tested on Cisco chassis, the PHYSICAL_ENTITY_INFO|PSU * can be re-inserted after thermalctld restart.
And monitored the stated db for memory for hours, works well:1 parent 3fe8841 commit 0d79916
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
405 | 405 | | |
406 | 406 | | |
407 | 407 | | |
408 | | - | |
409 | | - | |
410 | | - | |
411 | 408 | | |
412 | 409 | | |
413 | 410 | | |
| |||
438 | 435 | | |
439 | 436 | | |
440 | 437 | | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
441 | 445 | | |
442 | 446 | | |
443 | 447 | | |
| |||
0 commit comments