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

Added SmartSwitch support in chassisd and enabling chassisd #467

Open
wants to merge 101 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 85 commits
Commits
Show all changes
101 commits
Select commit Hold shift + click to select a range
0785bb1
Added SmartSwitch support in chassisd and enabling chassisd for fixed
rameshraghupathy Apr 15, 2024
c4725c4
Made temp fix to avoid chassisd tests passing. Need to handle it using
rameshraghupathy Apr 28, 2024
d1a6b2a
The test_chassisd needs to updated for smartswitch. The change is a
rameshraghupathy Apr 29, 2024
af4ff55
Addressing review comments
rameshraghupathy May 31, 2024
356fa8b
Merge remote-tracking branch 'upstream/master'
rameshraghupathy Jun 4, 2024
97b6518
Fixed the merge conflict breakage in "asic_table"
rameshraghupathy Jun 5, 2024
60cb8ed
checking test_chassisd.py is ok
rameshraghupathy Jun 5, 2024
cd6db9b
Trying to resolve test failure
rameshraghupathy Jun 5, 2024
8e958ba
Using is_smartswitch in MockChassis
rameshraghupathy Jun 10, 2024
fb7b4ac
Disabling the test until the dependency is committed
rameshraghupathy Jun 10, 2024
312129f
Addressing review comments
rameshraghupathy Jun 11, 2024
ce3bc30
Addressed review comments: 1. removed SWITCH module 2. Restored
rameshraghupathy Jul 9, 2024
ca1fe7c
As per one of the review comments created derived class for SmartSwitch
rameshraghupathy Aug 5, 2024
b2ac82c
Uncommented the previously commented blocks in test_chassisd
rameshraghupathy Aug 5, 2024
3713261
Temp workaround until
rameshraghupathy Aug 5, 2024
29c82d2
Setting slot to 'N/A' for smartswitch
rameshraghupathy Sep 1, 2024
a34457f
Fixed is_smartswitch and a line at the EOF
rameshraghupathy Sep 2, 2024
2c68e62
Testing
rameshraghupathy Sep 2, 2024
4d335ba
Improving coverage
rameshraghupathy Sep 2, 2024
1f96225
Adding tests for DPU
rameshraghupathy Sep 2, 2024
68d8671
debugging
rameshraghupathy Sep 2, 2024
28d09af
Fixed test issues
rameshraghupathy Sep 2, 2024
67e24a9
Fixing test issues
rameshraghupathy Sep 2, 2024
36dbf92
fixing ut
rameshraghupathy Sep 2, 2024
7b6b094
fixed a typo
rameshraghupathy Sep 2, 2024
8d7f96f
Adding ut for smartswitch config change events
rameshraghupathy Sep 2, 2024
4e4f4de
Trying to improve coverage
rameshraghupathy Sep 2, 2024
8daf0bb
Tuning to improve coverage
rameshraghupathy Sep 2, 2024
6f02d44
workign on coverage
rameshraghupathy Sep 2, 2024
77d3901
working on coverage
rameshraghupathy Sep 2, 2024
e0a5570
Fixed syntax issues in ut
rameshraghupathy Sep 2, 2024
5833cfb
working on coverage
rameshraghupathy Sep 2, 2024
b26c238
Improving coverage
rameshraghupathy Sep 2, 2024
c08a656
task_worker can not be tested in this workflow
rameshraghupathy Sep 2, 2024
c0cc783
Fixed some minor issues
rameshraghupathy Sep 2, 2024
bbdc876
Adding more coverage
rameshraghupathy Sep 2, 2024
a54724c
Minor fix
rameshraghupathy Sep 2, 2024
e7df894
Minor fixes
rameshraghupathy Sep 2, 2024
a181d2f
Fixed minor errors
rameshraghupathy Sep 2, 2024
b6a8dde
Adding test for task_worker
rameshraghupathy Sep 2, 2024
3c35dd8
Fixing test failure
rameshraghupathy Sep 2, 2024
c1c0c9c
Debugging ut
rameshraghupathy Sep 2, 2024
c58459f
Testing
rameshraghupathy Sep 3, 2024
aecd959
Testing
rameshraghupathy Sep 3, 2024
65b37f4
Testing
rameshraghupathy Sep 3, 2024
df25c41
testing
rameshraghupathy Sep 3, 2024
7aa6c87
Testing
rameshraghupathy Sep 3, 2024
360cfd2
testing
rameshraghupathy Sep 3, 2024
7ee5c84
testing
rameshraghupathy Sep 3, 2024
ef931cd
testing
rameshraghupathy Sep 3, 2024
a74b278
Testing
rameshraghupathy Sep 3, 2024
523ea43
Testing
rameshraghupathy Sep 3, 2024
4f763c4
testing
rameshraghupathy Sep 3, 2024
332139c
Testing
rameshraghupathy Sep 3, 2024
53dbb67
Did some cosmetic cleanup
rameshraghupathy Sep 3, 2024
c295660
Addressed some review comments, added cleanup for smartswitch, added
rameshraghupathy Sep 26, 2024
655be48
Will add the set_initial_dpu_admin_state as a function in the next push
rameshraghupathy Sep 26, 2024
cd483bd
Fixed the test cases as per the modified code for
rameshraghupathy Sep 27, 2024
4b200c7
Added a function to set dpu initial admin status
rameshraghupathy Oct 1, 2024
49868a5
Improving coverage
rameshraghupathy Oct 1, 2024
b366b2d
Trying to improve coverage
rameshraghupathy Oct 1, 2024
82066d1
Fixed a typo
rameshraghupathy Oct 1, 2024
43f3661
Working on coverage
rameshraghupathy Oct 1, 2024
f62d54c
Fixed a typo
rameshraghupathy Oct 1, 2024
001a985
Fixing sytax issues
rameshraghupathy Oct 1, 2024
fa7fa71
Adding a test to improve coverage
rameshraghupathy Oct 1, 2024
c92d234
Assigned localy module_updater to daemon.module_updater
rameshraghupathy Oct 2, 2024
9554bb3
Fixed a syntax error
rameshraghupathy Oct 2, 2024
6ef579e
Resolving syntax errors
rameshraghupathy Oct 2, 2024
482d9c8
Fixing test issues
rameshraghupathy Oct 2, 2024
84c6812
Fixing test failure
rameshraghupathy Oct 2, 2024
b31be6f
Debugging
rameshraghupathy Oct 2, 2024
dd91702
Debugging
rameshraghupathy Oct 2, 2024
c7d02f6
Debugging
rameshraghupathy Oct 2, 2024
52a5007
Debugging
rameshraghupathy Oct 2, 2024
598220b
trying 2 tests
rameshraghupathy Oct 2, 2024
6e90f3b
Debugging
rameshraghupathy Oct 2, 2024
2fbcd37
Debugging
rameshraghupathy Oct 2, 2024
007d1a8
Trying to improve coverage
rameshraghupathy Oct 2, 2024
cb90f02
Debugging test
rameshraghupathy Oct 2, 2024
9a74992
Fixed a typo
rameshraghupathy Oct 2, 2024
1342d19
fixed a test failure
rameshraghupathy Oct 2, 2024
9eeda1d
debugging test
rameshraghupathy Oct 2, 2024
9e25701
mocking get_module
rameshraghupathy Oct 2, 2024
6e29e88
Removed CHASSIS_MODULE_INFO_ASICS for smartswitch
rameshraghupathy Oct 2, 2024
2ae658d
Added a docstring and updated a comment
rameshraghupathy Oct 11, 2024
a55ecac
Fixed a thread issue and removed all locks
rameshraghupathy Oct 19, 2024
54accfe
Added support to persist reboot-cause, user defined reboot timeout,
rameshraghupathy Oct 22, 2024
466f6d3
Added get_reboot_cause() to mock_platform.py
rameshraghupathy Oct 23, 2024
43e6b61
Added the necessary changes for dark-mode dpu initial admin status,
rameshraghupathy Oct 29, 2024
5a81fc7
Fixing test issues
rameshraghupathy Oct 29, 2024
53ce3a6
Added a mock for file open
rameshraghupathy Oct 30, 2024
094c0ad
working on test coverage
rameshraghupathy Oct 30, 2024
55fd678
Initialized previous reboot time
rameshraghupathy Oct 30, 2024
c424271
Fixed time format
rameshraghupathy Oct 30, 2024
90e9825
For some reason the test thinks that "reboot_cause" is a dict. So
rameshraghupathy Oct 30, 2024
ee11414
checking if the file_path exists before creating a new symlink
rameshraghupathy Oct 30, 2024
153962b
Adding some error handling
rameshraghupathy Oct 30, 2024
465bf31
Adding error handling
rameshraghupathy Oct 30, 2024
1de545e
Adding error handling
rameshraghupathy Oct 30, 2024
d2969bd
Adding error handling
rameshraghupathy Oct 30, 2024
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
Loading
Loading