Commit Graph

1418 Commits

Author SHA1 Message Date
Guohan Lu
1a84813f0d [submodule]: update sonic-utilities
HEAD is now at 2aa8ced [sonic-utilities/scripts] Fixing FP ports issue (#268)

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-12-26 19:36:00 +00:00
Joe LeVeque
524cfebc23 [docker-syncd-brcm] Add 'startsecs=0' to ledinit process (#2366) 2018-12-17 08:56:43 +00:00
Guohan Lu
2933665c16 [baseimage]: force create symlink in union-fsck
fix error in update-initramfs when install kernel package in sonic

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-12-14 09:30:27 +00:00
Guohan Lu
92a80702d5 [submodule]: update sonic-linux-kernel
3893844 2018-12-14 | uart: fix race in uart_write() (#74) (HEAD, azure/201803) [lguohan]

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-12-14 09:29:20 +00:00
Joe LeVeque
5479286502 [boot] Start ntp-config service after all Docker containers are started (#2303) 2018-12-11 14:25:20 +00:00
Guohan Lu
ad2812ae8d [submodules]: update sonic-quagga
cde2966 2018-06-26 | * Reduce severity of log 'vty connect from' from INFO to DEBUG (#21) (HEAD) [pavel-shirshov]

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-12-11 14:18:09 +00:00
paavaanan
3f16fb0255 [Dell] sensors.conf files for S6100/Z9100 (#2282)
* [Dell] sensors.conf files for S6100/Z9100

Addded sensors.conf file for S6100/Z9100 switches.
sensorsd daemon can able to write syslogs when alarms are raised for any specific attribute.
Added alarm supprot for onboard sensors.
Tuned return values of attributes to avoid "Bad Adddress" proc errors.
Exported SMF version.

* Converted TAB to Spaces
2018-12-04 10:26:46 -08:00
simonJi2018
ecb8e53da1 update sdk and sai for 201803 (#2331)
* uodate sai and sdk for fix some bug and add some filt to device/accton and ingrasys for support different sfp module and hw version

* update device config for support s9230 R0B and update port_config.nps and ini

* update device file

* fix some code error

* fix init chip config data error
2018-12-02 23:14:01 -08:00
Shuotian Cheng
f5edde9185
[utilities]: Update sonic-utilities submodule (#2307)
Update sonic-utilities submodule:

ecnconfig check against invalid argument value (#343)
pfcwd start commd pre-check fix (#339)
[acl_loader]: Add support for parsing input interface (#386)

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2018-11-27 15:53:14 -08:00
Qi Luo
6a24eb4151 Fix redis-py version to 2.10.6 (#2273)
* Fix redis-py version

Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>

* Update submodule sonic-py-swsssdk: Fix redis-py version to 2.10.6

Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-11-19 20:39:44 +00:00
lguohan
92341b8e06 [submodule]: update sonic-py-swsssdk (#2271)
* 8113744 2018-11-18 | Force key/value convertion to str before send to redis lib (#39) (HEAD, origin/master, origin/HEAD) [Taoyu Li]

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-11-19 20:39:38 +00:00
Wenda Ni
6da462e7c1 [buffer]: Update pg headroom egress service pool for a7050 and s6000 (#2261)
Signed-off-by: Wenda <wenni@microsoft.com>
2018-11-16 00:52:32 -08:00
Qi Luo
f7b17608b3 Fix bug: wget rename saved file (#2259)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-11-15 06:12:30 +00:00
Qi Luo
28790056c3 Store thrift source packages in blob (#2255)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-11-14 18:48:31 +00:00
Pradchaya P
bef80b3fc3 [device/dx010] configuration port index start from 1 (#1927)
* update sfputil, port indext start from 1

* DX010 update SKUs port config index

Port index in port_config.ini now start from 1.
* Seastone-DX010-10-50 port config update
* Seastone-DX010-50 port config update
* Seastone-DX010 port config update

* Update dx010 sfputil plugin

 * Implement lpmode set function.
 * Implement transceiver reset function.
 * Python code style format.

* Remove new line at the end of port_config.ini

 *New line cause parsing error in sfputilbase.

* Add get_transceiver_change_event method

 *This needed by new sfputilbase implement.

* Fix unintended line breaks
2018-11-07 23:09:22 +00:00
Joe LeVeque
e710527382 [caclmgrd] Add a rule to allow all connections from localhost (#1858) 2018-11-03 12:54:28 +00:00
Ying Xie
f089d14970 [console speed] lock console speed to start up speed (#2222)
Auto negotiating console speed could cause sonic to lock on a wrong
speed under rare conditions. The only way to come out of the wrong
speed is to issue line break or restart console service with forced
speed, or reboot sonic.

Lock down the console speed to avoid these situations.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-11-01 15:11:27 -07:00
Andriy Moroz
ce54ef7256 [mellanox]: Update MFT tools to v4.9.0 (#2207)
Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2018-10-30 01:49:36 -07:00
pavel-shirshov
e2d565ae03 [teamd] Force team device recreation in case it already exists (#2168)
* Force team device recreation in case it already exists
2018-10-18 22:22:45 +00:00
Taoyu Li
2aac4c4822 [tacplus nss conf] tacplus should be before compat (#2163) 2018-10-18 22:22:38 +00:00
pavel-shirshov
969ba5b2a7 [lldpd]: Use kernel autoprobe for netlink socket .nl_pid portion of the address (#2164) 2018-10-18 02:32:50 +00:00
Qi Luo
6a9bfafb10 [syncd] Treat bcmcmd as a supervisor task so we could collect stdout/stderr (#1825) 2018-10-17 15:39:04 +00:00
paavaanan
aa08555299 [devices]: Dell Z9100 T0 T1 MMU/QoS fixes (#2126)
* Dell Z9100 T0 PFC fixes

* Addressed review comments. Fixed QoS, Changed SKU's, and sorted bcm.config

* Adressed review comments and modified T0 and T1 profiles
2018-10-15 18:14:26 -07:00
Samuel Angebault
15ae2a799c [devices]: Align flash partition at 1M (#2104)
Flashes used for the 7050QX-32 and 7050QX-32S have a fw issue.
The best option to solve the problem is to upgrade to a newer firmware.
However this can only be done while in memory and take 10 seconds.
Adding an upgrade mechanism is possible but would need more
consideration as flashing the firmware and reformating the flash will
exceed the fast-reboot requirements.

A quick mitigation is to align the ext4 partition that we create on
these vfat based system on a 4k boundary.
Here we chose 1M instead but it's the same.
Newer version of sfdisk do this automatically but the one in SONiC
today doesn't have this behavior.

This workaround will only reduce the pace of the flash health
degradation. The only long term fix is to flash the firmware.
2018-10-15 22:24:08 +00:00
Guohan Lu
97fe497b84 [submodules]: update sonic-sairedis and sonic-utilities to use mac from syseeprom
sonic-sairedis
* 82fcc31 2018-07-04 | Use MAC from EEPROM for Interfaces (#329) (origin/201803) [Andriy Moroz]

sonic-utilities
* c0c9762 2018-06-26 | Optimize platform info fetch (#276) (HEAD, origin/201803) [Andriy Moroz]

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-10-13 20:34:16 +00:00
Andriy Moroz
4d12746491 [Mellanox] Update hw-management service config (#1914)
Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2018-10-13 20:30:32 +00:00
Andriy Moroz
5d0748df03 [Mellanox] Use MAC from EEPROM for PortChannels and VLAN Interfaces (#1793)
* Use MAC from EEPROM for PortChannels

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Use MAC from EEPROM in DEVICE_METADATA

Will affect MAC for VLAN interfaces

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Get MAC via decode-syseeprom

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* hw-management is now a service

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Add error handling for MAC fetch process

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2018-10-13 20:28:07 +00:00
Qi Luo
de7f5ac907 [devices]: Add index column to Mellanox-SN2700-D48C8/port_config.ini (#2146)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-10-13 20:17:41 +00:00
zhenggen-xu
773ed99d0a [security] Upgrade kernel to 3.16.57-2 on 201803 branch (#2116)
* [security] Upgrade kernel to 3.16.57-2

Fix issues below:
https://www.debian.org/security/2018/dsa-4120
https://www.debian.org/security/2018/dsa-4179
https://www.debian.org/security/2018/dsa-4187
https://www.debian.org/security/2018/dsa-4188
https://www.debian.org/security/2018/dsa-4196

and more.

* update opennsl-modules-3.16.0-6-amd64_3.4.1.11-7_amd64.deb package

Signed-off-by: Guohan Lu <gulv@microsoft.com>

* [mellanox] update sdk base url (new kernel version)
2018-10-10 23:41:27 -07:00
stepanblyschak
eba171b222 [submodules]: update submodules for MGMT PORT over SNMP support (#2113)
* [submodules]: update sonic-snmpagent, sonic-py-swsssdk

Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>

* [submodules]: update sonic-swss, sonic-swss-common

Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2018-10-08 10:58:13 -07:00
Guohan Lu
431a9f67d5 [broadcom]: update SAI to 3.1.3.4-18
Merged PR 1138465: Disable port global pause frame rx processing logic [Wenda Ni]

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-10-05 20:16:22 +00:00
Wenda Ni
3b12ffe373 [devices]: a7060, a7260 qos & buffer config change: 1) DSCP 46 to 5; 2) ecn config; 3) ecn (#2121)
on by default; 4) DWRR equal weight; 5) ingress lossless alpha 1/8

Signed-off-by: Wenda Ni <wenni@microsoft.com>
2018-10-04 16:43:44 -07:00
zzhiyuan
f586cfa09c [devices]: Fix configurations for 7050QX-32S-S4Q31 (#2119)
- Correct lane map in broadcom configuration
- Add writes to txdisable bits for SFPs in hwsku-init
- Add correct hwsku-init implementation for 201803 branch
2018-10-04 14:31:12 -07:00
Taoyu Li
f333342dd6 [minigraph parser] add basic support for MGMT_PORT (#2103)
* [minigraph parser] add basic support for MGMT_PORT

* Change method to determine local interface name
2018-10-02 13:02:38 +00:00
Wenda Ni
3f58ca1487 [qos]: Resolve ecn runtime config save conflict with default config (#2109)
* Avoid ecn default config conflict with saving runtime ecn on/off on queues

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

* S6000 qos & buffer config change: 1) DSCP 46 to 5 2) ecn config 3) ecn on by default
4) DWRR equal weight 5) ingress lossless alpha 1/8

Signed-off-by: Wenda <wenni@microsoft.com>
2018-10-02 05:30:48 -07:00
Guohan Lu
ad4e9c3fb2 [submodules]: update sonic-utilities
* 1e6470a 2018-10-01 | Root priviliege for ecn configuration set commands (#332) (HEAD, origin/201803) [Wenda Ni]

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-10-02 01:37:15 +00:00
Guohan Lu
aef6a31d93 [submodule]: update linux kernel module
* 652f259 2018-10-01 | [Kernel] fix kernel build errors (#65) (HEAD, origin/201803) [Ying Xie]
* 55c7a19 2018-10-01 | uart: fix race between uart_put_char() and uart_shutdown() (#64) [lguohan]

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-10-01 20:48:37 +00:00
Guohan Lu
6009d0c4f1 [submodule]: update sonic-utilities
69c5b03 2018-10-01 | require root privilege for all pfcwd configuration commands (#330)

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-10-01 07:36:25 +00:00
Guohan Lu
974b066872 Added platform module start/stop service for Dell S6100/Z9100 platforms
- Introduced systemd .service files to start and stop platform drivers.

- Moved depmod in *.postinst files. So, during first-time boot depmod is triggered post package installation and drivers will be loaded without any issues.

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-09-29 05:43:47 +00:00
Ying Xie
19147a4dfc [7050] device specific hwsku-init file needs execution privilege (#2100)
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-09-28 14:16:57 -07:00
Qi Luo
de0add87d0 Update submodule: sonic-snmpagent for Fix PFC counters TX/RX (#2095)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-09-28 01:59:24 -07:00
Ying Xie
2eee201e27 [7050] Rename HWSKU Arista-7050-Q31S4 to Arista-7050QX-32S-S4Q31 (#2089)
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-09-26 23:07:46 -07:00
Samuel Angebault
f9bca94d72 [arista]: Fix mount point discovery in boot0 for overlayfs (#1959)
On overlay filesystem the name of the mountpoint will also match in the
mount command for overlayfs as upperdir=
To prevent detecting the wrong partition we now look for space before.
This ensure that we match mountpoint and not devices in df and mount
outputs.
2018-09-26 02:41:50 +00:00
Guohan Lu
81e5178788 [build]: fix file permission to have a clean build
debian/rules should be 755 and will be modified to 755 if not, which
can cause the image to be marked as dirty

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-09-25 16:29:34 +00:00
zzhiyuan
b066c7c275 [devices]: Add new hwsku Arista-7050-Q31S4 (#2077) 2018-09-25 00:59:01 -07:00
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