Jeffrey Townsend
65d0cf8f43
Zero the buffer on behalf of the client.
2017-01-02 15:25:08 +00:00
Jeffrey Townsend
05363d9ba2
- New utility onlp_file_find()
...
Finds the requested file starting at the given root directory.
- Support implicit directory searching for filenames
If a filename passed to any of the file APIs contains
an asterisk then it is considered a search request rather than
an absolute path. Preceding the asterisk is the root directory
and following the asterisk is the filename to search.
2016-12-31 19:54:50 +00:00
Jeffrey Townsend
f2f35df0ec
Add new onlp_sys_hdr_get() wrapper around onlp_sysi_oids_get() to improve OID iteration.
...
We don't need the full system information (ONIE and platform) retrieved each time we want
to iterate the OIDs.
2016-12-16 22:03:34 +00:00
Jeffrey Townsend
49f8921a13
- Improve ONIE TLV processing. Still WIP.
...
- Read ONIE data from the platform's onie-syseeprom contents.
2016-12-15 19:31:42 +00:00
Jeffrey Townsend
cd36ff8afd
Merge pull request #138 from maxchung2001/master
...
Added community support email opennetworklinux@googlegroups.com
2016-12-12 15:15:46 -08:00
Jeffrey Townsend
97f1dcbc58
New operational status and OID Header APIs
...
The following new APIs are introduced:
onlp_<subsystem>_status_get()
- Retreives only the operational status (PRESENT, FAILED, UNPLUGGED) of the object
Useful for improving the performance of the platform manager, whose primary concern
is the operational status, not the object information itself.
onlp_<subsystem>_hdr_get()
- Retrieves the OID header (description, parent, children) only.
Improved performance of OID iteration by avoiding collection of all
of the unused object information during execution.
If a platform does not implement these functions they will be simulated using
calls to the existing onlp_<subsystem>_info_get(), which reduces to the
original performance level.
2016-12-12 20:09:04 +00:00
Sung-Kuang (Max) Chung
1a90e3c514
Added community support email opennetworklinux@googlegroups.com,
...
as support@bigswitch.com "is a support line for commercial Big Switch
products for customer with paid licenses."
2016-12-07 21:56:03 -08:00
Jeffrey Townsend
218811da1b
Use the CJSON module to generate JSON formatting instead of hand coding it.
2016-11-16 20:22:21 +00:00
Zi Zhou
b8669dc209
support SMBus block read
2016-11-01 15:22:20 -07:00
Jeffrey Townsend
80c90ac3a4
Support optional API profiling.
2016-09-19 20:12:44 +00:00
Jeffrey Townsend
6b5c4c1c33
The ONLP_I2C_F_USE_BLOCK_READ flag can be used to request block reads from onlp_i2c_dev_read().
2016-09-19 20:12:01 +00:00
Jeffrey Townsend
1f4877b4a3
Option to enter debug handler directly.
2016-09-19 16:20:35 +00:00
Jeffrey Townsend
eb24794755
Import fixes from 1.0 repository.
2016-08-11 10:28:39 -07:00
Jeffrey Townsend
77c17d1c7c
Fix i2c error detection.
2016-07-18 18:15:26 +00:00
Jeffrey Townsend
d763000af8
Add module declaration file.
2016-06-17 17:17:53 +00:00
Jeffrey Townsend
e9facee6c4
Add new LED mode AUTO_BLINKING.
2016-05-20 14:28:35 +00:00
Jeffrey Townsend
911183ee7f
Import from ONLP Repository.
2016-05-17 12:46:58 -07:00
Jeffrey Townsend
918e43ac94
New onlp_ledi_char_set().
2016-05-16 23:38:11 +00:00
Jeffrey Townsend
7783d7bb18
Support LED Character Devices
...
- Set ONLP_LED_CAP_CHAR to support a character display.
- Implement onlp_ledi_char_set().
- Add the when implementing onlp_ledi_info_get().
2016-05-16 23:37:04 +00:00
Jeffrey Townsend
b2d6ebf6aa
Allow operations on domain sockets.
2016-04-12 18:00:58 +00:00
Jeffrey Townsend
9b78beef90
Revert "Remove AIM_CONFIG_INCLUDE_DAEMONIZE support from ONLP build."
...
This reverts commit 653ccf525e .
2016-04-08 23:44:58 +00:00
Jeffrey Townsend
e0b37adc52
AIM Daemon API changes.
2016-04-08 21:05:04 +00:00
Jeffrey Townsend
653ccf525e
Remove AIM_CONFIG_INCLUDE_DAEMONIZE support from ONLP build.
...
Daemon support was never used in the build but is now
failing due to new compile-time checks.
2016-04-08 16:41:34 +00:00
Jeffrey Townsend
9a21c3317e
Updates from the ONLP development repository.
2016-03-23 19:47:21 +00:00
Jeffrey Townsend
b14ce8a648
Initial.
2016-03-02 02:00:05 +00:00
Jeffrey Townsend
891eff09de
Platform Manager Enhancements
...
- Run onlpd in platform manager mode.
- onlpd service init.
- Add onlpd service to rfs builds.
2016-03-02 01:58:47 +00:00
Jeffrey Townsend
38a36dd96b
Convert to local infra.
2016-02-24 17:20:41 +00:00
Steven Noble
e0873255ec
report initial fan/psu failed state to syslog pull 21 from onlp
2016-02-04 12:41:15 -08:00
Jeffrey Townsend
3091373c48
Thermal thresholds.
2016-01-07 17:11:33 -08:00
Jeffrey Townsend
4964e54120
Autogeneration update.
2016-01-07 22:56:19 +00:00
Jeffrey Townsend
e65cc60d4d
Autogeneration update.
2016-01-07 22:45:20 +00:00
Jeffrey Townsend
01ab71fb42
Common checks for 'any' builds.
2016-01-07 18:56:25 +00:00
Jeffrey Townsend
a5e9c5b86a
Move onlp_snmp source code.
2016-01-07 18:55:22 +00:00
Jeffrey Townsend
eda8d39fd0
Implement support for the API shared locking implementation.
2016-01-05 03:20:36 +00:00
Jeffrey Townsend
f13ef3c9ae
Should be ignored.
2016-01-05 03:19:36 +00:00
Jeffrey Townsend
637e47efca
Add an option to run the API lock test.
2016-01-05 03:02:46 +00:00
Jeffrey Townsend
e862ca59a2
New ONLPD tool.
...
- This will evenutally become the standalone platform manager.
- It currently is just a version of the onlpdump tool that is linked to the ONLP shared library. It works (and can be used to test) all platforms.
2016-01-04 19:47:14 +00:00
Jeffrey Townsend
8c64434055
Remove broken redefine.
2016-01-04 18:46:49 +00:00
Jeffrey Townsend
c222816a3e
Latest import from opennetworklinux/onlp
2015-12-24 18:43:55 +00:00
Jeffrey Townsend
45dee0c608
Initial.
2015-11-19 22:45:38 +00:00