Skip to content

Commit

Permalink
[Nokia][sonic-platform] Update Nokia sonic-platform submodule and dev…
Browse files Browse the repository at this point in the history
…ice data (sonic-net#17378)

These changes, in conjunction with NDK version >= 22.9.17 address the thermal logging issues discussed at Nokia-ION/ndk#27. While the changes contained at this PR do not require coupling to NDK version >= 22.9.17, thermal logging enhancements will not be available without updated NDK >= 22.9.17. Thus, coupling with NDK >=22.9.17 is preferred and recommended.

Why I did it
To address thermal logging deficiencies.

Work item tracking
Microsoft ADO (number only): 26365734
How I did it
The following changes are included:

Threshold configuration values are provided in the associated device data .json files. There is also a change included to better handle the condition where an SFP module read fails.

Modify the module.py reboot to support reboot linecard from Supervisor

 - Modify reboot to call _reboot_imm for single IMM card reboot
 - Add log to the ndk_cmd to log the operation of "reboot-linecard" and "shutdown/satrtup the sfm"
Add new nokia_cmd set command and modify show ndk-status output

 - Add a new function reboot_imm() to nokia_common.py to support reboot a single IMM slot from CPM
 - Added new command: nokia_cmd set reboot-linecard <slot> [forece] for CPM
 - Append a new column "RebootStatus" at the end of output of "nokia_cmd show ndk-status"
 - Provide ability for IMM to disable all transceiver module TX at reboot time
 - Remove defunct xcvr-resync service
  • Loading branch information
snider-nokia authored and mssonicbld committed Jan 18, 2024
1 parent 2f8630c commit 9f81d9d
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 2 deletions.
22 changes: 21 additions & 1 deletion device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/platform_ndk.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
{
"key": "monitor_action",
"stringval": "warn"
"stringval": "reboot"
},
{
"key": "grpc_thermal_monitor",
Expand Down Expand Up @@ -43,6 +43,26 @@
{
"key": "sonic_log_level",
"stringval": "debug"
},
{
"key": "thermal_low_margin_threshold",
"intval": 10
},
{
"key": "thermal_log_current_threshold",
"intval": 2
},
{
"key": "thermal_log_margin_threshold",
"intval": 2
},
{
"key": "thermal_log_min_threshold",
"intval": 2
},
{
"key": "thermal_log_max_threshold",
"intval": 1
}
]
}
20 changes: 20 additions & 0 deletions device/nokia/x86_64-nokia_ixr7250e_sup-r0/platform_ndk.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,26 @@
{
"key": "sonic_log_level",
"stringval": "debug"
},
{
"key": "thermal_low_margin_threshold",
"intval": 10
},
{
"key": "thermal_log_current_threshold",
"intval": 3
},
{
"key": "thermal_log_margin_threshold",
"intval": 3
},
{
"key": "thermal_log_min_threshold",
"intval": 5
},
{
"key": "thermal_log_max_threshold",
"intval": 1
}
]
}

0 comments on commit 9f81d9d

Please sign in to comment.