Commit 7424a45
authored
update phy entity tables to account for modified psu key naming (sonic-net#640)
Description
Modify every instance of PSU parent naming to attempt to call the get_name API from the PSU/parent object, falling back to the prior implemented default behavior in the case that the API is not yet implemented by the vendor.
Motivation and Context
Issue raised: sonic-net#638, the key changes that took place previously on PSUD missing updating their associated phy entity tables in thermalctld. This PR makes the changes to account for this change.1 parent 1eb3875 commit 7424a45
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
300 | | - | |
| 300 | + | |
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
| |||
600 | 600 | | |
601 | 601 | | |
602 | 602 | | |
603 | | - | |
| 603 | + | |
604 | 604 | | |
605 | 605 | | |
606 | 606 | | |
| |||
641 | 641 | | |
642 | 642 | | |
643 | 643 | | |
644 | | - | |
| 644 | + | |
645 | 645 | | |
646 | 646 | | |
647 | 647 | | |
| |||
0 commit comments