Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Watchdog workaround s6100 march #2737

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
219 commits
Select commit Hold shift + click to select a range
5d8cbee
[installer]: Suppress tar xz warning about time stamp in the future, …
qiluo-msft Apr 5, 2018
2c08426
[sonic-platform-common] Update submodule (#1563)
jleveque Apr 6, 2018
6fe95bc
[baseimage]: bring down eth0 before restart networking (#1555)
lguohan Apr 2, 2018
6da6e07
[mellanox]: Update MLNX SAI pointer (#1557)
Apr 3, 2018
5cf05f8
[minigraph.py] Add support to parse tacacs server information (#1549)
taoyl-ms Apr 2, 2018
8951e30
[router advertiser] Only start radvd process if device role is 'ToRRo…
jleveque Apr 7, 2018
a67952a
[submodules]: update sonic-swss (#1570)
lguohan Apr 7, 2018
765bf0a
[submodules]: update sonic-utilities (#1571)
lguohan Apr 7, 2018
d81d665
[cfggen]: ignore acl when its type is not defined (#1568)
lguohan Apr 9, 2018
df34960
[installer]: Umount before delete partition (#1575)
qiluo-msft Apr 10, 2018
d54b9ef
Use eth0 interface only to generate lldpd SystemId (#1577)
pavel-shirshov Apr 10, 2018
7b36744
Allow one Service ACL to bind to multiple services (#1576)
jleveque Apr 11, 2018
6a5afcf
[snmp]: Bind snmpd to all ip addresses (#1587)
qiluo-msft Apr 11, 2018
eb7a26b
[device] Update Arista driver submodule (#1585)
Staphylo Apr 11, 2018
f3ff10f
[devices]: Fix type for qos.json in 7060 and S6100 (#1582)
prsunny Apr 11, 2018
f8aac10
[minigraph]: ignore minigraph ports which are not in port_config.ini …
lguohan Apr 12, 2018
2f4ce21
[minigraph] Fix parser on PNG DeviceInterfaceLink Bandwidth (#1592)
qiluo-msft Apr 12, 2018
062d600
[Broadcom SAI] upgrade Broadcom SAI to version 3.1.3.4-10 (#1591)
yxieca Apr 13, 2018
30d289f
50G support for Arista 7060 (#1580)
prsunny Apr 13, 2018
960148a
Marvell's updates for SONiC 201803 over SAI v1.2 (#1588)
ziverlichson Apr 11, 2018
5147d19
[Mellanox] Add support for a new platform LS-SN2700
andriymoroz-mlnx Apr 11, 2018
9c2a338
[devices]: Merge ingress service pools of lossless and lossy traffic …
wendani Apr 14, 2018
a194d65
[sonic-utilities] add pfcstat and queuestat tool (#1606)
hui-ma Apr 17, 2018
83517f5
Add support for S6100 switchport LEDs (#1610)
padmanarayana Apr 18, 2018
8be17f6
[ip-in-ip]: Fix config template to apply correct platform depended va…
Apr 18, 2018
225a4fa
[platform-common]: Update sonic-platform-common submodule (#1620)
Apr 18, 2018
0282666
[sonic-cfggen] Be case insensitive to hostname in minigraph (#1614)
taoyl-ms Apr 19, 2018
dcdcf40
[bugfix]: pass correct port name to led_control.py in ledd
lguohan Apr 19, 2018
9fad33c
[cfggen]: Fix build by fixing pyangbind version (#1633)
qiluo-msft Apr 23, 2018
a84ca2d
[swss]: update sonic-swss submodule
lguohan Apr 24, 2018
f46e873
[radvd] Ensure at least one interface is specified in radvd.conf befo…
jleveque Apr 24, 2018
90c9433
[updategraph]: Keep updategraph service active after start (#1651)
prsunny Apr 26, 2018
018b840
[docker-lldpd]: Various fixes (#1650)
pavel-shirshov Apr 27, 2018
ae14846
[submodules]: update swss and utilities modules
lguohan Apr 27, 2018
de3e8cc
[snmp]: Fix a race between snmpd-config-updater and snmpd (#1628)
Staphylo Apr 21, 2018
0a70626
[snmpd]: Fix typo in is_platform_arista (#1634)
yurypm Apr 23, 2018
93d1472
[mellanox]: Update SAI version to 1.11.4 and SDK to 4.2.7303 (#1655)
andriymoroz-mlnx Apr 28, 2018
2a3092e
[docker-dhcp]: Fix the sonic build issue (#1659)
zhenggen-xu Apr 30, 2018
d3e958a
[swss]: update swss
lguohan May 1, 2018
2d8ed10
[zebra.conf] Fix template issue with multiple lo addresses (#1662)
taoyl-ms May 2, 2018
8088f2b
[swss]: Change the hash seed to 0 for ToR and 10 for Leaf routers (#1…
May 2, 2018
f1cf5b2
[snmp]: Stop spamming logs with statfs permission denied log message …
pavel-shirshov May 2, 2018
8a5013b
[broadcom]: update broadcom SAI to 3.1.3.4-11 (#1670)
lguohan May 2, 2018
b29d835
[sonic-cfggen]: fix bgpd and zebra template for sonic-cfggen test
lguohan May 2, 2018
3e3a56e
[swss]: update sonic-swss module
lguohan May 2, 2018
4cf7913
[device] Update arista driver submodule (#1674)
Staphylo May 4, 2018
f734033
[submodule]: Update submodule sonic-snmpagent (#1642)
qiluo-msft Apr 25, 2018
532953e
sonic-cfggen supports hwsku parameter (#1631)
qiluo-msft Apr 24, 2018
04ca35b
[device] Add PSU utility for platform ly1200 of MiTAC (#1673)
stanepc1 May 7, 2018
1dd26fe
[mellanox]: Update MLNX SAI pointer (#1684)
May 8, 2018
621c250
40G profile for Arista 7060 (#1677)
prsunny May 7, 2018
323cafd
Update buffers config for Mellanox 27xx devices (#1649)
andriymoroz-mlnx May 8, 2018
1139cd7
[submodule]: Update submodule sonic-snmpagent: Improve mib fundamenta…
qiluo-msft May 10, 2018
d826055
[sonic-utilities]: update sonic utilities submodule
lguohan May 10, 2018
d26d9fb
[swss]: update sonic-swss
lguohan May 10, 2018
1c54039
[swss]: update sonic-swss
lguohan May 10, 2018
30a08a1
[platform]: Fixed Cavium platform modules build. (#1694)
May 11, 2018
5836ec7
[submodule]: Update submodule sonic-snmpagent: Improve mib fundamenta…
qiluo-msft May 12, 2018
0dca563
[baseimage]: Disable DAD for eth0 explicitly (#1701)
prsunny May 12, 2018
1d03df4
[quagga]: update quagga submodule (#1698)
lguohan May 11, 2018
20d0531
[mellanox]: Update FW pointer (#1722)
May 17, 2018
4faf96f
[Arista]: Add a reboot script for all remaining platforms. (#1706)
Staphylo May 15, 2018
a2d0144
[fast-reboot]: support encoded & gzipped minigraph in fast reboot (#1…
lguohan May 16, 2018
35bc68d
[dhcp_relay] Only attempt to start 'isc-dhcp-relay' group if it is no…
jleveque May 16, 2018
da27cd8
[devices]: Reverting the xoff value for Arista 7060 t0 topology (#1726)
prsunny May 18, 2018
3410750
[devices]: add Mellanox-SN2700-D48C8 hwsku (#1717)
lguohan May 18, 2018
bf2be4a
[swss]: update swss submodule
lguohan May 19, 2018
6ed14b3
[submodule]: Update submodule sonic-snmpagent: power_status_handler h…
qiluo-msft May 22, 2018
1e7508d
[devices]: update dx010 fan configuration (#1735)
May 23, 2018
1a4123a
Remove fan LED initialization from led_control plugins for Arista 705…
jleveque May 24, 2018
989000c
[sonic-cfggen]: Protect config_db.json from minigraph misconfig (#1727)
wendani May 24, 2018
2aa1de5
[service] introducing serial port watchdog service (#1743)
yxieca May 25, 2018
188afc1
[docker_image_ctl]: Add --force while removing obsolete dockers (#1744)
May 26, 2018
6e162be
[sairedis]: update sonic-sairedis submodule
lguohan May 30, 2018
d7ed638
[minigraph parser] Fix minigraph parser issue when handling LAG relat…
keboliu May 26, 2018
6d09e0e
Add QoS and Buffers configs for Mellanox MSN2100 and MSN2410 (#1739)
andriymoroz-mlnx May 30, 2018
85c4581
[serial watchdog] remove serial watchdog service dependency to rc.loc…
yxieca May 31, 2018
2ad793c
Fix links of debian git server (#1755)
qiluo-msft Jun 1, 2018
36fc74d
[broadcom sai] upgrade Broadcom SAI to version 3.1.3.4-12 (#1740)
yxieca May 24, 2018
9943dba
[broadcom]: update brcm sai to 3.1.3.4-13 (#1760)
lguohan Jun 1, 2018
c464ded
Revert "[minigraph parser] Fix minigraph parser issue when handling L…
qiluo-msft Jun 5, 2018
53373b6
Revert the feature: serial port watchdog service (#1766)
qiluo-msft Jun 5, 2018
704f2fa
[caclmgrd] Heuristically determine whether ACL is IPv4 or IPv6, use i…
jleveque Jun 5, 2018
a3385b3
[platform]: Update Mellanox SDK/SAI pointers (new firmware) (#1777)
andriymoroz-mlnx Jun 8, 2018
8fb2313
[devices]: Updated AS7512-32X ini config files. (#1685)
Jun 8, 2018
fd7392f
[platform]: Add Cavium packages for 201803 revision (#1773)
Jun 8, 2018
5528264
Add Celestica seastone dx010 psuutil.py plugins (#1781)
pphuchar Jun 11, 2018
9d5913d
[devices]: Add Broadcom config files for Arista 7050 SKUs; Remove 'se…
jleveque Jun 11, 2018
4d795ec
Update 201803 branch with masters of sonic-swss, sonic-sairedis, soni…
pavel-shirshov Jun 15, 2018
c8753d0
[build templates] Add environment variables for mellanox syncd cont…
keboliu Apr 3, 2018
4520659
[Broadcom]: update Broadcom SAI to 3.1.3.4-14 (#1797)
Jun 20, 2018
3779c58
[interface-config] Force eth0 before reconfiguration (#1802)
taoyl-ms Jun 21, 2018
310c3f9
[device]: Fix a bug that psuutil cannot access gpio sysfs to get PSU …
Jun 21, 2018
7457c00
[platform] Celestica: dx010 init gpio sysfs (#1807)
pphuchar Jun 22, 2018
c6d43c4
[tacacs] To modify local user permission according to priv lvl (#1804)
taoyl-ms Jun 22, 2018
4eb866c
[sai]: update SAI version to 3.1.3.4-15 (#1808)
sihuihan88 Jun 23, 2018
6568203
Enable sairedis counter thread in 3 minutes after SONiC was started (…
pavel-shirshov Jun 26, 2018
71ede53
Updated Cavium SAI headers. (#1822)
Jun 28, 2018
868b867
Update sonic-swss for 201803 branch. Postpone init of the queue maps …
pavel-shirshov Jun 30, 2018
4012e3d
Add pre-emphasis for 100G optical mocule (#1838)
tiantianlv Jul 4, 2018
c8b2810
[sudoer] Enable read-only commands for all users (#1558)
taoyl-ms Apr 19, 2018
7378aa1
[sonic-swss]: Update submodule in 201803 branch (#1855)
sihuihan88 Jul 13, 2018
de7b951
[sonic-dbsyncd]: Support empty string in lldp_rem_port_desc (#1857)
qiluo-msft Jul 13, 2018
fc51c10
[sonic-dbsyncd]: Fix parse_chassis on partial lldp data (#1861)
qiluo-msft Jul 13, 2018
ae8a088
[test] Adding Broadcom configuration file test (#1611)
yxieca Apr 18, 2018
c36adc1
Correct a7060 config for tor (#1823)
wendani Jun 28, 2018
2109a11
[pfcwd] update sonic-utilities submodule
yxieca Jul 17, 2018
1e43b99
Pavelsh/restart swss counters (#1854)
pavel-shirshov Jul 12, 2018
b42bd5b
Convert arp_update into a 'start-it-once' mode (#1864)
pavel-shirshov Jul 18, 2018
c115e30
Change dx010 console speed (#1867)
Jul 19, 2018
dab944b
[bcm syncd]: Wait initializing led_proc for 60 seconds (#1863)
yxieca Jul 19, 2018
14a0de7
[submodule]: update sonic-platform-common
lguohan Jul 23, 2018
502ba0e
Fix for bash's memory-leak (#1879)
rodnymolina Jul 28, 2018
1f19c27
Modify sudo lecture message to be more informational (#1800)
taoyl-ms Jun 21, 2018
36604f7
[swss]: Start counter from swss container (#1875)
pavel-shirshov Jul 26, 2018
f2b8442
[sonic-swss]: update sonic-swss submodule
lguohan Jul 28, 2018
a7ca027
[platform]: add sonic port alias for mellanox SN2700 platform (#1883)
lguohan Jul 28, 2018
7419f0a
[nephos]: add new device accton 7116 support for sonic 201803 branch …
simonJi2018 Jul 30, 2018
c2beed2
[device] Update driver and configuration for ly1200 of MiTAC (#1772)
stanepc1 Aug 7, 2018
3552461
[minigraph.py] add support to parse deployment id of neighbor devices…
taoyl-ms Aug 7, 2018
4b73fab
201803: update submodule sonic-platform-modules-ingrasys to 796169 (…
simonJi2018 Aug 12, 2018
bf26a9a
[platform && device]update centec e582 platform device config files a…
yangbashuang Aug 12, 2018
511eada
[broadcom]: fix delay to load led proc init (#1940)
lguohan Aug 17, 2018
5817dcf
Download newer version (8.23.0-2) of rsyslog from jessie-backports in…
jleveque Aug 10, 2018
cd8f6c8
[sonic-swss]: support dynamic configuration of ecn on/off, threshold,…
lguohan Aug 19, 2018
275b583
Mitigate CVE-2018-5391 by sysctl (#1948)
qiluo-msft Aug 19, 2018
e7a2132
[devices/a7050]: Separate ECN/WRED profile per queue to maintain a co…
wendani Aug 17, 2018
47c28c2
[sonic-utilities]: add ecnconfig command
lguohan Aug 19, 2018
ff91c05
[broadcom]: update sai to 3.1.3.4-16
lguohan Aug 20, 2018
73d99d2
[submodules]: update sonic-platform-common
lguohan Aug 20, 2018
9f40116
[mellanox]: Fix problem with system EEPROM in "hw-mgmt" (#1952)
Aug 21, 2018
35f4c68
[mellanox]: Enable WRED red color profile on mellanox platform (#1971)
wendani Aug 22, 2018
2f12abe
[arista]: Buffers & qos config change on a7050 (#1973)
wendani Aug 23, 2018
5d299c4
[Dell]: Update sonic-platform-modules-dell submodule (#1999)
Aug 30, 2018
2f0a3c6
Don't reuse init_cfg.json from old image during upgrade (#2036)
taoyl-ms Sep 12, 2018
09a61f1
[devices]: Buffers & qos config change on a6100 and a7050 (#2037)
wendani Sep 12, 2018
964bf9d
[submodule]: update sonic-utilities
lguohan Sep 13, 2018
1fa607c
[submodules]: update sonic-utilities
lguohan Sep 14, 2018
33dbfd2
Move all platform submodule code into sonic-buildimage (#2063)
zhenggen-xu Sep 21, 2018
03e27da
[broadcom]: update sai to 3.1.3.4-17 (#2070)
lguohan Sep 24, 2018
48a0e14
[hwsku-init] Introduce mechanism to run HWSKU specific initialization…
yxieca Sep 24, 2018
b066c7c
[devices]: Add new hwsku Arista-7050-Q31S4 (#2077)
zzhiyuan Sep 25, 2018
81e5178
[build]: fix file permission to have a clean build
lguohan Sep 25, 2018
f9bca94
[arista]: Fix mount point discovery in boot0 for overlayfs (#1959)
Staphylo Aug 21, 2018
2eee201
[7050] Rename HWSKU Arista-7050-Q31S4 to Arista-7050QX-32S-S4Q31 (#2089)
yxieca Sep 27, 2018
de0add8
Update submodule: sonic-snmpagent for Fix PFC counters TX/RX (#2095)
qiluo-msft Sep 28, 2018
19147a4
[7050] device specific hwsku-init file needs execution privilege (#2100)
yxieca Sep 28, 2018
974b066
Added platform module start/stop service for Dell S6100/Z9100 platforms
lguohan Sep 29, 2018
6009d0c
[submodule]: update sonic-utilities
lguohan Oct 1, 2018
aef6a31
[submodule]: update linux kernel module
lguohan Oct 1, 2018
ad4e9c3
[submodules]: update sonic-utilities
lguohan Oct 2, 2018
3f58ca1
[qos]: Resolve ecn runtime config save conflict with default config (…
wendani Oct 2, 2018
f333342
[minigraph parser] add basic support for MGMT_PORT (#2103)
taoyl-ms Sep 29, 2018
f586cfa
[devices]: Fix configurations for 7050QX-32S-S4Q31 (#2119)
zzhiyuan Oct 4, 2018
3b12ffe
[devices]: a7060, a7260 qos & buffer config change: 1) DSCP 46 to 5; …
wendani Oct 4, 2018
431a9f6
[broadcom]: update SAI to 3.1.3.4-18
lguohan Oct 5, 2018
eba171b
[submodules]: update submodules for MGMT PORT over SNMP support (#2113)
stepanblyschak Oct 8, 2018
773ed99
[security] Upgrade kernel to 3.16.57-2 on 201803 branch (#2116)
zhenggen-xu Oct 11, 2018
de7f5ac
[devices]: Add index column to Mellanox-SN2700-D48C8/port_config.ini …
qiluo-msft Oct 13, 2018
5d0748d
[Mellanox] Use MAC from EEPROM for PortChannels and VLAN Interfaces (…
andriymoroz-mlnx Jul 23, 2018
4d12746
[Mellanox] Update hw-management service config (#1914)
andriymoroz-mlnx Aug 10, 2018
97fe497
[submodules]: update sonic-sairedis and sonic-utilities to use mac fr…
lguohan Oct 13, 2018
15ae2a7
[devices]: Align flash partition at 1M (#2104)
Staphylo Oct 2, 2018
aa08555
[devices]: Dell Z9100 T0 T1 MMU/QoS fixes (#2126)
Oct 16, 2018
6a9bfaf
[syncd] Treat bcmcmd as a supervisor task so we could collect stdout/…
qiluo-msft Jun 29, 2018
969ba5b
[lldpd]: Use kernel autoprobe for netlink socket .nl_pid portion of t…
pavel-shirshov Oct 18, 2018
2aac4c4
[tacplus nss conf] tacplus should be before compat (#2163)
taoyl-ms Oct 18, 2018
e2d565a
[teamd] Force team device recreation in case it already exists (#2168)
pavel-shirshov Oct 18, 2018
ce54ef7
[mellanox]: Update MFT tools to v4.9.0 (#2207)
andriymoroz-mlnx Oct 30, 2018
f089d14
[console speed] lock console speed to start up speed (#2222)
yxieca Nov 1, 2018
e710527
[caclmgrd] Add a rule to allow all connections from localhost (#1858)
jleveque Jul 13, 2018
bef80b3
[device/dx010] configuration port index start from 1 (#1927)
pphuchar Aug 16, 2018
2879005
Store thrift source packages in blob (#2255)
qiluo-msft Nov 14, 2018
f7b1760
Fix bug: wget rename saved file (#2259)
qiluo-msft Nov 15, 2018
6da462e
[buffer]: Update pg headroom egress service pool for a7050 and s6000 …
wendani Nov 16, 2018
92341b8
[submodule]: update sonic-py-swsssdk (#2271)
lguohan Nov 19, 2018
6a24eb4
Fix redis-py version to 2.10.6 (#2273)
qiluo-msft Nov 19, 2018
f5edde9
[utilities]: Update sonic-utilities submodule (#2307)
Nov 27, 2018
ecb8e53
update sdk and sai for 201803 (#2331)
simonJi2018 Dec 3, 2018
3f16fb0
[Dell] sensors.conf files for S6100/Z9100 (#2282)
Dec 4, 2018
ad2812a
[submodules]: update sonic-quagga
lguohan Dec 11, 2018
5479286
[boot] Start ntp-config service after all Docker containers are start…
jleveque Nov 28, 2018
92a8070
[submodule]: update sonic-linux-kernel
lguohan Dec 14, 2018
2933665
[baseimage]: force create symlink in union-fsck
lguohan Dec 14, 2018
524cfeb
[docker-syncd-brcm] Add 'startsecs=0' to ledinit process (#2366)
jleveque Dec 8, 2018
1a84813
[submodule]: update sonic-utilities
lguohan Dec 26, 2018
69d5d61
[devices]: Fix arista-convertfs for aligning flash via sfdisk in Jess…
shawnli-van Dec 31, 2018
a46903b
[buffer]: Update pg headroom (10% safe margin) & egress service pool …
wendani Jan 2, 2019
e45f519
[submodule]: * 06c73ca 2019-01-04 | [sonic_instaler]: use triple sync…
lguohan Jan 4, 2019
95a0a67
[libteam]: Add patch to update orig_hwaddr unconditionally (#2425)
Jan 9, 2019
39f0c25
[devices]: Porting MUX reset logic to fix probe fails (#2441)
sridhar-ravindran Jan 14, 2019
aa33825
[Qos]: Remove WRED on lossy queues on msn2700 (#2456)
wendani Jan 17, 2019
a18ec65
[devices]: Fix for build break for device s6100/z9100 from #2441 che…
sridhar-ravindran Jan 23, 2019
a18464b
[devices]: platform_reboot support for Dell S6100/Z9100 platforms (#2…
Jan 25, 2019
c82be49
[caclmgrd] Don't crash if we find empty/null rule_props (#2475)
jleveque Jan 24, 2019
a67a937
[lldp] For MGMT port, if port alias is available, use it for Port ID …
jleveque Jan 15, 2019
4b70ae9
[submodule]: update sonic-utilities
lguohan Jan 28, 2019
8fda693
[QoS]: Qos config change (#2504)
wendani Feb 2, 2019
9fad56f
[submodule]: update sonic-quagga
lguohan Feb 2, 2019
e117802
[ntp]: Do not disable reader for error ENOBUFS (#2529)
Feb 7, 2019
c4b8e36
[submodule]: update sonic-swss
lguohan Feb 8, 2019
e26043a
[build]: use vfs storage driver to build dockers (#2016)
lguohan Sep 5, 2018
e77a7b1
[devices]: Dell SMF driver hwmon number reorder fix for Dell S6100/Z9…
Feb 9, 2019
b233d6f
[Broadcom]: Update SAI to 3.1.3.4-19 (#2554)
Feb 12, 2019
fe01470
[201803] [radvd] Build radvd from source; Patch so as not to treat ou…
jleveque Feb 12, 2019
3eea909
[quagga]: collect quagga-dbg debian package
lguohan Feb 16, 2019
8e887e2
Disable IPv6 ra for eth0 interface (#2493)
prsunny Jan 29, 2019
08801d3
[201803 sub-module] advance sonic-swss submodule (#2598)
yxieca Feb 23, 2019
ec694a5
[201803] Set a rate limit on syslog messages from all Docker containe…
jleveque Feb 26, 2019
2a8af27
[201803] [services] Restart SwSS service upon unexpected critical pro…
jleveque Feb 26, 2019
2c5bd96
Update SAI and SDK (v4.2.7304) (#2612)
andriymoroz-mlnx Feb 27, 2019
41800b0
[supervisor] Fix crash if system clock rolls back within startsecs; R…
jleveque Mar 4, 2019
9e8518c
[201803] Restart SwSS, syncd and dependent services if a critical pro…
jleveque Mar 7, 2019
d904b3e
Add hook to allow customizing link cable lengths
wendani Mar 5, 2019
b38bab0
[bde driver] black list linux_kernel_bde driver (#2284)
yxieca Nov 21, 2018
09f4132
[Broadcom]: Update SAI to 3.1.3.4-20 (#2708)
Mar 27, 2019
99ed954
[201803] Modify Debian apt repos to reflect changes made by maintaine…
jleveque Mar 27, 2019
cbca684
[devices]: Add support of HwSKU Mellanox-SN2700-C28D8 (#2690)
andriymoroz-mlnx Mar 28, 2019
9e76a47
[devices]: Upgrade Mellanox HW-MGMT: fix high CPU utilization issue. …
nazariig Apr 1, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ src/mpdecimal/*
!src/mpdecimal/Makefile
src/python3/*
!src/python3/Makefile
src/radvd/*
!src/radvd/Makefile
!src/radvd/patch/
src/redis/*
!src/redis/Makefile
src/snmpd/*
Expand Down
27 changes: 0 additions & 27 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -35,30 +35,12 @@
[submodule "src/sonic-utilities"]
path = src/sonic-utilities
url = https://github.com/Azure/sonic-utilities
[submodule "platform/broadcom/sonic-platform-modules-s6000"]
path = platform/broadcom/sonic-platform-modules-s6000
url = https://github.com/Azure/sonic-platform-modules-s6000
[submodule "platform/broadcom/sonic-platform-modules-arista"]
path = platform/broadcom/sonic-platform-modules-arista
url = https://github.com/aristanetworks/sonic
[submodule "platform/broadcom/sonic-platform-modules-dell"]
path = platform/broadcom/sonic-platform-modules-dell
url = https://github.com/Azure/sonic-platform-modules-dell
[submodule "platform/broadcom/sonic-platform-modules-ingrasys"]
path = platform/broadcom/sonic-platform-modules-ingrasys
url = https://github.com/Ingrasys-sonic/sonic-platform-modules-ingrasys
[submodule "src/sonic-platform-common"]
path = src/sonic-platform-common
url = https://github.com/Azure/sonic-platform-common
[submodule "src/sonic-platform-daemons"]
path = src/sonic-platform-daemons
url = https://github.com/Azure/sonic-platform-daemons
[submodule "platform/broadcom/sonic-platform-modules-accton"]
path = platform/broadcom/sonic-platform-modules-accton
url = https://github.com/edge-core/sonic-platform-modules-accton.git
[submodule "platform/broadcom/sonic-platform-modules-cel"]
path = platform/broadcom/sonic-platform-modules-cel
url = https://github.com/celestica-Inc/sonic-platform-modules-cel.git
[submodule "src/sonic-frr/frr"]
path = src/sonic-frr/frr
url = https://github.com/FRRouting/frr.git
Expand All @@ -68,12 +50,3 @@
[submodule "platform/p4/SAI-P4-BM"]
path = platform/p4/SAI-P4-BM
url = https://github.com/Mellanox/SAI-P4-BM.git
[submodule "platform/nephos/sonic-platform-modules-ingrasys"]
path = platform/nephos/sonic-platform-modules-ingrasys
url = https://github.com/Ingrasys-sonic/sonic-platform-modules-ingrasys-nephos.git
[submodule "platform/broadcom/sonic-platform-modules-quanta"]
path = platform/broadcom/sonic-platform-modules-quanta
url = https://github.com/QuantaSwitchONIE/sonic-platform-modules-quanta.git
[submodule "platform/broadcom/sonic-platform-modules-mitac"]
path = platform/broadcom/sonic-platform-modules-mitac
url = https://github.com/MiTAC-EBU/sonic-platform-modules-mitac.git
20 changes: 14 additions & 6 deletions build_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ sudo LANG=C chroot $FILESYSTEM_ROOT mount proc /proc -t proc

## Pointing apt to public apt mirrors and getting latest packages, needed for latest security updates
sudo cp files/apt/sources.list $FILESYSTEM_ROOT/etc/apt/
sudo cp files/apt/apt.conf.d/{81norecommends,apt-{clean,gzip-indexes,no-languages}} $FILESYSTEM_ROOT/etc/apt/apt.conf.d/
sudo cp files/apt/apt.conf.d/* $FILESYSTEM_ROOT/etc/apt/apt.conf.d/
sudo LANG=C chroot $FILESYSTEM_ROOT bash -c 'apt-mark auto `apt-mark showmanual`'

## Note: set lang to prevent locale warnings in your chroot
Expand All @@ -114,7 +114,7 @@ echo '[INFO] Install SONiC linux kernel image'
## Note: duplicate apt-get command to ensure every line return zero
sudo dpkg --root=$FILESYSTEM_ROOT -i target/debs/initramfs-tools_*.deb || \
sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y install -f
sudo dpkg --root=$FILESYSTEM_ROOT -i target/debs/linux-image-3.16.0-5-amd64_*.deb || \
sudo dpkg --root=$FILESYSTEM_ROOT -i target/debs/linux-image-3.16.0-6-amd64_*.deb || \
sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y install -f

## Update initramfs for booting with squashfs+aufs
Expand Down Expand Up @@ -152,10 +152,10 @@ sudo chmod +x $FILESYSTEM_ROOT/etc/initramfs-tools/hooks/union-fsck
sudo chroot $FILESYSTEM_ROOT update-initramfs -u

## Install latest intel igb driver
sudo cp target/debs/igb.ko $FILESYSTEM_ROOT/lib/modules/3.16.0-5-amd64/kernel/drivers/net/ethernet/intel/igb/igb.ko
sudo cp target/debs/igb.ko $FILESYSTEM_ROOT/lib/modules/3.16.0-6-amd64/kernel/drivers/net/ethernet/intel/igb/igb.ko

## Install latest intel ixgbe driver
sudo cp target/debs/ixgbe.ko $FILESYSTEM_ROOT/lib/modules/3.16.0-5-amd64/kernel/drivers/net/ethernet/intel/ixgbe/ixgbe.ko
sudo cp target/debs/ixgbe.ko $FILESYSTEM_ROOT/lib/modules/3.16.0-6-amd64/kernel/drivers/net/ethernet/intel/ixgbe/ixgbe.ko

## Install docker
echo '[INFO] Install docker'
Expand Down Expand Up @@ -199,12 +199,10 @@ sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y in
vim \
tcpdump \
dbus \
ntp \
ntpstat \
openssh-server \
python \
python-setuptools \
rsyslog \
monit \
python-apt \
traceroute \
Expand All @@ -227,6 +225,10 @@ sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y in
grub2-common \
ethtool

# Install a newer version of rsyslog from jessie-backports in hopes of
# eliminating memory leaks
sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y -t jessie-backports install rsyslog

sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y download \
grub-pc-bin

Expand Down Expand Up @@ -269,6 +271,7 @@ check system $HOST
EOF

## Config sysctl
## TODO: ipfrag* are for mitigating CVE-2018-5391, remove after kernel upgraded
sudo mkdir -p $FILESYSTEM_ROOT/var/core
sudo augtool --autosave "
set /files/etc/sysctl.conf/kernel.core_pattern '|/usr/bin/coredump-compress %e %t %p'
Expand Down Expand Up @@ -300,11 +303,16 @@ set /files/etc/sysctl.conf/net.ipv6.conf.eth0.forwarding 0

set /files/etc/sysctl.conf/net.ipv6.conf.default.accept_dad 0
set /files/etc/sysctl.conf/net.ipv6.conf.all.accept_dad 0
set /files/etc/sysctl.conf/net.ipv6.conf.eth0.accept_dad 0

set /files/etc/sysctl.conf/net.ipv6.conf.eth0.accept_ra_defrtr 0
set /files/etc/sysctl.conf/net.ipv6.conf.eth0.accept_ra 0

set /files/etc/sysctl.conf/net.core.rmem_max 2097152
set /files/etc/sysctl.conf/net.core.wmem_max 2097152

set /files/etc/sysctl.conf/net.ipv4.ipfrag_high_thresh 262144
set /files/etc/sysctl.conf/net.ipv4.ipfrag_low_thresh 196608
" -r $FILESYSTEM_ROOT

## docker-py is needed by Ansible docker module
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
{# Default values which will be used if no actual configura available #}
{% set default_cable = '40m' %}
{% set default_speed = '10G' %}
{% set default_ports_num = 54 -%}

{# Port configuration to cable length look-up table #}
{# Each record describes mapping of DUT (DUT port) role and neighbor role to cable length #}
{# Roles described in the minigraph #}
{% set ports2cable = {
'torrouter_server' : '5m',
'leafrouter_torrouter' : '40m',
'spinerouter_leafrouter' : '300m'
}
%}

{%- macro cable_length(port_name) -%}
{%- set cable_len = [] -%}
{%- for local_port in DEVICE_NEIGHBOR -%}
{%- if local_port == port_name -%}
{%- if DEVICE_NEIGHBOR_METADATA[DEVICE_NEIGHBOR[local_port].name] -%}
{%- set neighbor = DEVICE_NEIGHBOR_METADATA[DEVICE_NEIGHBOR[local_port].name] -%}
{%- set neighbor_role = neighbor.type -%}
{%- set roles1 = switch_role + '_' + neighbor_role %}
{%- set roles2 = neighbor_role + '_' + switch_role -%}
{%- set roles1 = roles1 | lower -%}
{%- set roles2 = roles2 | lower -%}
{%- if roles1 in ports2cable -%}
{%- if cable_len.append(ports2cable[roles1]) -%}{%- endif -%}
{%- elif roles2 in ports2cable -%}
{%- if cable_len.append(ports2cable[roles2]) -%}{%- endif -%}
{%- endif -%}
{%- endif -%}
{%- endif -%}
{%- endfor -%}
{%- if cable_len -%}
{{ cable_len.0 }}
{%- else -%}
{{ default_cable }}
{%- endif -%}
{% endmacro %}

{%- if DEVICE_METADATA is defined %}
{%- set switch_role = DEVICE_METADATA['localhost']['type'] %}
{%- endif -%}

{# Generate list of ports if not defined #}
{% if PORT is not defined %}
{% set PORT = [] %}
{% for port_idx in range(0,default_ports_num) %}
{% if PORT.append("Ethernet%d" % (port_idx)) %}{% endif %}
{% endfor %}
{% endif -%}

{% set port_names_list = [] %}
{% for port in PORT %}
{%- if port_names_list.append(port) %}{% endif %}
{% endfor %}
{% set port_names = port_names_list | join(',') -%}

{
"CABLE_LENGTH": {
"AZURE": {
{% for port in PORT %}
{% set cable = cable_length(port) -%}
"{{ port }}": "{{ cable }}"{%- if not loop.last -%},{% endif %}

{% endfor %}
}
},
"BUFFER_POOL": {
"ingress_lossless_pool": {
"size": "20971328",
"type": "ingress",
"mode": "static"
},
"ingress_lossy_pool": {
"size": "20971328",
"type": "ingress",
"mode": "static"
},
"egress_lossy_pool": {
"size": "20971328",
"type": "egress",
"mode": "static"
}
},
"BUFFER_PROFILE": {
"ingress_lossless_profile": {
"pool":"[BUFFER_POOL|ingress_lossless_pool]",
"xon":"78400",
"xoff":"132160",
"size":"3584",
"static_th":"82880"
},
"ingress_lossy_profile": {
"pool":"[BUFFER_POOL|ingress_lossy_pool]",
"size":"3584",
"dynamic_th":"-1"
},
"egress_lossy_profile": {
"pool":"[BUFFER_POOL|egress_lossy_pool]",
"size":"3584",
"dynamic_th":"-4"
}
},
"BUFFER_PG": {
},
"BUFFER_QUEUE": {
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# PG lossless profiles.
# speed cable size xon xoff threshold
10000 5m 3584 32256 59136 36736
25000 5m 3584 41216 68096 45696
40000 5m 3584 47488 74368 51968
50000 5m 3584 52864 79744 57344
100000 5m 3584 78400 132160 82880
10000 40m 3584 32256 59136 36736
25000 40m 3584 41216 68096 45696
40000 40m 3584 47488 74368 51968
50000 40m 3584 52864 79744 57344
100000 40m 3584 78400 132160 82880
10000 300m 3584 32256 65856 36736
25000 300m 3584 41216 84672 45696
40000 300m 3584 47488 101024 51968
50000 300m 3584 52864 113120 57344
100000 300m 3584 78400 198688 82880
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# name lanes alias index
Ethernet0 8 Ethernet1/1 0
Ethernet1 9 Ethernet2/1 1
Ethernet2 10 Ethernet3/1 2
Ethernet3 11 Ethernet4/1 3
Ethernet4 12 Ethernet5/1 4
Ethernet5 13 Ethernet6/1 5
Ethernet6 14 Ethernet7/1 6
Ethernet7 15 Ethernet8/1 7
Ethernet8 16 Ethernet9/1 8
Ethernet9 17 Ethernet10/1 9
Ethernet10 18 Ethernet11/1 10
Ethernet11 19 Ethernet12/1 11
Ethernet12 20 Ethernet13/1 12
Ethernet13 21 Ethernet14/1 13
Ethernet14 22 Ethernet15/1 14
Ethernet15 23 Ethernet16/1 15
Ethernet16 32 Ethernet17/1 16
Ethernet17 33 Ethernet18/1 17
Ethernet18 34 Ethernet19/1 18
Ethernet19 35 Ethernet20/1 19
Ethernet20 40 Ethernet21/1 20
Ethernet21 41 Ethernet22/1 21
Ethernet22 42 Ethernet23/1 22
Ethernet23 43 Ethernet24/1 23
Ethernet24 48 Ethernet25/1 24
Ethernet25 49 Ethernet26/1 25
Ethernet26 50 Ethernet27/1 26
Ethernet27 51 Ethernet28/1 27
Ethernet28 56 Ethernet29/1 28
Ethernet29 57 Ethernet30/1 29
Ethernet30 58 Ethernet31/1 30
Ethernet31 59 Ethernet32/1 31
Ethernet32 64 Ethernet33/1 32
Ethernet33 65 Ethernet34/1 33
Ethernet34 66 Ethernet35/1 34
Ethernet35 67 Ethernet36/1 35
Ethernet36 68 Ethernet37/1 36
Ethernet37 69 Ethernet38/1 37
Ethernet38 70 Ethernet39/1 38
Ethernet39 71 Ethernet40/1 39
Ethernet40 72 Ethernet41/1 40
Ethernet41 73 Ethernet42/1 41
Ethernet42 74 Ethernet43/1 42
Ethernet43 75 Ethernet44/1 43
Ethernet44 76 Ethernet45/1 44
Ethernet45 77 Ethernet46/1 45
Ethernet46 78 Ethernet47/1 46
Ethernet47 79 Ethernet48/1 47
Ethernet48 84,85,86,87 Ethernet49/1 48
Ethernet49 80,81,82,83 Ethernet50/1 49
Ethernet50 104,105,106,107 Ethernet51/1 50
Ethernet51 108,109,110,111 Ethernet52/1 51
Ethernet52 112,113,114,115 Ethernet53/1 52
Ethernet53 116,117,118,119 Ethernet54/1 53
Loading