Commit Graph

2045 Commits

Author SHA1 Message Date
simonJi2018
b17a6522b9 [nephos]: support Debian 9 for nephos platform (#2347)
* Upgrade SAI to v1.2.4

* Add a new supported device accton as7116

* Add maintainer info for deb

* Add mk file for accton 7116

* fix some bug for sai 1.2.4

* fix git commit error for sdk and sai

* change sai and sdk deb name

* add config file for qos support

* initial commit

* Delete qos.json

* Delete buffers.json.j2

* Delete qos.json

* Delete buffers.json.j2

* Delete buffers.json.j2

* Delete qos.json

* add support for sai 1.3.0

* add qos and buffer file for device and add sensor driver for 7116

* change buffer template

* fix fan led bug

* add support for linux-4.9

* update device driver and update sdk and sai for support kernel 4.9
2018-12-05 00:30:38 -08:00
Ying Xie
ff9eb738b6 [sonic-utilities] move sonic-utilities submodule point (#2350)
- [warm boot] introduce command line options to warm/fast reboot scripts (#399)
- Use -d instead of -m in config qos (#388)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-12-04 22:36:12 -08:00
paavaanan
bcd4e1e375 [devices]: Dell SMF driver hwmon number reorder fix for Dell S6100/Z9100 (#2305) 2018-12-04 20:55:37 -08:00
Wenda Ni
f5e678cf84 Port QoS & buffer changes in 0330 to master (#2239)
* 1) DSCP 46 to 5; 2) ecn config for lossless traffic; 3) ecn on by default; 4) DWRR equal weight;

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

* 1) link pg & queue 5 to lossy buffer profile; 2) ingress lossless alpha 1/8

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

* Update the test case for qos & buffer json template

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

* Migrate a7050-qx32 and s6000 to use pg_profile lookup architecture

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

* Update pg headroom egress service pool for a7050-qx-32s, a7050-qx32, and s6000

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

* Link queue 5 to lossy profile

