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 dev #185

Closed
wants to merge 179 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
179 commits
Select commit Hold shift + click to select a range
b81e587
[submodule update of sonic-mgmr-framework] Pointing to latest
abdosi Jan 17, 2020
6a56da8
[config-setup]: create a SONiC configuration management service (#3227)
rajendra-dendukuri Dec 4, 2019
1f665fd
[dhcp-relay]: Add DHCP Relay Monitor (#3886)
tahmed-dev Jan 8, 2020
f7a95a0
[Services] Allow monit system tool to monitor the critical processes …
yozhao101 Jan 11, 2020
71361a9
[apt] Instruct apt-get to NOT check the "Valid Until" date in Release…
jleveque Jan 7, 2020
e0e7781
[Monit] Change the monitoring period from 120 seconds to 60 seconds. …
yozhao101 Jan 10, 2020
4f17bed
Changes to build restapi docker (#3993)
sumukhatv Jan 10, 2020
ad59368
[reboot cause]: Delay process-reboot-cause service until network conn…
sujinmkang Jan 10, 2020
a8c442a
[docker-restapi]: Avoid building RestAPI docker by default (#4018)
sumukhatv Jan 15, 2020
0e4067b
[bgpcfgd]: Fix bgpcfgd. Don't notify before all deps are ready. (#4027)
pavel-shirshov Jan 17, 2020
2e0c78a
[caclmgrd] Fix application of IPv6 service ACL rules (part 2) (#4036)
jleveque Jan 18, 2020
b6bb851
[mellanox] Update FW to 13/29.2000.2714. (#3998)
nazariig Jan 15, 2020
9704e7f
Change MFT version to 14.13.3 (#4022)
noaOrMlnx Jan 15, 2020
df2056c
[Submoduloe update] sonic-utilities Cherry-pick PR
abdosi Jan 21, 2020
a541dc8
[Submodule Commit] sonic-py-swsssdk. Cherry-pick PR
abdosi Jan 21, 2020
a94772d
[Submodule Update] sonic-swss. Pointing to PR 1168
abdosi Jan 21, 2020
d369279
[Submodule Update] Cherry-pick PR's 1108, 1156, 1159
abdosi Jan 21, 2020
ac93135
Removed ZTP submodule from 201911. Bad Cherry-pick
abdosi Jan 21, 2020
c1e4748
[frr]: Update FRR to 7.2.1 (#4066)
pavel-shirshov Jan 26, 2020
8606b58
[kdump]: porting kdump installation skip on arm to 201911 (#4081)
banagiri Jan 29, 2020
2d5a01e
[teamd]: increase startsecs to 5 seconds for teamsyncd (#4083)
judyjoseph Jan 30, 2020
86c5c5c
Changes in sonic-buildimage to support the NAT feature (#3494)
kirankella Jan 30, 2020
dc4918b
DellEMC : Platform2.0 API Implementation [S6100, S6000, Z9100] (#3740)
ArunSaravananBalachandran Dec 3, 2019
668dfd2
[baseimage]: support building multi-asic component (#3856)
SuvarnaMeenakshi Jan 26, 2020
3cfdfc2
[MultiDB] (./dockers dir) : replace redis-cli with sonic-db-cli and u…
dzhangalibaba Jan 22, 2020
3f0f7cc
DellEMC: Platform2.0 API enhancements in DellEMC S6000 and other API …
ArunSaravananBalachandran Jan 24, 2020
3c68732
[startup] Fixes issue with /var/platform directory not created (#4000)
hpersh Jan 22, 2020
4a9e088
[Mellanox] Update SAI/SDK/FW versions (#4028)
Jan 29, 2020
701b7f1
[Monit] Change the full process name of syncd in the monit config fil…
yozhao101 Jan 23, 2020
f40f273
[MultiDB] (except ./src and ./dockers dirs): replace redis-cli with s…
dzhangalibaba Jan 22, 2020
aeaaaf5
[devices]: DellEMC S6000 fancontrol support (#4048)
Jan 23, 2020
46c3a5e
[baseimage]: removing space from shebang in procdockerstatsd (#4051)
pra-moh Jan 24, 2020
82633a6
mvrf_avoid_snmp_yml_config: made changes to pass SNMP config from con…
kannankvs Jan 29, 2020
4da2ae4
[mellanox]: Add new Mellanox-SN3800-D112C8 sku. (#4085)
nazariig Jan 31, 2020
f4985e1
Revert "Disable SNMPv1 (#2156)" (#4088)
qiluo-msft Feb 1, 2020
35385bc
[libnl]: Debian Packaging libnl version 3.5.0 (#3967)
tahmed-dev Jan 7, 2020
7800dbe
Change the dpkg default behavior in slave, and docker-base, in order …
qiluo-msft Dec 13, 2019
7b37b2d
[Soubmodule Update] for sonic-swss. Following changes are here:
abdosi Feb 4, 2020
42e2c04
[Submodule update] sonic-swss-common
abdosi Feb 4, 2020
9d428d6
[SubModule Update] sonic-linux-kernel
abdosi Feb 4, 2020
b4c7099
[Submodule Commit] sonic-platofrm-daemons
abdosi Feb 4, 2020
5a8b604
[Submodule update] sonic-swss-common
abdosi Feb 4, 2020
be7e393
[Submodule update] sonic-swss
abdosi Feb 4, 2020
772aabd
[kernel]: Increasing gc threshold values for kernel neighbors (#4100)
prsunny Feb 4, 2020
017293f
[Submodule Update] sonic-utilities
abdosi Feb 4, 2020
22879bf
[SubModule Update] sonic-swss
abdosi Feb 4, 2020
ef60cef
[docker] remove leftover --net=host docker run options (#4119)
mykolaf Feb 7, 2020
da41660
Add Innvoium build support for 201911 (#4112)
tonytitus Feb 11, 2020
0ea366a
modified down rules to pre-down rules to ensure that default route is…
kannankvs Jan 17, 2020
7b803e7
[platform/cel]: Remove afulnx_64 (#3900)
Dec 16, 2019
3662865
[daemon_base]fix error: syslog is not a member of DaemonBase (#4039)
stephenxs Feb 7, 2020
058ce68
[frr]: Use tag for building frr (#4082)
pavel-shirshov Feb 7, 2020
46eee06
[mellanox] enable ISSU on SPC2 systems (#4087)
stepanblyschak Feb 11, 2020
e2406a0
teamd: fix possible race in master ifname callback (#4109)
pavel-shirshov Feb 5, 2020
48f5db8
Update arp_update to refresh neighbor entries from APP_DB (#4125)
prsunny Feb 13, 2020
c44d89e
[procdockerstats]: Update file permission for procdockerstatsd (#4126)
pra-moh Feb 7, 2020
6858315
[process-reboot-cause]Clean up the process-reboot-cause as reqired in…
stephenxs Feb 11, 2020
b25b6e0
[docker-lldp] Fix lldpcli issue when description has special characte…
zhenggen-xu Feb 10, 2020
9a382ad
[procdockerstatsd] Fix incorrect case issue in service file (#4134)
pra-moh Feb 10, 2020
e6d53c2
[sonic-buildimage] Fix build issue for docker-dhcp-relay-dbg.gz. Issu…
abdosi Feb 11, 2020
373ed7b
[init_cfg.json] Maintain a separate init_cfg.json.j2 template file (#…
yozhao101 Feb 7, 2020
15ba004
[init_cfg.json] Add new FEATURE and CONTAINER_FEATURE tables (#4137)
yozhao101 Feb 11, 2020
d71da2b
[Service] Enable/disable container auto-restart based on configuratio…
yozhao101 Feb 7, 2020
d996240
[Services] Restart database service upon unexpected critical process …
yozhao101 Feb 11, 2020
a94aa15
[arista]: Fix convertfs condition for booting from EOS (#4139)
byu343 Feb 12, 2020
af5acee
cherry pick PR 599 for ztp
rlhui Feb 15, 2020
c7d17f8
[Mellanox] platform api support firmware install (#3931)
stephenxs Jan 29, 2020
343211a
[grub]: Allow ONiE oneshoot boot for FW update. (#3935)
nazariig Jan 21, 2020
3b7f574
[mellanox] Add fwutil platform components. (#3999)
nazariig Jan 24, 2020
4339482
Start RestAPI container when sonic boots (#4140)
sumukhatv Feb 13, 2020
0afb7f9
[sfputil]fix an syntax error (#4141)
stephenxs Feb 13, 2020
a9e749f
[interfaces-config.sh] Do not bring 'lo' interface down and up (#4150)
jleveque Feb 14, 2020
5d0bcc0
Fix service and container name to be same (#4151)
prsunny Feb 14, 2020
2eece46
Update SDK to 4.3.3052 (#4153)
keboliu Feb 16, 2020
f8054bb
[Device]: Add new CIG device CS6436-54P and CS5435-54P, also update c…
michealylj1 Feb 17, 2020
874a712
Sleep done before mismatch handler (#4165)
prsunny Feb 20, 2020
5ea65dd
[orchagent] Use mac address from config_db instead of from eth0 (#4166)
prsunny Feb 21, 2020
fe7fad0
Made Change to have Configurable option to enable/disable docker imag…
abdosi Feb 21, 2020
f9135ed
[mgmt-framework] start after syncd (#4174)
stepanblyschak Feb 20, 2020
b603a1b
[Mellanox]Fix issue that syncd rpc docker unable to start (#4181)
stephenxs Feb 23, 2020
174fb54
Updated the file permission mode to include +x (#4183)
abdosi Feb 22, 2020
f1e0b32
[Submodule Update] sonic-swss
abdosi Feb 24, 2020
c562db9
[sonic-ztp]: Build sonic-ztp package (#3299)
rajendra-dendukuri Dec 4, 2019
9d5c314
[sonic-ztp]: Add Azure/sonic-ztp as a submodule to Azure/sonic-buildi…
rajendra-dendukuri Dec 16, 2019
84073e1
[broadcom]: Updated BRCM SAI Debian package revision number to 3.7.3.…
abdosi Feb 25, 2020
7c7231a
[Services] Restart BGP service upon unexpected critical process exit.…
yozhao101 Mar 4, 2020
875d03e
[snmp] remove hostname change as it share uts namespace with host (#4…
stepanblyschak Feb 28, 2020
c2e17e9
[sonic-cfggen] Load JSON files before minigraph file (#4202)
jleveque Feb 28, 2020
29cc692
[Mellanox] Update MFT version to 4.13.5 (#4199)
noaOrMlnx Feb 28, 2020
73b353e
filter out CPU ports to avoid any operation on them (#4197)
keboliu Mar 3, 2020
43e3929
cherrypick [Mellanox] update hw-mgmt patch for SimX (#4180)
mykolaf Feb 25, 2020
d17fd61
[image]: Add SSD maintenance utility - hdparm. (#4177)
nazariig Feb 26, 2020
b90ca55
ZTP infrastructure changes to support DHCP discovery provisioning dat…
rajendra-dendukuri Dec 10, 2019
1b69b40
Fixing Bad Cherry-pick
abdosi Mar 4, 2020
c7591e1
[Submodule-Update] sonic-swss. Following changes:
abdosi Mar 4, 2020
266298b
[Submodule Update] sonic-Utilities with following changes:
abdosi Mar 4, 2020
92e4c3f
[libteam]: Disregard current state when considering port enablement (…
lguohan Mar 4, 2020
fc1fd20
[arista]: Add support for Arista Lodoga (#4232)
byu343 Mar 11, 2020
ca71d64
fix build error in sonic-mgmt-framework
rlhui Mar 14, 2020
6f3bbc6
[Mellanox] Calculate the buffer size based on the latest excel and wi…
stephenxs Mar 11, 2020
dd499ee
[Mellanox]Take advantage of sdk variable to customize the location wh…
stephenxs Mar 9, 2020
8689613
[Services] Restart NAT service upon unexpected critical process exit.…
jleveque Mar 5, 2020
659fa85
[Mellanox]the port index in port_config.ini should starts from 0 (#4152)
jleveque Mar 5, 2020
ff03d6a
[Mellanox] Add sdk 4.4.0542 (#4227)
Junchao-Mellanox Mar 9, 2020
c06ca14
[kernel]: security kernel update to 4.9.189 (#3913)
olivier-singla Feb 13, 2020
dc843d0
[sonic-cfggen] Loading the configuration from init_cfg.json and then …
jleveque Mar 5, 2020
084fbce
[Mellanox]Integrate hw-mgmt 7.0000.3012 and advance the linux kernel …
lguohan Mar 4, 2020
619bcf3
[Submodule-Update] sonic-swss with following changes:
abdosi Mar 15, 2020
4bd16cb
[Submodule-Update] sonic-swss with following changes:
abdosi Mar 15, 2020
49132f4
[BFN] Updated Barefoot DEBs to 20200205 (#4261)
akokhan Mar 16, 2020
8a1dfad
[arista]: Fix symbolic links for arista lodoga (#4283)
byu343 Mar 19, 2020
d346319
[Service] Added NAT entry into CONTAINER_FEATURE. Fixes #4247. (#4250)
akokhan Mar 12, 2020
d4464a2
[syncd-rpc.mk] install ptf dependancy (#4279)
mykolaf Mar 18, 2020
41e969f
[mgmt-framework]: Removing explicit libyang plugin path settings (#4144)
dutta-partha Feb 13, 2020
88733f9
[Mellanox] update hw-mgmt patch (#4288)
mykolaf Mar 21, 2020
907c2fa
[mgmt-framework]: Update submodule to take build break fix. (#4302)
renukamanavalan Mar 21, 2020
4c24a32
[Monit] Delay start of monitoring for 5 minutes (#4281)
yozhao101 Mar 19, 2020
c550929
[NTP] Revert change in PR 2598 (#4265)
yxieca Mar 19, 2020
f3d5f9e
[ntp]: Add "tinker panic 0" in ntp.conf to avoid ntpd from panic (#4263)
SuvarnaMeenakshi Mar 22, 2020
3e5df2c
[vs] Add dependencies for NAT to docker-sonic-vs (#4259)
daall Mar 15, 2020
386c5d1
[minigraph.py] Add support for 'OutAcl' keyword and attaching ACLs to…
jleveque Mar 20, 2020
5115a5e
[arista] Update platform drivers submodules (#4200)
Staphylo Mar 17, 2020
715f298
[docker_image_ctl.j2] Share UTS namespace with host OS (#4169)
stepanblyschak Feb 26, 2020
bbf2b0e
[platform/nephos] Upgrade nephos-modules from 1.0.0 to 1.0.1 (#4267) …
simonJi2018 Mar 24, 2020
f3de96d
[Mellanox] Add a new Mellanox platform x86_64-mlnx_msn4700 and new S…
keboliu Mar 24, 2020
2a315b6
[mellanox]: Align platform API: change CPLD version representation (#…
nazariig Mar 23, 2020
67e6c31
[Mellanox] Update MFT version to 4.14.0 (#4262)
noaOrMlnx Mar 23, 2020
15b303d
[telemetry]: move default certs location from device metadata to tele…
lguohan Mar 24, 2020
e6d4318
[DellEMC] Fix Z9100 port index issue (#4309)
aravindmani-1 Mar 24, 2020
b9faf62
[SubModule Update] sonic-swsss . Following changes:
abdosi Mar 24, 2020
1576bed
[Submodule Update] sonic-utilities Following Changes:
abdosi Mar 24, 2020
75df85a
[submodule]: Update sonic-mgmt-framework to fix a build break fix. (#…
renukamanavalan Mar 25, 2020
185b8f6
[build]: install cmake 3.13.2 (#4319)
lguohan Mar 27, 2020
6329f3d
[procdockerstatsd] Fix CMD field in dB (#4335)
GarrickHe Mar 28, 2020
c9c61fa
copy spc3 fw file to image (#4328)
keboliu Mar 28, 2020
d167a4b
[multi-asic]: Update reload of systemd services to support multi-asic
rlhui Mar 30, 2020
4d525be
[device/celestica]: Fix xcvrd error (#3979) (#4345)
Apr 1, 2020
aa616e8
Multi-ASIC implementation (#3888)
SuvarnaMeenakshi Mar 31, 2020
babd72c
[Arista] Update drivers submodules (#4353)
Staphylo Apr 2, 2020
e4d26fd
[devices][Mellanox] create sai.xml for MSN3800-D112-C8 (#4334)
mykolaf Mar 31, 2020
67881bb
Fixbug: EVPN issue in FRR template (#4260)
Pterosaur Apr 3, 2020
485b9ff
Revert "Multi-ASIC implementation (#3888)"
abdosi Apr 3, 2020
3cc6058
[Seastone] Add new HWSKU for 48x50G+8x40G (#4156)
zhenggen-xu Apr 5, 2020
48bfef2
Fix the error that 'sensord' daemon cannot be spawn correctly in pmon…
CharlieChenEC Apr 3, 2020
b6ca941
[Mellanox] update eeprom.py plugin for SimX (#4364)
mykolaf Apr 3, 2020
b21ce83
[sonic-utilities] submodule update with PR's:
abdosi Apr 7, 2020
fd2c258
[sonic-swss] sunmodule update with PR's:
abdosi Apr 7, 2020
41f9acb
Pass image_type to build_debian.sh, so it can do any required customi…
renukamanavalan Apr 8, 2020
cd98bbe
[BFN] Update Barefoot SDK packages (#4397)
akokhan Apr 9, 2020
fd2050e
Update dockers with platform & SONiC version as part of name/tag. (#4…
renukamanavalan Apr 10, 2020
340d21d
[DellEMC] S5232 platform updates (#4360)
srideepDell Apr 8, 2020
5ebf407
Fix typo in config-setup service (#4388)
rajendra-dendukuri Apr 8, 2020
b0b912b
[device/accton] Fix Python error for as7116-54x (#4391)
jleveque Apr 9, 2020
49804ba
[device/accton] Fix Python error for wedge100bf_32x (#4392)
jleveque Apr 9, 2020
a478e72
[SubModule Update] sonic-swss
abdosi Apr 11, 2020
543802e
[201911][Juniper QFX5210] Fix Python errors (#4413)
jleveque Apr 11, 2020
b197224
update SAI 1.16.2 SDK 4.4.0800 FW *.2007.0872 (#4417)
keboliu Apr 13, 2020
ab8576d
[mellanox]: Add SSD FW update tool (#4351)
nazariig Apr 13, 2020
bb394ad
Bug fix: #4011 #4012 - "show run acl", "show run interfaces" - traceb…
noaOrMlnx Mar 30, 2020
eaa1d49
Multi-ASIC implementation (#3888)
SuvarnaMeenakshi Mar 31, 2020
93d4ce8
Update Barefoot kdrv (#4355)
msosyak Apr 14, 2020
dbb6a2b
[Mellanox] bug fix - adpt sfputil plugin to support ACS-MSN4700 (#4361)
keboliu Apr 14, 2020
e22de76
[mellanox]: Enable CPLD update progress bar (#4363)
nazariig Apr 14, 2020
7b1d51d
[Mellanox] Extend mellanox platform API to report SFP error event (#4…
keboliu Apr 14, 2020
59ab6b9
[sonic-netns-exec]: use "$@" to reflects all positional parameters as…
SuvarnaMeenakshi Apr 7, 2020
ed08975
[docker-restapi]: Fix authentication in restapi (#4383)
sumukhatv Apr 15, 2020
32b9c9e
Update SAI to v1.5.2
rlhui Apr 17, 2020
f188bff
[baseimage]: Install Kubernetes packages if enabled in image (#4374) …
renukamanavalan Apr 17, 2020
99211c7
Update frr to latest 7.2.1 (#4145)
pavel-shirshov Feb 14, 2020
48b3b77
[sonic-buildimage] libsaibcm Debian package update (#4439)
abdosi Apr 17, 2020
b6e4d1a
[grub]: use UUID for root partition (#4443)
lguohan Apr 19, 2020
9a9d26a
Kubeadm v1.18.0 requires Calico images of version v3.12.1 (#4445)
renukamanavalan Apr 19, 2020
6a9d7b0
[Submodule update] swss with following PR's:
abdosi Apr 19, 2020
f7aca5c
[Submodule update] sonic-utilities with PR's:
abdosi Apr 19, 2020
eb8f415
[submodule update] sonic-platform-daemons
abdosi Apr 19, 2020
c88ea86
[Submodule update] sonic-platform-common with PR's
abdosi Apr 19, 2020
95cd42e
[submodule update] sonic-swss-common with PR's
abdosi Apr 19, 2020
d4c9daf
[DellEMC] s5232f console and sfputil fix (#4453)
srideepDell Apr 23, 2020
6fe0488
Add device folders and platform folders for Shamu and Jaws
maxwill-ma Jun 2, 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,129 @@
# name lanes alias index
Ethernet1 9,10 QSFP1 1
Ethernet2 11,12 QSFP2 2
Ethernet3 15,16 QSFP3 3
Ethernet4 13,14 QSFP4 4
Ethernet5 77,78 QSFP5 5
Ethernet6 79,80 QSFP6 6
Ethernet7 75,76 QSFP7 7
Ethernet8 73,74 QSFP8 8
Ethernet9 1,2 QSFP9 9
Ethernet10 3,4 QSFP10 10
Ethernet11 7,8 QSFP11 11
Ethernet12 5,6 QSFP12 12
Ethernet13 69,70 QSFP13 13
Ethernet14 71,72 QSFP14 14
Ethernet15 67,68 QSFP15 15
Ethernet16 65,66 QSFP16 16
Ethernet17 41,42 QSFP17 17
Ethernet18 43,44 QSFP18 18
Ethernet19 47,48 QSFP19 19
Ethernet20 45,46 QSFP20 20
Ethernet21 109,110 QSFP21 21
Ethernet22 111,112 QSFP22 22
Ethernet23 107,108 QSFP23 23
Ethernet24 105,106 QSFP24 24
Ethernet25 33,34 QSFP25 25
Ethernet26 35,36 QSFP26 26
Ethernet27 39,40 QSFP27 27
Ethernet28 37,38 QSFP28 28
Ethernet29 101,102 QSFP29 29
Ethernet30 103,104 QSFP30 30
Ethernet31 99,100 QSFP31 31
Ethernet32 97,98 QSFP32 32
Ethernet33 137,138 QSFP33 33
Ethernet34 139,140 QSFP34 34
Ethernet35 143,144 QSFP35 35
Ethernet36 141,142 QSFP36 36
Ethernet37 205,206 QSFP37 37
Ethernet38 207,208 QSFP38 38
Ethernet39 203,204 QSFP39 39
Ethernet40 201,202 QSFP40 40
Ethernet41 129,130 QSFP41 41
Ethernet42 131,132 QSFP42 42
Ethernet43 135,136 QSFP43 43
Ethernet44 133,134 QSFP44 44
Ethernet45 197,198 QSFP45 45
Ethernet46 199,200 QSFP46 46
Ethernet47 195,196 QSFP47 47
Ethernet48 193,194 QSFP48 48
Ethernet49 169,170 QSFP49 49
Ethernet50 171,172 QSFP50 50
Ethernet51 175,176 QSFP51 51
Ethernet52 173,174 QSFP52 52
Ethernet53 237,238 QSFP53 53
Ethernet54 239,240 QSFP54 54
Ethernet55 235,236 QSFP55 55
Ethernet56 233,234 QSFP56 56
Ethernet57 161,162 QSFP57 57
Ethernet58 163,164 QSFP58 58
Ethernet59 167,168 QSFP59 59
Ethernet60 165,166 QSFP60 60
Ethernet61 229,230 QSFP61 61
Ethernet62 231,232 QSFP62 62
Ethernet63 227,228 QSFP63 63
Ethernet64 225,226 QSFP64 64
Ethernet65 25,26 QSFP65 65
Ethernet66 27,28 QSFP66 66
Ethernet67 31,32 QSFP67 67
Ethernet68 29,30 QSFP68 68
Ethernet69 93,94 QSFP69 69
Ethernet70 95,96 QSFP70 70
Ethernet71 91,92 QSFP71 71
Ethernet72 89,90 QSFP72 72
Ethernet73 17,18 QSFP73 73
Ethernet74 19,20 QSFP74 74
Ethernet75 23,24 QSFP75 75
Ethernet76 21,22 QSFP76 76
Ethernet77 85,86 QSFP77 77
Ethernet78 87,88 QSFP78 78
Ethernet79 83,84 QSFP79 79
Ethernet80 81,82 QSFP80 80
Ethernet81 57,58 QSFP81 81
Ethernet82 59,60 QSFP82 82
Ethernet83 63,64 QSFP83 83
Ethernet84 61,62 QSFP84 84
Ethernet85 125,126 QSFP85 85
Ethernet86 127,128 QSFP86 86
Ethernet87 123,124 QSFP87 87
Ethernet88 121,122 QSFP88 88
Ethernet89 49,50 QSFP89 89
Ethernet90 51,52 QSFP90 90
Ethernet91 55,56 QSFP91 91
Ethernet92 53,54 QSFP92 92
Ethernet93 117,118 QSFP93 93
Ethernet94 119,120 QSFP94 94
Ethernet95 115,116 QSFP95 95
Ethernet96 113,114 QSFP96 96
Ethernet97 153,154 QSFP97 97
Ethernet98 155,156 QSFP98 98
Ethernet99 159,160 QSFP99 99
Ethernet100 157,158 QSFP100 100
Ethernet101 221,222 QSFP101 101
Ethernet102 223,224 QSFP102 102
Ethernet103 219,220 QSFP103 103
Ethernet104 217,218 QSFP104 104
Ethernet105 145,146 QSFP105 105
Ethernet106 147,148 QSFP106 106
Ethernet107 151,152 QSFP107 107
Ethernet108 149,150 QSFP108 108
Ethernet109 213,214 QSFP109 109
Ethernet110 215,216 QSFP110 110
Ethernet111 211,212 QSFP111 111
Ethernet112 209,210 QSFP112 112
Ethernet113 185,186 QSFP113 113
Ethernet114 187,188 QSFP114 114
Ethernet115 191,192 QSFP115 115
Ethernet116 189,190 QSFP116 116
Ethernet117 253,254 QSFP117 117
Ethernet118 255,256 QSFP118 118
Ethernet119 251,252 QSFP119 119
Ethernet120 249,250 QSFP120 120
Ethernet121 177,178 QSFP121 121
Ethernet122 179,180 QSFP122 122
Ethernet123 183,184 QSFP123 123
Ethernet124 181,182 QSFP124 124
Ethernet125 245,246 QSFP125 125
Ethernet126 247,248 QSFP126 126
Ethernet127 243,244 QSFP127 127
Ethernet128 241,242 QSFP128 128
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/platform/th3-as14-128h.config.bcm
Binary file not shown.
1 change: 1 addition & 0 deletions device/alibaba/x86_64-alibaba_as14-128h-cl-r0/default_sku
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
AS23-128H t1
2 changes: 2 additions & 0 deletions device/alibaba/x86_64-alibaba_as14-128h-cl-r0/installer.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CONSOLE_SPEED=9600
ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="processor.max_cstate=1 intel_idle.max_cstate=0"
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#Enable all ports
#port all en=1
#sleep 6
#linkscan 250000; port xe,ce linkscan=on

#Load LED
#led auto on; led start


Binary file not shown.
Loading