Commit Graph

1026 Commits

Author SHA1 Message Date
brandonchuang
8db58bd0d8 [as5710] Support DC12V power supply(PSU-12V-650) 2016-12-14 11:06:39 +08:00
Jeffrey Townsend
e458a648b5 latest 2016-12-13 22:01:37 +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
de0643739a Merge pull request #139 from brandonchuang/master
Fix FAN1 and FAN2 id reversed issue
2016-12-12 14:48:41 -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
d6c3ebb61f Add sysstat packge. 2016-12-12 20:18:51 +00:00
Jeffrey Townsend
51511aa621 Latest 2016-12-12 20:12:39 +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
Jeffrey Townsend
65529d39fe Detect both SYS_VENDOR and BOARD_VENDOR. 2016-12-10 15:33:36 +00:00
Jeffrey Townsend
06c2d4bf58 Latest 2016-12-09 07:42:30 -08:00
brandonchuang
b8c67183ea Fix FAN1 and FAN2 id reversed issue 2016-12-09 17:28:10 +08:00
Sung-Kuang (Max) Chung
f7cc57aced Merge branch 'master' of https://github.com/opencomputeproject/OpenNetworkLinux 2016-12-07 22:07:57 -08: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
a0e4cae7c4 Support manual uninstall mode as a last resort. 2016-12-08 03:46:36 +00:00
Sung-Kuang (Max) Chung
54e4c572a0 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 17:21:30 -08:00
Jeffrey Townsend
f6cc003469 Provide common access to machine.conf and the output of onie-syseeprom.
Some platforms do not provide direct device access to the ONIE system eeprom.
The only way these systems can export their system data under ONL is by scraping it
from the output of onie-syseeprom and/or reading fields from machine.conf.

These new platform methods can be called in a platform's baseconfig() to
populate the cached version of these values for later use, or used
to access that cached data at a later time.
2016-12-07 20:14:03 +00:00
Jeffrey Townsend
2241b65dfa Set upgrade ONIE and Firmware upgrade policy from sysconfig. 2016-12-07 17:55:27 +00:00
Jeffrey Townsend
a6bb28ee54 Merge pull request #136 from zhouzi88/master
report correct fan speed when fan speed changes according to thermal …
2016-12-05 18:46:51 -08:00
Zi Zhou
0a635a9e3e report correct fan speed when fan speed changes according to thermal plan 2016-12-05 17:57:53 -08:00
Jeffrey Townsend
efe66c755b Add newline to issue.net. 2016-12-05 23:02:49 +00:00
Jeffrey Townsend
3799cce3f0 Kexec is no longer used. 2016-12-02 21:31:09 +00:00
Jeffrey Townsend
add948d33f Add force_overrite paramater and return whether the file was re-written or not.
This functionality is useful for upgrade scenarios.
2016-12-01 18:20:14 +00:00
Jeffrey Townsend
f8df569c2d Tolerate missing dmidecode module amd missing platform info object. 2016-12-01 17:14:04 +00:00
Jeffrey Townsend
cbec27d710 Handle empty images. 2016-12-01 17:13:32 +00:00
Jeffrey Townsend
96cf925350 Merge branch 'master' of github.com:carlroth/OpenNetworkLinux 2016-11-30 19:34:27 -08:00
Carl D. Roth
0f2b922be8 attach, then shutdown, the internal components 2016-11-30 18:24:32 -08:00
Carl D. Roth
271434a71c Oops, unmount the contents of this (temporary) onie boot context 2016-11-30 18:23:58 -08:00
Carl D. Roth
8bee5e7796 Refactor the unmount part of the initrd context shutdown 2016-11-30 18:23:34 -08:00
Carl D. Roth
15cbc92208 Handle failed installs 2016-11-30 18:23:17 -08:00
Jeffrey Townsend
b5a3ff7e1f Add DMI information for x86_64 platforms. 2016-11-30 22:56:18 +00:00
Jeffrey Townsend
176d9f6449 The imported module name must be unique. Otherwise the existing import will just be reused. 2016-11-30 22:12:27 +00:00
Jeffrey Townsend
56b2ca49f9 Don't take an exception if the manifest doesn't exist.
- This is useful particularly for imports from the loader.
2016-11-30 22:10:29 +00:00
Jeffrey Townsend
66ac4ef684 Merge branch 'master' of github.com:carlroth/OpenNetworkLinux 2016-11-30 19:26:39 +00:00
Jeffrey Townsend
c0ca9ede52 Latest 2016-11-30 19:24:16 +00:00
Carl D. Roth
1d8d72ce7f Import plugins from the loader runtime 2016-11-29 14:21:51 -08:00
Jeffrey Townsend
e21d14549b - Mount the ONL-BOOT context before accessing the default boot-config. 2016-11-29 17:40:05 +00:00
Jeffrey Townsend
f10add085e Plugins are optional. 2016-11-29 17:39:36 +00:00
Jeffrey Townsend
f64d0ff258 Allow subclasses to implement mode-methods. 2016-11-29 17:39:13 +00:00
Jeffrey Townsend
69b9ae8efb Merge branch 'roth_install_hook' of github.com:carlroth/OpenNetworkLinux 2016-11-28 22:50:10 +00:00
Carl D. Roth
ee551d5968 Updated plugin api docs 2016-11-28 13:34:08 -08:00
Carl D. Roth
6448819434 Updated plugin api docs 2016-11-28 13:31:34 -08:00
Carl D. Roth
d7958005f3 Updated plugin api
- single run() method is called with a mode argument
- plugin objects are persistent (re-entrant) for the lifetime of the install
- installer grovels the filesystem and/or zip file for plugin files
2016-11-28 12:06:22 -08:00
Carl D. Roth
c50cb2da27 Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux into roth_install_hook 2016-11-28 10:32:31 -08:00
Jeffrey Townsend
c5fe127e67 Merge branch 'roth_install_hook' of github.com:carlroth/OpenNetworkLinux 2016-11-28 10:09:18 -08:00
Jeffrey Townsend
05f4490b67 - Set NETREQUIRED as a class variable for easier overrides.
- Allow NETAUTO=up
2016-11-28 08:34:59 -08:00
Jeffrey Townsend
a752807be4 Common Loader boot-config management and manipulation. 2016-11-27 16:17:55 +00:00
Jeffrey Townsend
c825d51bc8 Common architecture build makefiles. 2016-11-22 22:21:41 +00:00