Signed-off-by: Wenda <wenni@microsoft.com>
2018-12-04 20:51:55 -08:00
Joe LeVeque
15321e3be5
[sonic-platform-common] Update submodule (#2346) 2018-12-04 17:47:06 -08:00
kannankvs
a9a7ce1091 tacacs management vrf changes (#2217) 2018-12-04 10:22:48 -08:00
paavaanan
a888e15e5c [devices]: xcvrd OIR support for Dell S6100/Z9100 switches (#2281)
* xcvrd OIR support for Dell S6100/Z9100 switches

Introduced check_interrupts function to handle missed interrupts.
port_dict updated and returned for appropriate OIR events.
Added support for both S6100/Z9100 switches.

* Revamped sfputil.py for PEP8 Standards
2018-12-04 10:18:39 -08:00
Roy Lee
ae82c073aa [Platform] [Accton] Validate mii-tool access on management port. (#2318)
* Add kernel cmdline, tg3.short_preamble=1 tg3.bcm5718s_reset=1, to validate mdio to external PHY.
Signed-off-by: roy_lee <roy_lee@accton.com>

* Push submodule, sonic-linux-kernel, to patch of tg3 short_preamble.
Signed-off-by: roy_lee <roy_lee@accton.com>

* Restore to former version, for this platform is not maintained by Accton.
Signed-off-by: roy_lee <roy_lee@accton.com>
2018-12-04 10:13:46 -08:00
Volodymyr Samotiy
75b41233d2 [Mellanox|FFB]: Add support for Mellanox fast-fast boot (#2294)
* [mlnx|ffb] Add support for mellanox fast-fast boot

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

* [mlnx|ffb]: Add support of "config end" event for mlnx fast-fast boot

Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>

* [Mellanox|FFB]: Fix review comments

* Change naming convention from "fast-fast" to "fastfast"

Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2018-12-04 10:11:24 -08:00
jostar-yang
1d655dbf2b [devices]: Add support as7726-32x platform (#2340) 2018-12-04 10:11:02 -08:00
Samuel Angebault
989b60059b [device/arista]: Update (#2336)
* Update arista drivers submodule

* Ignore the possible timestamp warning in tar extraction

* Add verbosity toggle to boot0

Console logging is slow because of the 9600 baud rate.
Some time can be saved by decreasing the console verbosity.

* Add hook mechanism in boot0.

Support additional features in boot0 via hooks.
Hooks are unpacked and executed at post-install or pre-exec time.

* Fix 7170 sensors.conf file

Fix critical temperature settings for MAX6658 sensors

* Fix the random swap of storage devices

For arista 7050 switches running with linux 4.9, it is likely the device
name of flash drive (/dev/sda) and usb (/dev/sdb) randomly swap in kernel
booting, depending on which one is ready first. It breaks the expectation
that flash will be mounted as root by setting root=/dev/sda1. This patch
will correct ROOT to flash device refering to the path under block_flash.

* Fix 7170 fancontrol

* Do not remove aquota.user file in boot0

This file is a filesystem protected file used by EOS.
It can be simply removed and will make the SONiC installation failed if
not skipped.
2018-12-04 10:08:55 -08:00
Taoyu Li
aedfd6e708 [sonic-cfggen] Multi-key should be in form of (a,b) instead of 'a|b' (#2337) 2018-12-04 10:07:44 -08:00
bbinxie
d96660972b Add config.bcm file for hlx and modify config.bcm path in sai.profile (#2333)
* add config.bcm for hlx

* modify config.bcm path for hlx

* Delete hx4-cel-hbtn-48x1G+4x10G.config.bcm

* add config.bcm and path

* [submodule]: Update sairedis and utilities pointers (#2334)
2018-12-04 09:22:38 -08:00
Mykola F
7f3f09d28a
[eeprom] Fix eeprom.py (#2345)
Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
2018-12-04 17:42:03 +02:00
Ying Xie
e9b442b85e
[platform-common] advance sonic-platform-common submodule head (#2339)
- Merge pull request #18 from yxieca/no_buffering
- Revert "Pep 8 compliance, code cleanup (#15)" (#16)
- Pep 8 compliance, code cleanup (#15)
- add detailed comments for get_transceiver_change_event (#12)


Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-12-03 20:40:07 -08:00
Ying Xie
9a2edda6d2 [bcm config test] allowing ext_sram_freq and ext_tcam_freq (#2338)
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-12-03 17:56:55 -08:00
Joe LeVeque
298d2ad8f4
[boot] Refactor: All services which start Docker containers start before ntp-config service (#2335) 2018-12-03 16:01:44 -08:00
Volodymyr Samotiy
d608a83b3d [submodule]: Update sairedis and utilities pointers (#2334)
Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2018-12-03 11:28:58 -08:00
lguohan
5d78dd0db3
Merge pull request #2329 from yxieca/pub-3.3
[bcm SAI] enable Broadcom SAI 3.3 GA release
2018-12-01 23:58:16 -08:00
Ying Xie
bff316562e [teamd] avoid using actor port number 0 in teamd config (#2327)
When using actor port number 0 in lag configuration, IO cannot be sent to
peer. Increase actor port number by 1 to keep uniqueness and at the same
time, avoid using actor port number 0.

Ref. 802.1AX 6.3.4 Port identification

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-12-01 02:11:41 -08:00
Ying Xie
1812d6c238 [bcm sai] upgrade to Broadcom SAI 3.3 GA release
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-12-01 07:10:30 +00:00
Ying Xie
550a45c0fa [knet] Pick up some Broadcom knet driver changes in 3.3 GA release
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-12-01 07:09:24 +00:00
Ying Xie
560d35bf42 [knet driver] fix PCI device init race condition
Broadcom CS5982299 fix.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-12-01 07:07:52 +00:00
Ying Xie
a11c28de46 [opennsl init] refactoring opennsl init script
- Move driver loading unloading code to functions.
- Change tabs to white spaces

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-12-01 07:07:52 +00:00
Ying Xie
5b3e8974cd [Broadom driver] mute chatty debug information
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-12-01 07:07:52 +00:00
Ying Xie
243767c8b4 [SAI 3.3] update init script according to 3.3 requirement
- Insert/remove linux-knet-cb module
- Create/remove devices for kernel modules

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-12-01 07:07:52 +00:00
Ying Xie
936ca8d323 [make file] add missing CFLAGS
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-12-01 07:07:52 +00:00
Ying Xie
c22aca6474 [libsaibcm modules] enabling building linux-knet-cb.ko
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-12-01 07:07:52 +00:00
Ying Xie
ee65e7f2cb [saibcm] Fix make file and source code to build on kernel 4.9
The build passes under the name opennsl.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-12-01 07:07:52 +00:00
Ying Xie
c50d4c2723 [broadcom patch] take Broadcom patch sdk-6.5.13-gpl-modules.patch
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-12-01 07:07:52 +00:00
Ying Xie
73d4c99d78 [saibcm] update saibcm kernel module source code to 6.5.13
This is upgrading code as-is. The build will fail.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-12-01 07:07:52 +00:00
Feng Lee
ac2be9d99a [platform] update Ingrassy platform to support stretch (#2322)
* remove nephos sonic-platform-modules-ingrasys module

* [Ingrasys]Add platform drivers and device to support Debian Stretch

* fix gpio init issue
2018-11-30 20:46:36 -08:00
Volodymyr Samotiy
de0238d673 [Mellanox]: Update SAI/SDK/FW pointers (#2324)
* SAI 1.13.1
* SDK 4.2.9108
* FW 13.1910.0608

Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2018-11-30 14:37:03 -08:00
Ying Xie
f9d2b69d26 [syncd script] fix bash script syntax error (#2326)
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-11-30 14:36:16 -08:00
liat-grozovik
40cb6e47c8
Merge pull request #2323 from mykolaf/eeprom_r
[eeprom] check if source exists before reading eeprom on Mellanox platform
2018-11-30 11:21:30 -08:00
Mykola Faryma
85461de8bf [eeprom] check if source exists before reading eeprom on mlnx platform
Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
2018-11-30 11:02:07 +02:00
Qi Luo
405af31d81
[submodule]: update swss, sairedis and utilities (#2320) 2018-11-29 20:37:22 -08:00
pavel-shirshov
c7d18f1edc [teamd]: Fix teamd patch issues, which prevented system WR (#2321)
- What I did

Fixed vanilla teamd bug, which prevented teamd to have a correct view of kernel state. Check bug #2 from the message
Changed schema for LACP port id.
Changed severity of an error message.
Removed logic to disable warm_start_read mode, when teamd started. It didn't work in system restart mode, because interfaces were added one by one, and it's impossible to say when everything is added.

- How I did it

I've added team_refresh() on every port addition
I extract port id from the port name. Currently I support only "EthernetX" scheme. We need to add more schemes if we change port scheme.
_err -> _info
...

- How to verify it
Build the image, install on your DUT, reboot it once, then reboot it on WR mode checking LACP state on remote side. The state shouldn't flip.
2018-11-29 19:19:26 -08:00
Ying Xie
2590aedda4
[bcm sai] Upgrade Broadcom SAI to 3.1.3.5-12 (#2319)
- Rebuilt with SAI header version v1.3.6

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-11-29 13:04:50 -08:00
Ying Xie
84bde1511a
[sonic boot] disable dhcp during boot up, until updategraph service is running (#2316)
* [sonic] disable management port eth0 during boot up

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

* [updategraph] enable dhcp client on management port eth0

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-11-29 08:34:22 -08:00
Prince Sunny
43f6df4654 Add nbrmgr to supervisor control (#2265)
* Add nbrmgr to supervisord conf

* Corrected priority values [Fix typo]

* Submodule update for Neighbor manager daemon

Submodule update sonic-swss-common:

edbfeec - Remove default docker name value of swss. (#250)
9728462 - Corrected configDB name for neigh table (#251)
6decc65 - Add NEIGH_TABLE to configDB for neighbor configuration (#249)
9918ae6 - Add ProducerStateTable temp view implementation and UT (#247)
41408f2 - Update README on dependencies
d9c0ba4 -Update README on the section 'Build with Google Test'
bb7fa5b - [ut]: explicit convert is to bool type (#248)
661b82c - Add gtest instruction in README

Submodule update sonic-swss

705b092 - Support ConfigDB neighbor configuration, introduce nbrmgr daemon (#693)
8522390 - Add vxlan switch attributes to switch orch (#712)
b123fa0 - [schema] update WARM_RESTART_TABLE:process_name schema document (#707)
2d7ab0c - Revert "Align default MTU value as SAI default (#705)" (#710)
836a58c - Align default MTU value as SAI default (#705)
bffa01f - VNET/VXLAN changes (#643)
b750a4b - [watermarkorch] add watermarkorch, extend queue and pg counters with wat\u2026 (#629)
2018-11-28 21:58:59 -08:00
Sudharsan D.G
1467434e4c [S6000]: Dell S6000 ON related Port numbering and eeprom changes (#2315) 2018-11-28 21:57:50 -08:00
Shuotian Cheng
6ddf3cdda0 [orchagent]: Fix typo (#2317)
Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2018-11-28 21:37:52 -08:00
Joe LeVeque
d1c9b0cb77 [boot] Start ntp-config service after all Docker containers are started (#2303) 2018-11-28 00:12:03 -08:00
Prince Sunny
df2f3f722d Provide asic_type to switch template (#2308) 2018-11-27 22:02:30 -08:00
lguohan
03e0efa704
[vs]: only send lldp over eth0 (management port) (#2309)
In vs platform, eth[n] where n > 0 is physical port,
we should not send lldp over those ports

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-11-27 22:02:06 -08:00
Ying Xie
ce60c53933
[build image] copy init_interfaces to interfaces (#2302)
init_interfaces meant to be sonic init interfaces configuration file.
However, it needs to be copied to the right file name to take effect.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-11-27 14:35:17 -08:00
Rodny Molina
196d9f5f8a [quagga]: Adjusting bgp jinja template and quagga's supervisord (#2291)
There are two minor changes in this PR:

* Adjust quagga's jinja template to enable bgp-gr functionality by default. Currently is only applicable to those devices tagged as TOR/T0.

* Ensure that no bgp-notification is sent out to remote-peers during bgpd shutdown events. The goal here is to make sure that remote-peers kick off bgp-gr-helper logic (i.e. retain restarting-router state), which can be only achieved if an ungraceful-shutdown (tcp pipe/socket down) is perceived. There are other approaches to accomplish this goal, such as draft-ietf-idr-bgp-gr-notification, but this one hasn't been implemented yet by Quagga/FRR.

Signed-off-by: Rodny Molina <rmolina@linkedin.com>
2018-11-27 00:39:38 -08:00
Nikos
7056b49af7 Routing application split config support (#2286)
* Routing application split config support

Signed-off-by: nikos <ntriantafillis@gmail.com>

* Routing application split config support
Routing application split config support

Signed-off-by: nikos <Nikos Triantafillis>
2018-11-26 18:19:12 -08:00
lguohan
f09488473d
[vs]: fail the build when build kvm image fails (#2297)
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-11-25 11:33:00 -08:00