Commit Graph

1473 Commits

Author SHA1 Message Date
Ying Xie
48a0e149ff [hwsku-init] Introduce mechanism to run HWSKU specific initialization code (#2072)
When there is HWSKU specific initialization needs to be performed, please
add hwsku-init script under device folder, it will be invoked by swss
before any subsequent initializations.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-09-24 14:56:37 -07:00
lguohan
03e27da2aa
[broadcom]: update sai to 3.1.3.4-17 (#2070)
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-09-24 09:02:52 -07:00
zhenggen-xu
33dbfd279a Move all platform submodule code into sonic-buildimage (#2063)
* Remove all platform submodules

* Add all platform code into sonic-buildimage
2018-09-21 03:04:53 -07:00
Guohan Lu
1fa607c36a [submodules]: update sonic-utilities
d5f2877 Fix pfcwd start_default: Use config_db to get the active port list.  (#319)

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-09-14 09:01:07 +00:00
Guohan Lu
964bf9d005 [submodule]: update sonic-utilities
958f2d3 2018-09-13 | Fix pfcwd start_default (#317) (origin/201803) [Wenda Ni]

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-09-13 07:45:22 +00:00
Wenda Ni
09a61f1846 [devices]: Buffers & qos config change on a6100 and a7050 (#2037)
* a7050 & a6100
ecn profile th_min = 1MB = 1048576 bytes, th_max = 2MB = 2097152 bytes, pmax = 5%

a6100
dscp 46 -> 5; apply lossy traffic profile
dwrr equal weight on 5 queues
ingress lossless alpha 2^(-3)

Signed-off-by: Wenda Ni <wenni@microsoft.com>

* Adjust config format for wred profile on a7050 & a6100

Signed-off-by: Wenda <wenni@microsoft.com>

* Update sonic-utilities submodule reference point

Signed-off-by: Wenda <wenni@microsoft.com>
2018-09-11 22:15:09 -07:00
Taoyu Li
2f0a3c63fa Don't reuse init_cfg.json from old image during upgrade (#2036) 2018-09-12 05:13:48 +00:00
Shuotian Cheng
5d299c496c [Dell]: Update sonic-platform-modules-dell submodule (#1999)
Fix depmod -a issue on 201803 branch

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2018-08-29 17:32:16 -07:00
Wenda Ni
2f12abe9ed [arista]: Buffers & qos config change on a7050 (#1973)
* Enable WRED red color profile on mellanox platform

Signed-off-by: Wenda Ni <wenni@microsoft.com>

* Change ingress alpha to 2^(-3) on a7050

* a7050: Add dscp 46 mapping to pg 5 and queue 5; link pg 5 and queue 5 to
lossy profile; Make ecn off by default on queues

Signed-off-by: Wenda <wenni@microsoft.com>
2018-08-23 00:39:20 -07:00
Wenda Ni
35f4c68bc0 [mellanox]: Enable WRED red color profile on mellanox platform (#1971)
Signed-off-by: Wenda Ni <wenni@microsoft.com>
2018-08-22 13:06:01 -07:00
Volodymyr Samotiy
9f40116605 [mellanox]: Fix problem with system EEPROM in "hw-mgmt" (#1952)
Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2018-08-21 00:56:59 -07:00
Guohan Lu
73d99d20b3 [submodules]: update sonic-platform-common
1e61b29 [sonic_eeprom] If reading from what appears to be a corrupt cache file, delete file and read directly from EEPROM (#10)

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-20 19:00:29 +00:00
Guohan Lu
ff91c0511c [broadcom]: update sai to 3.1.3.4-16
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-20 04:43:05 +00:00
Guohan Lu
47c28c2ee2 [sonic-utilities]: add ecnconfig command
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-19 23:15:45 +00:00
Wenda Ni
e7a2132530 [devices/a7050]: Separate ECN/WRED profile per queue to maintain a consistent view among CONFIG_DB get commands (#1941)
for ecn on/off operations, which are conducted at per queue all interfaces granularity.

TODO:
Ideally, we should have ECN/WRED profile applied at per interface per queue
granularity, and we should do it for all hwskus under the device
directory, not just 7050.

Signed-off-by: Wenda Ni <wenni@microsoft.com>
2018-08-19 21:38:59 +00:00
Qi Luo
275b583c1c Mitigate CVE-2018-5391 by sysctl (#1948)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-08-19 14:36:25 -07:00
Guohan Lu
cd8f6c8195 [sonic-swss]: support dynamic configuration of ecn on/off, threshold, prob
Upgrade to libsai 3.1.3.4-16 to support dynamic configuration

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-19 21:32:56 +00:00
Joe LeVeque
5817dcf72e Download newer version (8.23.0-2) of rsyslog from jessie-backports in hopes of eliminating memory leaks (#1912) 2018-08-17 09:54:28 +00:00
Guohan Lu
511eada57b [broadcom]: fix delay to load led proc init (#1940)
led start bcm cmd triggers link state notifications.
This is quick fix to avoid such fake link state notifications.

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-17 09:49:12 +00:00
yangbashuang
bf26a9a22c [platform && device]update centec e582 platform device config files and drivers, update sai to 1.2.4 on branch 201803 (#1703)
* update centec platform drivers and sai

* update centec platform drivers and sai
2018-08-12 02:36:18 -07:00
simonJi2018
4b73fabe15 201803: update submodule sonic-platform-modules-ingrasys to 796169 (#1911)
* add new device accton 7116 support for sonic 201803 branch

* update submodule sonic-platform-modules-ingrasys to 796169
2018-08-12 02:31:07 -07:00
Taoyu Li
355246151a [minigraph.py] add support to parse deployment id of neighbor devices (#1890)
* [minigraph.py] add support to parse deployment id of neighbor devices

* Add unitest

* Fix function name
2018-08-08 05:25:11 +00:00
stanepc1
c2beed2bbf [device] Update driver and configuration for ly1200 of MiTAC (#1772)
Signed-off-by: Stane Shieh <stane.shieh@mic.com.tw>
2018-08-07 08:41:40 -07:00
simonJi2018
7419f0a188 [nephos]: add new device accton 7116 support for sonic 201803 branch (#1887) 2018-07-30 16:01:20 -07:00
lguohan
a7ca027a34 [platform]: add sonic port alias for mellanox SN2700 platform (#1883) 2018-07-30 16:46:30 +00:00
Guohan Lu
f2b8442d94 [sonic-swss]: update sonic-swss submodule
* 8f52e29 2018-07-25 | Postpone intf task after buffer configuration applied on the port. (#539) (HEAD, origin/201803) [Jipan Yang]
* 2d2fdaa 2018-07-26 | [portsorch]: Refix: Don't print error when alias equal to PortConfigDone (#548) [Qi Luo]
* 87d34db 2018-07-12 | [MirrorOrch]: Fix bug when NULL is returned from the getenv function (#537) [Shuotian Cheng]
2018-07-28 01:04:27 +00:00
pavel-shirshov
36604f76b9 [swss]: Start counter from swss container (#1875)
* sonic-quagga update. Don't spam with 'Vtysh connected from' message

* Enable counters inside swss container. systemd is not flexible enough to follow our business rules
2018-07-28 00:55:48 +00:00
Taoyu Li
1f19c27006 Modify sudo lecture message to be more informational (#1800) 2018-07-28 00:55:03 +00:00
Rodny Molina
502ba0e86d Fix for bash's memory-leak (#1879)
* Fix for bash's memory-leak

Memory leak is observed during the execution of scripts that make use of bash-arrays. In scenarios where the offending script is executed on a regular basis (e.g. fancontrol), the leaking process may end up consuming most of the system resources.

In this PR i'm replacing bash in all the contexts where it executes (both host and dockers). The official patch for this issue is here: https://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-040

* Fixing minor issue during code-merge

Signed-off-by: Rodny Molina <rmolina@linkedin.com>
2018-07-28 00:50:17 +00:00
Guohan Lu
14a0de768d [submodule]: update sonic-platform-common
10bef06 2018-06-21 | [sfputilbase.py] Fix bug where 'title' list always gets overwritten with empty list (#8) (HEAD -> 201803, origin/201803) [Joe LeVeque]
2018-07-23 18:01:49 +00:00
Ying Xie
dab944b5ab [bcm syncd]: Wait initializing led_proc for 60 seconds (#1863)
* Wait initializing led_proc for 60 seconds. bcm sdk need time to be ready accept a connection
2018-07-19 17:29:04 +00:00
Wirut Getbamrung
c115e307dd Change dx010 console speed (#1867) 2018-07-19 15:08:54 +00:00
pavel-shirshov
b42bd5b7b7 Convert arp_update into a 'start-it-once' mode (#1864)
* Run arp_update just once, don't restart it. It will run continuosly with 5 min pauses
2018-07-19 15:08:47 +00:00
pavel-shirshov
1e43b9950b Pavelsh/restart swss counters (#1854)
* sonic-quagga update. Don't spam with 'Vtysh connected from' message

* Restart counters in 60 seconds after manual swss restart
2018-07-18 02:03:01 +00:00
Ying Xie
2109a1133f [pfcwd] update sonic-utilities submodule
- include knob to start pfcwd for all ports

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-07-17 15:00:30 +00:00
Wenda Ni
c36adc1ad8 Correct a7060 config for tor (#1823)
Move a7060 configs out of syncd docker

Signed-off-by: Wenda <wenni@microsoft.com>
2018-07-17 01:16:16 +00:00
Ying Xie
ae8a088a28 [test] Adding Broadcom configuration file test (#1611)
* [test] Adding Broadcom configuration file test

In order to allow SONiC community to check in Broadcom configuration
file directly under device folder. We need to add this test to make
sure the contents of the configuration is compliant with Broadcom
specifications.

* Invoke test from Debian package builder

* Use $() syntax

* Remove the debug echo statement
2018-07-14 23:05:00 +00:00
Qi Luo
fc51c10758 [sonic-dbsyncd]: Fix parse_chassis on partial lldp data (#1861) 2018-07-14 23:02:45 +00:00
Qi Luo
de7b951c9d [sonic-dbsyncd]: Support empty string in lldp_rem_port_desc (#1857)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-07-14 23:02:41 +00:00
sihuihan88
7378aa1e68 [sonic-swss]: Update submodule in 201803 branch (#1855)
* [submodule]: update 201803 branch

Signed-off-by: Sihui Han <sihan@microsoft.com>

* [submodule]: update 201803 branch with pospone queuemap enhancement

Signed-off-by: Sihui Han <sihan@microsoft.com>
2018-07-13 02:18:55 -07:00
Taoyu Li
c8b2810d48 [sudoer] Enable read-only commands for all users (#1558) 2018-07-10 05:12:46 +00:00
tiantianlv
4012e3d74a Add pre-emphasis for 100G optical mocule (#1838) 2018-07-03 19:22:21 -07:00
pavel-shirshov
868b867f25 Update sonic-swss for 201803 branch. Postpone init of the queue maps (#1831) 2018-06-30 09:41:18 -07:00
Hnydyn Nazar
71ede53d86 Updated Cavium SAI headers. (#1822) 2018-06-28 13:43:30 -07:00
pavel-shirshov
6568203c15 Enable sairedis counter thread in 3 minutes after SONiC was started (#1813)
* Enable sairedis counter thread in 3 minutes after SONiC was started

* Enable all counters
2018-06-26 12:17:51 -07:00
sihuihan88
4eb866c615 [sai]: update SAI version to 3.1.3.4-15 (#1808)
Signed-off-by: Sihui Han <sihan@microsoft.com>
2018-06-25 19:55:06 +00:00
Taoyu Li
c6d43c4be2 [tacacs] To modify local user permission according to priv lvl (#1804) 2018-06-25 19:54:57 +00:00
Pradchaya P
7457c00863 [platform] Celestica: dx010 init gpio sysfs (#1807) 2018-06-25 19:50:00 +00:00
Wirut Getbamrung
310c3f9ff6 [device]: Fix a bug that psuutil cannot access gpio sysfs to get PSU status (#1789) 2018-06-25 19:49:50 +00:00
Taoyu Li
3779c5824a [interface-config] Force eth0 before reconfiguration (#1802) 2018-06-25 19:49:18 +00:00