124 Commits

Author SHA1 Message Date
Jeffrey Townsend
0d874645da Add the ability to pause and continue the service process. 2019-05-21 22:10:45 +00:00
Zi Zhou
80344fd566 onlp_sfp_dev_read/write API 2019-04-22 20:55:11 -07:00
Jeffrey Townsend
17978ad957 Increase domain socket read timeout to 5 seconds. 2018-10-31 09:07:32 -07:00
SnDream
45b9562676 Fix typo 2018-09-18 19:55:33 +08:00
Jeffrey Townsend
b0553f7e0c Initialize the SFP bitmap in presence_bitmap_get(). 2018-08-29 18:27:36 +00:00
Jeffrey Townsend
90f72e7d81 Updates to the SFF module. 2018-07-18 19:49:41 +00:00
Jeffrey Townsend
3e3df10346 The SFF code module has been migrated from the ONL repository to the floodlight:bigcode repository.
The core SFF functionality has been migrated into the bigcode repository so it can be used by
applications outside of ONL proper. This change should be transparent.
2018-07-18 17:31:29 +00:00
Zi Zhou
f476d6219b support DELL 4xCU cable with new part number 2018-06-12 14:29:04 -07:00
Zi Zhou
25be727943 support 1G-ZX optic type 2018-06-12 13:02:54 -07:00
Zi Zhou
94b16dbe5e Support 100G SWDM4 optics 2018-06-08 14:40:08 -07:00
Zi Zhou
e27316edeb do not display PSU Model if it does not exist 2018-05-29 18:59:00 -07:00
Zi Zhou
7cbb32b991 support 25G-AOC 2018-05-03 15:49:27 -07:00
Zi Zhou
6495dcc452 support 25G-LR 2018-05-03 12:58:28 -07:00
Jeffrey Townsend
7faad73b4a Enable ASR generation. 2018-04-05 17:32:31 +00:00
Jeffrey Townsend
3b45ae6813 UDS Error Handling
- Don't allow UDS connects() to block.
- Add a 1 second timeout for all UDS read/write operations.
2018-04-03 21:37:22 +00:00
Jeffrey Townsend
be9cdca9d5 Manufecturer field missing from JSON output. 2018-03-29 18:18:27 +00:00
Jeffrey Townsend
3ef3bb3b49 Code Module Cleanup
- Fix autogen definitions for all code modules
- Rerun autogen on all modules
2018-03-08 20:20:50 +00:00
Jeffrey Townsend
ac3aef6597 Remove autogenerated makefiles from git. 2018-03-08 17:56:11 +00:00
Jeffrey Townsend
b43c7aa7e3 Add unit tests for additional 25G CR cables. 2017-11-15 20:48:13 +00:00
Zi Zhou
8c1dbf1d48 SFP28 CR type and length fix 2017-11-15 11:23:48 -08:00
Jeffrey Townsend
f877fd216f Add F4M-QSSFP-C-2-30.
Conflicts:
	packages/base/any/onlp/src/sff/module/src/sff_db.c
2017-10-25 22:39:35 +00:00
Jeffrey Townsend
881f5a0473 Merge pull request #255 from carlroth/roth_onlp
Use Python weakref to streamline C memory management
2017-10-16 14:35:23 -07:00
Carl D. Roth
81320398bc Clean up logging 2017-10-16 14:16:48 -07:00
Jeffrey Townsend
ff333b2d50 The media setting for 1G_BASE_{T,CX} in sff_info_init should be Copper. 2017-10-16 19:40:30 +00:00
Carl D. Roth
fe36fc46f8 Switch bitmap and sys_info to use weakrefs 2017-10-16 11:47:17 -07:00
Carl D. Roth
21e0949a98 Add weakref wrapper for partially-malloc'd struct data 2017-10-16 11:36:31 -07:00
Jeffrey Townsend
a3c3ebb263 Add infrastructure to support unparsable cables by vendor and model number.
Conflicts:
	packages/base/any/onlp/src/sff/module/src/sff.c
	packages/base/any/onlp/src/sff/module/src/sff_db.c
2017-10-15 21:34:05 +00:00
Jeffrey Townsend
c04a9a2604 Handle problems accessing the ONIE eeprom more gracefully. 2017-10-15 20:28:49 +00:00
Carl D. Roth
dfe65ab2a3 Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux into roth_onlp 2017-10-11 13:04:55 -07:00
Carl D. Roth
de66432e19 Initial attempt to clean up memory managment with weakref 2017-10-09 13:01:14 -07:00
Jeffrey Townsend
116fc560dc Merge pull request #248 from carlroth/roth_onlp
Python bindings for libonlp
2017-10-08 09:06:57 -07:00
Jeffrey Townsend
3b93153268 Additional file utilities. 2017-10-06 14:34:46 +00:00
Carl D. Roth
91162395df typos 2017-09-27 17:02:00 -07:00
Carl D. Roth
0f659905a7 Test sfp.h and sff.h 2017-09-27 16:14:55 -07:00
Carl D. Roth
ee9062a361 Wrap the sff module 2017-09-27 16:14:33 -07:00
Carl D. Roth
adbc8cc62a Added Sfp.h and sff.h support
- fix references to uint32
- add enough bitmap support to handle SFP bitmaps
2017-09-27 16:14:18 -07:00
Carl D. Roth
ea2c56af00 Wrap the sff module 2017-09-27 16:10:48 -07:00
Carl D. Roth
db1d98dea0 Updated strcmp for enum lookup 2017-09-27 16:10:16 -07:00
Zi Zhou
e662a9b669 check for SFP28 first. 2017-09-27 13:26:03 -07:00
Jeffrey Townsend
161bcc91af Add SFP28. 2017-09-25 18:30:00 +00:00
Carl D. Roth
ab71552654 Tests for fan.h 2017-09-21 14:42:57 -07:00
Carl D. Roth
3ac42136f8 Added bindings for psu.h
- also cleaned up module init
2017-09-21 14:42:46 -07:00
Carl D. Roth
f1a53e3c60 Fixed deadlock 2017-09-21 14:42:05 -07:00
Carl D. Roth
83830a6afa Unit tests for thermal.h 2017-09-19 18:28:13 -07:00
Carl D. Roth
7f1f6e5dd4 Added bindings for thermal.h 2017-09-19 18:27:48 -07:00
Carl D. Roth
11064e23fa Added tests for onlp_config.h 2017-09-19 16:57:45 -07:00
Carl D. Roth
ee34d51928 config lookup conditional was wrong 2017-09-19 16:57:09 -07:00
Carl D. Roth
e5abf25a57 Added bindings for onlp_config.h 2017-09-19 16:56:55 -07:00
Carl D. Roth
45b5331eb7 Added a working LED test 2017-09-18 18:28:16 -07:00
Carl D. Roth
02261de11a Added fan test and initial LED test 2017-09-18 17:14:37 -07:00