Commit Graph

2694 Commits

Author SHA1 Message Date
Prince
22b33fd66f [Submodule] Update sonic-utilities 2020-03-23 21:24:13 +00:00
Prince
cc8249f8f0 [Submodule] Update sonic-swss 2020-03-18 00:52:17 +00:00
Ying Xie
f5df01c7f1 Revert "[services] make snmp.timer work again and delay telemetry.service (#3657)" (#3729)
This reverts commit d346cb3898.
2020-03-18 00:34:09 +00:00
Stephen Sun
035c20a023 [Mellanox]Take advantage of sdk variable to customize the location where sdk_socket exists. (#4223)
Take advantage of an SDK environment variable to customize the location where sdk_socket exists.
In the latest SDK sdk_socket has been moved from /tmp to /var/run which is a better place to contain this kind of file.
However, this prevents the subdirs under /var/run from being mapped to different volumes. To resolve this, we take advantage of an SDK variable to designate the location of sdk_socket.
This requires every process that requires to access sdk_socket have this environment variable defined. However, to define environment variable for each process is less scalable. We take advantage of the docker scope environment variable to avoid that.
It depends on PR 4227
2020-03-18 00:30:26 +00:00
Kebo Liu
1f2a504500 Update SDK to 4.3.3052 (#4153)
update FW to xx_2000_3298
update SAI to 1.16.0

update Spectrum-1 and Spectrum-2 buffer pool size according to the new SDK default config change.

	modified:   ../../device/mellanox/x86_64-mlnx_msn2700-r0/ACS-MSN2700/buffers_defaults_t0.j2
	modified:   ../../device/mellanox/x86_64-mlnx_msn2700-r0/ACS-MSN2700/buffers_defaults_t1.j2
	modified:   ../../device/mellanox/x86_64-mlnx_msn3700-r0/ACS-MSN3700/buffers_defaults_t0.j2
	modified:   ../../device/mellanox/x86_64-mlnx_msn3700-r0/ACS-MSN3700/buffers_defaults_t1.j2
	modified:   fw.mk
	modified:   mlnx-sai.mk
	modified:   mlnx-sai/SAI-Implementation
	modified:   sdk-src/sx-kernel/Switch-SDK-drivers
	modified:   sdk.mk

signed-off by kebol@mellanox.com
2020-02-20 00:19:21 +00:00
Prince Sunny
658f76b2e8 Fix service and container name to be same (#4151) 2020-02-14 20:00:29 +00:00
Sumukha Tumkur Vani
bee0e8c96a Start RestAPI container when sonic boots (#4140)
* Start RestAPI container when sonic boots
2020-02-13 00:53:03 +00:00
pavel-shirshov
0d190b0384 teamd: fix possible race in master ifname callback (#4109)
- What I did
Ported a fix from libteam master to our master.
Fixes #4070
Fixes #3649

- How I did it
Applied patch jpirko/libteam@c723737 from upstream.

- How to verify it
Build image for your DUT and warm-reboot your DUT 10 times. Check that all PortChannels are up and no error messages in teamd.log
2020-02-11 19:13:33 +00:00
Prince
831b8834a7 [Submodule] Update swss and sairedis (1.5.1 SAI version) 2020-02-11 01:39:47 +00:00
Sumukha Tumkur Vani
6f24efc889 [docker-restapi]: Avoid building RestAPI docker by default (#4018)
Provide build option for RESTAPI docker
2020-02-05 21:53:47 +00:00
Sumukha Tumkur Vani
42b93a0817 Changes to build restapi docker (#3993) 2020-02-05 21:49:38 +00:00
tahmed-dev
45f942ff05 [libnl]: Debian Packaging libnl version 3.5.0 (#3967)
Packaging libnl 3.5.0 based off libnl 3.2.27 packaging. libnl contains various bug fixes that are nice to have.

pull-request: https://github.com/Azure/sonic-buildimage/pull/3967
signed-off-by: Tamer Ahmed <tamer.ahmed@microsoft.com>
2020-02-03 17:08:48 +00:00
Volodymyr Samotiy
a28a4b7a38 [Mellanox] Update SAI/SDK/FW versions (#4028)
* SAI implementation 1.15.5 (headers 1.5.1)
* SDK 4.3.2908
* FW xx.2000.2720

Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2020-01-29 22:28:41 +00:00
pavel-shirshov
2ba3f4d067 [frr]: Update FRR to 7.2.1 (#4066)
Update rules for frr package.
Update frr submodule
2020-01-29 01:33:36 +00:00
wangshengjun
138c9a415e [FRR]there is no need to checkout master branch after compiling frr. (#3941)
Signed-off-by: wangshengjun <wangshengjun@asterfusion.com>
2020-01-29 01:33:10 +00:00
pavel-shirshov
866e96c0a3 Update frr with latest changes from frr master (#3806) 2020-01-29 01:32:41 +00:00
Tyler Li
ba987d0a4c Fix vrf test failed after frr update to 7.2 (#3763) 2020-01-29 01:32:14 +00:00
Stephen Sun
3710172bc0 [Mellanox] fix gearbox ambient thermal name (#4005) 2020-01-28 19:01:14 +00:00
Prince
ba74e36855 [Submodule] Update sonic-swss and sonic-platform-daemons 2020-01-28 18:54:08 +00:00
Nazarii Hnydyn
389483866f [mellanox] Update FW to 13/29.2000.2714. (#3998)
Signed-off-by: Nazarii Hnydyn <nazariig@mellanox.com>
2020-01-16 03:21:41 +00:00
Dong Zhang
a867a014ef [telemetry] add submodule for telemetry avoiding breaking in previous release (#3995) 2020-01-09 18:22:03 +00:00
noaOrMlnx
086bf7e73b [Mellanox] Update FW/SDK: 13/29.2000.2696 and 4.3.2904 (#3948) 2020-01-06 20:29:30 +00:00
Nazarii Hnydyn
55babc736d [mellanox]: Enhance pmon synchronization with hw-mgmt platform counters. (#3885)
Signed-off-by: Nazarii Hnydyn <nazariig@mellanox.com>
2020-01-06 20:28:33 +00:00
Volodymyr Samotiy
33a072199a [Mellanox]: Update SAI submodule (#3883)
Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2020-01-06 20:27:42 +00:00
Stephen Sun
88d39bdef6 [Mellanox]Update hw-mgmt to V7.0000.2308 (#3858)
* [Mellanox]Update hw-mgmt to V7.0000.2308
sonic-linux-kernel should be updated accordingly with necessary patches uploaded.

* [sub-module]Advance submodule head for sonic-linux-kernel
2020-01-06 20:26:58 +00:00
Stephen Sun
0156a3311a [mellanox ]improve the method the type of sfp module is detected (#3846)
Fix the issue when an SFP module is plugged into a QSFP port via an adapter.

- How I did it
Originally the type of an SFP module is determined according to the SKU dictionary. However, it's possible that as SFP module is plugged into a QSFP port via an adapter. In this case, the EEPROM content will be parsed in the wrong format.
To address that we fetch the identifier value of an xSFP module and then get the type by parsing it.
2020-01-06 20:24:58 +00:00
Stephen Sun
d21561d8be [Mellanox] support get_transceiver_threshold_info (#3777)
* [sonic_platform.sfp] support get_transceiver_dom_threshold_info_dict

* [platform/sfp]qsfp threshold and beautify code
1. qsfp threshold: tx power
2. beautify code, removing some magic numbers
3. optimize get_present by only reading one byte.
2020-01-06 20:23:58 +00:00
Mykola F
73ecd61795 [config engine] For l2 preset, use admin_status: up by default (#3902)
Updated the l2 preset config generator to specify 'admin_status': 'up' for every port by default.
The use of setdefault() ensures that if port already has some admin_status set, the original value will not be overwritten.

Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
2019-12-13 22:31:40 +00:00
Nazarii Hnydyn
f027bb144f [submodule]: Advance sonic-platform-common. (#3873)
Signed-off-by: Nazarii Hnydyn <nazariig@mellanox.com>
2019-12-11 17:38:43 -08:00
Nazarii Hnydyn
8aae669231 [mellanox]: Add new Mellanox-SN3800-D112C8 sku. (#3854)
Signed-off-by: Nazarii Hnydyn <nazariig@mellanox.com>
2019-12-07 11:29:55 -08:00
Prince
8b386c829d [Submodule] Update sonic-platform-common 2019-12-04 20:01:56 +00:00
Prince
eace9a53b3 [Submodule] Update sonic-swss 2019-12-03 21:40:41 +00:00
Volodymyr Samotiy
386619aca1 [Mellanox] Update FW/SDK: 13/29.2000.2602 and 4.3.2602 (#3796)
Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2019-11-22 21:28:22 +00:00
Volodymyr Samotiy
537a08aa44 [Mellanox]: Update SAI submodule to 1.15.2 (#3748)
Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2019-11-14 18:16:28 +00:00
lguohan
6d46badbdc
[aboot]: preserve snmp.yml and acl.json for eos to sonic fast reboot (#3716) 2019-11-06 20:18:31 -08:00
brandonchuang
7d4093d6ed [device/platform] Add reset in sfputil.py for Accton AS7326-56X (#3685)
Add reset in sfputil.py for as7326-56x.

Signed-off-by: brandon_chuang <brandon_chuang@edge-core.com>
2019-11-06 18:57:08 -08:00
Wirut Getbamrung
65fc916dcf [platform/device] - Implement Silverstone platform API [Chassis/Fan] (#3706)
Implement part of the Chassis and Fan related APIs.

- Chassis APIs

get_base_mac()
get_serial_number()
get_serial_number()
get_system_eeprom_info()
get_reboot_cause()

- Fan APIs

get_direction()
get_speed()
get_target_speed()
get_speed_tolerance()
set_speed()
set_status_led()
get_target_speed()

- Fan APIs base on Device API

get_name()
get_presence()
get_model()
get_serial()
get_status()

Signed-off-by: Wirut Getbamrung wgetbumr@celestica.com
2019-11-06 18:56:17 -08:00
Andriy Kokhan
3b51cec9a3 [barefoot] Added Newport platform support (#3709)
[barefoot] Added Newport platform support

Signed-off-by: Andriy Kokhan <akokhan@barefootnetworks.com>
2019-11-06 18:54:05 -08:00
Neetha John
95466c3ab7 [pfcwd]: Do not start pfc watchdog on Management Tor (#3719)
Signed-off-by: Neetha John <nejo@microsoft.com>
2019-11-06 18:51:02 -08:00
pavel-shirshov
d5af096f41
[TSA]: Add community to the loopback prefix, when isolated (#3708)
* Rename asn/deployment_id_asn_map.yaml to constants/constants.yaml

* Fix bgp templates

* Add community for loopback when bgpd is isolated

* Use correct community value
2019-11-06 16:07:28 -08:00
Stepan Blyshchak
d346cb3898 [services] make snmp.timer work again and delay telemetry.service (#3657)
Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2019-11-06 12:12:31 -08:00
pavel-shirshov
aa1a13677d
[frr]: Move to version 7.2 (#3704)
* Use 7.2 tree to generate frr packages

* Adapt patches for frr/7.2

* Use vrf_id
2019-11-06 11:57:23 -08:00
yozhao101
a117b25446 [Services] Restart LLDP service upon unexpected critical process exit. (#3713)
Signed-off-by: Yong Zhao <yozhao@microsoft.com>
2019-11-06 11:02:57 -08:00
Samuel Angebault
05e659901f [arista] Add support for more 7280CR3 variants (#3711)
* Add extra Smartsville hwskus
2019-11-06 10:11:38 -08:00
Joe LeVeque
997ea59ba4
Fix typos and comment alignment in supervisor.conf files (#3714) 2019-11-06 09:24:54 -08:00
Sudharsan D.G
9f1f61c821 [submodule]: Updated sonic-utilities pointer (#3715)
- [warm/fast reboot] continue executing when killing docker failed (#713) [Ying Xie]
- [neighbor_advertiser]: Add sleep in setting mirror session and ACL rules(#714)[Shuotian Cheng]
- [config]: Flush the neighbor table when removing the router interface(#606) [Shuotian Cheng]
- Add a generic configlet application script (#716) [Renuka Manavalan]
- Management vrf snmp cli support (#472) [Harish Venkatraman]
- show subinterfaces status (#642) [Wenda Ni]
- sonic-utilities: Add support for sFlow (#592) [Garrick He]
2019-11-06 08:25:47 -08:00
yozhao101
ed79f54569 [Services] Restart DHCP-Relay service upon unexpected critical process exit. (#3667)
Signed-off-by: Yong Zhao <yozhao@microsoft.com>
2019-11-05 18:32:14 -08:00
Nazarii Hnydyn
7c5fb775d9 [mellanox] Upgrade HW-MGMT to V.7.0000.2303 (#3707)
Signed-off-by: Nazarii Hnydyn <nazariig@mellanox.com>
2019-11-06 00:27:18 +02:00
ciju-juniper
a4c35b72d8 [Juniper][QFX5210] Updating preemphasis values for supported optics (#3686)
* Preemphasis values for various optics

This patch adds the preemphasis values for the various supported
optics for qfx5210 platform

Signed-off-by: Ciju Rajan K <crajank@juniper.net>
2019-11-05 11:55:58 -08:00
rkdevi27
ebcd2d5252 [devices]: Fixed Fpga crash on dell z9264 (#3672)
Fixed the fpga crash issue which we see in 15-20 mins time frame after onie-install. Accessing stale i2c transfer message buffer causes this crash. Te message buffer becomes stale due to race between i2c transfer and fpga interrupt handler.

This new state STATE_STOP will not be exposed for the wake up call till all the ISR of previous transfer is completed successfully.
2019-11-05 11:26:34 -08:00