Skip to content

Commit 9f81d9d

Browse files
snider-nokiamssonicbld
authored andcommitted
[Nokia][sonic-platform] Update Nokia sonic-platform submodule and device data (#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
1 parent 2f8630c commit 9f81d9d

File tree

3 files changed

+42
-2
lines changed

3 files changed

+42
-2
lines changed

device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/platform_ndk.json

+21-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
{
1616
"key": "monitor_action",
17-
"stringval": "warn"
17+
"stringval": "reboot"
1818
},
1919
{
2020
"key": "grpc_thermal_monitor",
@@ -43,6 +43,26 @@
4343
{
4444
"key": "sonic_log_level",
4545
"stringval": "debug"
46+
},
47+
{
48+
"key": "thermal_low_margin_threshold",
49+
"intval": 10
50+
},
51+
{
52+
"key": "thermal_log_current_threshold",
53+
"intval": 2
54+
},
55+
{
56+
"key": "thermal_log_margin_threshold",
57+
"intval": 2
58+
},
59+
{
60+
"key": "thermal_log_min_threshold",
61+
"intval": 2
62+
},
63+
{
64+
"key": "thermal_log_max_threshold",
65+
"intval": 1
4666
}
4767
]
4868
}

device/nokia/x86_64-nokia_ixr7250e_sup-r0/platform_ndk.json

+20
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,26 @@
3131
{
3232
"key": "sonic_log_level",
3333
"stringval": "debug"
34+
},
35+
{
36+
"key": "thermal_low_margin_threshold",
37+
"intval": 10
38+
},
39+
{
40+
"key": "thermal_log_current_threshold",
41+
"intval": 3
42+
},
43+
{
44+
"key": "thermal_log_margin_threshold",
45+
"intval": 3
46+
},
47+
{
48+
"key": "thermal_log_min_threshold",
49+
"intval": 5
50+
},
51+
{
52+
"key": "thermal_log_max_threshold",
53+
"intval": 1
3454
}
3555
]
3656
}

0 commit comments

Comments
 (0)