Commit Graph

1634 Commits

Author SHA1 Message Date
paavaanan
0c2472a040 [device]: xcvrd support for Dell S6100 (#2041) 2018-09-13 23:41:17 -07:00
Kebo Liu
ac7e06debd [devices]: add stubs for new API in SfpUtilBase for all devices (#2038) 2018-09-12 09:40:29 -07:00
Ying Xie
5d23a43c4c [make file] add document for KEEP_SLAVE_ON with stretch builds (#2035)
* [make file] add document for KEEP_SLAVE_ON with stretch builds

Signed-off-by: Ying Xie <ying.xie@microsoft.com>

* Update Makefile.work
2018-09-12 00:23:00 -07:00
Taoyu Li
47c9542c63 Don't reuse init_cfg.json from old image during upgrade (#2036) 2018-09-11 21:26:51 -07:00
Shuotian Cheng
5c6948a90e [minigraph]: Add PORTCHANNEL_MEMBER configurations (#2034)
Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2018-09-11 18:07:46 -07:00
lguohan
860de856a8
[rsyslog]: use # to separate container name and program name in syslog message for syncd containers (#2031)
previous commit f3ca7c422f
missed syncd containers

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-09-11 14:57:29 -07:00
Shuotian Cheng
a06d28eaa0 [common]: Update sonic-swss-common submodule (#2033)
Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2018-09-11 14:57:13 -07:00
ironjosh
2d43385927 [baseimage] set default locale en_US.UTF-8 (#1988)
* [baseimage] set default locale en_US.UTF-8

Signed-off-by: chenhu <chenhu@didichuxing.com>

* [baseimage]set default locale to en_US.UTF-8, clean all other unused

* [baseimage] update-locale after locale-gen

* correct update-locale command line

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-09-11 03:15:19 -07:00
padmanarayana
c4154eb9a9 [devices]: Add GPIO interrupt enable for Z9100/S6100 and transceiver-plug-inout-event for Z9100 (#2025) 2018-09-09 00:13:19 -07:00
lguohan
22edc33896
[broadcom]: upgrade SAI to 3.1.3.5-8 (#2028)
Fix get_fdb_entry_attribute bridge port ID [Shuotian Cheng]

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-09-07 12:59:10 -07:00
Jipan Yang
3f049d33bf Warm reboot: Don't load json conifg like copp, ininip, ports and switch again upon… (#1939)
* Don't load json conifg like copp, ininip, ports and switch again upon swss warm start

Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>

* double check DB data exists in case only swss warm restart is configured at system reboot

Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>

* Double check existence of db data before skipping json load, and format update

Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
2018-09-07 12:25:38 -07:00
lguohan
588da73a7d
[kernel]: update sonic linux kernel submodule (#2027)
* a910776 2018-09-07 | import upstream optoe chunk offset fix (#60) [lguohan]
* 5b4c0aa 2018-09-04 | enable GPIO_ICH (#59) [klhaung]

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-09-07 10:40:20 -07:00
paavaanan
6af462ac53 Dell platform modules for S6100/Z9100 is added with systemd support (#2026) 2018-09-06 23:27:23 -07:00
pavel-shirshov
48f3b6c008 [sonic-swss]: Update sonic-swss. vxlan enhancements (#2021) 2018-09-05 18:45:48 -07:00
lguohan
be9f3ad7c1
[build]: use vfs storage driver to build dockers (#2016)
seen issues to build dockers using aufs in ubuntu 18.04

Immedidate dockers are exported to docker file and then
imported into sonic image. Thus, whether using vfs or aufs
as the storage driver does not matter for the immediate build.

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-09-05 15:28:32 -07:00
Pradchaya P
d3c1423d08 [platform/dx010] Fix issing qsfp_reset sysfs file (#2007)
* Fix qsfp_reset file missing.

* [platform/dx010] Add systemd unit for platform init.
2018-09-05 10:10:13 -07:00
lguohan
dc22ed076a
[platform-common]: update sonic-platform-common (#2018)
6d8c940 [sff8472] Fix incorrect VendorOUI decode type. (#11)

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-09-05 10:08:48 -07:00
Samuel Angebault
30c254fbc2 [arista] Update swi building recipe (#2014) 2018-09-04 22:33:50 -07:00
Joe LeVeque
35d93f0c3b [build] Remove sudo calls from build process (#2015)
* [build] Remove sudo calls from build process

* Make regex more strict
2018-09-04 22:32:46 -07:00
Sun Yongfeng
4715dbb796 [SNMP] fix issue #1874, ERR snmpd[34]: Error allocating more space for arpcache. Cache will continue to be limited to 4096 entries (#1989) 2018-09-04 01:40:14 -07:00
StanleyCi
2cce4aec1c [device] Update ag9032v1 and ag9064 modules. (#1690)
* Update ag9032v1 and ag9064 modules.

Signed-off-by: neal tai <neal.tai@deltaww.com>

* Fix the sfputil.py when convert an integer to hexadecimal without the 'L' trailing.

Signed-off-by: neal tai <neal.tai@deltaww.com>
2018-09-01 13:52:38 -07:00
Kebo Liu
fd5a3cf6fb [console speed] Inherit console speed from install environment (#1987)
* pick up console speed from install enviroment

* get console speed from /proc/cmdline

* add CONSOLE_PORT handle
2018-09-01 13:30:31 -07:00
jackyjs
14a0b8c8a3 [devices]: Add Delta Platform et-6248brb (#1640)
* Add Delta Platform et-6248brb

Signed-off-by: jackyjsliu <JACKY.JS.LIU@deltaww.com>

* add Broadcom configuration file

Signed-off-by: jackyjsliu <JACKY.JS.LIU@deltaww.com>

* modify Broadcom configuration file
2018-09-01 13:25:46 -07:00
lguohan
26850b351f
refactor bcm attribute checker (#1974)
* refactor bcm attribute checker

* exclude phy_84752 and phy_84328

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-30 22:47:43 -07:00
Shuotian Cheng
674b58e2a2 [snmpagent]: Update sonic-snmpagent submodule (#2001)
- Fix NameError: name 'logger' is not defined bug

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2018-08-30 05:28:22 -07:00
Rodny Molina
0d75b2ac45 Deleting stretch-branch pointer from .gitmodules (#2003)
Removing .gitmodules pointer to inexistent linux-kernel branch.

rmolina-mn1:sonic-buildimage rmolina$ git submodule update --recursive --remote
..
fatal: Needed a single revision
Unable to find current origin/stretch revision in submodule path 'src/sonic-linux-kernel'
...

Signed-off-by: Rodny Molina <rodny@linkedin.com>
2018-08-30 05:18:06 -07:00
pavel-shirshov
c1ef5becad [submodules]: swss vxlan support (#2000) 2018-08-29 22:26:44 -07:00
stepanblyschak
90f6881e08 [mellanox] Enhance mlnx-fw-upgrade.sh (#1994)
Install a new FW by specifying FW path (mlnx-fw-upgrade.sh /path/to/FW)
or use default at '/etc/mlnx/fw-SPC.mfa'

Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2018-08-29 08:51:02 -07:00
Pradchaya P
e8db1846ad [platform-device/haliburton] Support xcvr and sensor monitoring (#1998)
* [platform/haliburton] Fix kernel panic when remove smc module.

* [platform/haliburton] Chanage sysfs to support module interrupt

* [device/haliburton] Update sfputil to use new sysfs.

* [device/haliburton] sfputil to support xcvrd monitoring.
2018-08-29 08:50:29 -07:00
Volodymyr Samotiy
929ef530ce [mellanox]: Update SAI, SDK, FW pointers (#1996)
* SAI v1.12.3 (API headers v1.3.3)
* SDK v4.2.8300
* FW v13.1703.0000

Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2018-08-29 11:12:47 +03:00
Shuotian Cheng
f85a75c811
[debian]: Enable keep_addr_on_down to keep IPv6 addresses (#1992)
Starting from kernel 4.6, this new attribute keep_addr_on_down
is introduced (https://kernelnewbies.org/Linux_4.6).

If set, static global addresses with no expiration time are not
flushed.

Ref:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f1705ec197e705b79ea40fe7a2cc5acfa1d3bfac

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2018-08-28 14:40:01 -07:00
Jipan Yang
3f37b96de6 [swss]: Add support for swss docker warm restart (#1982)
Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
2018-08-25 01:39:09 -07:00
zzhiyuan
1157dbb4f5 [arista]: Update arista submodule to fix transceiver event (#1986) 2018-08-25 01:02:35 -07:00
cpchang
02322182fc [Quanta/device] Modify psuutil.py and config.bcm of IX1B (#1985)
* Fix LED activity behavior

* Modify psuutil.py and config.bcm of IX1B
2018-08-24 14:05:19 -07:00
lguohan
83f0822dde
[build]: run docker info at later stage in the build (#1984)
wait till docker service started

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-24 10:33:56 -07:00
Shuotian Cheng
ad5b14cd3c [vs]: Add pip install six (#1978)
sonic-utilities requires six

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2018-08-23 19:11:53 -07:00
Wirut Getbamrung
27bdc00be3 [platform/device] - Update Haliburton platform modules and device configuration (#1975)
* Add psuutil and sfputil support

* Fixed fancontrol issue

* Add sensor's label

* Update haliburton platform modules
2018-08-23 13:43:05 -07:00
Shuotian Cheng
a99008356b [dell]: Remove depmod -a from the platform initialization script (#1954)
depmod -a will be executed automatically after the package get installed

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2018-08-22 17:12:05 -07:00
Ying Xie
7eacb683c4 [baseimage]: update make file for initramfs-tools (#1967)
Call add_extra_package instead add_derived_package. Because the 'extra'
package doesn't require 'base' package to be installed to be built.

This change enables make stretch with multiple threads.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-08-22 13:04:58 -07:00
Wenda Ni
a5fd3beb1b [mellanox]: Enable WRED red color profile on mellanox platform (#1968)
Signed-off-by: Wenda <wenni@microsoft.com>
2018-08-22 13:03:52 -07:00
lguohan
80c6453731
[swss]: simplify swss systemd service file (#1965)
move the swss service start/stop logic into /usr/local/bin/swss.sh

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-22 13:02:32 -07:00
Volodymyr Samotiy
ada11409b2 [mellanox]: Fix sysfs path for PSU devices in psuutil plugin (#1966)
Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2018-08-22 09:08:08 -07:00
Samuel Angebault
d7be9a41c0 [kernel]: Update sonic-linux-kernel pointer (#1964) 2018-08-22 02:37:53 -07:00
yurypm
de0e892eaa [arista] Fix arista-convertfs script (#1961) 2018-08-21 15:19:31 -07:00
lguohan
a01791ebcd
[vs-test]: support python docker 3.5.0 (#1958)
* [vs-test]: support python docker 3.5.0

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-21 10:10:58 -07:00
Samuel Angebault
788b20ee12 [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-08-21 00:58:16 -07:00
Shuotian Cheng
450cb04176 [utilities]: Update sonic-utilities submodule (#1956)
Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2018-08-21 00:55:39 -07:00
Qi Luo
c692d2dcd0 [baseimage]: Build specific revision of initramfs-tools (#1957)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-08-21 00:00:46 -07:00
Qi Luo
454690506e [kernel]: upgrade kernel to 4.9.0-7 (4.9.110-3+deb9u2) (#1955)
* [kernel]: upgrade kernel to 4.9.0-7 (4.9.110-3+deb9u2)

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

* Update submodule

Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-08-20 21:10:49 -07:00
Shuotian Cheng
d9527ec5cb
[utilities]: Update sonic-utilities submodule (#1949)
Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2018-08-20 11:19:28 -07:00