Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Mellanox] Support running hw-management service on SN5640 emulation platform #21478

Merged
merged 1 commit into from
Jan 23, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[Mellanox] Update SN5640-simx enabled processes
noaOrMlnx committed Jan 15, 2025
commit c092b7c62081e816e9bdd481fb4f8b68e15bc9a4
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"skip_ledd": true,
"skip_xcvrd": true,
"skip_psud": true,
"skip_pcied": true,
"skip_thermalctld": true
"skip_fancontrol": true
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2020-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright (c) 2020-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -162,6 +162,13 @@ class DpuInterfaceEnum(Enum):
'fw_control_ports': [64] # 0 based sfp index list
}
},
'x86_64-nvidia_sn5640_simx-r0': {
'thermal': {
"capability": {
"comex_amb": False,
}
}
},
'x86_64-nvidia_sn4280_simx-r0': {
'thermal': {
"capability": {
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#
# Copyright (c) 2019-2024 NVIDIA CORPORATION & AFFILIATES.
# SPDX-FileCopyrightText: NVIDIA CORPORATION & AFFILIATES
# Copyright (c) 2019-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -41,7 +42,7 @@
#
EEPROM_SYMLINK = "/var/run/hw-management/eeprom/vpd_info"
platform_name = DeviceDataManager.get_platform_name()
platform_supporting_simx = ['x86_64-nvidia_sn4280_simx-r0', 'x86_64-mlnx_msn4700_simx-r0']
platform_supporting_simx = ['x86_64-nvidia_sn4280_simx-r0', 'x86_64-mlnx_msn4700_simx-r0', 'x86_64-mlnx_msn5640_simx-r0']
if platform_name and 'simx' in platform_name and not platform_name in platform_supporting_simx:
if not os.path.exists(EEPROM_SYMLINK):
if is_host():