Commit Graph

594 Commits

Author SHA1 Message Date
Zi Zhou
4adef6b4ce identify 100G breakout DAC(QSFP28) that has compliance code of 25GBASE-CR CA-S, CA-N as 100GBASE-CR4 2017-05-08 19:22:55 -07:00
Jeffrey Townsend
196bff1c98 Merge pull request #200 from kenchiang/onlp-snmpd4
Update resources and sensors in separate thread
2017-05-06 07:40:09 -07:00
Ken Chiang
e973183257 Remove/demote log messages in sensor and resource update functions. 2017-05-04 17:03:28 -07:00
Jeffrey Townsend
f4bb81b802 Re-enable this kernel build. 2017-05-04 21:34:24 +00:00
Ken Chiang
a91753e3ba Refactor onlp-snmpd platform and sensor handling so that updates happen in a separate thread. 2017-05-01 18:09:16 -07:00
Jonathan Tsai
01a3908322 Add LY4R platform:
1. [LY4R] Port platform driver
2. [LY4R] Port ONLP: board info
3. [LY4R] Port ONLP: systemled
4. [LY4R] Port ONLP: SFP
5. [LY4R] Print "ONLP is not supported for RPSU/FAN/THERMAL"
6. [LY4R] Port UEFI support
2017-04-28 15:13:14 +08:00
atmaramg
3a596da507 LS MC and AIOP console support 2017-04-26 16:13:26 +05:30
Jeffrey Townsend
9342f86400 Check for the existance of the onie-fwpkg before attempting upgrade and provide a useful error message. 2017-04-20 18:06:19 +00:00
Jeffrey Townsend
1d9defd946 CVE-2016-10229 2017-04-13 23:56:48 +00:00
Jeffrey Townsend
00ddfde529 Do not bring the interface down during setup. 2017-04-13 23:49:36 +00:00
Jeffrey Townsend
1e35af499d Merge branch 'master' of github.com:vincent0083/OpenNetworkLinux
Conflicts:
	packages/platforms/delta/Makefile
	packages/platforms/delta/vendor-config/Makefile
	packages/platforms/delta/vendor-config/PKG.yml
	packages/platforms/delta/vendor-config/src/python/delta/__init__.py
	packages/platforms/delta/x86-64/Makefile
	packages/platforms/delta/x86-64/modules/Makefile
	packages/platforms/delta/x86-64/modules/PKG.yml
2017-04-12 12:24:14 -07:00
Jeffrey Townsend
dd8f694c31 Merge pull request #179 from hans-tseng/agc7648a
agc7648a
2017-04-12 10:04:24 -07:00
hans
b0be7624e1 remove the unnecessary config
Signed-off-by: hans <hans.taeng@delta.com.tw>
2017-04-12 13:05:18 +08:00
hans
d15123099d 1.modify the kernel config file to the right folder
Signed-off-by: hans <hans.taeng@delta.com.tw>
2017-04-12 12:55:32 +08:00
Petro Karashchenko
e91feac31c Prevent ONL installation failure on systems not support UBI storages 2017-04-04 01:00:39 +03:00
hans
8895e0adc7 1. Remove tmp421.c in vendor module.
2. Add define for fan zero TACH count.
3. Remove onlp_sysi_onie_info_get, because it is unnecessary.
4. Replace define which include some lower case character to upper case
5. Update copyright to "Delta Networks, Inc."

Signed-off-by: hans <hans.taeng@delta.com.tw>
2017-03-31 09:14:25 +08:00
Jeffrey Townsend
aa779809c7 Fix Loader Upgrade Status
When the Loader upgrade step was moved prior to platform setup the upgrade status was lost
because the platform-current symlink had not been created yet.

This simple fix places the upgrade status file in the absolute directory instead of
the symlinked directory.

