9f81d9d1bf
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
57 lines
965 B
JSON
57 lines
965 B
JSON
{
|
|
"options": [
|
|
{
|
|
"key": "midplane_subnet",
|
|
"stringval": "10.6.0.0/16"
|
|
},
|
|
{
|
|
"key": "midplane_monitor",
|
|
"stringval": "yes"
|
|
},
|
|
{
|
|
"key": "monitor_action",
|
|
"stringval": "warn"
|
|
},
|
|
{
|
|
"key": "sonic_bdb_mode",
|
|
"intval": 1
|
|
},
|
|
{
|
|
"intval": 1,
|
|
"key": "disable_vfio"
|
|
},
|
|
{
|
|
"key": "amd_pcon",
|
|
"intval": 1
|
|
},
|
|
{
|
|
"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": 3
|
|
},
|
|
{
|
|
"key": "thermal_log_margin_threshold",
|
|
"intval": 3
|
|
},
|
|
{
|
|
"key": "thermal_log_min_threshold",
|
|
"intval": 5
|
|
},
|
|
{
|
|
"key": "thermal_log_max_threshold",
|
|
"intval": 1
|
|
}
|
|
]
|
|
}
|