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

201911_cel_base_20200424 #153

Merged
merged 178 commits into from
Apr 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
178 commits
Select commit Hold shift + click to select a range
a29a2a4
[submodule update of sonic-mgmr-framework] Pointing to latest
abdosi Jan 17, 2020
bb34edf
[config-setup]: create a SONiC configuration management service (#3227)
rajendra-dendukuri Dec 4, 2019
c883583
[dhcp-relay]: Add DHCP Relay Monitor (#3886)
tahmed-dev Jan 8, 2020
89eedb3
[Services] Allow monit system tool to monitor the critical processes …
yozhao101 Jan 11, 2020
aad6b9c
[apt] Instruct apt-get to NOT check the "Valid Until" date in Release…
jleveque Jan 7, 2020
82c2eee
[Monit] Change the monitoring period from 120 seconds to 60 seconds. …
yozhao101 Jan 10, 2020
e838295
Changes to build restapi docker (#3993)
sumukhatv Jan 10, 2020
9deb8c1
[reboot cause]: Delay process-reboot-cause service until network conn…
sujinmkang Jan 10, 2020
e7b75b0
[docker-restapi]: Avoid building RestAPI docker by default (#4018)
sumukhatv Jan 15, 2020
9618c80
[bgpcfgd]: Fix bgpcfgd. Don't notify before all deps are ready. (#4027)
pavel-shirshov Jan 17, 2020
ccdc097
[caclmgrd] Fix application of IPv6 service ACL rules (part 2) (#4036)
jleveque Jan 18, 2020
030a34e
[mellanox] Update FW to 13/29.2000.2714. (#3998)
nazariig Jan 15, 2020
67ff781
Change MFT version to 14.13.3 (#4022)
noaOrMlnx Jan 15, 2020
6d72353
[Submoduloe update] sonic-utilities Cherry-pick PR
abdosi Jan 21, 2020
298fbfc
[Submodule Commit] sonic-py-swsssdk. Cherry-pick PR
abdosi Jan 21, 2020
d6706f6
[Submodule Update] sonic-swss. Pointing to PR 1168
abdosi Jan 21, 2020
9c08d07
[Submodule Update] Cherry-pick PR's 1108, 1156, 1159
abdosi Jan 21, 2020
e884e58
Removed ZTP submodule from 201911. Bad Cherry-pick
abdosi Jan 21, 2020
f5ca0c7
[frr]: Update FRR to 7.2.1 (#4066)
pavel-shirshov Jan 26, 2020
5a4f19e
[kdump]: porting kdump installation skip on arm to 201911 (#4081)
banagiri Jan 29, 2020
d815328
[teamd]: increase startsecs to 5 seconds for teamsyncd (#4083)
judyjoseph Jan 30, 2020
a943e6c
Changes in sonic-buildimage to support the NAT feature (#3494)
kirankella Jan 30, 2020
939de3d
DellEMC : Platform2.0 API Implementation [S6100, S6000, Z9100] (#3740)
ArunSaravananBalachandran Dec 3, 2019
abe7ef7
[baseimage]: support building multi-asic component (#3856)
SuvarnaMeenakshi Jan 26, 2020
a265641
[MultiDB] (./dockers dir) : replace redis-cli with sonic-db-cli and u…
dzhangalibaba Jan 22, 2020
c841693
DellEMC: Platform2.0 API enhancements in DellEMC S6000 and other API …
ArunSaravananBalachandran Jan 24, 2020
cc825ff
[startup] Fixes issue with /var/platform directory not created (#4000)
hpersh Jan 22, 2020
8a7a883
[Mellanox] Update SAI/SDK/FW versions (#4028)
Jan 29, 2020
d6aee4c
[Monit] Change the full process name of syncd in the monit config fil…
yozhao101 Jan 23, 2020
42bffc1
[MultiDB] (except ./src and ./dockers dirs): replace redis-cli with s…
dzhangalibaba Jan 22, 2020
e32d22c
[devices]: DellEMC S6000 fancontrol support (#4048)
Jan 23, 2020
8e4a4ca
[baseimage]: removing space from shebang in procdockerstatsd (#4051)
pra-moh Jan 24, 2020
a836ead
mvrf_avoid_snmp_yml_config: made changes to pass SNMP config from con…
kannankvs Jan 29, 2020
a4ca818
[mellanox]: Add new Mellanox-SN3800-D112C8 sku. (#4085)
nazariig Jan 31, 2020
45c4000
Revert "Disable SNMPv1 (#2156)" (#4088)
qiluo-msft Feb 1, 2020
b6c978d
[libnl]: Debian Packaging libnl version 3.5.0 (#3967)
tahmed-dev Jan 7, 2020
cdf469c
Change the dpkg default behavior in slave, and docker-base, in order …
qiluo-msft Dec 13, 2019
896b53e
[Soubmodule Update] for sonic-swss. Following changes are here:
abdosi Feb 4, 2020
3ebcf13
[Submodule update] sonic-swss-common
abdosi Feb 4, 2020
becf494
[SubModule Update] sonic-linux-kernel
abdosi Feb 4, 2020
9f132d9
[Submodule Commit] sonic-platofrm-daemons
abdosi Feb 4, 2020
96d05a0
[Submodule update] sonic-swss-common
abdosi Feb 4, 2020
7843d94
[Submodule update] sonic-swss
abdosi Feb 4, 2020
48ca0a1
[kernel]: Increasing gc threshold values for kernel neighbors (#4100)
prsunny Feb 4, 2020
d09b1ab
[Submodule Update] sonic-utilities
abdosi Feb 4, 2020
d192e0c
[SubModule Update] sonic-swss
abdosi Feb 4, 2020
c71deb0
[docker] remove leftover --net=host docker run options (#4119)
mykolaf Feb 7, 2020
8305e84
Add Innvoium build support for 201911 (#4112)
tonytitus Feb 11, 2020
74ac9b0
modified down rules to pre-down rules to ensure that default route is…
kannankvs Jan 17, 2020
68f664b
[platform/cel]: Remove afulnx_64 (#3900)
Dec 16, 2019
96f5a75
[daemon_base]fix error: syslog is not a member of DaemonBase (#4039)
stephenxs Feb 7, 2020
cdab1fc
[frr]: Use tag for building frr (#4082)
pavel-shirshov Feb 7, 2020
3ba4361
[mellanox] enable ISSU on SPC2 systems (#4087)
stepanblyschak Feb 11, 2020
a6acc1e
teamd: fix possible race in master ifname callback (#4109)
pavel-shirshov Feb 5, 2020
e87f270
Update arp_update to refresh neighbor entries from APP_DB (#4125)
prsunny Feb 13, 2020
e194643
[procdockerstats]: Update file permission for procdockerstatsd (#4126)
pra-moh Feb 7, 2020
6143fdd
[process-reboot-cause]Clean up the process-reboot-cause as reqired in…
stephenxs Feb 11, 2020
80e388d
[docker-lldp] Fix lldpcli issue when description has special characte…
zhenggen-xu Feb 10, 2020
c70a7b8
[procdockerstatsd] Fix incorrect case issue in service file (#4134)
pra-moh Feb 10, 2020
63b0038
[sonic-buildimage] Fix build issue for docker-dhcp-relay-dbg.gz. Issu…
abdosi Feb 11, 2020
f061353
[init_cfg.json] Maintain a separate init_cfg.json.j2 template file (#…
yozhao101 Feb 7, 2020
984c43e
[init_cfg.json] Add new FEATURE and CONTAINER_FEATURE tables (#4137)
yozhao101 Feb 11, 2020
71225ea
[Service] Enable/disable container auto-restart based on configuratio…
yozhao101 Feb 7, 2020
3ac3459
[Services] Restart database service upon unexpected critical process …
yozhao101 Feb 11, 2020
f197f0d
[arista]: Fix convertfs condition for booting from EOS (#4139)
byu343 Feb 12, 2020
887ea00
cherry pick PR 599 for ztp
rlhui Feb 15, 2020
48f8a8d
[Mellanox] platform api support firmware install (#3931)
stephenxs Jan 29, 2020
ee9295c
[grub]: Allow ONiE oneshoot boot for FW update. (#3935)
nazariig Jan 21, 2020
651f4a0
[mellanox] Add fwutil platform components. (#3999)
nazariig Jan 24, 2020
af4e842
Start RestAPI container when sonic boots (#4140)
sumukhatv Feb 13, 2020
bc30442
[sfputil]fix an syntax error (#4141)
stephenxs Feb 13, 2020
f6d69ae
[interfaces-config.sh] Do not bring 'lo' interface down and up (#4150)
jleveque Feb 14, 2020
6740b2d
Fix service and container name to be same (#4151)
prsunny Feb 14, 2020
91e64f0
Update SDK to 4.3.3052 (#4153)
keboliu Feb 16, 2020
bb73687
[Device]: Add new CIG device CS6436-54P and CS5435-54P, also update c…
michealylj1 Feb 17, 2020
20510d5
Sleep done before mismatch handler (#4165)
prsunny Feb 20, 2020
4f3d399
[orchagent] Use mac address from config_db instead of from eth0 (#4166)
prsunny Feb 21, 2020
3156632
Made Change to have Configurable option to enable/disable docker imag…
abdosi Feb 21, 2020
398929c
[mgmt-framework] start after syncd (#4174)
stepanblyschak Feb 20, 2020
4cadca4
[Mellanox]Fix issue that syncd rpc docker unable to start (#4181)
stephenxs Feb 23, 2020
fe9baad
Updated the file permission mode to include +x (#4183)
abdosi Feb 22, 2020
1aac153
[Submodule Update] sonic-swss
abdosi Feb 24, 2020
1edb696
[sonic-ztp]: Build sonic-ztp package (#3299)
rajendra-dendukuri Dec 4, 2019
69879e4
[sonic-ztp]: Add Azure/sonic-ztp as a submodule to Azure/sonic-buildi…
rajendra-dendukuri Dec 16, 2019
c495dc3
[broadcom]: Updated BRCM SAI Debian package revision number to 3.7.3.…
abdosi Feb 25, 2020
5c8c4b2
[Services] Restart BGP service upon unexpected critical process exit.…
yozhao101 Mar 4, 2020
d2c10ba
[snmp] remove hostname change as it share uts namespace with host (#4…
stepanblyschak Feb 28, 2020
bd99464
[sonic-cfggen] Load JSON files before minigraph file (#4202)
jleveque Feb 28, 2020
aef5263
[Mellanox] Update MFT version to 4.13.5 (#4199)
noaOrMlnx Feb 28, 2020
0050cc1
filter out CPU ports to avoid any operation on them (#4197)
keboliu Mar 3, 2020
c603ed3
cherrypick [Mellanox] update hw-mgmt patch for SimX (#4180)
mykolaf Feb 25, 2020
11503c7
[image]: Add SSD maintenance utility - hdparm. (#4177)
nazariig Feb 26, 2020
8581a52
ZTP infrastructure changes to support DHCP discovery provisioning dat…
rajendra-dendukuri Dec 10, 2019
cc2d497
Fixing Bad Cherry-pick
abdosi Mar 4, 2020
42e3996
[Submodule-Update] sonic-swss. Following changes:
abdosi Mar 4, 2020
d6abe35
[Submodule Update] sonic-Utilities with following changes:
abdosi Mar 4, 2020
bf4a282
[libteam]: Disregard current state when considering port enablement (…
lguohan Mar 4, 2020
950926a
[arista]: Add support for Arista Lodoga (#4232)
byu343 Mar 11, 2020
a6533a5
fix build error in sonic-mgmt-framework
rlhui Mar 14, 2020
774487b
[Mellanox] Calculate the buffer size based on the latest excel and wi…
stephenxs Mar 11, 2020
c700127
[Mellanox]Take advantage of sdk variable to customize the location wh…
stephenxs Mar 9, 2020
102cb83
[Services] Restart NAT service upon unexpected critical process exit.…
jleveque Mar 5, 2020
bcfc3d1
[Mellanox]the port index in port_config.ini should starts from 0 (#4152)
jleveque Mar 5, 2020
53eb0bc
[Mellanox] Add sdk 4.4.0542 (#4227)
Junchao-Mellanox Mar 9, 2020
a8baca0
[kernel]: security kernel update to 4.9.189 (#3913)
olivier-singla Feb 13, 2020
8e36068
[sonic-cfggen] Loading the configuration from init_cfg.json and then …
jleveque Mar 5, 2020
9eb3a1b
[Mellanox]Integrate hw-mgmt 7.0000.3012 and advance the linux kernel …
lguohan Mar 4, 2020
9f2664e
[Submodule-Update] sonic-swss with following changes:
abdosi Mar 15, 2020
505d4bf
[Submodule-Update] sonic-swss with following changes:
abdosi Mar 15, 2020
055d7cd
[BFN] Updated Barefoot DEBs to 20200205 (#4261)
akokhan Mar 16, 2020
ba42bde
[arista]: Fix symbolic links for arista lodoga (#4283)
byu343 Mar 19, 2020
39889a3
[Service] Added NAT entry into CONTAINER_FEATURE. Fixes #4247. (#4250)
akokhan Mar 12, 2020
444c450
[syncd-rpc.mk] install ptf dependancy (#4279)
mykolaf Mar 18, 2020
d97051d
[mgmt-framework]: Removing explicit libyang plugin path settings (#4144)
dutta-partha Feb 13, 2020
7c1220e
[Mellanox] update hw-mgmt patch (#4288)
mykolaf Mar 21, 2020
de2afc4
[mgmt-framework]: Update submodule to take build break fix. (#4302)
renukamanavalan Mar 21, 2020
3585703
[Monit] Delay start of monitoring for 5 minutes (#4281)
yozhao101 Mar 19, 2020
384055a
[NTP] Revert change in PR 2598 (#4265)
yxieca Mar 19, 2020
7b4b124
[ntp]: Add "tinker panic 0" in ntp.conf to avoid ntpd from panic (#4263)
SuvarnaMeenakshi Mar 22, 2020
d793cc8
[vs] Add dependencies for NAT to docker-sonic-vs (#4259)
daall Mar 15, 2020
d0bae82
[minigraph.py] Add support for 'OutAcl' keyword and attaching ACLs to…
jleveque Mar 20, 2020
fcb5b41
[arista] Update platform drivers submodules (#4200)
Staphylo Mar 17, 2020
ee84dca
[docker_image_ctl.j2] Share UTS namespace with host OS (#4169)
stepanblyschak Feb 26, 2020
cf1dd5b
[platform/nephos] Upgrade nephos-modules from 1.0.0 to 1.0.1 (#4267) …
simonJi2018 Mar 24, 2020
ca8ac9d
[Mellanox] Add a new Mellanox platform x86_64-mlnx_msn4700 and new S…
keboliu Mar 24, 2020
da92d8f
[mellanox]: Align platform API: change CPLD version representation (#…
nazariig Mar 23, 2020
75437bd
[Mellanox] Update MFT version to 4.14.0 (#4262)
noaOrMlnx Mar 23, 2020
8969b7c
[telemetry]: move default certs location from device metadata to tele…
lguohan Mar 24, 2020
9385e02
[DellEMC] Fix Z9100 port index issue (#4309)
aravindmani-1 Mar 24, 2020
4a99a76
[SubModule Update] sonic-swsss . Following changes:
abdosi Mar 24, 2020
1ba8944
[Submodule Update] sonic-utilities Following Changes:
abdosi Mar 24, 2020
83c7770
[submodule]: Update sonic-mgmt-framework to fix a build break fix. (#…
renukamanavalan Mar 25, 2020
6929d1f
[build]: install cmake 3.13.2 (#4319)
lguohan Mar 27, 2020
a059d7e
[procdockerstatsd] Fix CMD field in dB (#4335)
GarrickHe Mar 28, 2020
2fd1641
copy spc3 fw file to image (#4328)
keboliu Mar 28, 2020
d35e382
[multi-asic]: Update reload of systemd services to support multi-asic
rlhui Mar 30, 2020
a5a11f6
[device/celestica]: Fix xcvrd error (#3979) (#4345)
Apr 1, 2020
2e87a16
Multi-ASIC implementation (#3888)
SuvarnaMeenakshi Mar 31, 2020
8819322
[Arista] Update drivers submodules (#4353)
Staphylo Apr 2, 2020
aa30030
[devices][Mellanox] create sai.xml for MSN3800-D112-C8 (#4334)
mykolaf Mar 31, 2020
6839d14
Fixbug: EVPN issue in FRR template (#4260)
Pterosaur Apr 3, 2020
249265a
Revert "Multi-ASIC implementation (#3888)"
abdosi Apr 3, 2020
0a4f164
[Seastone] Add new HWSKU for 48x50G+8x40G (#4156)
zhenggen-xu Apr 5, 2020
63450d7
Fix the error that 'sensord' daemon cannot be spawn correctly in pmon…
CharlieChenEC Apr 3, 2020
be0e923
[Mellanox] update eeprom.py plugin for SimX (#4364)
mykolaf Apr 3, 2020
d4bcd33
[sonic-utilities] submodule update with PR's:
abdosi Apr 7, 2020
a78789f
[sonic-swss] sunmodule update with PR's:
abdosi Apr 7, 2020
fb06360
Pass image_type to build_debian.sh, so it can do any required customi…
renukamanavalan Apr 8, 2020
0d5c9aa
[BFN] Update Barefoot SDK packages (#4397)
akokhan Apr 9, 2020
c8ad045
Update dockers with platform & SONiC version as part of name/tag. (#4…
renukamanavalan Apr 10, 2020
c080e80
[DellEMC] S5232 platform updates (#4360)
srideepDell Apr 8, 2020
a97b73e
Fix typo in config-setup service (#4388)
rajendra-dendukuri Apr 8, 2020
2772cce
[device/accton] Fix Python error for as7116-54x (#4391)
jleveque Apr 9, 2020
7d27d38
[device/accton] Fix Python error for wedge100bf_32x (#4392)
jleveque Apr 9, 2020
4f1b9ff
[SubModule Update] sonic-swss
abdosi Apr 11, 2020
d09fba3
[201911][Juniper QFX5210] Fix Python errors (#4413)
jleveque Apr 11, 2020
4ee0f1f
update SAI 1.16.2 SDK 4.4.0800 FW *.2007.0872 (#4417)
keboliu Apr 13, 2020
0b35fcf
[mellanox]: Add SSD FW update tool (#4351)
nazariig Apr 13, 2020
6844885
Bug fix: #4011 #4012 - "show run acl", "show run interfaces" - traceb…
noaOrMlnx Mar 30, 2020
0099305
Multi-ASIC implementation (#3888)
SuvarnaMeenakshi Mar 31, 2020
9dd1fa0
Update Barefoot kdrv (#4355)
msosyak Apr 14, 2020
eb55c22
[Mellanox] bug fix - adpt sfputil plugin to support ACS-MSN4700 (#4361)
keboliu Apr 14, 2020
c3e030b
[mellanox]: Enable CPLD update progress bar (#4363)
nazariig Apr 14, 2020
e4bd7ab
[Mellanox] Extend mellanox platform API to report SFP error event (#4…
keboliu Apr 14, 2020
2f66b4c
[sonic-netns-exec]: use "$@" to reflects all positional parameters as…
SuvarnaMeenakshi Apr 7, 2020
23aed5a
[docker-restapi]: Fix authentication in restapi (#4383)
sumukhatv Apr 15, 2020
e8bfde3
Update SAI to v1.5.2
rlhui Apr 17, 2020
9b017a8
[baseimage]: Install Kubernetes packages if enabled in image (#4374) …
renukamanavalan Apr 17, 2020
c7c78f0
Update frr to latest 7.2.1 (#4145)
pavel-shirshov Feb 14, 2020
5839a01
[sonic-buildimage] libsaibcm Debian package update (#4439)
abdosi Apr 17, 2020
4c900dc
[grub]: use UUID for root partition (#4443)
lguohan Apr 19, 2020
be5a015
Kubeadm v1.18.0 requires Calico images of version v3.12.1 (#4445)
renukamanavalan Apr 19, 2020
4324f30
[Submodule update] swss with following PR's:
abdosi Apr 19, 2020
8f8ea04
[Submodule update] sonic-utilities with PR's:
abdosi Apr 19, 2020
9c43360
[submodule update] sonic-platform-daemons
abdosi Apr 19, 2020
ca926f2
[Submodule update] sonic-platform-common with PR's
abdosi Apr 19, 2020
898f878
[submodule update] sonic-swss-common with PR's
abdosi Apr 19, 2020
773e83b
[DellEMC] s5232f console and sfputil fix (#4453)
srideepDell Apr 23, 2020
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
  •  
  •  
  •  
22 changes: 22 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ target/
# Subdirectories in src
src/bash/*
!src/bash/Makefile
src/dhcpmon/debian/*
!src/dhcpmon/debian/changelog
!src/dhcpmon/debian/compat
!src/dhcpmon/debian/control
!src/dhcpmon/debian/rules
src/ixgbe/*
!src/ixgbe/Makefile
src/isc-dhcp/*
Expand Down Expand Up @@ -50,6 +55,8 @@ src/isc-dhcp/*
!src/isc-dhcp/Makefile
!src/isc-dhcp/patch/
src/libnl3/*
!src/libnl3/debian
src/libnl3/debian/libnl-*/
!src/libnl3/Makefile
src/libteam/*
!src/libteam/Makefile
Expand Down Expand Up @@ -104,6 +111,7 @@ src/thrift/*
# Autogenerated Dockerfiles
sonic-slave/Dockerfile
sonic-slave-stretch/Dockerfile
sonic-slave-jessie/Dockerfile
dockers/docker-base/Dockerfile
dockers/docker-base-stretch/Dockerfile
dockers/docker-config-engine/Dockerfile
Expand Down Expand Up @@ -140,3 +148,17 @@ src/sonic-daemon-base/sonic_daemon_base.egg-info
# Misc. files
files/initramfs-tools/arista-convertfs
files/initramfs-tools/union-mount

# Debian byproduct files
src/**/debian/stamp-*/
src/**/debian/*.log
src/**/debian/*.substvars
src/**/debian/.debhelper/
src/**/debian/tmp/
src/**/debian/autoreconf.*
src/**/debian/build/
src/**/debian/files
src/**/debian/stamp-autotools-files

# .o files
src/**/*.o
7 changes: 7 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,10 @@
[submodule "Switch-SDK-drivers"]
path = platform/mellanox/sdk-src/sx-kernel/Switch-SDK-drivers
url = https://github.com/Mellanox/Switch-SDK-drivers
[submodule "src/sonic-restapi"]
path = src/sonic-restapi
url = https://github.com/Azure/sonic-restapi.git
branch = master
[submodule "src/sonic-ztp"]
path = src/sonic-ztp
url = https://github.com/Azure/sonic-ztp
8 changes: 8 additions & 0 deletions Makefile.work
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
# * 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.
# * ENABLE_ZTP: Enables zero touch provisioning.
# * SHUTDOWN_BGP_ON_START: Sets admin-down state for all bgp peerings after restart.
# * INSTALL_KUBERNETES: Allows including Kubernetes
# * ENABLE_PFCWD_ON_START: Enable PFC Watchdog (PFCWD) on server-facing ports
# * by default for TOR switch.
# * ENABLE_SYNCD_RPC: Enables rpc-based syncd builds.
Expand Down Expand Up @@ -162,7 +164,12 @@ SONIC_BUILD_INSTRUCTION := make \
BUILD_NUMBER=$(BUILD_NUMBER) \
BUILD_TIMESTAMP=$(BUILD_TIMESTAMP) \
ENABLE_DHCP_GRAPH_SERVICE=$(ENABLE_DHCP_GRAPH_SERVICE) \
ENABLE_ZTP=$(ENABLE_ZTP) \
SHUTDOWN_BGP_ON_START=$(SHUTDOWN_BGP_ON_START) \
INSTALL_KUBERNETES=$(INSTALL_KUBERNETES) \
KUBERNETES_VERSION=$(KUBERNETES_VERSION) \
K8s_GCR_IO_PAUSE_VERSION=$(K8s_GCR_IO_PAUSE_VERSION) \
K8s_CNI_CALICO_VERSION=$(K8s_CNI_CALICO_VERSION) \
SONIC_ENABLE_PFCWD_ON_START=$(ENABLE_PFCWD_ON_START) \
SONIC_ENABLE_SYNCD_RPC=$(ENABLE_SYNCD_RPC) \
SONIC_INSTALL_DEBUG_TOOLS=$(INSTALL_DEBUG_TOOLS) \
Expand All @@ -175,6 +182,7 @@ SONIC_BUILD_INSTRUCTION := make \
HTTP_PROXY=$(http_proxy) \
HTTPS_PROXY=$(https_proxy) \
SONIC_ENABLE_SYSTEM_TELEMETRY=$(ENABLE_SYSTEM_TELEMETRY) \
SONIC_ENABLE_RESTAPI=$(ENABLE_RESTAPI) \
EXTRA_JESSIE_TARGETS=$(EXTRA_JESSIE_TARGETS) \
$(SONIC_OVERRIDE_BUILD_VARS)

Expand Down
40 changes: 29 additions & 11 deletions build_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ if [[ $CONFIGURED_ARCH == armhf || $CONFIGURED_ARCH == arm64 ]]; then
else
DOCKER_VERSION=5:18.09.8~3-0~debian-stretch
fi
LINUX_KERNEL_VERSION=4.9.0-9-2
LINUX_KERNEL_VERSION=4.9.0-11-2

## Working directory to prepare the file system
FILESYSTEM_ROOT=./fsroot
Expand Down Expand Up @@ -139,7 +139,9 @@ sudo dpkg --root=$FILESYSTEM_ROOT -i $debs_path/initramfs-tools_*.deb || \
sudo dpkg --root=$FILESYSTEM_ROOT -i $debs_path/linux-image-${LINUX_KERNEL_VERSION}-*_${CONFIGURED_ARCH}.deb || \
sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y install -f
sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y install acl
[[ $CONFIGURED_ARCH == amd64 ]] && sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y install dmidecode
if [[ $CONFIGURED_ARCH == amd64 ]]; then
sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y install dmidecode hdparm
fi

## Update initramfs for booting with squashfs+overlay
cat files/initramfs-tools/modules | sudo tee -a $FILESYSTEM_ROOT/etc/initramfs-tools/modules > /dev/null
Expand Down Expand Up @@ -201,6 +203,22 @@ sudo LANG=C chroot $FILESYSTEM_ROOT apt-get update
sudo LANG=C chroot $FILESYSTEM_ROOT apt-get -y install docker-ce=${DOCKER_VERSION}
sudo LANG=C chroot $FILESYSTEM_ROOT apt-get -y remove software-properties-common gnupg2

if [ "$INSTALL_KUBERNETES" == "y" ]
then
## Install Kubernetes
echo '[INFO] Install kubernetes'
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT curl -fsSL \
https://packages.cloud.google.com/apt/doc/apt-key.gpg | \
sudo LANG=C chroot $FILESYSTEM_ROOT apt-key add -
## Check out the sources list update matches current Debian version
sudo cp files/image_config/kubernetes/kubernetes.list $FILESYSTEM_ROOT/etc/apt/sources.list.d/
sudo LANG=C chroot $FILESYSTEM_ROOT apt-get update
sudo LANG=C chroot $FILESYSTEM_ROOT apt-get -y install kubeadm=${KUBERNETES_VERSION}-00
# kubeadm package auto install kubelet & kubectl
else
echo '[INFO] Skipping Install kubernetes'
fi

## Add docker config drop-in to specify dockerd command line
sudo mkdir -p $FILESYSTEM_ROOT/etc/systemd/system/docker.service.d/
## Note: $_ means last argument of last command
Expand Down Expand Up @@ -272,7 +290,8 @@ sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y in
cgroup-tools \
ipmitool \
ndisc6 \
makedumpfile
makedumpfile \
conntrack


if [[ $CONFIGURED_ARCH == amd64 ]]; then
Expand Down Expand Up @@ -314,10 +333,6 @@ fi
## 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

## Remove sshd host keys, and will regenerate on first sshd start
sudo rm -f $FILESYSTEM_ROOT/etc/ssh/ssh_host_*_key*
sudo cp files/sshd/host-ssh-keygen.sh $FILESYSTEM_ROOT/usr/local/bin/
Expand Down Expand Up @@ -374,6 +389,12 @@ set /files/etc/sysctl.conf/net.ipv4.conf.all.arp_ignore 2

set /files/etc/sysctl.conf/net.ipv4.neigh.default.base_reachable_time_ms 1800000
set /files/etc/sysctl.conf/net.ipv6.neigh.default.base_reachable_time_ms 1800000
set /files/etc/sysctl.conf/net.ipv4.neigh.default.gc_thresh1 1024
set /files/etc/sysctl.conf/net.ipv6.neigh.default.gc_thresh1 1024
set /files/etc/sysctl.conf/net.ipv4.neigh.default.gc_thresh2 2048
set /files/etc/sysctl.conf/net.ipv6.neigh.default.gc_thresh2 2048
set /files/etc/sysctl.conf/net.ipv4.neigh.default.gc_thresh3 4096
set /files/etc/sysctl.conf/net.ipv6.neigh.default.gc_thresh3 4096

set /files/etc/sysctl.conf/net.ipv6.conf.default.forwarding 1
set /files/etc/sysctl.conf/net.ipv6.conf.all.forwarding 1
Expand All @@ -387,9 +408,6 @@ set /files/etc/sysctl.conf/net.ipv6.conf.default.keep_addr_on_down 1
set /files/etc/sysctl.conf/net.ipv6.conf.all.keep_addr_on_down 1
set /files/etc/sysctl.conf/net.ipv6.conf.eth0.keep_addr_on_down 1

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.ipv4.tcp_l3mdev_accept 1
set /files/etc/sysctl.conf/net.ipv4.udp_l3mdev_accept 1

Expand Down Expand Up @@ -424,10 +442,10 @@ EOF

sudo cp files/dhcp/rfc3442-classless-routes $FILESYSTEM_ROOT/etc/dhcp/dhclient-exit-hooks.d
sudo cp files/dhcp/sethostname $FILESYSTEM_ROOT/etc/dhcp/dhclient-exit-hooks.d/
sudo cp files/dhcp/sethostname6 $FILESYSTEM_ROOT/etc/dhcp/dhclient-exit-hooks.d/
sudo cp files/dhcp/graphserviceurl $FILESYSTEM_ROOT/etc/dhcp/dhclient-exit-hooks.d/
sudo cp files/dhcp/snmpcommunity $FILESYSTEM_ROOT/etc/dhcp/dhclient-exit-hooks.d/
sudo cp files/dhcp/vrf $FILESYSTEM_ROOT/etc/dhcp/dhclient-exit-hooks.d/
sudo cp files/dhcp/dhclient.conf $FILESYSTEM_ROOT/etc/dhcp/
if [ -f files/image_config/ntp/ntp ]; then
sudo cp ./files/image_config/ntp/ntp $FILESYSTEM_ROOT/etc/init.d/
fi
Expand Down
2 changes: 1 addition & 1 deletion build_debug_docker_j2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ debs/{{ deb }}{{' '}}
{% if $3 is defined %}
{% if $3|length %}

RUN apt-get install -f -y \
RUN apt-get update && apt-get install -f -y \
{% for dbg in $3.split(' ') -%}
{{ dbg }}{{' '}}
{%- endfor %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,7 @@ def get_presence(self):
presence = int(sfp_presence.read(), 16)
except IOError:
return False
logger.log_info("debug:port_ %s sfp presence is %s" % (str(self.index)), % (str(presence))
logger.log_info("debug:port_ %s sfp presence is %s" % (str(self.index), str(presence)))
return presence

def get_model(self):
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# name lanes alias index
Ethernet0 1,2,3,4 Ethernet1/1 1
Ethernet4 5,6,7,8 Ethernet2/1 2
Ethernet8 9,10,11,12 Ethernet3/1 3
Ethernet12 13,14,15,16 Ethernet4/1 4
Ethernet16 21,22,23,24 Ethernet5/1 5
Ethernet20 17,18,19,20 Ethernet6/1 6
Ethernet24 25,26,27,28 Ethernet7/1 7
Ethernet28 29,30,31,32 Ethernet8/1 8
Ethernet32 37,38,39,40 Ethernet9/1 9
Ethernet36 33,34,35,36 Ethernet10/1 10
Ethernet40 41,42,43,44 Ethernet11/1 11
Ethernet44 45,46,47,48 Ethernet12/1 12
Ethernet48 53,54,55,56 Ethernet13/1 13
Ethernet52 49,50,51,52 Ethernet14/1 14
Ethernet56 57,58,59,60 Ethernet15/1 15
Ethernet60 61,62,63,64 Ethernet16/1 16
Ethernet64 69,70,71,72 Ethernet17/1 17
Ethernet68 65,66,67,68 Ethernet18/1 18
Ethernet72 73,74,75,76 Ethernet19/1 19
Ethernet76 77,78,79,80 Ethernet20/1 20
Ethernet80 85,86,87,88 Ethernet21/1 21
Ethernet84 81,82,83,84 Ethernet22/1 22
Ethernet88 89,90,91,92 Ethernet23/1 23
Ethernet92 93,94,95,96 Ethernet24/1 24
Ethernet96 101,102,103,104 Ethernet25/1 25
Ethernet100 97,98,99,100 Ethernet26/1 26
Ethernet104 105,106,107,108 Ethernet27/1 27
Ethernet108 109,110,111,112 Ethernet28/1 28
Ethernet112 117,118,119,120 Ethernet29/1 29
Ethernet116 113,114,115,116 Ethernet30/1 30
Ethernet120 121,122,123,124 Ethernet31/1 31
Ethernet124 125,126,127,128 Ethernet32/1 32
Ethernet128 129 Ethernet33 33
Ethernet132 128 Ethernet34 34
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/td3-a7050cx3-32s-32x100G.config.bcm
Loading