The loader status and the firmware status should probably be separated anyways.
The loader status doesn't belong in the platform-specific data.
2017-03-30 20:19:09 +00:00
vincent0083
3a7d0a6b2f Add new platform for Delta WB2448. 2017-03-30 15:52:16 +08:00
Jeffrey Townsend
f7485d0a4f Revert "merge onlp_sfp_dom_read() into onlp_sfp_eeprom_read()" 2017-03-29 13:51:34 -07:00
Jeffrey Townsend
09693d8de4 Use the correct path when removing the grubenv file. 2017-03-27 22:08:18 +00:00
MASAN.XU
4ceb4351f6 1. Add new class 48 ports 10G SFP+/ 6 ports 100G QSFP28 "OnlPlatformPortConfig_48x10_6x100" for agc7648a
Signed-off-by: MASAN.XU <MASAN.XU@DELTA.COM.TW>
2017-03-16 01:57:47 +00:00
Zi Zhou
4e9bb102a2 merge onlp_sfp_dom_read() into onlp_sfp_eeprom_read() 2017-03-15 16:38:14 -07:00
Ken Chiang
dd42deb0b7 If the thermal sensor is missing, call onlp_oid_show_state_missing(). (#176)
trivial change, matches with other uses of the call.
2017-03-13 17:38:05 -07:00
Jeffrey Townsend
a2ef3b9380 This module provides a domain socket registration and handling service.
Clients register a filesystem path they wish to publish
as a domain socket their handlers are called when
the domain socket is accessed.

Some ONLP data can only be retreived by accessing another process
Which cannot be part of the ONLP layer itself for various reasons.

The ONLP File APIs already support unix domain sockets for all operations
as if they were regular files and certain features are already implemented
using this mechanism (see the examples below).
This module provides a common framework to implement the server side of the
domain socket as well (which is currently up to the platform integrator).

Some examples of how this is used:
  - Reporting the switch internal thermal temperature
    - This can only be accessed by the code managing the switch.
    - In this case the switch management agent exports a domain socket
      that reports the temperature when the socket is read and the
      thermali implementation uses that domain socket to satisfy
      the request for the OID.

  - SFP Access through the switch
    - Some platforms implement SFP I2C access through a bus connected
      to the switch itself.
    - Only the agent running the switch can access the SFP eeproms.
    - In this case the strategy is for the switch agent to export domain
      sockets for each SFP which can be used to read the SFP status/eeprom
      etc. The SFPI interface then reads these domain sockets to get the
      required information.

Standardizing on this method allows all system ONLP clients to access
all data, even if that data is present only in seperate processes.
2017-03-03 21:55:27 +00:00
Jeffrey Townsend
fb2798c157 Don't predicate patch on setup-time architecture. 2017-03-02 20:26:13 +00:00
Zi Zhou
d391b8b5d7 minor fix 2017-03-02 07:01:46 +00:00
Zi Zhou
dc1f721e66 add buffer size for make_printable__() 2017-03-01 17:37:47 -08:00
Jeffrey Townsend
b0ecaea175 Enable TUN and VETH. 2017-02-24 02:38:59 +00:00
Jeffrey Townsend
c349324fb4 kernel-3.9.6-powerpc-e500v is now disabled. 2017-02-22 21:07:33 +00:00
Jeffrey Townsend
48f4db30d9 The 3.2.65-1+deb7u2 kernel is no longer used. 2017-02-22 02:25:55 +00:00
Jeffrey Townsend
4843afd6bd Merge pull request #166 from zhouzi88/master
ly2 kernel module and onlp driver update for kernel 3.16
2017-02-21 18:12:45 -08:00
Zi Zhou
8c2e2873a2 switch to kernel 3.16-lts (powerpc platform) 2017-02-21 11:31:43 -08:00
Zi Zhou
bea691120e recognize QSFP-LM4 (from finisar/DELL) 2017-02-21 11:29:38 -08:00
Jeffrey Townsend
fb94d3b3dd Change the arm-iproc kernel. 2017-02-21 18:58:16 +00:00
Jeffrey Townsend
db19b16a48 Update name. 2017-02-21 18:43:10 +00:00
Jeffrey Townsend
133a2cc9b6 Install a new FIT image (for developers). 2017-02-21 18:42:28 +00:00
Jeffrey Townsend
eb0d476125 3.2 LTS for ARMEL/IPROC. 2017-02-21 18:41:34 +00:00
Jeffrey Townsend
c6bf5387e1 This build has been replaced by the 3.2 LTS package. 2017-02-21 18:40:36 +00:00
Jeffrey Townsend
840389d897 Allow sysconfig overrides from the config partition. 2017-02-21 18:13:01 +00:00
Jeffrey Townsend
4511be1ab9 This kernel has been replaced by the 3.2 LTS version. 2017-02-21 18:12:02 +00:00
Jeffrey Townsend
e1ddecd2bf 3.2 LTS Kernel Build
This kernel tracks the 3.2 LTS kernel with minimal patches to support the Broadcom IPROC.
This replaces the previous 3.2.71 patched kernel put in place temporarily to support ARM.

IPROC systems will be moved to this kernel (which will continue to track 3.2 LTS) until
IPROC support is integrated with the 3.16 LTS package.

This kernel is available for IPROC systems only.
2017-02-21 18:06:48 +00:00
Jeffrey Townsend
f3c9cce073 Initial 2017-02-16 15:21:19 +00:00
Jeffrey Townsend
43c687bed9 Remove deprecated kernel builds. 2017-02-16 15:17:34 +00:00
Zi Zhou
6e29938485 move to kernel 3.16-lts (powerpc platform) 2017-02-16 08:38:37 +00:00
Jeffrey Townsend
3ec66e4a44 Merge pull request #157 from roylee123/master
Add new platform for Accton AS7312-54X.
2017-02-15 11:58:57 -08:00
Jeffrey Townsend
532a4d5b53 Add optional build packages for each platform.
The build package contains collateral needed to support the platform but need not be installed in the runtime.
The first use of this package is to export powerpc device trees for each platform (instead of integrating with a particular kernel package).
2017-02-15 17:30:49 +00:00
roylee123
bd5b724607 Merge remote-tracking branch 'upstream/master' 2017-02-10 16:50:45 +08:00
brandonchuang
fd4051fa19 [as5812-54t] Support YM2401J power supply 2017-02-09 11:39:43 +08:00
roylee123
e063dc02d1 Add new port config for as7312_54x. 2017-02-08 10:13:33 +08:00
Ken Chiang
572ed3b889 Call pclose after processing mpstat output. 2017-02-06 15:59:48 -08:00