Commit Graph

726 Commits

Author SHA1 Message Date
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
e5b69c3ce4 Merge pull request #254 from brandonchuang/as7816_64x
Add new accton platform, AS7816_64X.
2017-10-20 11:24:07 -07:00
Jeffrey Townsend
ed9a13a10b The onlp-snmpd daemon now exports the current utilization via domain socket. 2017-10-18 16:08:59 +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
Brandon Chuang
91fae41cc6 Add new accton platform, AS7816_64X. 2017-10-16 14:40:44 +08: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
6be574a8fe Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux into roth_onlp 2017-10-12 15:52:40 -07:00
Jeffrey Townsend
158b80d6ba Merge pull request #253 from carlroth/master
Unmount the EFI directory before doing a re-install
2017-10-12 07:10:51 -07:00
Carl D. Roth
531ff17684 Unmount the EFI directory before doing a re-install 2017-10-11 17:08:10 -07: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
edc98e7436 Add option to output utilization only. 2017-09-26 17:43:33 +00:00
Jeffrey Townsend
161bcc91af Add SFP28. 2017-09-25 18:30:00 +00:00
Jeffrey Townsend
1a0f22a36e Allow the default ONLP platform package templates to take a revision other than r0. 2017-09-25 16:28:03 +00:00
Jeffrey Townsend
e129f9504d Merge pull request #237 from SamCC-Chang/ingrasys
Support ingrasys platform
2017-09-25 09:14:31 -07: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
joy.yw.chang
cbec057007 Remove w83795 and eeprom modules, Modify platform name in config file 2017-09-19 22:38:28 -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
Carl D. Roth
e095ffcb52 Fix argument order for OID enumerator 2017-09-18 17:14:17 -07:00
Carl D. Roth
efe9508cd8 Added fan and led interfaces 2017-09-18 17:13:59 -07:00
Zi Zhou
49ae98db1c support SFP28 SR 2017-09-15 10:57:14 -07:00
Carl D. Roth
b140fec41b enum overhaul
- move python enums to a proper modul
- pull up OID show and dump flags to the auto.yml
- update APIs and tests to use autogen enums
2017-09-13 15:53:06 -07:00
Carl D. Roth
f5a0dc8d9c Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux into roth_onlp 2017-09-13 14:45:09 -07:00
Carl D. Roth
7b545c0284 Finish testing sys.h, oids.h
- test system oid
- test sys dump
- test platform management loop
- test ioctl
2017-09-13 14:38:58 -07:00
Carl D. Roth
f001c3adb5 WIP to add some status codes 2017-09-13 14:38:02 -07:00
Carl D. Roth
e74dde6277 Finish testing oids.h, including the oid iterator 2017-09-12 15:46:29 -07:00
Carl D. Roth
e8f044508b Add the rest of the functions from oids.h, add the system OID 2017-09-12 15:46:08 -07:00
Carl D. Roth
1547f487a7 Initial checkin
- wrapper for some AIM classes (probably the wrong package)
- wrap a subset of libonlp
- wrap onlp.h, sys.h, oids.h
- sample unit tests
- sample onlpdump.py
2017-09-12 11:28:10 -07:00