98f24b639e
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
69 lines
1.2 KiB
JSON
69 lines
1.2 KiB
JSON
{
|
|
"options": [
|
|
{
|
|
"key": "module_direct_ipc_ue",
|
|
"stringval": "no"
|
|
},
|
|
{
|
|
"key": "midplane_subnet",
|
|
"stringval": "10.6.0.0/16"
|
|
},
|
|
{
|
|
"key": "midplane_monitor",
|
|
"stringval": "yes"
|
|
},
|
|
{
|
|
"key": "monitor_action",
|
|
"stringval": "reboot"
|
|
},
|
|
{
|
|
"key": "grpc_thermal_monitor",
|
|
"stringval": "yes"
|
|
},
|
|
{
|
|
"key": "disable_vfio",
|
|
"intval": 1
|
|
},
|
|
{
|
|
"key": "sonic_bdb_mode",
|
|
"intval": 0
|
|
},
|
|
{
|
|
"key": "update_asic_pvt",
|
|
"intval": 10
|
|
},
|
|
{
|
|
"key": "amd_pcon",
|
|
"intval": 4
|
|
},
|
|
{
|
|
"key": "enable_firmware_update",
|
|
"intval": 0
|
|
},
|
|
{
|
|
"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
|
|
}
|
|
]
|
|
}
|