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

Merge Azure/sonic-buildimage #1

Merged
merged 989 commits into from
Jun 12, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
989 commits
Select commit Hold shift + click to select a range
4d863fa
Fix port_config for 7170-Q59S20 (#2618)
zzhiyuan Feb 28, 2019
f06c67b
[mellanox] Implement Watchdog API based on the new platform API (#2607)
stepanblyschak Feb 28, 2019
0fd4f18
[build] Enable streaming telemetry Docker container by default (#2354)
jleveque Mar 1, 2019
637e435
[devices]: Fix sfputil indexing for Arista 7170-Q59S20 (#2623)
zzhiyuan Mar 1, 2019
81835dd
[submodule]: Update sonic-sairedis pointer (#2630)
Mar 1, 2019
8bc45ac
[barefoot]: Updating deb package for platform and sai (#2635)
dsetia-bfn Mar 2, 2019
5eb7872
[services] Ensure swss and syncd services start before dependent serv…
jleveque Mar 2, 2019
b9edb71
[aaa] Fix common-auth-sonic.j2 template issue (#2613)
ramachandrareddygaddam Mar 2, 2019
b480370
[router-advertiser] Add templated script to wait for pertinent interf…
jleveque Mar 2, 2019
f5cabcb
[mellanox]: Remove MAC alignment WA for Mellanox platforms. (#2632)
nazariig Mar 2, 2019
e4bb1fc
[supervisor] Fix crash if system clock rolls back within startsecs; R…
jleveque Mar 4, 2019
3d56e26
Set a rate limit on syslog messages from all Docker containers (#2573)
jleveque Mar 4, 2019
66f5202
[swss/syncd] cold start syncd service in swss in attach method (#2639)
yxieca Mar 5, 2019
784bf77
Add hook to allow customizing link cable lengths
wendani Mar 5, 2019
fa84c42
[sonic-daemon-base] Create DaemonBase class for all daemons (#2570)
kevinwangsk Mar 6, 2019
c05220b
[devices]: sfputil support more mellanox sku (#2645)
keboliu Mar 6, 2019
98e135e
Add hook to allow customizing link cable lengths (#2644)
lguohan Mar 6, 2019
f77fdee
[submodule] update sonic-linux-kernel (#2637)
nazariig Mar 6, 2019
4361c2d
[devices]: Add autoneg to 7170-Q59S20 (#2636)
zzhiyuan Mar 6, 2019
cdabbb4
[barefoot]: Bfn sde update (#2649)
dsetia-bfn Mar 6, 2019
419c69b
[vs]: Add option to specify platform name for DVS orchagent (#2571)
Mar 7, 2019
b22fe37
[mellanox]: Upgraded hw-management V.2.0.0160. (#2643)
nazariig Mar 7, 2019
eb3a1b1
Update bcmcmd binary: fix crash issue when long line >= 1023 chars (#…
qiluo-msft Mar 8, 2019
f9c9fa8
[qos]: Map tc 1, 2, 5, and 6 back to pg 0 (#2650)
wendani Mar 8, 2019
2bb5400
[services] Services which start containers now use 'docker wait' inst…
jleveque Mar 8, 2019
11c2e9e
[barefoot]: Allow configuration of platform-specific interfaces used …
Mar 9, 2019
8b7fc8d
[dockers] Upgrade Mellanox syncd docker to stretch (#2640)
stepanblyschak Mar 13, 2019
383d529
[mellanox]: Update SDK, FW and SAI (#2669)
andriymoroz-mlnx Mar 15, 2019
a1c3c06
Install ipaddress python package that has deprecated current ipaddr. …
renukamanavalan Mar 15, 2019
802d5ef
[devices] add new accton platform minipack (#2670)
roylee123 Mar 15, 2019
62e994d
[HWSKU] add Arista-7060CX-32S-T96C8 and Arista-7060CX-32S-Q24C8 (#2617)
MichelMoriniaux Mar 15, 2019
c701194
Install python ipaddress module as required by route_check.py sonic u…
renukamanavalan Mar 15, 2019
3906da0
Revert the old chaneg per review comments.
renukamanavalan Mar 15, 2019
cfbc817
fix load board class of eeprom module issue (#2666)
keboliu Mar 18, 2019
a45f41e
[mellanox] Fix in mlnx-ffb.sh (#2676)
stepanblyschak Mar 18, 2019
ae05579
[baseos]: Install ipaddress python package that has deprecated curren…
renukamanavalan Mar 18, 2019
145c134
[docker] Update docker package version for CVE-2019-5736 fix (#2663)
qiluo-msft Mar 19, 2019
c0caf0c
[dockers] Build stretch dockers only once and only in stretch slave d…
stepanblyschak Mar 19, 2019
80af5e1
[Mellanox] fix sfp lpmode set failure caused by extra nv port (#2671)
keboliu Mar 19, 2019
0d8b92e
[sonic-utilities] update submodule (#2667)
renukamanavalan Mar 19, 2019
2ee36c7
[sonic-py-swsssdk] Update submodule (#2660)
renukamanavalan Mar 19, 2019
698b248
[docker script] skip docker mount point checking for database contain…
yxieca Mar 20, 2019
0a0f5b8
[thrift] add a patch to revert THRIFT-3650 (#2688)
stepanblyschak Mar 21, 2019
c3f5756
[sonic-buildimage]Install python ipaddress (#2681)
renukamanavalan Mar 21, 2019
5cfd97a
[Mellanox] Update SAI (#2685)
andriymoroz-mlnx Mar 21, 2019
60968cf
[make file] managing teamd patches with stg (#2689)
yxieca Mar 22, 2019
84b46bb
[Pmon] dynamically load pmon daemons (#2654)
keboliu Mar 22, 2019
e06e7dc
[device/celestica] haliburton add gpio_ich driver module blacklist (#…
pphuchar Mar 22, 2019
3826ffd
[pmon] move platform monitor docker to stretch (#2680)
mykolaf Mar 22, 2019
3bc29d8
[counters]: Enable watermark stats polling by default (#2603)
wendani Mar 22, 2019
4fdfb08
[submodule]: Update sonic-swss pointer (#2647)
Mar 23, 2019
800d20b
[sonic-utilities]: fix sonic-utilities build error (#2693)
lguohan Mar 23, 2019
4e3bb4d
[libteam]: Skip setting the same hwaddr to lag port to avoid disrupti…
jipanyang Mar 23, 2019
af111aa
[device/accton]: Add Accton-AS7726-32X (#2483)
pollyhsu2git Mar 23, 2019
b36b84f
[device/accton]: Update Accton-AS7326-54X (#2482)
pollyhsu2git Mar 23, 2019
42d79a1
Revert "[device/celestica] haliburton add gpio_ich driver module blac…
pphuchar Mar 25, 2019
6cec850
[device/celestica] seastone add gpio_ich driver module blacklist (#2691)
pphuchar Mar 25, 2019
9af7d21
[jessie based docker] remove dependency on some retired jessie repos …
yxieca Mar 27, 2019
0e01ff5
[mellanox] add makefiles to build Mellanox SDK from sources (#2701)
stepanblyschak Mar 28, 2019
957d8f5
[device/celestica] haliburton add gpio_ich driver module blacklist (#…
pphuchar Mar 28, 2019
3a3a221
[devices]: Add support of HwSKU Mellanox-SN2700-C28D8 (#2700)
andriymoroz-mlnx Mar 28, 2019
357923d
[devices]: Fixing get_transceiver_change_event for z9100 (#2712)
Mar 28, 2019
8ebfc3a
[mellanox] Make mellanox SAI-Implementation as submodule (#2711)
stepanblyschak Mar 28, 2019
80d6594
[teamd] retry creating team_port after interface info changed (#2699)
yxieca Mar 28, 2019
6a9491b
[submodule]: Update submodule sonic-snmpagent: Remove verbose feature…
qiluo-msft Mar 29, 2019
9d6bac5
[build] force Linux to drop cache before calling kvm (#2717)
yxieca Mar 29, 2019
9c83b54
[security] Do not generate ssh server keys for non RSA protocols (#2718)
qiluo-msft Mar 29, 2019
b73f9a5
[swss]: update swss docker to stretch (#2714)
lguohan Mar 30, 2019
e73f86d
Merge remote-tracking branch 'upstream/master'
renukamanavalan Apr 1, 2019
0d1efb1
[teamd service] teamd service should start after syncd (#2724)
yxieca Apr 1, 2019
fd3f611
[teamd] prevent re-entrance of port priv change handler (#2723)
yxieca Apr 1, 2019
b56124b
removing dhcp- turn- off option from initrd (#2555)
Apr 2, 2019
4791701
[minigraph]: Mark both ERSPAN and ERSPANv6 as mirror ACL tables (#2732)
Apr 2, 2019
00a0f22
Revert "[teamd service] teamd service should start after syncd (#2724…
yxieca Apr 3, 2019
e65d9c5
Merge remote-tracking branch 'upstream/master'
renukamanavalan Apr 3, 2019
6d7ecc4
[hostcfgd] -- Fix the default for failthrough as false.
renukamanavalan Apr 3, 2019
6540a24
[submodule]: Updated SNMP submodule. (#2744)
nazariig Apr 4, 2019
67113ad
[submodule]: update submodules to pick up pmon refactoring commits (#…
keboliu Apr 4, 2019
ab2c42e
Refactored daemon base API: added Logger. (#2672)
nazariig Apr 4, 2019
f3afaea
Merge pull request #2746 from renukamanavalan/master
renukamanavalan Apr 5, 2019
69ef456
[swss]: Update to debian python-scapy (2.4.2) to fix scapy crash seen…
jipanyang Apr 5, 2019
33818d6
[pmon]: fix lm-sensors binaries build (#2749)
mykolaf Apr 5, 2019
d6cf075
[vstest]: Test for quagga livelock fix (#2751)
pavel-shirshov Apr 9, 2019
3add5d4
Add note for running out of disk space in /var/lib/docker to README.m…
randygaulmsft Apr 10, 2019
ded4fe2
[mlnx] fix url inconsistency in fw.mk (#2761)
stepanblyschak Apr 10, 2019
bd5be5d
[sonic-mgmt]: install pytest-ansible for running pytests in sonic-mgm…
lguohan Apr 10, 2019
1af74d5
[Bcm SAI] ugprade Broadcom SAI to version 3.3.5.4m-1 (#2765)
yxieca Apr 11, 2019
af64fd6
[bgp quagga] increase BGP graceful restart timeout to 240 seconds (#2…
yxieca Apr 11, 2019
4fcb332
[platform-celestica]: Add new fancontrol service for haliburton devic…
Apr 11, 2019
6023691
[docker-fpm-quagga]: Add support for PeerAsn and UpdateAddress (#2766)
pavel-shirshov Apr 11, 2019
d993d6f
[Mellanox] build one image for Mellanox & Mellanox SimX (#2664)
mykolaf Apr 11, 2019
27803ec
[docker-platform-monitor]: Add smartmontools 6.6-1 (#2703)
Apr 11, 2019
6176018
[config-engine]: Remove unused sample minigraph (#2769)
Apr 11, 2019
9b1663c
[sonic-cfggen]: Output differences for bgp configurations (#2768)
pavel-shirshov Apr 11, 2019
0a6dd88
[docker-fpm-frr]: Fix FRR config script to render frr.conf (#2770)
qiluo-msft Apr 11, 2019
158531b
[build]: only build dockers needed by installers (#2771)
lguohan Apr 12, 2019
0af5f0b
[docker-team]: update teamd docker to stretch (#2734)
hzheng5 Apr 12, 2019
9b6a2fb
[submodule]: submodule update for PFC watchdog warm reboot commits (#…
wendani Apr 12, 2019
f583f57
[service] add warmboot finializer service (#2715)
yxieca Apr 12, 2019
83a7691
[mgmt] Install passlib in sonic-mgmt docker to support ansible `no_lo…
qiluo-msft Apr 13, 2019
c846fb9
[build]: Updated Makefile infrastructure to build debug images. (#2753)
renukamanavalan Apr 14, 2019
c5fecea
[Mellanox-SAI] update Mellanox SAI submodule pointer (#2777)
mykolaf Apr 14, 2019
893837e
[mpdecimal]: upgrade mpdecimal to 2.4.2-2 (#2783)
lguohan Apr 14, 2019
8bf9247
[tmpfs var/log] mount /var/log as tmpfs for some platforms (#2780)
yxieca Apr 15, 2019
539d4ff
Install python3.6 smbus module in snmp (#2772)
Staphylo Apr 16, 2019
d038fd2
[build]: fixed BFN target build (#2784)
akokhan Apr 16, 2019
1aa258d
[fw-upgrade] fix issue with fw-upgrade (#2785)
mykolaf Apr 16, 2019
16927f5
[snmp] Configure snmp docker hostname from config DB (#2773)
vsenchyshyn Apr 16, 2019
6a4ffef
[snmp.service] Make swss.service a requisite (#2790)
stepanblyschak Apr 17, 2019
e798b93
[dockers]: Upgrade SNMP docker to stretch build (#2620)
samaity Apr 17, 2019
1f51692
teamd: lacp: update port state according to partner's sync bit (#2793)
pavel-shirshov Apr 17, 2019
22d17da
[devices]: Watchdog enable/disable in DellEMC S6100 (#2730)
Apr 17, 2019
b0b0862
[barefoot]: Add warm-boot feature processing for wedge100bf_32x/65x p…
Apr 17, 2019
047c7c8
[dockers]: Upgrade LLDP docker to stretch build (#2633)
samaity Apr 17, 2019
c0904f7
[radvd] Build radvd from source; Patch so as not to treat out-of-rang…
jleveque Apr 17, 2019
e797bf8
[mellanox]: Update hw-mgmt pakcage to V.2.0.0.0172 (#2798)
keboliu Apr 18, 2019
ea078e7
[buildsystem] Install debug packages in syncd when INSTALL_DEBUG_TOOL…
stepanblyschak Apr 18, 2019
7ed5a92
[Devices] Add new device CIG CS6436-56P (#2587)
michealylj1 Apr 18, 2019
9525f86
[devices]: Haliburton xcvrd event support (#2486)
pphuchar Apr 18, 2019
3198971
Update sonic-quagga submodulde. Quagga crash fix (#2802)
pavel-shirshov Apr 19, 2019
ba0ca01
[build]: Makefile: Extend to build debug docker images for all stretc…
renukamanavalan Apr 20, 2019
75964ef
[baseimage]: Add fstrim service and fstrim timer by default (#2804)
zhenggen-xu Apr 21, 2019
818ba43
[Mellanox] Implement new fan platform API (#2747)
keboliu Apr 21, 2019
efc28a6
Revert "[devices]: Watchdog enable/disable in DellEMC S6100 (#2730)"…
yxieca Apr 23, 2019
3a6d7be
[build]: syncd-rpc.mk: Fix stretch dockers build failure (#2812)
renukamanavalan Apr 24, 2019
2e86caa
[vxlanmgrd]: Add vxlanmgrd start command (#2705)
Pterosaur Apr 24, 2019
ca7924e
Increase syncd start timeout (#2776)
andriymoroz-mlnx Apr 24, 2019
38028d0
[devices/accton]: Add a separator for dh_installdirs not to take the …
roylee123 Apr 24, 2019
8811b99
Added missing swssloglevel utility. (#2821)
nazariig Apr 25, 2019
6b84160
[submodule]: Update sonic-sairedis pointer
Apr 25, 2019
d33ed17
Update Mellanox MFT packedge. (#2825)
nazariig Apr 25, 2019
6bf97d8
[docker-frr]: Move docker to stretch and add pythontools (#2819)
nikos-github Apr 25, 2019
452e75c
Downport the netlink patch to libteam1.26. Increase netlink buffers (…
pavel-shirshov Apr 25, 2019
c7af19a
[teamd service] start teamd service after swss (#2829)
yxieca Apr 26, 2019
ad2c1b2
[minigraph]: Fix bug in copying list in Python (#2831)
Apr 26, 2019
b186bb2
[dhcp_relay] Base DHCP Relay Docker container on Debian Stretch (#2832)
jleveque Apr 29, 2019
6b3a26f
Remove unused packages in docker images and host (#2807)
qiluo-msft Apr 30, 2019
b9ddae8
[teamd] do not process lacpdu before the port ifinfo is set (#2815)
yxieca Apr 30, 2019
259d51a
[nephos]: upgrade compile sdk.deb from online to dpkg and fix compile…
simonJi2018 Apr 30, 2019
818bbe8
[devices]: DellEMC S6000 xcvrd support (#2560)
Apr 30, 2019
df45a77
[sonic-utilities] advance submodule head to latest (#2842)
yxieca Apr 30, 2019
6431248
[db migrator] migrate the DB to latest schema when needed (#2808)
yxieca Apr 30, 2019
2736da9
[sudoers] Add /usr/bin/teamshow to READ_ONLY_CMDS (#2846)
jleveque May 1, 2019
6eca27e
[services] Restart SwSS service upon unexpected critical process exit…
jleveque May 1, 2019
386c041
[sonic-utilites] Update submodule (#2847)
jleveque May 1, 2019
0b745ed
[minigraph]: Add mirror type v6 condition (#2836)
May 1, 2019
beb96dc
[docker-swss]: Remove intfsyncd from list of SwSS critical processes …
jleveque May 2, 2019
3bd15a0
Enable Debugs in BCM Kernel-bde and Knet Modules (#2786)
sridhar-ravindran May 2, 2019
1c79599
[submodule]: Updated SWSS submodule. (#2856)
nazariig May 3, 2019
2ceceac
[mellanox]: Update SAI, SDK and FW
May 3, 2019
76adaa8
[broadcom]: update saibcm-modules to sdk 6.5.14
Apr 16, 2019
38ef219
[broadcom]: update broadcom sai to 3.5.2.1
lguohan May 3, 2019
5e95e27
[docker-brcm-syncd]: build brcm syncd from stretch
lguohan May 3, 2019
8080695
[docker-{sonic,syncd}-vs]: upgrade {sonic,syncd}-vs docker to stretch…
lguohan May 6, 2019
2519048
[sairedis]: Update sonic-sairedis pointer and Broadcom/Mellanox SAI/S…
lguohan May 6, 2019
f35daa7
[frr]: change frr as default sonic routing stack (#2863)
lguohan May 8, 2019
584ed98
[device][accton]Add fan monitor for as7816-64x (#2859)
roylee123 May 8, 2019
8468f63
[swss] advance sonic-swss sub module head (#2872)
yxieca May 8, 2019
5fb185c
[docker-frr]: bring quagga docker features to frr docker (#2870)
lguohan May 9, 2019
999ec0a
[devices]: Add HLX a dps200 psu driver (#2871)
pphuchar May 9, 2019
e7485fd
[baseimage]: Flashrom utitily support for BIOS upgrade (#2867)
May 9, 2019
25f285d
[devices]: DELL S6000 CPLD driver update to recover if mux is hung du…
May 9, 2019
b1862f4
[devices]: DellEMC S6100/Z9100 sensor.conf update (#2861)
May 9, 2019
b7235fc
[Arista] Add QoS needed files for Arista 7170 (#2814)
zzhiyuan May 9, 2019
38ad2a8
[platform-celestica] - Implement FAN APIs based on the new platform A…
May 9, 2019
9efcf17
[ebtables] install ebtables in base image and install filter rules (#…
yxieca May 9, 2019
a357693
[tacacs]: skip accessing tacacs servers for local non-tacacs users (#…
renukamanavalan May 9, 2019
f32243b
[swss]: Update sonic-swss submodule (#2879)
May 10, 2019
3a8ce5f
Fix for LLDP portname issue (#2886)
May 10, 2019
5e21b07
[sonic-quagga]: Fix missing fpm messages (#2884)
pavel-shirshov May 11, 2019
77b9fea
[bfn] fixed build failure (#2883)
akokhan May 11, 2019
db7c42f
[devices]: Adding new SKU to DELL Z9264f (#2891)
May 13, 2019
d5d51c0
LED Supprot For DellEMC Z9100 (#2799)
May 14, 2019
f82ed25
[sonic-cfggen]: Add -w as short for --write-to-db (#2900)
May 15, 2019
e6691c2
[Accton AS7712]: Add lpmode in sfputil.py (#2896)
brandonchuang May 15, 2019
83e74d6
[nephos]: upgrade sai.mk to cbb99f for support 1.4.1 (#2901)
simonJi2018 May 15, 2019
77cde50
[device/Arista] Improvements to the boot of Arista devices. (#2898)
Staphylo May 15, 2019
aa90cae
[sonic-cfggen] fix name conflict between sonic_platform package and s…
keboliu May 15, 2019
5d3da11
[device/arista] update arista drivers submodules (#2903)
Staphylo May 16, 2019
d67b440
[devices]: Added index for dell z9100 c32 (#2892)
May 16, 2019
1e3b62f
[FRR]: Update frr to frr-7.0.1 (#2899)
pavel-shirshov May 16, 2019
d29a496
[mlnx] refactor and fix mlnx-sfpd shutdown (#2907)
stepanblyschak May 17, 2019
68ccfaa
[DellEMC-Z9264f-C64] Add PFC support for z9264f (#2893)
May 17, 2019
939b625
[mellanox]: Fixed SDK build: added missing SWIG dependency. (#2914)
nazariig May 17, 2019
f3d2d37
[mlnx] fix incorrect attr assignment in mlnx-sfpd (#2913)
stepanblyschak May 18, 2019
59da7fa
[build]: install rsyslog and vim in sonic-slave-stretch (#2920)
lguohan May 18, 2019
49ec97f
[swss-common]: Update common submodule (#2918)
May 18, 2019
aac0c24
[device/Arista] Add support for the 7280CR3-32P4 (#2910)
Staphylo May 18, 2019
7791950
[Accton AS7326]: Add lpmode in sfputil.py (#2905)
brandonchuang May 18, 2019
71d0f46
[sonic-cfggen]: fix bug in file sonic-cfggen (#2834)
jihaix May 18, 2019
2227061
[updategraph] set DB version after minigraph reload (#2917)
yxieca May 19, 2019
6aad2da
[sonic-cfggen]: Add a unit-test in sonic-cfggen to test argument "--v…
jihaix May 19, 2019
c1a501e
[devices]: Add to support as4630-54pe platform (#2895)
jostar-yang May 19, 2019
a5a5ba6
[devices]: DellEmc-Z9264f: Bug fixed in platform specific sensor scri…
gengankarthik May 20, 2019
85077a9
[devices]: Export reboot_reason sysfs attribute for DellEMC S6100/Z91…
May 20, 2019
d2eba43
[docker-vs]: Connect zebra with fpm and add staticd (#2925)
May 20, 2019
f8920d7
[submodule] advance sonic-sairedis pointer (#2934)
mykolaf May 23, 2019
9331d21
[swss]: Update sonic-swss submodule (#2935)
May 23, 2019
9523e64
[swss.sh] flush FDB table during cold start (#2933)
stepanblyschak May 23, 2019
154a883
[devices]: DellEmc-Z9264f:Interrupt based Optic OIR (#2926)
gengankarthik May 23, 2019
e10ec8c
[.gitignore]: add build artifacts
May 23, 2019
62ef859
[monit] Set memory usage alert at 50% (#2939)
qiluo-msft May 24, 2019
b44eef9
Add support as4630-54pe device and sdk cfg (#2928)
jostar-yang May 24, 2019
a0c740b
[.gitignore]: update inclusion of dbg files
May 24, 2019
f5d3ee7
[pmon]: Add ethtool to pmon docker (#2943)
keboliu May 26, 2019
3ec3e20
[logrotate] Enhance robustness (#2942)
jleveque May 26, 2019
0cdc22d
[devices]: enable ISSU on 2410 (#2937)
keboliu May 26, 2019
ccf91c3
[.gitignore]: add build artifacts (#2938)
lguohan May 26, 2019
6d62249
[devices]: Optics fixes in Dell Z9100/Z9264f platforms (#2936)
May 26, 2019
30b37ec
[build]: make sonic-slave-stretch as the default build docker (#2921)
lguohan May 27, 2019
38fb90d
[devices]: DellEmc Z9264f: Adding port speed entry in port_config.ini…
gengankarthik May 28, 2019
60bd741
[Mellanox] Update hw-mgmt package to v175 (#2948)
keboliu May 28, 2019
81071ec
[mellanox]: fix wrong type of paramerter (#2950)
keboliu May 28, 2019
10a6157
[DellEMC-Z9264f-Q64] Add PFC support for 40G z9264f (#2940)
May 28, 2019
df149cd
[teamd]: Administratively shutdown port channel has member ports in d…
phanindra-tv May 29, 2019
4d212de
[device][platform] add platform as5812-54x, accton. (#2889)
roylee123 May 29, 2019
89ee636
[Mellanox] SFP new platform API implementation (#2944)
keboliu May 29, 2019
e041b15
[mellanox]: Fixed config reload race. (#2930)
nazariig May 29, 2019
c0eb90b
[docker-vs]: Start staticd by default (#2929)
May 29, 2019
6ca35b5
[docker-ptf]: move docker-ptf to stretch (#2954)
lguohan May 30, 2019
3f4de49
[libteam] Send updates as soon as we need to update the LACP partner …
pavel-shirshov May 30, 2019
2a5bfe2
[docker-frr]: change default routing mode to separated and fix a bug …
lguohan May 31, 2019
cfa14ce
[Mellanox]Fix issue #2720 Not able to read out values of voltage/temp…
May 31, 2019
91b1948
[devices]: DellEmc: Z9264f Pre-emphasis and Led settings (#2959)
gengankarthik May 31, 2019
f40795a
[docker-frr]: Fix frr separated and unified configuration mode (#2962)
lguohan Jun 1, 2019
2e9b18d
[sonic-cfggen]: Fix for management port speed issue (#2945)
Jun 1, 2019
552684f
[dhcp_relay] Add support for DHCP client(s) on one VLAN and DHCP serv…
jleveque Jun 3, 2019
6dbae0e
[libteam] Upgrade libteam to 1.28-1 and reorganize patches (#2956)
lorchid Jun 4, 2019
2e4b958
Advance sonic-sairedis reference pointer (#2969)
wendani Jun 4, 2019
4259171
[slave.mk] Fix typo for STRETCH_DEBS_PATH for linux-kernel (#2971)
jleveque Jun 5, 2019
bd51932
[Mellanox] Expose SDK share buffer and unix socket from syncd (#2951)
keboliu Jun 5, 2019
4f85c7c
[devices/accton]:bugfix: potential i2c fault from IC IR3570a (#2966)
roylee123 Jun 5, 2019
3ec95e1
[build_templates] [hostcfgd] Keep containers hostname up to date (#2924)
msosyak Jun 6, 2019
d84aa49
[device/Arista] Add HwSku profiles for the 7060PX-32 (#2973)
Staphylo Jun 6, 2019
bf2c9cd
[Mellanox]Remove the dependency on sysfs for sfputil (#2967)
Jun 7, 2019
f7774be
[device]: DellEmc-S6000 : Back-end work for last reboot reason (#2974)
gengankarthik Jun 7, 2019
4073e8f
[device][platform] add platform as5835-54x, accton. (#2977)
brandonchuang Jun 7, 2019
df063bd
[device/Arista] Add initial support for platform API (#2964)
Staphylo Jun 7, 2019
9dc1cc7
[submodule]: Updating submodule pointers for pre-emphasis feature (#2…
Jun 7, 2019
900f93e
[submodule]: Update sonic-quagga submodule (#2984)
pavel-shirshov Jun 8, 2019
fa3ea53
[docker-saiserver]: upgrade docker saiserver to stretch for brcm/mlnx…
lguohan Jun 8, 2019
3d2955a
[xrcvd]: add media settings checker and settings for z9100 (#2713)
Jun 9, 2019
708999a
[devices]: Add Broadcom XLR/GTS (BCM9COMX2XMC) support for Tomahawk s…
olivier-singla Jun 9, 2019
231d309
Generate interface table to have an entry designated to default VRF. …
prsunny Jun 10, 2019
0f665bd
[baseimage] kernel oom-killer to panic when the system is truly out o…
SuvarnaMeenakshi Jun 11, 2019
ee7b4a2
[FRR]: Aligned configs for unified/separated modes. (#2987)
nazariig Jun 12, 2019
44bc083
[mlnx] change egress pool size from 40M to 37M (#2992)
stepanblyschak Jun 12, 2019
cdca062
[build]: Build sonic-broadcom.bin using debug dockers for all stretch…
renukamanavalan Jun 12, 2019
4ce3cc8
[devices]: Add lpmode in sfputil.py for Accton AS7816 (#2989)
brandonchuang Jun 12, 2019
95452b7
[docker-pmon] install dmidecode tool to pmon (#2990)
stephenxs Jun 12, 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
  •  
  •  
  •  
56 changes: 56 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,43 +8,91 @@ fs.*
target/
*.deb
*.changes
*.buildinfo
*.tar
*.xz
*.gz
*-dbg
*dbg.j2
*.img

# Subdirectories in src
src/bash/*
!src/bash/Makefile
src/ixgbe/*
!src/ixgbe/Makefile
src/isc-dhcp/*
!src/isc-dhcp/Makefile
!src/isc-dhcp/patch
src/socat/*
!src/socat/Makefile
!src/socat/*.patch
src/tacacs/*
src/tacacs/nsm/*
src/tacacs/pam/*
!src/tacacs/nsm/Makefile
!src/tacacs/nsm/*.patch
!src/tacacs/pam/Makefile
!src/tacacs/pam/*.patch
src/hiredis/*
!src/hiredis/Makefile
src/igb/*
!src/igb/Makefile
src/initramfs-tools/*
!src/initramfs-tools/Makefile
src/iproute2/*
!src/iproute2/Makefile
src/isc-dhcp/*
!src/isc-dhcp/Makefile
!src/isc-dhcp/patch/
src/libnl3/*
!src/libnl3/Makefile
src/libteam/*
!src/libteam/Makefile
src/libyang/*
!src/libyang/Makefile
src/lldpd/*
!src/lldpd/Makefile
!src/lldpd/patch/
src/lm-sensors/*
!src/lm-sensors/Makefile
src/mpdecimal/*
!src/mpdecimal/Makefile
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/smartmontools/*
!src/smartmontools/Makefile
src/snmpd/*
!src/snmpd/Makefile
src/sonic-device-data/src/device/
src/sonic-device-data/src/debian/
src/supervisor/*
!src/supervisor/Makefile
!src/supervisor/patch/
src/swig/*
!src/swig/Makefile
src/telemetry/debian/*
!src/telemetry/debian/changelog
!src/telemetry/debian/compat
!src/telemetry/debian/control
!src/telemetry/debian/rules
!src/telemetry/debian/telemetry.init.d
src/thrift/*
!src/thrift/patch/
!src/thrift/Makefile

# Autogenerated Dockerfiles
dockers/docker-base/Dockerfile
dockers/docker-base-stretch/Dockerfile
dockers/docker-config-engine/Dockerfile
dockers/docker-config-engine-stretch/Dockerfile
dockers/docker-database/Dockerfile
dockers/docker-dhcp-relay/Dockerfile
dockers/docker-fpm-frr/Dockerfile
Expand All @@ -58,6 +106,7 @@ dockers/docker-snmp-sv2/Dockerfile
dockers/docker-teamd/Dockerfile
dockers/docker-sonic-mgmt/Dockerfile
dockers/docker-sonic-telemetry/Dockerfile
platform/*/docker-saiserver-*/Dockerfile
platform/*/docker-syncd-*/Dockerfile
platform/*/docker-syncd-*-rpc/Dockerfile
platform/vs/docker-sonic-vs/Dockerfile
Expand All @@ -69,3 +118,10 @@ installer/x86_64/platforms/
src/sonic-config-engine/**/*.pyc
src/sonic-config-engine/build
src/sonic-config-engine/sonic_config_engine.egg-info
src/sonic-daemon-base/**/*.pyc
src/sonic-daemon-base/build
src/sonic-daemon-base/sonic_daemon_base.egg-info

# Misc. files
files/initramfs-tools/arista-convertfs
files/initramfs-tools/union-mount
39 changes: 14 additions & 25 deletions .gitmodules
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -35,45 +35,34 @@
[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
url = https://github.com/Azure/sonic-frr.git
branch = frr/7.0
[submodule "platform/p4/p4-hlir/p4-hlir-v1.1"]
path = platform/p4/p4-hlir/p4-hlir-v1.1
url = https://github.com/p4lang/p4-hlir.git
[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
[submodule "platform/barefoot/sonic-platform-modules-arista"]
path = platform/barefoot/sonic-platform-modules-arista
url = https://github.com/aristanetworks/sonic
[submodule "platform/mellanox/hw-management/hw-mgmt"]
path = platform/mellanox/hw-management/hw-mgmt
url = https://github.com/Mellanox/hw-mgmt/
[submodule "src/redis-dump-load"]
path = src/redis-dump-load
url = https://github.com/p/redis-dump-load.git
[submodule "platform/mellanox/mlnx-sai/SAI-Implementation"]
path = platform/mellanox/mlnx-sai/SAI-Implementation
url = https://github.com/Mellanox/SAI-Implementation
133 changes: 14 additions & 119 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,125 +1,20 @@
###############################################################################
## Wrapper for starting make inside sonic-slave container
#
# Supported parameters:
#
# * PLATFORM: Specific platform we wish to build images for.
# * BUILD_NUMBER: Desired version-number to pass to the building-system.
# * ENABLE_DHCP_GRAPH_SERVICE: Enables get-graph service to fetch minigraph files
# through http.
# * SHUTDOWN_BGP_ON_START: Sets admin-down state for all bgp peerings after restart.
# * ENABLE_PFCWD_ON_START: Enable PFC Watchdog (PFCWD) on server-facing ports
# * by default for TOR switch.
# * SONIC_ENABLE_SYNCD_RPC: Enables rpc-based syncd builds.
# * USERNAME: Desired username -- default at rules/config
# * PASSWORD: Desired password -- default at rules/config
# * KEEP_SLAVE_ON: Keeps slave container up after building-process concludes.
# * SOURCE_FOLDER: host path to be mount as /var/$(USER)/src, only effective when KEEP_SLAVE_ON=yes
# * SONIC_BUILD_JOB: Specifying number of concurrent build job(s) to run
#
###############################################################################
# SONiC make file

SHELL = /bin/bash

USER := $(shell id -un)
PWD := $(shell pwd)

# Remove lock file in case previous run was forcefully stopped
$(shell rm -f .screen)

MAKEFLAGS += -B

SLAVE_BASE_TAG = $(shell sha1sum sonic-slave/Dockerfile | awk '{print substr($$1,0,11);}')
SLAVE_TAG = $(shell cat sonic-slave/Dockerfile.user sonic-slave/Dockerfile | sha1sum | awk '{print substr($$1,0,11);}')
SLAVE_BASE_IMAGE = sonic-slave-base
SLAVE_IMAGE = sonic-slave-$(USER)

DOCKER_RUN := docker run --rm=true --privileged \
-v $(PWD):/sonic \
-w /sonic \
-e "http_proxy=$(http_proxy)" \
-e "https_proxy=$(https_proxy)" \
-i$(if $(TERM),t,)

DOCKER_BASE_BUILD = docker build --no-cache \
-t $(SLAVE_BASE_IMAGE) \
--build-arg http_proxy=$(http_proxy) \
--build-arg https_proxy=$(https_proxy) \
sonic-slave && \
docker tag $(SLAVE_BASE_IMAGE):latest $(SLAVE_BASE_IMAGE):$(SLAVE_BASE_TAG)

DOCKER_BUILD = docker build --no-cache \
--build-arg user=$(USER) \
--build-arg uid=$(shell id -u) \
--build-arg guid=$(shell id -g) \
--build-arg hostname=$(shell echo $$HOSTNAME) \
-t $(SLAVE_IMAGE) \
-f sonic-slave/Dockerfile.user \
sonic-slave && \
docker tag $(SLAVE_IMAGE):latest $(SLAVE_IMAGE):$(SLAVE_TAG)

SONIC_BUILD_INSTRUCTION := make \
-f slave.mk \
PLATFORM=$(PLATFORM) \
BUILD_NUMBER=$(BUILD_NUMBER) \
ENABLE_DHCP_GRAPH_SERVICE=$(ENABLE_DHCP_GRAPH_SERVICE) \
SHUTDOWN_BGP_ON_START=$(SHUTDOWN_BGP_ON_START) \
SONIC_ENABLE_PFCWD_ON_START=$(ENABLE_PFCWD_ON_START) \
ENABLE_SYNCD_RPC=$(ENABLE_SYNCD_RPC) \
PASSWORD=$(PASSWORD) \
USERNAME=$(USERNAME) \
SONIC_BUILD_JOBS=$(SONIC_BUILD_JOBS) \
HTTP_PROXY=$(http_proxy) \
HTTPS_PROXY=$(https_proxy) \
ENABLE_SYSTEM_TELEMETRY=$(ENABLE_SYSTEM_TELEMETRY)

.PHONY: sonic-slave-build sonic-slave-bash init reset

.DEFAULT_GOAL := all
NOJESSIE ?= 0

%::
@docker inspect --type image $(SLAVE_BASE_IMAGE):$(SLAVE_BASE_TAG) &> /dev/null || \
{ echo Image $(SLAVE_BASE_IMAGE):$(SLAVE_BASE_TAG) not found. Building... ; \
$(DOCKER_BASE_BUILD) ; }
@docker inspect --type image $(SLAVE_IMAGE):$(SLAVE_TAG) &> /dev/null || \
{ echo Image $(SLAVE_IMAGE):$(SLAVE_TAG) not found. Building... ; \
$(DOCKER_BUILD) ; }
ifeq "$(KEEP_SLAVE_ON)" "yes"
ifdef SOURCE_FOLDER
@$(DOCKER_RUN) -v $(SOURCE_FOLDER):/var/$(USER)/src $(SLAVE_IMAGE):$(SLAVE_TAG) bash -c "$(SONIC_BUILD_INSTRUCTION) $@; /bin/bash"
else
@$(DOCKER_RUN) $(SLAVE_IMAGE):$(SLAVE_TAG) bash -c "$(SONIC_BUILD_INSTRUCTION) $@; /bin/bash"
endif
else
@$(DOCKER_RUN) $(SLAVE_IMAGE):$(SLAVE_TAG) $(SONIC_BUILD_INSTRUCTION) $@
@echo "+++ --- Making $@ --- +++"
ifeq ($(NOJESSIE), 0)
EXTRA_JESSIE_TARGETS=$(notdir $@) make -f Makefile.work jessie
endif
BLDENV=stretch make -f Makefile.work $@

sonic-slave-build :
$(DOCKER_BASE_BUILD)
$(DOCKER_BUILD)

sonic-slave-bash :
@docker inspect --type image $(SLAVE_BASE_IMAGE):$(SLAVE_BASE_TAG) &> /dev/null || \
{ echo Image $(SLAVE_BASE_IMAGE):$(SLAVE_BASE_TAG) not found. Building... ; \
$(DOCKER_BASE_BUILD) ; }
@docker inspect --type image $(SLAVE_IMAGE):$(SLAVE_TAG) &> /dev/null || \
{ echo Image $(SLAVE_IMAGE):$(SLAVE_TAG) not found. Building... ; \
$(DOCKER_BUILD) ; }
@$(DOCKER_RUN) -t $(SLAVE_IMAGE):$(SLAVE_TAG) bash

init :
@git submodule update --init --recursive
@git submodule foreach --recursive '[ -f .git ] && echo "gitdir: $$(realpath --relative-to=. $$(cut -d" " -f2 .git))" > .git'
jessie:
@echo "+++ Making $@ +++"
ifeq ($(NOJESSIE), 0)
make -f Makefile.work jessie
endif

reset :
@echo && echo -n "Warning! All local changes will be lost. Proceed? [y/N]: "
@read ans && \
if [ $$ans == y ]; then \
git clean -xfdf; \
git reset --hard; \
git submodule foreach --recursive git clean -xfdf; \
git submodule foreach --recursive git reset --hard; \
git submodule update --init --recursive;\
else \
echo "Reset aborted"; \
fi
clean reset init configure showtag sonic-slave-build sonic-slave-bash :
@echo "+++ Making $@ +++"
BLDENV=stretch make -f Makefile.work $@
Loading