Commit Graph

1086 Commits

Author SHA1 Message Date
cytsai0409
1be1c466fe Add s8810 32q platform support (#867)
* Add S8810-32Q platform support

* Update sonic-platform-modules-ingrasys submodule
* Add sys eeprom plugin for S8810-32Q
* Add sfputil plugin for S8810-32Q
* Add sensors config for S8810-32Q
* Add S8810-32Q HwSku port_config
* Add fancontrol config for S8810-32Q

Signed-off-by: Jason Tsai <cytsai0409@gmail.com>

* Add S8810-32Q platform support

* Add sys eeprom plugin for S8810-32Q
* Add sfputil plugin for S8810-32Q
* Add sensors config for S8810-32Q
* Add S8810-32Q HwSku port_config
* Add fancontrol config for S8810-32Q

Signed-off-by: Jason Tsai <cytsai0409@gmail.com>

* Add S8810-32Q platform support

* Add S8810-32Q platform support in Makefile

Signed-off-by: Jason Tsai <cytsai0409@gmail.com>

* Fix build error on S8810 platform driver package

Signed-off-by: Jason Tsai <cytsai0409@gmail.com>
2017-08-16 07:38:10 -07:00
pavel-shirshov
6603e0ad5d [Submodule update]: sonic-utilities (#888)
* Track branch v1.0.3 for sonic-utilities

* Spaces to tabs
2017-08-15 16:10:08 -07:00
Shu0T1an ChenG
adbc9d102a Merge remote-tracking branch 'github/master' into v1.0.3-backup 2017-08-15 13:53:25 -07:00
Shuotian Cheng
693ad9c4ee [quagga]: Update sonic-quagga submodule (#892)
- [bgpd]: Enable forwarding state flag in graceful restart capability
- [debian]: Add autoreconf_clean
2017-08-15 12:10:43 -07:00
Shu0T1an ChenG
674e2f9467 Revert "[mellanox]: Update Mellanox SAI version"
This reverts commit 338a83bacc.

We first test the previous version of the SAI and make sure
it passes all the tests and then update the SAI version to
a later one.
2017-08-15 11:57:34 -07:00
Joe LeVeque
3a8f5be19a [docker-database]: Start rsyslogd to allow supervisor to log to syslog (#890) 2017-08-15 10:38:49 -07:00
Joe LeVeque
f938f3ecaf [docker-platform-monitor]: Prevent supervisor from logging unexpected exits from processes known to exit in < 1 second (#889) 2017-08-15 10:38:22 -07:00
pavel-shirshov
c299fe472d Update sonic-utilities (#887) 2017-08-14 15:56:40 -07:00
Oleksandr Ivantsiv
232acbf217 [submodule] update sonic-swss submodule (#885) 2017-08-14 11:41:44 -07:00
Joe LeVeque
49feeaa456 [LEDs]: Initialize status and fan LEDs to green on Arista 7050-QX-32/7050-QX-32-S (#886) 2017-08-14 10:25:50 -07:00
Joe LeVeque
178fc032ae [sfputil]: Add support for SFP presence, low-power mode and reset (#877)
- Update sfputil plugins for Dell FORCE10-S6000, Arista 7050-QX-32, 7050-QX-32-S
2017-08-11 11:36:32 -07:00
Shu0T1an ChenG
338a83bacc [mellanox]: Update Mellanox SAI version 2017-08-10 19:32:39 -07:00
Shu0T1an ChenG
df3436b80b [utilities]: Update sonic-utilities submodule
- [sfputil]: Refactor and add support for presence, low-power mode and reset
2017-08-10 19:24:43 -07:00
Shu0T1an ChenG
fa1ac0e05a [swss-common]: Update sonic-swss-common submodule
- [netlink]: Increase netlink buffer size
- [netlink]: Check return vode from nl_recvmsgs_default
- [select]: EINTR error hanlding
- [makefile]: Use full file names
2017-08-10 19:24:29 -07:00
Shu0T1an ChenG
e383a27f5f [mellanox]: Disable fsat boot mode for SX kernel 2017-08-10 19:10:36 -07:00
Shu0T1an ChenG
c82868e631 [quagga]: Update sonic-quagga submodule
- [bgpd]: Enable forwarding state flag in graceful restart capability
- [debian]: Add autoreconf_clean
2017-08-10 19:03:26 -07:00
Shuotian Cheng
5cf37cbcb3 [Broadcom]: Update Broadcom SAI/SDK version (#883) 2017-08-10 18:53:51 -07:00
Shu0T1an ChenG
e13789c5af Merge remote-tracking branch 'github/master' into v1.0.3
Conflicts:
	platform/mellanox/mlnx-fw-upgrade.sh
	src/sonic-sairedis
	src/sonic-swss
2017-08-10 18:52:01 -07:00
Joe LeVeque
9d5adb993a [System logs]: Improvements to prevent filling /var/log partition (#865)
- Force log rotation at size thresholds only (no longer also rotating logs daily), allowing for more consistent archived log size
- Eliminate remaining duplicate log messages
- Cron facility now only logs to cron.log (was also logging to syslog)
- Debug, mail, news and user log facilities only log to syslog; no longer creating separate log files for these facilities
- Cron job that calls logrotate every minute now uses the main /etc/logrotate.conf file so as to check/rotate all logs every minute, not just the logs specified in the rsyslog file. Also redirecting output of this command to /dev/null to prevent "(CRON) info (No MTA installed, discarding output)" messages in cron.log due to lack of a mail service
- Delete archive files based on remaining /var/log partition space. Note that this solution currently requires a minimum /var/log partition size of 32MB to function correctly
- Update sonic-sairedis and sonic-swss submodules to incorporate recording file name changes
- Add .screen file to .gitignore (unrelated)
2017-08-10 16:24:57 -07:00
Taoyu Li
847a948069 Update sonic-utilities pointer to support reload minigraph (#871) 2017-08-08 21:40:31 -07:00
Polly Hsu
96636e2124 [device/accton]: Update Accton-AS7712-32X (#776)
* [device/accton]: Update Accton-AS7712-32X

* Add Broadcom LED microprocessor / pre-emphasis initialization

Signed-off-by: polly_hsu@accton.com

* Update start.sh

* Update start.sh

* [device/accton]: Update Accton-AS7712-32X

* Add Broadcom LED microprocessor (Remove pre-emphasis initialization)

Signed-off-by: polly_hsu@accton.com
2017-08-08 21:19:50 -07:00
Taoyu Li
a2fe0212be [ConfigDB] Move all BGP configuration into DB (#861)
- BGP data read from minigraph.py now match DB schema
- BGP templates are updated
- bgpcfgd can now deal with runtime neighbor create/delete
2017-08-08 16:23:58 -07:00
Marian Pritsak
afbf1ee2fb [sonic-slave]: Split user commands from generic. (#868)
In case when more than one user builds SONiC on same machine, we can
keep generic part that installs all packages to slave image apart from
creating user and calling user-related commands. Then generic base image
will be built only once, allowing other users to build only smaller
specific to them layers.

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-08-08 10:21:54 +03:00
Samuel Angebault
97e4360d9b [platform] Add support for Arista DCS-7260CX3-64 (#863)
* Update sonic-platform-modules-arista submodule

* Update boot0 to handle DCS-7260CX3-64

* Add sys eeprom plugin for DCS-7260CX3-64

* Add sfputil plugin for DCS-7260CX3-64

* Add sensors config for DCS-7260CX3-64

* Add Arista-7260CX3-64 HwSku port_config

* Handle slow flash partition re-read

* Add minigraph.xml for DCS-7260CX3-64 64x100G
2017-08-05 20:56:32 -07:00
Oleksandr Ivantsiv
d0c8e2d127 [mellanox]: Query required FW version from FW file. (#866)
This simplifies FW upgrade procedure and allows to
specify required version only in one place (fw recipe).
2017-08-04 15:05:15 +03:00
Qi Luo
e1f2a2dd75 [lldp] No need to config on port with no minigraph_neighbor, such as port in vlan (#864) 2017-08-02 20:28:00 -07:00
Qi Luo
618b25f18c Squash merge v1.0.3 branch onto master 2017-08-02 22:28:17 +00:00
Taoyu Li
b6efe438b5 Introduce ConfigDB (#808)
* [cfggen] Support reading from and writing to configdb
* [bgp] Move bgp_admin_state to configdb, support dynamic admin state change
* [sonic-utilities] Adapt configDB for admin status, support config save and config load
2017-08-01 19:02:00 -07:00
Marian Pritsak
9861d0f8f4 [device]: Remove illegal character from MSN2700 minigraph (#860)
Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-08-01 07:35:54 -07:00
padmanarayana
11f08026f1 [platform]: Add EEPROM script for SYS EEPROM on S6100 (#852) 2017-08-01 07:35:13 -07:00
Marian Pritsak
175b952508 [slave.mk]: Add list target (#856)
Add new target to list all available packages, files, docker images and
installers.

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-07-30 01:34:27 +03:00
Oleksandr Ivantsiv
382d52843f [mellanox]: Move FW upgrade script to base image. (#849)
- Download files to target/files directory (instead of target/debs)
- Clean python-weels log files
2017-07-28 10:57:51 -07:00
Taoyu Li
829a205b85 [config services] Not to block syslog service on minigraph update (#850) 2017-07-27 19:52:22 -07:00
Marian Pritsak
1c165067af [Makefile]: Remove lockfile before build (#847)
In case previous build was forcefully stopped, we need to remove screen
lock so that build won't be stuck.

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-07-27 07:52:12 +03:00
Pradchaya P
987aec3565 [platform] Update for celestica DX010 platform. (#844) 2017-07-26 02:19:24 -07:00
Shuotian Cheng
4d5420b865 [minigraph]: Ignore eth0 IPv6 addresses (#841)
- IPv6 is not supported on management interface
- Add unit test
2017-07-25 07:09:23 -07:00
Oleksandr Ivantsiv
c1fd0b1ae5 [orchagent]: Export platform information before orchagent run. (#835)
Export platform information in environment to be able to write vendor
specific code.
2017-07-25 10:05:27 +03:00
Marian Pritsak
7d95fd7e8c [rules/functions][slave.mk]: Refine build output (#838)
Print current build configuration before run
Update screen with currently running targets (only available if TERM is
available)
Change format of printed targets

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-07-25 09:49:39 +03:00
kaiyu22
f136334c72 [platform]: Update LED for Ingrasys platforms (#831)
* Update LED for S9100-32X
* Add LED for S8900-54XC and S8900-64XC

Signed-off-by: Sam Yang <yang.kaiyu@gmail.com>
2017-07-24 17:56:48 -07:00
pavel-shirshov
d898011b2e [docker-ptf]: Update entrypoint entry for docker-ptf (#836)
* Updated entrypoint for docker-ptf container

* Add main supervisord.conf file under /etc/supervisor. Run supervisord with option -c
2017-07-24 13:36:40 -07:00
Pradchaya P
40f1e53fd0 [device/celestica] Label more chip sensors in DX010 model. (#834) 2017-07-24 09:42:28 -07:00
Oleksandr Ivantsiv
7ba0230088 [submodule] update sonic-swss submodule (#833) 2017-07-24 12:48:19 +03:00
Marian Pritsak
7cf8479182 [Makefile]: Set build directory as docker workdir (#832)
Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-07-24 12:29:36 +03:00
Marian Pritsak
bc4ee14340 [Makefile]: Automatically deduce pseudo-TTY option (#830)
Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-07-24 10:52:51 +03:00
Marian Pritsak
cd601650bf [slave.mk]: Use host timestamp for online targets. (#826)
By default, wget tries to use timestamp received from the server. This
behavior messes up make dependencies which are also based on last
modification time. In order to avoid this, we use the current time as a
timestamp to keep dependencies in correct order.

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-07-21 19:05:21 +03:00
Pradchaya P
b1f5f83bf8 Update label of temperature sensors. (#823) 2017-07-21 08:47:06 -07:00
celestica-abhisit
0805f2f42e [platform/Seastone]: Update sonic-platform-modules-cel git-submodule. (#825) 2017-07-21 08:02:20 -07:00
pavel-shirshov
2201bf3496 [docker-ptf]: Install yaml module for python (#821)
* Install yaml python module in docker-ptf container
2017-07-19 23:21:03 -07:00
zhenggen-xu
ccb71cd4d6 ASIC part support for Celestica DX010 platform(Three port breakout configurations) (#818)
* ASIC part support for Celestica DX010 platform.
It includes:
*Three different configurations: 32x100G, 64x50G, 96x10G+16x50G.(Script to be includd in the platform directory).
*Data port LED

Also from vendor:
*fancontrol configuration
*eeprom.py/sfpulti.py plugins
*sensor configuration

* Typo fix

* Add the port configuration change script

* move the script to sonic-utilities repo
2017-07-19 17:13:18 -07:00
celestica-abhisit
12e5e22572 [platform/Seastone] Add a new supported platform, Celestica Seastone-DX010 (#816)
* [platform/Seastone] Add a new supported platform, Celestica Seastone-DX010.

Switch Vendor: Celestica
Switch SKU : Seastone-DX010
ASIC Vendor: Broadcom
Swich ASIC: Tomahawk
Port Configuration: 32x100G, 64x50G and 96x10G+16x50G.
SONiC Image: SONiC-ONIE-Broadcom

Signed-off-by: asang@celestica.com

* Help to convert tab to white space for Inventec-D7032Q28B platform.
2017-07-19 10:29:46 -07:00