Commit Graph

491 Commits

Author SHA1 Message Date
Jeffrey Townsend
5c337ad789 - Build common kernel modules
- New module package
2017-01-01 18:10:13 +00:00
Jeffrey Townsend
31b6766dc9 Improve module search. 2017-01-01 18:09:44 +00:00
Jeffrey Townsend
fb2009914b Common kernel modules. These will be built and installed automatically for each kernel. 2017-01-01 18:04:42 +00:00
Jeffrey Townsend
925fca4008 Add module package as a build dependency. 2016-12-31 21:26:05 +00:00
Jeffrey Townsend
b38d28c966 New platform-config template which provides a kernel module package dependency. 2016-12-31 21:00:59 +00:00
Jeffrey Townsend
f2c0427c38 Platform kernel module package template. 2016-12-31 21:00:35 +00:00
Jeffrey Townsend
bb37da9ad9 New method to support platform-specific kernel modules. 2016-12-31 20:57:59 +00:00
Jeffrey Townsend
688a3705d7 Moved to kernel module. 2016-12-31 19:56:45 +00:00
Jeffrey Townsend
b5b429af3b Convenience tool for manual kernel replacement. 2016-12-31 19:55:39 +00:00
Jeffrey Townsend
7428d3505c - Fix timeout processing. 2016-12-31 19:55:23 +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
a3ce592594 Revert "Platform support patch for the Dell S6000."
This reverts commit 40ebb1080b.
2016-12-31 15:03:41 +00:00
Jeffrey Townsend
cfbb1a6729 Regenerated. 2016-12-24 15:02:01 +00:00
Jeffrey Townsend
1e6799374c New patches. 2016-12-23 18:20:33 +00:00
Jeffrey Townsend
40ebb1080b Platform support patch for the Dell S6000. 2016-12-23 18:20:16 +00:00
Jeffrey Townsend
e119c797e8 This patch provides the option to skip I2C probes on the SCH primary bus adapters. 2016-12-23 18:19:18 +00:00
Jeffrey Townsend
031be2cd46 Set default delay to zero. 2016-12-23 18:19:01 +00:00
Jeffrey Townsend
604af0c9b3 The 3.16+deb8 package has been replaced by the 3.16 LTS package. 2016-12-22 18:13:22 +00:00
Jeffrey Townsend
05686810cd This version has been superceded by the standard 3.16 LTS version. 2016-12-22 16:43:27 +00:00
Jeffrey Townsend
7af648fbf0 This version has been superceded by the standard 3.16 LTS version. 2016-12-22 16:39:49 +00:00
Jeffrey Townsend
5a62055276 Add 3.16 LTS. 2016-12-21 22:45:08 +00:00
Jeffrey Townsend
44a1a63936 Add 3.16 LTS as a kernel option. 2016-12-21 22:44:45 +00:00
Jeffrey Townsend
89eab6b3c5 3.16 LTS package for x86_64. 2016-12-21 22:44:03 +00:00
Jeffrey Townsend
a7a195e2f5 3.16 LTS 2016-12-21 22:42:50 +00:00
Jeffrey Townsend
77bbf18619 Re-enable ISMT support. 2016-12-21 15:29:46 +00:00
Jeffrey Townsend
bb5c865b97 Enable/Disable ISMT driver through module parameter. 2016-12-21 15:28:35 +00:00
Jeffrey Townsend
6ab5f38d33 The column output may differ based on the locale settings.
When run from init the mpstat output is in 24 time and does not have the AM/PM column.
This change handles both possibilities.
2016-12-20 21:10:08 +00:00
Jeffrey Townsend
3a6d0e0d29 Merge pull request #146 from kenchiang/onlp-snmp
Add CpuAllPercentUtilization and CpuAllPercentIdle.
2016-12-20 10:23:19 -08:00
Ken Chiang
e85b4d45f0 Redefine CpuAllPercentUtilization and CpuAllPercentIdle to be 100 times the percentage rounded to the nearest integer.
Use aim_time_monotonic.
Add ONLP_SNMP_CONFIG_RESOURCE_UPDATE_SECONDS.
2016-12-19 13:33:55 -08:00
Ken Chiang
68da278bed Add CpuAllPercentUtilization and CpuAllPercentIdle. 2016-12-19 11:23:56 -08:00
Jeffrey Townsend
05f85f7b6d Merge pull request #145 from jnealtowns/mlnx_syseeprom
Update system eeprom support for Mellanox Platforms
2016-12-19 07:22:10 -08: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
fa2bf42480 Add method to rewrite eeprom.json 2016-12-15 13:31:11 -08:00
Jeffrey Townsend
df268cc22a Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux 2016-12-15 11:57:08 -08: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
d4d574e351 Add subcommand "rw"
This subcommand can be used to execute a shell command under read-write context.

For example:
  #> onlfs rw images rm /mnt/onl/images/*.swi
2016-12-15 16:09:50 +00:00
Jeffrey Townsend
3799de109f Merge pull request #143 from kenchiang/onlp-snmp
Always call snmp_set_var_typed_value so that snmpwalk does not prematurely terminate
2016-12-14 17:05:30 -08:00
Ken Chiang
7d6aeb18fd Always call snmp_set_var_typed_value so that snmpwalk does not prematurely
terminate.  If sensor is not present, return a value of zero
or a zero-length string.
2016-12-14 15:57:02 -08:00
Jeffrey Townsend
82d853db94 Merge pull request #140 from micshy/mlnx_msn2700_msn2100_msn2410
Mellanox MSN2700, MSN2100 and MSN2410 platforms ONL support.
2016-12-14 12:49:56 -08:00
Jeffrey Townsend
b42afe586b Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux 2016-12-14 16:55:40 +00:00
Jeffrey Townsend
1c7beb8005 - Add platform objects
These were accidentally overwritten by the sensor registration changes.
  They belong in their own file anyways so the code has been split and the registration
  moved to a common location.
2016-12-14 16:53:35 +00:00
Jeffrey Townsend
2018320174 Except only if required. 2016-12-13 21:32:08 +00:00
Jeffrey Townsend
aada217a4c Use /bin/sh instead of /bin/bash (for execution under the loader). 2016-12-13 21:31:41 +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
525e518716 Add new OCP-ONL-RESOURCE-MIB
Used to define custom host resource objects.
2016-12-12 22:01:27 +00:00
Jeffrey Townsend
e5cb3f6ec1 [from @kenchiang]
Rework snmp oid registration so that the temperature, fan, and PSU oids are registered as netsnmp tables. When a sensor is added or deleted, the corresponding table is updated accordingly.
2016-12-12 20:10:30 +00: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
Michael Shych
7e6a18bf4d Mellanox MSN2700, MSN2100 and MSN2410 platforms ONL support.
Signed-off-by: Michael Shych <michaelsh@mellanox.com>
2016-12-11 14:18:34 +00:00
Jeffrey Townsend
65529d39fe Detect both SYS_VENDOR and BOARD_VENDOR. 2016-12-10 15:33:36 +00:00
Sung-Kuang (Max) Chung
f7cc57aced Merge branch 'master' of https://github.com/opencomputeproject/OpenNetworkLinux 2016-12-07 22:07:57 -08:00