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 cel #2419

Open
wants to merge 201 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
201 commits
Select commit Hold shift + click to select a range
6f37181
[barefoot]: updating deb package for platform and sai (#2397)
sunesh Dec 26, 2018
f1862fd
Merge pull request #19 from Azure/201811
tiantianlv Jan 4, 2019
2af0a96
Modify port led color!
Jan 7, 2019
34ebb09
Delete bfn-platform.mk
tiantianlv Jan 10, 2019
9010a69
Delete bfn-sai.mk
tiantianlv Jan 10, 2019
da33378
Merge pull request #21 from Azure/201811
tiantianlv Jan 14, 2019
3306c3d
Merge pull request #22 from SONIC-DEV/201811
tiantianlv Jan 14, 2019
af198fb
[docker-database] Add missing '%' in '%syslogtag%' (#2434)
jleveque Jan 12, 2019
022de28
[mellanox] Update SDK to 4.3.0134 (#2447)
stepanblyschak Jan 15, 2019
2abecef
[lldp] For MGMT port, if port alias is available, use it for Port ID …
jleveque Jan 15, 2019
d67db22
[device/Dell] SOSFTDEP to lpc_ich module for dell_ich module (#2440)
Jan 15, 2019
405205c
[buffer]: Add buffer defaults for t0 on s6000 and a7050 (#2438)
wendani Jan 15, 2019
fb278e6
Add new hwsku Arista-7170-Q59S20 (#2450)
zzhiyuan Jan 16, 2019
0213dd4
[libteam]: Fix libteam race condition when interface is created and e…
Jan 16, 2019
d12d546
[docker-engine] fix systemd shutdown hang (#2451)
Staphylo Jan 16, 2019
ff1d194
[sub-module] advance sonic-swss sub-module (#2453)
yxieca Jan 16, 2019
895f2af
[platform/braodcom] Alibaba - Port platform from branch 201807 to 201811
pphuchar Jan 21, 2019
4152e92
[device/alibaba] - Add alibaba device
Jan 21, 2019
f2d73e3
[platform/cel] - Update debian make rule
Jan 22, 2019
cd9d2d0
[platform/cel] - Update debian package control
Jan 22, 2019
11877a7
[device/alibaba] - Allow special bcm config
Jan 22, 2019
16b202f
[swss][supervisord.conf] Remove intfsyncd
marian-pritsak Jan 13, 2019
81467ae
[devices]: Fix cpld sysfs permisson error for accton devices (#2457)
jostar-yang Jan 17, 2019
0921211
[mellanox|ffb] ISSU version check (#2437)
stepanblyschak Jan 17, 2019
6402c5c
[Broadcom SAI] Upgrade Broadcom SAI to 3.3.4.3-1 (#2472)
yxieca Jan 22, 2019
9f2d6fc
Merge pull request #28 from Azure/201811
bbinxie Jan 23, 2019
ca54bf3
[platofmr/broadcom] - Add ali device platform to one image
Jan 23, 2019
84f8abb
[device/alibaba] - Init get_transceiver_change_event function to sfputil
Jan 23, 2019
993df17
[Celestica]: Update port led code for seastone-xp (#2476)
bbinxie Jan 24, 2019
2acfac7
[caclmgrd] Don't crash if we find empty/null rule_props (#2475)
jleveque Jan 24, 2019
959a2ce
[dockers] Prevent old supervisord messages from gettting re-logged to…
jleveque Jan 24, 2019
7b33538
[devices]: Support 32x50G+16x40G profile on Seastone-DX010 (#2474)
zhenggen-xu Jan 24, 2019
7f9d086
[platform/cel] - Update platform module version information
Jan 28, 2019
c036956
[device/alibaba] - Update device plugin to lastest version
Jan 28, 2019
1d3bde4
[platform/broadcom] Alibaba - Fix TVL EEPROM driver not load on first…
pphuchar Jan 28, 2019
1aabb10
Merge pull request #30 from celestica-Inc/201811_cel
Jan 28, 2019
fe18564
Merge pull request #35 from Azure/201811
bbinxie Jan 29, 2019
746cd16
[sub module] move sairedis and swss to 201811 branch (#2508)
yxieca Jan 31, 2019
38c08df
[reboot cause] Move reboot-cause files to /host directory so they per…
jleveque Jan 29, 2019
dac983e
Disable IPv6 ra for eth0 interface (#2493)
prsunny Jan 29, 2019
cdbbb7e
[QoS]: QoS Config change for multiple devices (#2505)
wendani Jan 31, 2019
f167e67
[baseimage] Delay ntp-config service to start after 5 minutes (#2494)
jleveque Jan 31, 2019
e9125b9
[swss]: Change VrfMgrd startup order, cleanup VRF_TABLE from state DB…
prsunny Feb 1, 2019
e6bc80f
[mlnx] Fix sai xml path for boxer platform (#2516)
stepanblyschak Feb 1, 2019
8e8c18f
[submodule] update sonic-snmpagent (#2517)
mykolaf Feb 2, 2019
4a24103
[updategraph] After system upgrade, restore files/directories with or…
zhenggen-xu Feb 2, 2019
7808f3c
[build]: add fastentrypoints which is used for sonic-utilities build …
ishidawataru Jan 24, 2019
b1bdecb
[QoS]: Link pg 2 and 6 to lossy buffer profile (#2511)
wendani Feb 1, 2019
7d5cb91
[submodule 201811] advance sairedis and swss submodule for 201811 bra…
yxieca Feb 6, 2019
c88f168
[sub module] sub module sonic-swss-common tracking 201811 branch (#2530)
yxieca Feb 6, 2019
a98fe06
[submodule] update utilities pointer (#2523)
mykolaf Feb 4, 2019
4023a77
[QoS]: fix size and xoff value on a7050-QX-32S, -QX32, and s6000(#2527)
yxieca Feb 7, 2019
accaacc
[docker-snmp] Install pyyaml in the container (#2533)
Staphylo Feb 7, 2019
b4bc4b7
[sub module] advance sonic-swss sub module (#2539)
yxieca Feb 8, 2019
2031dc6
[platform/cel] - add fppga upgrade tool
Feb 11, 2019
5659288
[device/alibaba] - Update device plugins to latest version
Feb 11, 2019
f9f9a64
[bcm sai] Upgrade Broadcom SAI to version 3.3.4.3-2 (#2550)
yxieca Feb 12, 2019
24bce77
[swss/syncd] log swss/syncd service script activities (#2545)
yxieca Feb 10, 2019
a65e47f
[lldpmgr] add mgmt ip to lldpd conf template, handle port description…
mykolaf Jan 30, 2019
ab19d13
[minigraph.py] generate port description for every port (#2395)
mykolaf Feb 4, 2019
a7e013b
[submodule]: update sonic-dbsyncd
lguohan Feb 12, 2019
41bb13b
configure the hostname for lldpd
lguohan Feb 12, 2019
bab38e4
setup port description if minigraph has neighbor information
lguohan Feb 12, 2019
6f2274a
configure lldp when the port exists
lguohan Feb 12, 2019
11fa090
start lldp-syncd and lldpmgrd after lldpd fully started
lguohan Feb 12, 2019
d10275e
Updated SAI XML config for SN2010. (#2561)
nazariig Feb 14, 2019
c0f82b3
[HWSKU] Define HWSKU Arista-7260CX3-Q64 and Arista-7260CX3-Q44 (#2562)
yxieca Feb 14, 2019
4faa5f2
[warm boot] cherry-pick PR #2538 and advance related sub-modules (#2569)
yxieca Feb 14, 2019
dc82709
Merge pull request #44 from Azure/201811
Alex-Dai Feb 15, 2019
e0a4801
Merge pull request #45 from SONIC-DEV/201811
Alex-Dai Feb 15, 2019
60c4f07
[device/alibaba] - Update BMC Upgrade method
Feb 15, 2019
d3281ce
[platform/ali] - Update switchboard driver to fixes bug
Feb 15, 2019
e2de636
[sonic] - Add dmidecode tool
Feb 15, 2019
03d007d
[platform/cel] - Remove depend linux image from platform debian package
Feb 15, 2019
d648a1b
[platform/cel] - Remove platform module cel code
Feb 20, 2019
c1e04ab
[platform/cel] - Add sonic-platform-modules-cel as submodule
Feb 20, 2019
bc384a7
add parameter mdio_output_delay for phalanx
Feb 25, 2019
61ca163
Merge pull request #56 from SONIC-DEV/201811_cel_alex
Alex-Dai Feb 25, 2019
33c1998
[platform/cel] - Update platform utility to version 1.2
Feb 22, 2019
e2535bc
[device/alibaba] - Add api for control port tx signal
Feb 22, 2019
ee006ac
[device/alibaba] - fix invalid fan cpld monitoring format
Feb 22, 2019
4ed09c8
[device/alibaba] - update sensorutil to support INLET_TEMP format
Feb 22, 2019
fd3a130
[platform/cel] - Update missing platform module utility and platform …
Feb 25, 2019
0021cbb
[platform/braodcom] Alibaba update submodule to fix bugs
pphuchar Feb 25, 2019
6d945d3
[device/alibaba] Fishbone/Phalanx rescan FPGA PCI device after upgrade.
pphuchar Feb 25, 2019
c7ae32b
[device/alibaba] - Update firmware upgrade utility
Feb 28, 2019
5438161
[device/alibaba] - Update missing config on bios upgrade function
Mar 1, 2019
519989d
[device/alibab] - Add function to get cpld upgrade information
Mar 4, 2019
fa83d05
[device/alibaba] - Add default_sku config file
Mar 7, 2019
70262a3
[devices/alibaba] Add cpu c-state limit in SONiC Linux boot argument
pphuchar Mar 6, 2019
1a5e308
[device/alibaba] - Update cpld upgrade function to support multiple i…
Mar 9, 2019
8dac2a9
[device/alibaba] - Update cpld upgrade method and get last update fun…
Mar 15, 2019
ad95c42
[device/alibaba] - Fix invalid linecard cpld key
Mar 15, 2019
86486e7
[device/ali] - Fix an error on fan cpld version monitoring
Mar 18, 2019
41cb6bf
[device/alibaba] - Update bios method to avoid the reboot issue
Mar 18, 2019
9617b01
[device/alibaba] - Add more switch cpld upgrade type
Mar 18, 2019
f522f4d
[optictemputil] Read module temperature from sysfs_eeprom
pphuchar Mar 8, 2019
0a292c7
[sync_bmc] Read optic temperature from sysfs_eeprom_path
pphuchar Mar 8, 2019
ab8d231
[platform/braodcom] Fix Phalanx/Fishbone FPGA not found alert message.
pphuchar Mar 21, 2019
5082b9c
[sfputil-plugins] add tx_disable support for QSFP on fishbone/phalanx
pphuchar Mar 27, 2019
ff0ca79
[platform/cel] - Add rsyslog configuration file
Mar 25, 2019
e6f3779
[device/alibaba] - Update get_last_firmware_upgrade api to support mu…
Mar 25, 2019
9c119b2
[platform/cel] - Revert remote syslog server port to default
Apr 2, 2019
f835a26
[platform/cel] - Remove rsyslog configuration file
Apr 3, 2019
9e9ceff
[syncd.sh] Don't stop sxdkernel during warm shutdown on Mellanox plat…
stepanblyschak Feb 16, 2019
96657c6
[hostcfgd]: Promote logs for update-notifications-from-DB from DEBUG …
renukamanavalan Feb 16, 2019
be2bb4d
[quagga]: collect quagga-dbg debian package (#2575)
lguohan Feb 16, 2019
2e7c760
'show vlan config' is not displaying the VLAN members, after the clea…
ramachandrareddygaddam Feb 18, 2019
8366375
[swss]: flush asic db in swss.sh for non warm-boot (#2582)
lguohan Feb 20, 2019
9145510
[minigraph] asymmetric pfc is disabled by default (#2481)
mykolaf Feb 20, 2019
c408755
[ntp] disable ntp time jump (#2589)
yxieca Feb 20, 2019
b9e2740
Revert "[baseimage] Delay ntp-config service to start after 5 minutes…
yxieca Feb 21, 2019
374aa33
[config engine] update test_cfggen test_port_description test (#2593)
mykolaf Feb 21, 2019
c4cd84f
[201811 submodules] advance sairedis, swss, swss-common, utilities (#…
yxieca Feb 22, 2019
f5e2145
[submodule] update mellanox hw-mgmgt pointer (V.2.0.0061) (#2592)
mykolaf Feb 22, 2019
c7ba85c
[201811 sub module] advance sonic-swss sub module (#2599)
yxieca Feb 23, 2019
f7bebd8
[Mellanox] Update SAI, SDK/FW (v4.3.0136/13.1910.0920) (#2616)
andriymoroz-mlnx Feb 28, 2019
a8cf325
[sub module] advance sonic-utilities sub module for 201811 branch (#2…
yxieca Feb 28, 2019
7c55139
[Mellanox] Fix SAI version (#2628)
andriymoroz-mlnx Mar 1, 2019
47088e5
[services] Ensure swss and syncd services start before dependent serv…
jleveque Mar 2, 2019
50a23a9
[router-advertiser] Add templated script to wait for pertinent interf…
yxieca Mar 7, 2019
1e48feb
[supervisor] Fix crash if system clock rolls back within startsecs; R…
jleveque Mar 4, 2019
1aa304e
Set a rate limit on syslog messages from all Docker containers (#2573)
jleveque Mar 4, 2019
968fc2c
[swss/syncd] cold start syncd service in swss in attach method (#2639)
yxieca Mar 5, 2019
14ec4ac
Add hook to allow customizing link cable lengths
wendani Mar 5, 2019
761ca31
[devices]: sfputil support more mellanox sku (#2645)
yxieca Mar 7, 2019
c024be1
[201811 sub module] update swss, swss-common sub modules (#2652)
yxieca Mar 7, 2019
3d18f46
[mellanox]: Remove MAC alignment WA for Mellanox platforms. (#2632)
nazariig Mar 2, 2019
7402bee
[201811 sub module] advance sairedis sub module (#2657)
yxieca Mar 7, 2019
61170e1
[sub module] remove changes not ready yet (#2662)
yxieca Mar 9, 2019
26b678f
revert 'Remove MAC alignment WA for Mellanox platforms.' (#2677)
mykolaf Mar 18, 2019
9028550
[minigraph]: Do not fail for minigraphs which do not have neighbors l…
NStetskovych-zz Feb 5, 2019
1678ca4
[qos]: Map tc 1, 2, 5, and 6 back to pg 0 (#2650)
wendani Mar 8, 2019
5bf2b3c
Update bcmcmd binary: fix crash issue when long line >= 1023 chars (#…
qiluo-msft Mar 8, 2019
6383284
[services] Services which start containers now use 'docker wait' inst…
jleveque Mar 8, 2019
a9ad758
[mellanox] Fix in mlnx-ffb.sh (#2676)
stepanblyschak Mar 18, 2019
bec0ce4
[docker] Update docker package version for CVE-2019-5736 fix (#2663)
yxieca Mar 19, 2019
4b81fbf
[201811 sub-module] advance sub-modules: utilities, swss, swss-common…
yxieca Mar 19, 2019
3b04f6f
[Mellanox] Update SAI (#2686)
andriymoroz-mlnx Mar 21, 2019
c9fcdb1
[sonic-py-swsssdk] Update submodule (#2660)
yxieca Mar 22, 2019
9f028ed
[Mellanox] fix sfp lpmode set failure caused by extra nv port (#2671)
keboliu Mar 19, 2019
c8b25c0
[docker script] skip docker mount point checking for database contain…
yxieca Mar 20, 2019
83c2329
[make file] managing teamd patches with stg (#2689)
yxieca Mar 22, 2019
4b59985
[201811 sub module] advance utilitie sub module (#2695)
yxieca Mar 22, 2019
161b9cb
[jessie based docker] remove dependency on some retired jessie repos …
yxieca Mar 27, 2019
9596683
[libteam]: Skip setting the same hwaddr to lag port to avoid disrupti…
jipanyang Mar 23, 2019
32ad731
[teamd] retry creating team_port after interface info changed (#2699)
yxieca Mar 28, 2019
d0c9d6a
[devices]: Add support of HwSKU Mellanox-SN2700-C28D8 (#2700)
andriymoroz-mlnx Mar 28, 2019
d19d9f4
[security] Do not generate ssh server keys for non RSA protocols (#2718)
qiluo-msft Mar 29, 2019
a669b30
[201811][snmpagent][swss-common] advance sub module head to include o…
yxieca Mar 31, 2019
0bebd16
[service] add warmboot finializer service (#2725)
yxieca Apr 1, 2019
e0b8570
[build] force Linux to drop cache before calling kvm (#2717)
yxieca Apr 1, 2019
54c805e
[teamd service] teamd service should start after syncd (#2724)
yxieca Apr 1, 2019
fca6b90
[teamd] prevent re-entrance of port priv change handler (#2723)
yxieca Apr 1, 2019
304e42a
[201811][sairedis][swss] advance sub module head of sairedis and swss…
yxieca Apr 1, 2019
61097d0
[201811][platform-common] add platform-common 201811 branch (#2743)
yxieca Apr 4, 2019
996caad
removing dhcp- turn- off option from initrd (#2555)
Apr 2, 2019
599ec34
Revert "[teamd service] teamd service should start after syncd (#2724…
yxieca Apr 3, 2019
7136cab
[201811][utilities] advance submodule head (#2748)
yxieca Apr 4, 2019
4312d61
[hostcfgd] -- Fix the default for failthrough as false.
renukamanavalan Apr 3, 2019
ddc49d8
[20181][sub-modules] advance sairedis, swss, swss-common and utilitie…
yxieca Apr 9, 2019
8564813
[platform/cel] - Update bmc_vlan service execute order
Apr 10, 2019
cf9a8a7
[device/alibaba] - Update Airflow detection format
Apr 10, 2019
75b0f2e
Merge pull request #73 from celestica-Inc/201811_cel-update-bmc-vlan-…
Apr 10, 2019
ccf1243
[platform/module] update submodule to add i2c bus recovery
pphuchar Apr 10, 2019
b2fc0d2
Add timeout for get BMC version!
Apr 11, 2019
f14e7ab
[platform/cel]: Add BMC watchdog service (#81)
May 22, 2019
17603cc
[device/alibaba]: update firmware management API (#80)
May 22, 2019
b2cacc4
[device/alibaba]: Update firmware_refresh API to support multiple ref…
May 23, 2019
f4b451c
[device/alibaba]: Update error handler for bmc watchdog on fwmgrutil
May 24, 2019
a5fb122
Fix bmc update failed in V1.2.5
May 25, 2019
fb558e3
[platform/cel]: Fix missing bmc watchdog service on Phalanx
May 27, 2019
ba02ef0
[device/alibaba]: Remove bmc watchdog handler on fwmgrutil
May 27, 2019
ca67225
[device/alibaba]: Remove unuse bmc_wdt path
May 27, 2019
6287570
[platform/cel]: Update BMC watchdog polling service solution
May 27, 2019
a5600a1
[platform/cel]: Remove unuse dependency to avoid service blocking ser…
May 27, 2019
37274e1
[device/alibaba]: Update firmware_program api to install cpld on cpu
May 30, 2019
879afaa
[device/alibaba]: Add cpld/fpga upgrade log
Jun 6, 2019
2b1866c
[device/alibaba]: Update get_last_upgrade_result to support cpld/fpga…
Jun 6, 2019
71ee1d4
[platform/cel]: Fix bmc_vlan service
Jun 11, 2019
9162a4f
[device/alibaba]: Add bmc/bios upgrade logger and fix bug
Jun 19, 2019
1dbc62d
[device/alibaba]: Update firmware refresh logger
Jun 20, 2019
d2ba48f
[platform/cel]: Add syslog logrotate config
Jul 12, 2019
a27b390
[platform/cel]: update watchdog service
Jul 18, 2019
1b3309b
[platform/cel]: update watchdog service logger format and add logrota…
Jul 18, 2019
fc9f359
[platform/cel]: add logger handler for watchdog service
Jul 19, 2019
adcf58a
fix BMC update failed from slave
Jul 24, 2019
0a87b18
modify port number start from Ethernet1
Sep 9, 2019
a8ec08f
Merge pull request #112 from SONIC-DEV/201811_cel_alex
Alex-Dai Sep 9, 2019
476512c
[device/alibaba]; add presence status detection in sfputil tx_disable…
Oct 15, 2019
c6bd3ef
[platform/cel]: Add power control utility for Ali device
Oct 24, 2019
0c0a700
[platform/cel]: update power control utility
Oct 28, 2019
26c92af
[platform/cel]: Add bmc-exec command
Nov 7, 2019
43aa673
[Fishbone32/Phalanx] Update i2c adapter driver to fix write 0xFF issue
pphuchar Dec 12, 2019
06eee13
[Fishbones/phalanx] Update switchboard driver to fix EEPROM not detected
pphuchar Dec 25, 2019
68f06df
[device/alibaba]: add reset_all function to sfputil
Feb 13, 2020
612c898
[Fishbones/phalanx] Add BMC serial console logging service.
pphuchar Jan 2, 2020
1f53553
[platform/cel] one bus mutex for the eeprom read/write issue (#132)
xwang9 Feb 19, 2020
16d771b
[Fishbones/phalanx] Update switchboard driver to fix kernel panic
pphuchar Feb 19, 2020
ef1168c
[platform/cel]: add confirmation for bmc-exec and powerutil
Mar 25, 2020
03edef0
Merge pull request #143 from mudsut4ke/201811_cel_power_util
Apr 10, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
[submodule "sonic-swss-common"]
path = src/sonic-swss-common
url = https://github.com/Azure/sonic-swss-common
branch = 201811
[submodule "sonic-linux-kernel"]
path = src/sonic-linux-kernel
url = https://github.com/Azure/sonic-linux-kernel
[submodule "sonic-sairedis"]
path = src/sonic-sairedis
url = https://github.com/Azure/sonic-sairedis
branch = 201811
[submodule "sonic-swss"]
path = src/sonic-swss
url = https://github.com/Azure/sonic-swss
branch = 201811
[submodule "src/p4c-bm/p4c-bm"]
path = platform/p4/p4c-bm/p4c-bm
url = https://github.com/krambn/p4c-bm
Expand All @@ -35,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 All @@ -62,3 +67,6 @@
[submodule "src/redis-dump-load"]
path = src/redis-dump-load
url = https://github.com/p/redis-dump-load.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
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
16 changes: 12 additions & 4 deletions build_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
set -x -e

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

## Working directory to prepare the file system
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 @@ -182,6 +182,8 @@ sudo LANG=C chroot $FILESYSTEM_ROOT apt-get -y remove software-properties-common
sudo mkdir -p $FILESYSTEM_ROOT/etc/systemd/system/docker.service.d/
## Note: $_ means last argument of last command
sudo cp files/docker/docker.service.conf $_
## Fix systemd race between docker and containerd
sudo sed -i '/After=/s/$/ containerd.service/' $FILESYSTEM_ROOT/lib/systemd/system/docker.service

## Create default user
## Note: user should be in the group with the same name, and also in sudo/docker group
Expand Down Expand Up @@ -240,7 +242,8 @@ sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y in
python-scapy \
tcptraceroute \
mtr-tiny \
locales
locales \
dmidecode

#Adds a locale to a debian system in non-interactive mode
sudo sed -i '/^#.* en_US.* /s/^#//' $FILESYSTEM_ROOT/etc/locale.gen && \
Expand All @@ -261,6 +264,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 Down Expand Up @@ -339,6 +346,7 @@ 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.core.rmem_max 2097152
set /files/etc/sysctl.conf/net.core.wmem_max 2097152
Expand Down
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# name lanes alias index
Ethernet1 1,2,3,4 QSFP1 1
Ethernet2 5,6,7,8 QSFP2 2
Ethernet3 9,10,11,12 QSFP3 3
Ethernet4 13,14,15,16 QSFP4 4
Ethernet5 17,18,19,20 QSFP5 5
Ethernet6 21,22,23,24 QSFP6 6
Ethernet7 25,26,27,28 QSFP7 7
Ethernet8 29,30,31,32 QSFP8 8
Ethernet9 33,34,35,36 QSFP9 9
Ethernet10 37,38,39,40 QSFP10 10
Ethernet11 41,42,43,44 QSFP11 11
Ethernet12 45,46,47,48 QSFP12 12
Ethernet13 49,50,51,52 QSFP13 13
Ethernet14 53,54,55,56 QSFP14 14
Ethernet15 57,58,59,60 QSFP15 15
Ethernet16 61,62,63,64 QSFP16 16
Ethernet17 65,66,67,68 QSFP17 17
Ethernet18 69,70,71,72 QSFP18 18
Ethernet19 73,74,75,76 QSFP19 19
Ethernet20 77,78,79,80 QSFP20 20
Ethernet21 81,82,83,84 QSFP21 21
Ethernet22 85,86,87,88 QSFP22 22
Ethernet23 89,90,91,92 QSFP23 23
Ethernet24 93,94,95,96 QSFP24 24
Ethernet25 97,98,99,100 QSFP25 25
Ethernet26 101,102,103,104 QSFP26 26
Ethernet27 105,106,107,108 QSFP27 27
Ethernet28 109,110,111,112 QSFP28 28
Ethernet29 113,114,115,116 QSFP29 29
Ethernet30 117,118,119,120 QSFP30 30
Ethernet31 121,122,123,124 QSFP31 31
Ethernet32 125,126,127,128 QSFP32 32
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/platform/td3-as13-32h.config.bcm
Binary file not shown.
1 change: 1 addition & 0 deletions device/alibaba/x86_64-alibaba_as13-32h-cl-r0/default_sku
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
AS13-32H t1
2 changes: 2 additions & 0 deletions device/alibaba/x86_64-alibaba_as13-32h-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