Commit Graph

1973 Commits

Author SHA1 Message Date
Mykola F
52c533fe01 [lldpmgr] add mgmt ip to lldpd conf template, handle port description/alias changes (#2396)
* [lldpmgr] add mgmt ip to lldpd conf templte, handle port description/alias config

Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>

* fix typo

* [config-engine] update test sample output lldpd.conf

Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>

* fix the log message

* fix lldpd.conf.j2
2019-01-30 11:05:36 +02:00
Prince Sunny
3f6ad44230
Submodule update for sonic-swss (#2498)
* Updated to commit dee34bc [wartermarkorch]
2019-01-29 18:28:19 -08:00
lguohan
bc3f649631
[swss]: remove intfsyncd service (#2499)
intfsyncd is replaced by intfmgrd service

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2019-01-29 10:36:04 -08:00
Prince Sunny
5fe13ad93b
Disable IPv6 ra for eth0 interface (#2493)
* Disable IPv6 ra for eth0 interface
2019-01-29 09:03:23 -08:00
Joe LeVeque
39b60d2a50 [reboot cause] Move reboot-cause files to /host directory so they persist across SONiC upgrades (#2490)
* [reboot cause] Move reboot-cause files to /host directory so they persist across SONiC upgrades

* [sonic-utilities] Update submodule to include related changes
2019-01-29 03:42:19 -08:00
Joe LeVeque
8f43cad061 [rsyslog] Suppress duplicate messages from base image and all Docker containers (#2497) 2019-01-29 03:41:40 -08:00
Joe LeVeque
d1b72fdd28 [make reset] Also remove fsroot directory (#2489) 2019-01-25 17:02:54 -08:00
lguohan
36a9678d3e
[baseimage]: install cgroup-tools and set udp_l3mdev_accept=1 (#2485)
cgroup-tools is required to bind a process to l3mdev master

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2019-01-25 11:47:09 -08:00
lguohan
0f7375a21b
[sonic-slave]: install openjdk-8 for jenkins slave (#2484)
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2019-01-25 10:16:45 -08:00
lguohan
4ccd35bc25
[kernel]: update sonic kernel to 4.9.0-8-2 (#2468)
* [kernel]: update sonic kernel to 4.9.0-8-2

* 3b2114d 2019-01-20 | [sonic-linux-kernel] add udp_l3mdev_accept kernel upstream patch (#70) (HEAD, azure/master) [Harish Venkatraman]
* 37734aa 2019-01-10 | L3mdev cgroup (#73) [lguohan]
* d631eeb 2018-12-15 | yet another uart race condition fix (#75) [lguohan]

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

* Update Mellanox SDK

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

* Update arista platform driver to match 4.9.0-8-2 kernel

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2019-01-25 00:46:09 -08:00
Joe LeVeque
ffbe39ee73 [dockers] Prevent old supervisord messages from gettting re-logged to syslog (#2439) 2019-01-24 13:13:19 -08:00
stepanblyschak
c998dc81d2 [slave.mk] Fix DEB_BUILD_OPTIONS passing (#2473)
Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2019-01-23 18:49:44 -08:00
zhenggen-xu
a695d142fc [devices]: Support 32x50G+16x40G profile on Seastone-DX010 (#2474)
The sai profile itself can support 32x50G+16x100G/40G while
the initial port_config.ini uses 40G speeds for port 17-32.

Signed-off-by: Zhenggen Xu <zxu@linkedin.com>
2019-01-23 18:47:46 -08:00
Joe LeVeque
116ddb996a [caclmgrd] Don't crash if we find empty/null rule_props (#2475)
* [caclmgrd] Don't crash if we find empty/null rule_props
2019-01-23 18:47:05 -08:00
Wataru Ishida
12735abc51 [build]: add fastentrypoints which is used for sonic-utilities build (#2479)
https://github.com/Azure/sonic-utilities/issues/438

Signed-off-by: Wataru Ishida <ishida@nel-america.com>
2019-01-23 18:46:15 -08:00
bbinxie
4e905e8c0a [Celestica]: Update port led code for seastone-xp (#2476) 2019-01-23 18:44:19 -08:00
KIRAN KUMAR KELLA
e6251bd9d5 [devices]: ALPM is not working on AS5712/TD2 platforms. (#2469)
- Also initialized the number of cos queues in AS5712 to 8.
    Else the interfaces are not coming up due to a lower default value of cos queues in AS5712.

  Fix:
    - Enable alpm settings in the platform config file for AS5712.
    - With the current values of l2_mem_entries (163840) and l3_mem_entries (81920), the memory is not sufficient. Scale them down to the
      values that work for ALPM in as5712 [l2_mem_entries = 32768, l3_mem_entries = 16384].

  Signed-off-by: kiran.kella@broadcom.com
2019-01-23 01:14:47 -08:00
Ying Xie
8a1d73d76d
[Broadcom SAI] Upgrade Broadcom SAI to 3.3.4.3-1 (#2472)
- Broadcom SAI 3.3 GA 20190118.
- With warm reboot support.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-01-22 14:49:10 -08:00
padmanarayana
cacff75df5 [devices]: Make the get_transceiver_change_event's epoll blocking S6100/Z9100 (#2459) 2019-01-18 01:57:06 -08:00
Wei Bai
43de8368f5 [docker-frr]: Enable FPM (#2464)
[docker-frr]: Enable FPM
2019-01-18 01:47:15 -08:00
Stegen Smith
53685df949 [docker-frr]: updated daemons for frr 6.0.2 (#2461)
Signed-off-by: Stegen Smith <stegen@owns.com>
2019-01-18 00:03:23 -08:00
Prabhu Sreenivasan
f28a670097 [baseimage]: Avoid removing localhost entry from /etc/hosts file (#2452)
- What I did
This fix removes the possibility of 'localhost' entry getting removed from /etc/hosts file by hostname-config service.

Without this change, whenever we change the hostname from 'localhost' to any other name on the config_db.json and reload the config, /etc/hosts file will only have the new hostname on it. But there are multiple sonic utilities (eg: swssconfig) which relies on the hard coded 'localhost' name and they tend to stop working.

- How I did it
Added a new check on hostname-config.sh script to avid blindly deleting the line containing the old hostname from /etc/hosts file. Now it will delete the old hostname only if its not localhost or when the hostname is not changing.

- How to verify it

Bring up SONiC on a device with hostname as localhost
Edit /etc/sonic/config_db.json to update the 'hostname' filed under DEVICE_METADATA from "hostname" : "localhost" --> "hostname" : "sonic"
run config reload -y to reflect the hostname change done on config_db.json file.
cat /etc/hosts and check whether both 127.0.0.1 localhost and 127.0.0.1 sonic entry are present on the file.
ping localhost should work fine.
- Description for the changelog
Make hostname-config service more robust in handling SONiC hostname change from localhost to anything else.
2019-01-17 22:47:19 -08:00
stepanblyschak
20dfb03359 [mellanox|ffb] ISSU version check (#2437)
* Revert "[mellanox]: Integrate CRIU tool to SYNCD docker container (#2061)"

This reverts commit 514b38f348.

Conflicts:
	platform/mellanox/docker-syncd-mlnx.mk
	sonic-slave/Dockerfile

* [mellanox|ffb] remove unused scripts

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

* [mellanox|ffb] ISSU version check

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

* [mlnx|ffb] remove extra ';'

Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2019-01-17 14:41:32 -08:00
jostar-yang
e67f1da9ba [devices]: Fix cpld sysfs permisson error for accton devices (#2457) 2019-01-17 08:56:46 -08:00
Nikos
4ed5cb4ef1 [docker-frr]: Move FRR from 4.0 to 6.0.2 and make the new frr version and debian package compile (#2454)
Signed-off-by: nikos <ntriantafillis@gmail.com>
2019-01-16 18:34:41 -08:00
Ying Xie
8542a291e1
[sub-module] advance sonic-swss sub-module (#2453)
To include following changes:

- [teammgrd]: Add retry logic for starting port channel with teamd (#756)
- [portsorch] fix bug in initializePort (#753)
- [intfmgrd] Fix intfmgrd hanging untill first interface becomes ready (#748)
- [intfmgrd]: Support loopback (#742)
-Improve comments for neighbor warmrestart related functions and warmRestartAssist class (#740)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-01-16 14:42:59 -08:00
Samuel Angebault
bfe46e0f1d [docker-engine] fix systemd shutdown hang (#2451)
When rebooting without the platform_reboot plugin, systemd takes a few
minutes to properly shutdown. It's blocking on some docker cleanup
operation.

As described by https://github.com/docker/for-linux/issues/421 there
is a race between docker.service and containerd.service.
docker needs containerd to properly stop the containers.
2019-01-16 01:54:14 -08:00
Shuotian Cheng
09b9db03d3 [libteam]: Fix libteam race condition when interface is created and enslaved (#2449)
The race condition could happen like this:
When an interface is enslaved into the port channel immediately after
it is created, the order of creating the ifinfo and linking the ifinfo to
the port is not guaranteed.

Please check the patch commit message to get full details.

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2019-01-16 00:02:16 -08:00
zzhiyuan
0256af3f5a Add new hwsku Arista-7170-Q59S20 (#2450) 2019-01-15 23:07:12 -08:00
Kevin(Shengkai) Wang
b3abf9af7f [docker-platform-monitor] add psud daemon to Pmon (#2423)
* Add psud daemon to pmon container
* Update submodule sonic-platform-daemons

Submodule update sonic-platform-daemons:

e5d8155 - [sonic-psud] add a new daemon sonic-psud to platform monitor (#20)

Signed-off-by: Kevin Wang <kevinw@mellanox.com>
2019-01-15 21:24:47 -08:00
Nikos
e55a7d7db7 [baseimage]: Initial changes for dhcp to support eth0 in a mgmt vrf (#2348)
* Initial changes to support eth0 in a mgmt vrf
2019-01-15 18:15:56 -08:00
Wenda Ni
b7330ddfc3 [buffer]: Add buffer defaults for t0 on s6000 and a7050 (#2438)
Signed-off-by: Wenda <wenni@microsoft.com>
2019-01-15 15:34:33 -08:00
paavaanan
9c70e65d54 [device/Dell] SOSFTDEP to lpc_ich module for dell_ich module (#2440)
dell_ich module fails to load sometimes due to the failure of pci_get_drvdata().

This function is responsible for fetching INTEL PCI related memory handle in kernel. This is implemented in lpc_ich kernel module.

Due to race in addition/deletion of kernel modules, sometimes lpc_ich loads after dell_ich.

Because of this behaviour dell_ich module fails to load.

Fixed by addding dependency between modules.

Removed i2c_mux_gpio module from blacklist entry as it is not the original root case of this issue.
2019-01-15 15:32:37 -08:00
stepanblyschak
878c5237ba [docker-base]: Install gdbserver if INSTALL_DEBUG_TOOLS=y (#2448)
Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2019-01-15 15:29:52 -08:00
Joe LeVeque
3c67c70c34 [lldp] For MGMT port, if port alias is available, use it for Port ID subtype; otherwise use port name (#2445) 2019-01-15 11:27:46 -08:00
stepanblyschak
a58b606df0 [mellanox] Update SDK to 4.3.0134 (#2447)
Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2019-01-15 11:27:24 -08:00
Marian Pritsak
178764e3fa
[swss][supervisord.conf] Remove intfsyncd 2019-01-13 16:04:39 +02:00
Joe LeVeque
46fd322877 [docker-database] Add missing '%' in '%syslogtag%' (#2434) 2019-01-11 17:46:32 -08:00
Andriy Moroz
c6dfbd82d2 [submodule] Update swss pointer (#2432)
Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2019-01-10 18:58:50 -08:00
stepanblyschak
ec7b1d1eba [mellanox|ffb] enable ISSU feature for SN2700 (#2385)
Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2019-01-10 14:13:04 -08:00
stepanblyschak
ff526dd103 [mellanox|ffb] use system level warm reboot for Mellanox fastfast boot (#2374)
* [mellanox|ffb] use system level warm reboot for Mellanox fastfast boot

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

* [mellanox|ffb] add comments for mellanox start/stop drivers section

Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2019-01-10 14:09:03 -08:00
stepanblyschak
ae190725ff [mellanox] Update SDK to 4.3.0132 (#2430)
Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2019-01-09 21:11:03 -08:00
Sudharsan D.G
1ffb34b4e3 [devices]: Dell z9264f bringup (#2415)
* Updating Z9264f for A01 board

* Adding platform_reboot plugin to Z9264f

* Change execute mode for platform_reboot

* Indenting python files

* Adding missed service file

* Addressing code review comments

* Modified the polling logic in transceiver change event
2019-01-08 21:14:18 -08:00
Harish Venkatraman
65f6253519 [Dell] z9100 port qos & buffer changes of 0330 to master (#2266)
This commit has the forward porting of changes from 20180330
to master. Unit tested by checking the broadcom registers
for the values. The values in hardware reflect the correct values
except for TC to PFC priority group map values. Master branch values
for TC to PFC priority group map for both z9100 and s6100 in incorrect,
I have a build of Oct 12 master and the values are correct in
that build.

Signed-off-by: Harish Venkatraman <Harish_Venkatraman@Dell.com>
2019-01-08 18:14:42 -08:00
padmanarayana
14a0297128 [devices]: Address Dell issue#46 : Adding MUX reset logic to fix probe failures (#2356) 2019-01-08 15:27:16 -08:00
Kevin(Shengkai) Wang
1acb6717d9 [mellanox] Block the select function by default in get_transceiver_change_event() (#2422)
* Use default timeout value which will block the select function
* Submodule update for argument type issue in Select class

Submodule update sonic-swss-common:

e8caaea - Align the argument type with epoll_wait() (#255)
3ea133d - [selectable]: Update throw message (#253)

Signed-off-by: Kevin Wang <kevinw@mellanox.com>
2019-01-08 11:09:33 -08:00
paavaanan
ab6a52f122 [devices]: platform_reboot support for Dell S6100/Z9100 platforms (#2420) 2019-01-07 19:16:31 -08:00
stepanblyschak
584842db6c [submodules]: Update sairedis, utilities pointers (#2421)
Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2019-01-07 19:15:34 -08:00
lguohan
b57a376622
[docker-engine]: upgrade docker engine to 18.09 (#2417)
* [docker-engine]: upgrade docker engine to 18.09
2019-01-04 20:47:43 -08:00
Kebo Liu
f0b2190b23 [Mellanox sfputil ] fix lpmode set failure on Mellanox platform (#2408)
* fix set lpmode failure issue

* fix review comments
2019-01-04 09:37:03 -08:00