-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PMON] Skip chassis_db_init task on Mellanox simx platform (#9017)
Why I did it "chassis_db_init" task of PMON should be skipped on Mellanox simx platform, since the hardware info which this task is trying to access is not available on simx platforms, It will introduce some error log. How I did it Add the capability for "chassis_db_init" in the template for it can be skipped by adding configuration in "pmon_daemon_control.json". add "skip_chassis_db_init" configuration for simx platforms. use symbol link for "pmon_daemon_control.json" since all the simx platforms share the same configuration How to verify it Build an image and install it on simx platform to check whether "chassis_db_init" task is skipped. Signed-off-by: Kebo Liu <[email protected]>
- Loading branch information
Showing
5 changed files
with
7 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 0 additions & 7 deletions
7
device/mellanox/x86_64-mlnx_msn3700_simx-r0/pmon_daemon_control.json
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
device/mellanox/x86_64-mlnx_msn3700_simx-r0/pmon_daemon_control.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../x86_64-mlnx_msn2700_simx-r0/pmon_daemon_control.json |
7 changes: 0 additions & 7 deletions
7
device/mellanox/x86_64-mlnx_msn4700_simx-r0/pmon_daemon_control.json
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
device/mellanox/x86_64-mlnx_msn4700_simx-r0/pmon_daemon_control.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../x86_64-mlnx_msn2700_simx-r0/pmon_daemon_control.json |
7 changes: 0 additions & 7 deletions
7
device/mellanox/x86_64-mlnx_msn4800_simx-r0/pmon_daemon_control.json
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
device/mellanox/x86_64-mlnx_msn4800_simx-r0/pmon_daemon_control.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../x86_64-mlnx_msn2700_simx-r0/pmon_daemon_control.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters