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

201811 #109

Closed
wants to merge 221 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
221 commits
Select commit Hold shift + click to select a range
e5daf21
[syncd.sh] Don't stop sxdkernel during warm shutdown on Mellanox plat…
stepanblyschak Feb 16, 2019
def2780
[hostcfgd]: Promote logs for update-notifications-from-DB from DEBUG …
renukamanavalan Feb 16, 2019
fc5512a
[quagga]: collect quagga-dbg debian package (#2575)
lguohan Feb 16, 2019
490f47e
'show vlan config' is not displaying the VLAN members, after the clea…
ramachandrareddygaddam Feb 18, 2019
c5b0c59
[swss]: flush asic db in swss.sh for non warm-boot (#2582)
lguohan Feb 20, 2019
2a12684
[minigraph] asymmetric pfc is disabled by default (#2481)
mykolaf Feb 20, 2019
a57cb14
[ntp] disable ntp time jump (#2589)
yxieca Feb 20, 2019
d5250ad
Revert "[baseimage] Delay ntp-config service to start after 5 minutes…
yxieca Feb 21, 2019
797b21e
[config engine] update test_cfggen test_port_description test (#2593)
mykolaf Feb 21, 2019
1d11b95
[201811 submodules] advance sairedis, swss, swss-common, utilities (#…
yxieca Feb 22, 2019
fbdb256
[submodule] update mellanox hw-mgmgt pointer (V.2.0.0061) (#2592)
mykolaf Feb 22, 2019
9f0ccbb
[201811 sub module] advance sonic-swss sub module (#2599)
yxieca Feb 23, 2019
a06f590
[Mellanox] Update SAI, SDK/FW (v4.3.0136/13.1910.0920) (#2616)
andriymoroz-mlnx Feb 28, 2019
8617923
[sub module] advance sonic-utilities sub module for 201811 branch (#2…
yxieca Feb 28, 2019
83c645d
[Mellanox] Fix SAI version (#2628)
andriymoroz-mlnx Mar 1, 2019
c6ccb80
[services] Ensure swss and syncd services start before dependent serv…
jleveque Mar 2, 2019
ece0050
[router-advertiser] Add templated script to wait for pertinent interf…
yxieca Mar 7, 2019
daf45c5
[supervisor] Fix crash if system clock rolls back within startsecs; R…
jleveque Mar 4, 2019
e5b8302
Set a rate limit on syslog messages from all Docker containers (#2573)
jleveque Mar 4, 2019
deab95c
[swss/syncd] cold start syncd service in swss in attach method (#2639)
yxieca Mar 5, 2019
0b13c45
Add hook to allow customizing link cable lengths
wendani Mar 5, 2019
4f3a5e8
[devices]: sfputil support more mellanox sku (#2645)
yxieca Mar 7, 2019
898a5ac
[201811 sub module] update swss, swss-common sub modules (#2652)
yxieca Mar 7, 2019
8a602c6
[mellanox]: Remove MAC alignment WA for Mellanox platforms. (#2632)
nazariig Mar 2, 2019
23aa759
[201811 sub module] advance sairedis sub module (#2657)
yxieca Mar 7, 2019
6341b87
[sub module] remove changes not ready yet (#2662)
yxieca Mar 9, 2019
1ddf4b7
revert 'Remove MAC alignment WA for Mellanox platforms.' (#2677)
mykolaf Mar 18, 2019
4998609
[minigraph]: Do not fail for minigraphs which do not have neighbors l…
NStetskovych-zz Feb 5, 2019
f720c2a
[qos]: Map tc 1, 2, 5, and 6 back to pg 0 (#2650)
wendani Mar 8, 2019
638724f
Update bcmcmd binary: fix crash issue when long line >= 1023 chars (#…
qiluo-msft Mar 8, 2019
ecec579
[services] Services which start containers now use 'docker wait' inst…
jleveque Mar 8, 2019
ba5accd
[mellanox] Fix in mlnx-ffb.sh (#2676)
stepanblyschak Mar 18, 2019
bbfe094
[docker] Update docker package version for CVE-2019-5736 fix (#2663)
yxieca Mar 19, 2019
4c61c0e
[201811 sub-module] advance sub-modules: utilities, swss, swss-common…
yxieca Mar 19, 2019
21ea29a
[Mellanox] Update SAI (#2686)
andriymoroz-mlnx Mar 21, 2019
d80ea02
[sonic-py-swsssdk] Update submodule (#2660)
yxieca Mar 22, 2019
ed8e29c
[Mellanox] fix sfp lpmode set failure caused by extra nv port (#2671)
keboliu Mar 19, 2019
f29e623
[docker script] skip docker mount point checking for database contain…
yxieca Mar 20, 2019
00081c5
[make file] managing teamd patches with stg (#2689)
yxieca Mar 22, 2019
14e3c60
[201811 sub module] advance utilitie sub module (#2695)
yxieca Mar 22, 2019
5043e22
[jessie based docker] remove dependency on some retired jessie repos …
yxieca Mar 27, 2019
dc2317a
[libteam]: Skip setting the same hwaddr to lag port to avoid disrupti…
jipanyang Mar 23, 2019
378fa08
[teamd] retry creating team_port after interface info changed (#2699)
yxieca Mar 28, 2019
e985372
[devices]: Add support of HwSKU Mellanox-SN2700-C28D8 (#2700)
andriymoroz-mlnx Mar 28, 2019
3d8d4ae
[security] Do not generate ssh server keys for non RSA protocols (#2718)
qiluo-msft Mar 29, 2019
1b07437
[201811][snmpagent][swss-common] advance sub module head to include o…
yxieca Mar 31, 2019
681e34a
[service] add warmboot finializer service (#2725)
yxieca Apr 1, 2019
021b378
[build] force Linux to drop cache before calling kvm (#2717)
yxieca Apr 1, 2019
13a643b
[teamd service] teamd service should start after syncd (#2724)
yxieca Apr 1, 2019
bc98f9f
[teamd] prevent re-entrance of port priv change handler (#2723)
yxieca Apr 1, 2019
502ddb0
[201811][sairedis][swss] advance sub module head of sairedis and swss…
yxieca Apr 1, 2019
1a4bac7
[201811][platform-common] add platform-common 201811 branch (#2743)
yxieca Apr 4, 2019
27f1aa7
removing dhcp- turn- off option from initrd (#2555)
Apr 2, 2019
4eaa4da
Revert "[teamd service] teamd service should start after syncd (#2724…
yxieca Apr 3, 2019
5c663ca
[201811][utilities] advance submodule head (#2748)
yxieca Apr 4, 2019
6c1a0ce
[hostcfgd] -- Fix the default for failthrough as false.
renukamanavalan Apr 3, 2019
9ae1103
[20181][sub-modules] advance sairedis, swss, swss-common and utilitie…
yxieca Apr 9, 2019
97e996f
[bcm SAI] upgrade Broadcom SAI to version 3.3.5.4-1 (#2764)
yxieca Apr 11, 2019
bed716e
[Mellanox] Update SAI (#2778)
mykolaf Apr 14, 2019
f62d2b0
[vstest]: Test for quagga livelock fix (#2751)
pavel-shirshov Apr 9, 2019
19813c2
[bgp quagga] increase BGP graceful restart timeout to 240 seconds (#2…
yxieca Apr 11, 2019
144fe97
[docker-fpm-quagga]: Add support for PeerAsn and UpdateAddress (#2766)
pavel-shirshov Apr 11, 2019
fde3a4f
[sonic-cfggen]: Output differences for bgp configurations (#2768)
pavel-shirshov Apr 11, 2019
227bc32
Install python3.6 smbus module in snmp (#2772)
Staphylo Apr 16, 2019
5578e3d
[mgmt] Install passlib in sonic-mgmt docker to support ansible `no_lo…
qiluo-msft Apr 13, 2019
543aec6
[201811][utilities] advance sonic-utilities submodule (#2792)
yxieca Apr 16, 2019
d210f86
[201811] [radvd] Build radvd from source; Patch so as not to treat ou…
jleveque Apr 17, 2019
397b552
[Devices] Add new device CIG CS6436-56P (#2587)
michealylj1 Apr 18, 2019
034ac41
[devices]: Watchdog enable/disable in DellEMC S6100 (#2730)
Apr 17, 2019
08fed3c
[snmp.service] Make swss.service a requisite (#2790)
stepanblyschak Apr 17, 2019
f082cff
teamd: lacp: update port state according to partner's sync bit (#2793)
pavel-shirshov Apr 17, 2019
03dfd3d
[201811][utilities] advance sonic-utilities sub module head (#2801)
yxieca Apr 18, 2019
5628de5
[devices]: Make the get_transceiver_change_event's epoll blocking S61…
padmanarayana Jan 18, 2019
08eea92
Update sonic-quagga submodulde. Quagga crash fix (#2802)
pavel-shirshov Apr 19, 2019
15a5264
[201811][swss][utilities] advance swss/utilities sub modules (#2809)
yxieca Apr 22, 2019
5663c81
Revert "[devices]: Watchdog enable/disable in DellEMC S6100 (#2730)"…
yxieca Apr 23, 2019
5004d2b
Increase syncd start timeout (#2776)
andriymoroz-mlnx Apr 24, 2019
525ee59
Downport the netlink patch to libteam1.26. Increase netlink buffers (…
pavel-shirshov Apr 25, 2019
042d614
[201811][sairedis][utilities] advance sub module heads (#2830)
yxieca Apr 26, 2019
edc8685
[teamd service] start teamd service after swss (#2829)
yxieca Apr 26, 2019
34734e4
[minigraph]: Fix bug in copying list in Python (#2831)
Apr 26, 2019
675a899
[mellanox] Update Mellanox FW version (#2827)
stepanblyschak Apr 29, 2019
e4a663a
[teamd] do not process lacpdu before the port ifinfo is set (#2815)
yxieca Apr 30, 2019
dd31c2d
Remove unused packages in docker images and host (#2807)
qiluo-msft Apr 30, 2019
af380e9
[devices]: DellEMC S6000 xcvrd support (#2560)
Apr 30, 2019
f22666c
[201811][utilities] advance sub-module head (#2844)
yxieca Apr 30, 2019
3b02eec
[db migrator] migrate the DB to latest schema when needed (#2808)
yxieca Apr 30, 2019
cc90d7f
[sudoers] Add /usr/bin/teamshow to READ_ONLY_CMDS (#2846)
jleveque May 1, 2019
65cd722
[201811][utilities] advance sub-module head (#2849)
yxieca May 1, 2019
cf6f22f
[mellanox]: Update SAI (#2841)
andriymoroz-mlnx May 1, 2019
4e99b60
Enable Debugs in BCM Kernel-bde and Knet Modules (#2786)
sridhar-ravindran May 2, 2019
d12782c
[201811][swss] advance sub-module head (#2868)
yxieca May 6, 2019
dc2fb74
[ebtables] install ebtables in base image and install filter rules
yxieca Apr 19, 2019
b54d787
[devices]: DellEMC S6100/Z9100 sensor.conf update (#2861)
May 9, 2019
21f31e9
[201811][swss][utilities] advance sub-module head (#2878)
yxieca May 10, 2019
99de97c
[sonic-quagga]: Fix missing fpm messages (#2884)
pavel-shirshov May 11, 2019
c183614
Fix for LLDP portname issue (#2886)
May 10, 2019
116246d
[201811][utilities] update sub module head (#2897)
yxieca May 14, 2019
bd7b96f
[201811][dhcp_relay] Add support for DHCP client(s) on one VLAN and D…
jleveque May 18, 2019
643d16a
LED Supprot For DellEMC Z9100 (#2799)
May 14, 2019
238db1e
[tacacs]: skip accessing tacacs servers for local non-tacacs users (#…
renukamanavalan May 9, 2019
85c51bf
[devices]: Added index for dell z9100 c32 (#2892)
May 16, 2019
82cd144
[mlnx] refactor and fix mlnx-sfpd shutdown (#2907)
stepanblyschak May 17, 2019
712d4b9
[mlnx] fix incorrect attr assignment in mlnx-sfpd (#2913)
stepanblyschak May 18, 2019
5975a9c
[updategraph] set DB version after minigraph reload (#2917)
yxieca May 19, 2019
f434b80
[201811][utilities] update sub-module head (#2927)
yxieca May 20, 2019
c49bac1
[devices]: Dell Hwmon S6100/Z9100 SFM version export (#2521)
Feb 5, 2019
5b52a24
[devices]: Export reboot_reason sysfs attribute for DellEMC S6100/Z91…
May 20, 2019
fae3553
[swss.sh] flush FDB table during cold start (#2933)
stepanblyschak May 23, 2019
fb1f156
[devices]: Optics fixes in Dell Z9100/Z9264f platforms (#2936)
May 26, 2019
0f4cb41
[monit] Set memory usage alert at 50% (#2939)
qiluo-msft May 24, 2019
8ae67c4
[logrotate] Enhance robustness (#2942)
jleveque May 26, 2019
5060818
[mellanox]: fix wrong type of paramerter (#2950)
keboliu May 28, 2019
f791502
[201811][utilities][swss] advance sub-module heads (#2953)
yxieca May 29, 2019
abc25df
[teamd]: Administratively shutdown port channel has member ports in d…
phanindra-tv May 29, 2019
3954e08
[libteam] Send updates as soon as we need to update the LACP partner …
pavel-shirshov May 30, 2019
fbe55e9
[201811][utilities] advance utilties sub module head (#2960)
yxieca May 30, 2019
fbe9715
[201811][swss][utilities] advance sub module head (#2968)
yxieca Jun 4, 2019
2295dab
[submodule]: Update sonic-quagga submodule (#2984)
pavel-shirshov Jun 8, 2019
0023fca
[baseimage] kernel oom-killer to panic when the system is truly out o…
SuvarnaMeenakshi Jun 11, 2019
13b066f
[201803][monit] Restart rsyslog service if rsyslogd consumes > 800 MB…
jleveque Jun 4, 2019
be799cb
[swss][utilities] advance sub module head (#3010)
yxieca Jun 13, 2019
983a4b2
[bcm SAI] upgrade Broadcom SAI to version 3.3.6.1-9 (#3009)
yxieca Jun 14, 2019
f71c665
[libteam]: Reimplement Warm-Reboot procedure (#2999)
pavel-shirshov Jun 14, 2019
34f3caf
Set the default mac ageing time to 600 seconds (#2365)
zhenggen-xu Jun 15, 2019
cf9adfe
[201811][swss] advance sub module head (#3018)
yxieca Jun 16, 2019
c9748dd
[submodule]: Update submodule sonic-quagga (#3030)
neethajohn Jun 19, 2019
02fc130
[baseimage]: Increase TMOUT for serial port connections to 15 minutes…
jleveque Jun 19, 2019
f6c1cef
[201811][swss][utilities] advance sub module head (#3051)
yxieca Jun 19, 2019
0ea679e
[submodule] update sonic-linux-kernel (#3038)
qiluo-msft Jun 21, 2019
7db8c4a
[kernel upgrade] change init file name to match kernel version (#3064)
yxieca Jun 21, 2019
a6fa4d1
[snmpd]: Restart snmpd to mitigate its crash (#3085)
pavel-shirshov Jun 26, 2019
588c687
[fast-reboot] fix fast reboot compatibility (#3083) and advance sai-r…
qiluo-msft Jun 27, 2019
f2b8d6d
[submodule] update sairedis (#3099)
qiluo-msft Jun 29, 2019
aa8fcd9
[broadcom]: update saibcm-modules to sdk 6.5.14
Apr 16, 2019
43853bf
change libsaithrift version to 0.9.4
yxieca Feb 16, 2019
58171a8
[Broadcom SAI] upgrade Broadcom SAI to 3.5.2.3
lguohan Jun 26, 2019
8f077b8
[submodule]: update sonic-swss and sonic-sairedis submodule
lguohan Jun 27, 2019
dc0f695
Update SAI to v1.4, SDK to v4.3.1420 (#46)
andriymoroz-mlnx Jul 2, 2019
7a6aca7
Merge pull request #3088: upgrade SAI to v1.4 for 201811
lguohan Jul 2, 2019
ff7fe3f
[submodule]: Update sonic-swss pointer (#3110)
andriymoroz-mlnx Jul 2, 2019
24e5a62
[sonic-cfggen]: Fix for management port speed issue (#2945)
Jun 1, 2019
b8bdeff
[submodules]: Backport ACL/MIRROR features to 201811 branch (#3112)
stcheng Jul 5, 2019
9e02684
[201811][dockers] Upgrade rsyslog to latest version available from je…
jleveque Jul 6, 2019
0bca6b8
1) Build debug docker image for each docker (#3104)
renukamanavalan Jul 9, 2019
30a8d1d
[sshd] Close all SSH connetions after 15 minutes of inactivity (#3031)
jleveque Jul 7, 2019
cf4ab3e
[devices]: DellEMC Z9264f remove 115200 baud-ratesupport (#3046)
Jun 23, 2019
c932302
fix fast reboot compatibility (#3083)
stepanblyschak Jun 26, 2019
1115c84
[reboot-cause]: Move reboot cause processing to its own service, 'pro…
jleveque Jul 3, 2019
4b5abd0
[swss.sh]: Cleanup LAG entries in STATE DB (#3114)
stepanblyschak Jul 9, 2019
c3932e5
[process-reboot-cause] Handle case if platform does not yet have soni…
jleveque Jul 6, 2019
0c77acf
[Mellanox] Fix the memory leak in mlnx-sfpd (#3128)
stephenxs Jul 9, 2019
1166782
[devices]: DELLEMC: Z9100,S6100 Exporting Device Last PowerOn Reason …
sridhar-ravindran Jun 29, 2019
58b3c62
[nephos]: update sai and sdk support 4.9.0-9 (#3137)
simonJi2018 Jul 11, 2019
c78cbe7
[Mellanox]: Fixed Mellanox ISSU dependency. (#3141)
nazariig Jul 11, 2019
264e828
[kvm]: support for all hwsku in kvm switch (#2495)
lguohan Jan 30, 2019
6b42f75
[vs]: Force10-S6000 buffer settings for virtual switch (#2515)
lguohan Feb 1, 2019
0952b42
[submodule]: update sonic-sairedis
lguohan Jul 14, 2019
8761723
[docker-syncd-vs]: fix syncd target for docker-syncd-vs.
lguohan Jul 15, 2019
050787e
[201811] advance sub module heads (#3135)
yxieca Jul 16, 2019
c620cab
[dell/Z9100] Fix for optics not detected in fanout mode (#2496)
vharish02 Feb 16, 2019
cd32a9f
[devices]: Reset I2C MUX in S6000 while invoking platform reboot (#2567)
sridhar-ravindran Feb 16, 2019
a79dd71
[database] save configuration after DB migration (#3143)
yxieca Jul 16, 2019
d5aa1d5
[201811][utilities] advance utililies sub module head (#3162)
yxieca Jul 16, 2019
094f7ed
Merge pull request #3015 : add kvm image support for all skus
lguohan Jul 16, 2019
0ef7e3b
[sonic-cfggen] fix name conflict between sonic_platform package and s…
keboliu May 15, 2019
e1129c9
[submodule]: Update sonic-quagga (#3136)
pavel-shirshov Jul 11, 2019
0869fd3
[baseimage]: Fix process-reboot-cause possibly throwing OSError (#3159)
zzhiyuan Jul 16, 2019
0603acc
[build]: Fix docker-syncd-`<platform>`-rpc.mk (#3174)
renukamanavalan Jul 17, 2019
ae3ae7d
[Mellanox] update SDK/FW (#3169)
mykolaf Jul 17, 2019
ea81f40
[201811] Install mcelog package to host OS; log machine check excepti…
jleveque Jul 17, 2019
b118129
[devices]: DellEMC S6100 Enabling Polling Mode for Miim Operation (#3…
sridhar-ravindran Jul 16, 2019
c797747
Fix for LLDP portname exposed as MAC address bug (#3152)
Jul 17, 2019
3375fb2
Reverting permission changes on lldpmgrd (#3184)
Jul 18, 2019
d2e6daa
[201811][sairedis][swss] advance sub modules head (#3189)
yxieca Jul 20, 2019
bba61eb
201811: Debug Image only fix: Let individual make files dictate the s…
renukamanavalan Jul 22, 2019
f147881
Revert "[database] save configuration after DB migration (#3143)" (#3…
yxieca Jul 22, 2019
7a9d04e
[Mellanox] Backporting reboot cause to 201811 (#3198)
stephenxs Jul 23, 2019
148df17
[devices]: DELL Platform 2.0 API Infra and Reboot Reason support in Z…
sridhar-ravindran Jul 23, 2019
9476eaf
[docker-engine]: Update docker engine to 18.09.8 (#3211)
neethajohn Jul 24, 2019
bce8fee
[config-engine]: Add admin_status up to l2switch.json template (#3210)
stcheng Jul 24, 2019
7cf90ec
[warm reboot] save configuration after warm reboot (#3200)
yxieca Jul 24, 2019
29bbd86
[services] Restart SwSS service upon unexpected critical process exit…
jleveque Jul 30, 2019
f314e3f
[device/arista] Update arista drivers submodules (#3170)
Staphylo Jul 30, 2019
1ddfa13
Update sonic-platform-modules-arista for 201811 (#3232)
zzhiyuan Jul 31, 2019
7f526b8
update 201811 brach submodule (#3246)
keboliu Jul 31, 2019
d45d00d
[201811][sairedis] advance sub-module head (#3247)
yxieca Jul 31, 2019
da57e8d
Revert back to 'import sonic_platform' (#3249)
jleveque Jul 31, 2019
3cdfb43
[libteam]: Fix libteam race condition when interface is created and e…
stcheng Jul 31, 2019
a103f73
[201811][linux-kernel] advance sub module head (#3254)
yxieca Aug 1, 2019
c07c482
[Mellanox] Update SAI to fix 50G FEC issue (#3266)
andriymoroz-mlnx Aug 2, 2019
ca38147
[Mellanox] enhance the reboot cause handling on 201811 (#3253)
stephenxs Aug 2, 2019
170c397
[2018011] Remapping S6000 platform files under Vendor (DellEmc) speci…
gengankarthik Aug 2, 2019
36c9d99
[build]: enable docker in ram option for small disk device (#3279)
lguohan Aug 7, 2019
ba3d85e
[DELLEMC][S6000] 201811 Porting of Platform 2.0 Reboot Reason (#3156)…
sridhar-ravindran Aug 7, 2019
c29e2e2
[Mellanox sfputil] update get_transceiver_change_event to support mor…
keboliu Aug 7, 2019
a41d9a5
[service dependent] describe non-warm-reboot dependency outside syste…
yxieca Aug 8, 2019
f08d184
[201811][utilities] advance sub-module head (#3330)
yxieca Aug 13, 2019
076e660
[docker-fpm-frr]: Fix FRR config script to render frr.conf (#2770)
qiluo-msft Apr 11, 2019
b3ef09c
[mmu] add mmu_init_config to HWSKU Arista-7260CX3-Q64 (#3334)
yxieca Aug 14, 2019
b8d5e6c
[201811][sairedis] update sub module head (#3335)
yxieca Aug 14, 2019
db20906
[libteam]: Move libteam from 1.26 to 1.28 (#3332)
stcheng Aug 14, 2019
b80d60c
Fix to ensure that tacacs servers are ordered (reverse) by priority i…
renukamanavalan Aug 9, 2019
c17cd19
[Mellanox] mlnx-sfpd init flow enhancement (#3294)
stephenxs Aug 8, 2019
7e6f29d
[device/Arista] Update drivers submodules (#3338)
Staphylo Aug 15, 2019
2b8eca5
[control plane assistant] stop control plane assistant after warm reb…
yxieca Aug 15, 2019
64063b2
[baseimage]: install ndisc6 package (#3344)
lguohan Aug 15, 2019
d23f51e
[201811] advance sairedis, swss and utilities sub module heads (#3345)
yxieca Aug 16, 2019
b5ebfc8
[innovium]: Initial commit (#3243) (#3347)
tonytitus Aug 16, 2019
d821cb8
[radv service] radv service should be a cold only dependent of swss (…
yxieca Aug 16, 2019
3279327
[201811][swss][platform-daemon] advance sub module head (#3360)
yxieca Aug 16, 2019
8d5e37d
[Mellanox] align platform_reboot to use "hardware reboot" (#3320)
mykolaf Aug 19, 2019
1fba195
[kernel] Upgrade kernel to version 4.9.168-1+deb9u5
yxieca Aug 20, 2019
950bc05
[minigraph]: Mark both ERSPAN and ERSPANv6 as mirror ACL tables (#2732)
Apr 2, 2019
16bfd72
[minigraph]: Fix bug in copying list in Python (#2831)
Apr 26, 2019
66245e2
[minigraph]: Add mirror type v6 condition (#2836)
May 1, 2019
b715ec8
[Fast-Reboot]: FR mode is active only first 3 minutes after start. (#…
pavel-shirshov Aug 19, 2019
8c7b0e9
[device/arista] Update driver submodules (#3377)
Staphylo Aug 23, 2019
60b2e54
[201811][utilities][swss] advance sub module head (#3383)
yxieca Aug 26, 2019
f78fcb1
[201811][platform/nephos]fix the compile error about syncd (#3373)
simonJi2018 Aug 28, 2019
c6655b8
[swss]: Add hash seed 15 for SpineRouter type (#3390)
zhenggen-xu Aug 28, 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 @@ -33,6 +33,9 @@ src/python-click/*
!src/python-click/Makefile
src/python3/*
!src/python3/Makefile
src/radvd/*
!src/radvd/Makefile
!src/radvd/patch/
src/redis/*
!src/redis/Makefile
src/snmpd/*
Expand Down
2 changes: 2 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,14 @@
[submodule "src/sonic-utilities"]
path = src/sonic-utilities
url = https://github.com/Azure/sonic-utilities
branch = 201811
[submodule "platform/broadcom/sonic-platform-modules-arista"]
path = platform/broadcom/sonic-platform-modules-arista
url = https://github.com/aristanetworks/sonic
[submodule "src/sonic-platform-common"]
path = src/sonic-platform-common
url = https://github.com/Azure/sonic-platform-common
branch = 201811
[submodule "src/sonic-platform-daemons"]
path = src/sonic-platform-daemons
url = https://github.com/Azure/sonic-platform-daemons
Expand Down
4 changes: 4 additions & 0 deletions Makefile.work
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
# * make NOSTRETCH=1 KEEP_SLAVE_ON=yes <any jessie target>
# * SOURCE_FOLDER: host path to be mount as /var/$(USER)/src, only effective when KEEP_SLAVE_ON=yes
# * SONIC_BUILD_JOBS: Specifying number of concurrent build job(s) to run
# * VS_PREPARE_MEM: Prepare memory in VS build (drop cache and compact).
# * Default: yes
# * Values: yes, no
# * KERNEL_PROCURE_METHOD: Specifying method of obtaining kernel Debian package: download or build
#
###############################################################################
Expand Down Expand Up @@ -114,6 +117,7 @@ SONIC_BUILD_INSTRUCTION := make \
PASSWORD=$(PASSWORD) \
USERNAME=$(USERNAME) \
SONIC_BUILD_JOBS=$(SONIC_BUILD_JOBS) \
VS_PREPARE_MEM=$(VS_PREPARE_MEM) \
KERNEL_PROCURE_METHOD=$(KERNEL_PROCURE_METHOD) \
HTTP_PROXY=$(http_proxy) \
HTTPS_PROXY=$(https_proxy) \
Expand Down
80 changes: 71 additions & 9 deletions build_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
set -x -e

## docker engine version (with platform)
DOCKER_VERSION=5:18.09.0~3-0~debian-stretch
LINUX_KERNEL_VERSION=4.9.0-8
DOCKER_VERSION=5:18.09.8~3-0~debian-stretch
LINUX_KERNEL_VERSION=4.9.0-9

## Working directory to prepare the file system
FILESYSTEM_ROOT=./fsroot
Expand Down Expand Up @@ -150,8 +150,8 @@ sudo chmod +x $FILESYSTEM_ROOT/etc/initramfs-tools/scripts/init-bottom/union-mou
sudo cp files/initramfs-tools/varlog $FILESYSTEM_ROOT/etc/initramfs-tools/scripts/init-bottom/varlog
sudo chmod +x $FILESYSTEM_ROOT/etc/initramfs-tools/scripts/init-bottom/varlog
# Management interface (eth0) dhcp can be optionally turned off (during a migration from another NOS to SONiC)
sudo cp files/initramfs-tools/mgmt-intf-dhcp $FILESYSTEM_ROOT/etc/initramfs-tools/scripts/init-bottom/mgmt-intf-dhcp
sudo chmod +x $FILESYSTEM_ROOT/etc/initramfs-tools/scripts/init-bottom/mgmt-intf-dhcp
#sudo cp files/initramfs-tools/mgmt-intf-dhcp $FILESYSTEM_ROOT/etc/initramfs-tools/scripts/init-bottom/mgmt-intf-dhcp
#sudo chmod +x $FILESYSTEM_ROOT/etc/initramfs-tools/scripts/init-bottom/mgmt-intf-dhcp
sudo cp files/initramfs-tools/union-fsck $FILESYSTEM_ROOT/etc/initramfs-tools/hooks/union-fsck
sudo chmod +x $FILESYSTEM_ROOT/etc/initramfs-tools/hooks/union-fsck
pushd $FILESYSTEM_ROOT/usr/share/initramfs-tools/scripts/init-bottom && sudo patch -p1 < $OLDPWD/files/initramfs-tools/udev.patch; popd
Expand Down Expand Up @@ -227,6 +227,7 @@ sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y in
usbutils \
pciutils \
iptables-persistent \
ebtables \
logrotate \
curl \
kexec-tools \
Expand All @@ -242,7 +243,10 @@ sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y in
python-scapy \
tcptraceroute \
mtr-tiny \
locales
locales \
mcelog \
ndisc6 \
ipmitool

#Adds a locale to a debian system in non-interactive mode
sudo sed -i '/^#.* en_US.* /s/^#//' $FILESYSTEM_ROOT/etc/locale.gen && \
Expand All @@ -263,6 +267,10 @@ sudo mv $FILESYSTEM_ROOT/grub-pc-bin*.deb $FILESYSTEM_ROOT/$PLATFORM_DIR/x86_64-
## Disable kexec supported reboot which was installed by default
sudo sed -i 's/LOAD_KEXEC=true/LOAD_KEXEC=false/' $FILESYSTEM_ROOT/etc/default/kexec

## Modifty ntp default configuration: disable initial jump (add -x), and disable
## jump when time difference is greater than 1000 seconds (remove -g).
sudo sed -i "s/NTPD_OPTS='-g'/NTPD_OPTS='-x'/" $FILESYSTEM_ROOT/etc/default/ntp

## Fix ping tools permission so non root user can directly use them
## Note: this is a workaround since aufs doesn't support extended attributes
## Ref: https://github.com/moby/moby/issues/5650#issuecomment-303499489
Expand All @@ -273,8 +281,28 @@ sudo chmod u+s $FILESYSTEM_ROOT/bin/ping{,6}
sudo rm -f $FILESYSTEM_ROOT/etc/ssh/ssh_host_*_key*
sudo cp files/sshd/host-ssh-keygen.sh $FILESYSTEM_ROOT/usr/local/bin/
sudo cp -f files/sshd/sshd.service $FILESYSTEM_ROOT/lib/systemd/system/ssh.service
## Config sshd
sudo augtool --autosave "set /files/etc/ssh/sshd_config/UseDNS no" -r $FILESYSTEM_ROOT
# Config sshd
# 1. Set 'UseDNS' to 'no'
# 2. Configure sshd to close all SSH connetions after 15 minutes of inactivity
sudo augtool -r $FILESYSTEM_ROOT <<'EOF'
touch /files/etc/ssh/sshd_config/EmptyLineHack
rename /files/etc/ssh/sshd_config/EmptyLineHack ""
set /files/etc/ssh/sshd_config/UseDNS no
ins #comment before /files/etc/ssh/sshd_config/UseDNS
set /files/etc/ssh/sshd_config/#comment[following-sibling::*[1][self::UseDNS]] "Disable hostname lookups"

rm /files/etc/ssh/sshd_config/ClientAliveInterval
rm /files/etc/ssh/sshd_config/ClientAliveCountMax
touch /files/etc/ssh/sshd_config/EmptyLineHack
rename /files/etc/ssh/sshd_config/EmptyLineHack ""
set /files/etc/ssh/sshd_config/ClientAliveInterval 900
set /files/etc/ssh/sshd_config/ClientAliveCountMax 0
ins #comment before /files/etc/ssh/sshd_config/ClientAliveInterval
set /files/etc/ssh/sshd_config/#comment[following-sibling::*[1][self::ClientAliveInterval]] "Close inactive client sessions after 15 minutes"
save
quit
EOF
# Configure sshd to listen for v4 connections; disable listening for v6 connections
sudo sed -i 's/^ListenAddress ::/#ListenAddress ::/' $FILESYSTEM_ROOT/etc/ssh/sshd_config
sudo sed -i 's/^#ListenAddress 0.0.0.0/ListenAddress 0.0.0.0/' $FILESYSTEM_ROOT/etc/ssh/sshd_config

Expand All @@ -296,9 +324,13 @@ check filesystem root-overlay with path /
check filesystem var-log with path /var/log
if space usage > 90% for 5 times within 10 cycles then alert
check system $HOST
if memory usage > 90% for 5 times within 10 cycles then alert
if memory usage > 50% for 5 times within 10 cycles then alert
if cpu usage (user) > 90% for 5 times within 10 cycles then alert
if cpu usage (system) > 90% for 5 times within 10 cycles then alert
check process rsyslog with pidfile /var/run/rsyslogd.pid
start program = "/bin/systemctl start rsyslog.service"
stop program = "/bin/systemctl stop rsyslog.service"
if totalmem > 800 MB for 5 times within 10 cycles then restart
EOF

## Config sysctl
Expand All @@ -308,6 +340,7 @@ set /files/etc/sysctl.conf/kernel.core_pattern '|/usr/bin/coredump-compress %e %

set /files/etc/sysctl.conf/kernel.softlockup_panic 1
set /files/etc/sysctl.conf/kernel.panic 10
set /files/etc/sysctl.conf/vm.panic_on_oom 2
set /files/etc/sysctl.conf/fs.suid_dumpable 2

set /files/etc/sysctl.conf/net.ipv4.conf.default.forwarding 1
Expand Down Expand Up @@ -347,6 +380,9 @@ set /files/etc/sysctl.conf/net.core.rmem_max 2097152
set /files/etc/sysctl.conf/net.core.wmem_max 2097152
" -r $FILESYSTEM_ROOT

# Configure mcelog to log machine checks to syslog
sudo sed -i 's/^#syslog = yes/syslog = yes/' $FILESYSTEM_ROOT/etc/mcelog/mcelog.conf

## docker-py is needed by Ansible docker module
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT easy_install pip
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT pip install 'docker-py==1.6.0'
Expand Down Expand Up @@ -393,11 +429,37 @@ fi
## Organization specific extensions such as Configuration & Scripts for features like AAA, ZTP...
if [ "${enable_organization_extensions}" = "y" ]; then
if [ -f files/build_templates/organization_extensions.sh ]; then
sudo chmod 755 files/build_templates/organization_extensions.sh
sudo chmod 755 files/build_templates/organization_extensions.sh
./files/build_templates/organization_extensions.sh -f $FILESYSTEM_ROOT -h $HOSTNAME
fi
fi

## Setup ebtable rules (rule file is in binary format)
sudo sed -i 's/EBTABLES_LOAD_ON_START="no"/EBTABLES_LOAD_ON_START="yes"/g' ${FILESYSTEM_ROOT}/etc/default/ebtables
sudo cp files/image_config/ebtables/ebtables.filter ${FILESYSTEM_ROOT}/etc

## Debug Image specific changes
## Update motd for debug image
if [ "$DEBUG_IMG" == "y" ]
then
sudo LANG=C chroot $FILESYSTEM_ROOT /bin/bash -c "echo '**************' >> /etc/motd"
sudo LANG=C chroot $FILESYSTEM_ROOT /bin/bash -c "echo 'Running DEBUG image' >> /etc/motd"
sudo LANG=C chroot $FILESYSTEM_ROOT /bin/bash -c "echo '**************' >> /etc/motd"
sudo LANG=C chroot $FILESYSTEM_ROOT /bin/bash -c "echo '/src has the sources' >> /etc/motd"
sudo LANG=C chroot $FILESYSTEM_ROOT /bin/bash -c "echo '/src is mounted in each docker' >> /etc/motd"
sudo LANG=C chroot $FILESYSTEM_ROOT /bin/bash -c "echo '/debug is created for core files or temp files' >> /etc/motd"
sudo LANG=C chroot $FILESYSTEM_ROOT /bin/bash -c "echo 'Create a subdir under /debug to upload your files' >> /etc/motd"
sudo LANG=C chroot $FILESYSTEM_ROOT /bin/bash -c "echo '/debug is mounted in each docker' >> /etc/motd"

sudo mkdir -p $FILESYSTEM_ROOT/src
pushd src
../dbg_files.sh | sudo tar -cvzf ../$FILESYSTEM_ROOT/src/sonic_src.tar.gz -T -
popd

sudo mkdir -p $FILESYSTEM_ROOT/debug

fi

## Remove gcc and python dev pkgs
sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y remove gcc libpython2.7-dev

Expand Down
44 changes: 44 additions & 0 deletions build_debug_docker_j2.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
#! /bin/bash

echo "
FROM $1

ARG docker_container_name

## Make apt-get non-interactive
ENV DEBIAN_FRONTEND=noninteractive

{% if $2 is defined %}
{% if $2|length %}

COPY \
{% for deb in $2.split(' ') -%}
debs/{{ deb }}{{' '}}
{%- endfor -%}
debs/

RUN dpkg -i \
{% for deb in $2.split(' ') -%}
debs/{{ deb }}{{' '}}
{%- endfor %}

{% endif %}
{% endif %}

{% if $3 is defined %}
{% if $3|length %}

RUN apt-get install -f -y \
{% for dbg in $3.split(' ') -%}
{{ dbg }}{{' '}}
{%- endfor %}

{% endif %}
{% endif %}


## Clean up
RUN apt-get clean -y; apt-get autoclean -y; apt-get autoremove -y
RUN rm -rf /debs

"
11 changes: 10 additions & 1 deletion build_kvm_image.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh -ex
#!/bin/bash -ex

# Copyright (C) 2014 Curt Brune <curt@cumulusnetworks.com>
#
Expand Down Expand Up @@ -47,6 +47,15 @@ prepare_installer_disk()
create_disk
prepare_installer_disk

echo "Prepare memory for KVM build: $vs_build_prepare_mem"
free -m
if [[ "$vs_build_prepare_mem" == "yes" ]]; then
# Force o.s. to drop cache and compact memory so that KVM can get 2G memory
sudo bash -c 'echo 1 > /proc/sys/vm/drop_caches'
sudo bash -c 'echo 1 > /proc/sys/vm/compact_memory'
free -m
fi

/usr/bin/kvm -m $MEM \
-name "onie" \
-boot "order=cd,once=d" -cdrom "$ONIE_RECOVERY_ISO" \
Expand Down
9 changes: 9 additions & 0 deletions dbg_files.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

# Provide file paths to archive for debug image as relative to src subdir
#
for i in $debug_src_archive
do
find $i/ -name "*.c" -o -name "*.cpp" -o -name "*.h" -o -name "*.hpp" -type f
done

2 changes: 1 addition & 1 deletion device/arista/x86_64-arista_7170_64c/fancontrol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
INTERVAL=5
DEVPATH=hwmon2=devices/pci0000:00/0000:00:1c.0/0000:06:00.0/i2c-8/8-004c hwmon4=devices/pci0000:ff/0000:ff:0b.3/i2c-93/93-0060
DEVNAME=hwmon2=max6658 hwmon4=rook_cpld
DEVNAME=hwmon2=max6658 hwmon4=la_cpld
FCTEMPS=hwmon4/pwm4=hwmon2/temp1_input hwmon4/pwm3=hwmon2/temp1_input hwmon4/pwm2=hwmon2/temp1_input hwmon4/pwm1=hwmon2/temp1_input
FCFANS=hwmon4/pwm4=hwmon4/fan4_input hwmon4/pwm3=hwmon4/fan3_input hwmon4/pwm2=hwmon4/fan2_input hwmon4/pwm1=hwmon4/fan1_input
MINTEMP=hwmon4/pwm4=50 hwmon4/pwm3=50 hwmon4/pwm2=50 hwmon4/pwm1=50
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1012,3 +1012,5 @@ serdes_preemphasis_114=0x61c01
serdes_preemphasis_115=0x61c01
serdes_preemphasis_116=0x105004
serdes_preemphasis_117=0x105004

mmu_init_config="MSFT-TH2-Tier0"
2 changes: 1 addition & 1 deletion device/arista/x86_64-arista_7260cx3_64/fancontrol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
INTERVAL=5
DEVPATH=hwmon2=devices/pci0000:00/0000:00:1c.0/0000:06:00.0/i2c-1/1-004c hwmon4=devices/pci0000:ff/0000:ff:0b.3/i2c-85/85-0060
DEVNAME=hwmon2=max6658 hwmon4=rook_cpld
DEVNAME=hwmon2=max6658 hwmon4=la_cpld
FCTEMPS=hwmon4/pwm4=hwmon2/temp1_input hwmon4/pwm3=hwmon2/temp1_input hwmon4/pwm2=hwmon2/temp1_input hwmon4/pwm1=hwmon2/temp1_input
FCFANS=hwmon4/pwm4=hwmon4/fan4_input hwmon4/pwm3=hwmon4/fan3_input hwmon4/pwm2=hwmon4/fan2_input hwmon4/pwm1=hwmon4/fan1_input
MINTEMP=hwmon4/pwm4=50 hwmon4/pwm3=50 hwmon4/pwm2=50 hwmon4/pwm1=50
Expand Down
Loading