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 #69

Merged
merged 57 commits into from
Apr 10, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
e5daf21
[syncd.sh] Don't stop sxdkernel during warm shutdown on Mellanox plat…
stepanblyschak Feb 16, 2019
def2780
[hostcfgd]: Promote logs for update-notifications-from-DB from DEBUG …
renukamanavalan Feb 16, 2019
fc5512a
[quagga]: collect quagga-dbg debian package (#2575)
lguohan Feb 16, 2019
490f47e
'show vlan config' is not displaying the VLAN members, after the clea…
ramachandrareddygaddam Feb 18, 2019
c5b0c59
[swss]: flush asic db in swss.sh for non warm-boot (#2582)
lguohan Feb 20, 2019
2a12684
[minigraph] asymmetric pfc is disabled by default (#2481)
mykolaf Feb 20, 2019
a57cb14
[ntp] disable ntp time jump (#2589)
yxieca Feb 20, 2019
d5250ad
Revert "[baseimage] Delay ntp-config service to start after 5 minutes…
yxieca Feb 21, 2019
797b21e
[config engine] update test_cfggen test_port_description test (#2593)
mykolaf Feb 21, 2019
1d11b95
[201811 submodules] advance sairedis, swss, swss-common, utilities (#…
yxieca Feb 22, 2019
fbdb256
[submodule] update mellanox hw-mgmgt pointer (V.2.0.0061) (#2592)
mykolaf Feb 22, 2019
9f0ccbb
[201811 sub module] advance sonic-swss sub module (#2599)
yxieca Feb 23, 2019
a06f590
[Mellanox] Update SAI, SDK/FW (v4.3.0136/13.1910.0920) (#2616)
andriymoroz-mlnx Feb 28, 2019
8617923
[sub module] advance sonic-utilities sub module for 201811 branch (#2…
yxieca Feb 28, 2019
83c645d
[Mellanox] Fix SAI version (#2628)
andriymoroz-mlnx Mar 1, 2019
c6ccb80
[services] Ensure swss and syncd services start before dependent serv…
jleveque Mar 2, 2019
ece0050
[router-advertiser] Add templated script to wait for pertinent interf…
yxieca Mar 7, 2019
daf45c5
[supervisor] Fix crash if system clock rolls back within startsecs; R…
jleveque Mar 4, 2019
e5b8302
Set a rate limit on syslog messages from all Docker containers (#2573)
jleveque Mar 4, 2019
deab95c
[swss/syncd] cold start syncd service in swss in attach method (#2639)
yxieca Mar 5, 2019
0b13c45
Add hook to allow customizing link cable lengths
wendani Mar 5, 2019
4f3a5e8
[devices]: sfputil support more mellanox sku (#2645)
yxieca Mar 7, 2019
898a5ac
[201811 sub module] update swss, swss-common sub modules (#2652)
yxieca Mar 7, 2019
8a602c6
[mellanox]: Remove MAC alignment WA for Mellanox platforms. (#2632)
nazariig Mar 2, 2019
23aa759
[201811 sub module] advance sairedis sub module (#2657)
yxieca Mar 7, 2019
6341b87
[sub module] remove changes not ready yet (#2662)
yxieca Mar 9, 2019
1ddf4b7
revert 'Remove MAC alignment WA for Mellanox platforms.' (#2677)
mykolaf Mar 18, 2019
4998609
[minigraph]: Do not fail for minigraphs which do not have neighbors l…
NStetskovych-zz Feb 5, 2019
f720c2a
[qos]: Map tc 1, 2, 5, and 6 back to pg 0 (#2650)
wendani Mar 8, 2019
638724f
Update bcmcmd binary: fix crash issue when long line >= 1023 chars (#…
qiluo-msft Mar 8, 2019
ecec579
[services] Services which start containers now use 'docker wait' inst…
jleveque Mar 8, 2019
ba5accd
[mellanox] Fix in mlnx-ffb.sh (#2676)
stepanblyschak Mar 18, 2019
bbfe094
[docker] Update docker package version for CVE-2019-5736 fix (#2663)
yxieca Mar 19, 2019
4c61c0e
[201811 sub-module] advance sub-modules: utilities, swss, swss-common…
yxieca Mar 19, 2019
21ea29a
[Mellanox] Update SAI (#2686)
andriymoroz-mlnx Mar 21, 2019
d80ea02
[sonic-py-swsssdk] Update submodule (#2660)
yxieca Mar 22, 2019
ed8e29c
[Mellanox] fix sfp lpmode set failure caused by extra nv port (#2671)
keboliu Mar 19, 2019
f29e623
[docker script] skip docker mount point checking for database contain…
yxieca Mar 20, 2019
00081c5
[make file] managing teamd patches with stg (#2689)
yxieca Mar 22, 2019
14e3c60
[201811 sub module] advance utilitie sub module (#2695)
yxieca Mar 22, 2019
5043e22
[jessie based docker] remove dependency on some retired jessie repos …
yxieca Mar 27, 2019
dc2317a
[libteam]: Skip setting the same hwaddr to lag port to avoid disrupti…
jipanyang Mar 23, 2019
378fa08
[teamd] retry creating team_port after interface info changed (#2699)
yxieca Mar 28, 2019
e985372
[devices]: Add support of HwSKU Mellanox-SN2700-C28D8 (#2700)
andriymoroz-mlnx Mar 28, 2019
3d8d4ae
[security] Do not generate ssh server keys for non RSA protocols (#2718)
qiluo-msft Mar 29, 2019
1b07437
[201811][snmpagent][swss-common] advance sub module head to include o…
yxieca Mar 31, 2019
681e34a
[service] add warmboot finializer service (#2725)
yxieca Apr 1, 2019
021b378
[build] force Linux to drop cache before calling kvm (#2717)
yxieca Apr 1, 2019
13a643b
[teamd service] teamd service should start after syncd (#2724)
yxieca Apr 1, 2019
bc98f9f
[teamd] prevent re-entrance of port priv change handler (#2723)
yxieca Apr 1, 2019
502ddb0
[201811][sairedis][swss] advance sub module head of sairedis and swss…
yxieca Apr 1, 2019
1a4bac7
[201811][platform-common] add platform-common 201811 branch (#2743)
yxieca Apr 4, 2019
27f1aa7
removing dhcp- turn- off option from initrd (#2555)
Apr 2, 2019
4eaa4da
Revert "[teamd service] teamd service should start after syncd (#2724…
yxieca Apr 3, 2019
5c663ca
[201811][utilities] advance submodule head (#2748)
yxieca Apr 4, 2019
6c1a0ce
[hostcfgd] -- Fix the default for failthrough as false.
renukamanavalan Apr 3, 2019
9ae1103
[20181][sub-modules] advance sairedis, swss, swss-common and utilitie…
yxieca Apr 9, 2019
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
2 changes: 2 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,14 @@
[submodule "src/sonic-utilities"]
path = src/sonic-utilities
url = https://github.com/Azure/sonic-utilities
branch = 201811
[submodule "platform/broadcom/sonic-platform-modules-arista"]
path = platform/broadcom/sonic-platform-modules-arista
url = https://github.com/aristanetworks/sonic
[submodule "src/sonic-platform-common"]
path = src/sonic-platform-common
url = https://github.com/Azure/sonic-platform-common
branch = 201811
[submodule "src/sonic-platform-daemons"]
path = src/sonic-platform-daemons
url = https://github.com/Azure/sonic-platform-daemons
Expand Down
4 changes: 4 additions & 0 deletions Makefile.work
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
# * make NOSTRETCH=1 KEEP_SLAVE_ON=yes <any jessie target>
# * SOURCE_FOLDER: host path to be mount as /var/$(USER)/src, only effective when KEEP_SLAVE_ON=yes
# * SONIC_BUILD_JOBS: Specifying number of concurrent build job(s) to run
# * VS_PREPARE_MEM: Prepare memory in VS build (drop cache and compact).
# * Default: yes
# * Values: yes, no
# * KERNEL_PROCURE_METHOD: Specifying method of obtaining kernel Debian package: download or build
#
###############################################################################
Expand Down Expand Up @@ -114,6 +117,7 @@ SONIC_BUILD_INSTRUCTION := make \
PASSWORD=$(PASSWORD) \
USERNAME=$(USERNAME) \
SONIC_BUILD_JOBS=$(SONIC_BUILD_JOBS) \
VS_PREPARE_MEM=$(VS_PREPARE_MEM) \
KERNEL_PROCURE_METHOD=$(KERNEL_PROCURE_METHOD) \
HTTP_PROXY=$(http_proxy) \
HTTPS_PROXY=$(https_proxy) \
Expand Down
10 changes: 7 additions & 3 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 @@ -263,6 +263,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
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 <[email protected]>
#
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,37 @@
# name lanes speed alias index
Ethernet0 0,1,2,3 100000 etp1 1
Ethernet4 4,5,6,7 100000 etp2 2
Ethernet8 8,9,10,11 100000 etp3 3
Ethernet12 12,13,14,15 100000 etp4 4
Ethernet16 16,17,18,19 100000 etp5 5
Ethernet20 20,21,22,23 100000 etp6 6
Ethernet24 24,25,26,27 100000 etp7 7
Ethernet28 28,29,30,31 100000 etp8 8
Ethernet32 32,33,34,35 100000 etp9 9
Ethernet36 36,37,38,39 100000 etp10 10
Ethernet40 40,41,42,43 100000 etp11 11
Ethernet44 44,45,46,47 100000 etp12 12
Ethernet48 48,49,50,51 100000 etp13 13
Ethernet52 52,53,54,55 100000 etp14 14
Ethernet56 56,57,58,59 100000 etp15 15
Ethernet60 60,61,62,63 100000 etp16 16
Ethernet64 64,65,66,67 100000 etp17 17
Ethernet68 68,69,70,71 100000 etp18 18
Ethernet72 72,73,74,75 100000 etp19 19
Ethernet76 76,77,78,79 100000 etp20 20
Ethernet80 80,81,82,83 100000 etp21 21
Ethernet84 84,85,86,87 100000 etp22 22
Ethernet88 88,89,90,91 100000 etp23 23
Ethernet92 92,93,94,95 100000 etp24 24
Ethernet96 96,97,98,99 100000 etp25 25
Ethernet100 100,101,102,103 100000 etp26 26
Ethernet104 104,105,106,107 100000 etp27 27
Ethernet108 108,109,110,111 100000 etp28 28
Ethernet112 112,113 50000 etp29a 29
Ethernet114 114,115 50000 etp29b 29
Ethernet116 116,117 50000 etp30a 30
Ethernet118 118,119 50000 etp30b 30
Ethernet120 120,121 50000 etp31a 31
Ethernet122 122,123 50000 etp31b 31
Ethernet124 124,125 50000 etp32a 32
Ethernet126 126,127 50000 etp32b 32
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_2700_8x50g_28x100g.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,250 @@
<?xml version="1.0"?>
<root>
<platform_info type="2700">

<!-- Device MAC address -->
<device-mac-address>00:02:03:04:05:00</device-mac-address>

<!-- ISSU enabled -->
<issu-enabled>1</issu-enabled>

<!-- Number of ports in the following port list -->
<number-of-physical-ports>32</number-of-physical-ports>

<!-- List of ports in the device -->
<ports-list>
<port-info>
<local-port>1</local-port>
<width>4</width>
<module>16</module>

<!-- 0 none, 1=2, 2=4, 3=2,4 -->
<breakout-modes>3</breakout-modes>

<!-- (BITMASK) 4096 - 10Gb , 939524096 - 25Gb , 98368 - 40Gb , 3221225472 - 50Gb , 11534336 - 100Gb-->
<port-speed>11534336</port-speed>
</port-info>
<port-info>
<local-port>3</local-port>
<width>4</width>
<module>17</module>
<breakout-modes>1</breakout-modes>
<port-speed>11534336</port-speed>
</port-info>
<port-info>
<local-port>5</local-port>
<width>4</width>
<module>18</module>
<breakout-modes>3</breakout-modes>
<port-speed>11534336</port-speed>
</port-info>
<port-info>
<local-port>7</local-port>
<width>4</width>
<module>19</module>
<breakout-modes>1</breakout-modes>
<port-speed>11534336</port-speed>
</port-info>
<port-info>
<local-port>9</local-port>
<width>4</width>
<module>20</module>
<breakout-modes>3</breakout-modes>
<port-speed>11534336</port-speed>
</port-info>
<port-info>
<local-port>11</local-port>
<width>4</width>
<module>21</module>
<breakout-modes>1</breakout-modes>
<port-speed>11534336</port-speed>
</port-info>
<port-info>
<local-port>13</local-port>
<width>4</width>
<module>22</module>
<breakout-modes>3</breakout-modes>
<port-speed>11534336</port-speed>
</port-info>
<port-info>
<local-port>15</local-port>
<width>4</width>
<module>23</module>
<breakout-modes>1</breakout-modes>
<port-speed>11534336</port-speed>
</port-info>
<port-info>
<local-port>17</local-port>
<width>4</width>
<module>24</module>
<breakout-modes>3</breakout-modes>
<port-speed>11534336</port-speed>
</port-info>
<port-info>
<local-port>19</local-port>
<width>4</width>
<module>25</module>
<breakout-modes>1</breakout-modes>
<port-speed>11534336</port-speed>
</port-info>
<port-info>
<local-port>21</local-port>
<width>4</width>
<module>26</module>
<breakout-modes>3</breakout-modes>
<port-speed>11534336</port-speed>
</port-info>
<port-info>
<local-port>23</local-port>
<width>4</width>
<module>27</module>
<breakout-modes>1</breakout-modes>
<port-speed>11534336</port-speed>
</port-info>
<port-info>
<local-port>25</local-port>
<width>4</width>
<module>28</module>
<breakout-modes>3</breakout-modes>
<port-speed>3221225472</port-speed>
<split>2</split>
</port-info>
<port-info>
<local-port>27</local-port>
<width>4</width>
<module>29</module>
<breakout-modes>1</breakout-modes>
<port-speed>3221225472</port-speed>
<split>2</split>
</port-info>
<port-info>
<local-port>29</local-port>
<width>4</width>
<module>30</module>
<breakout-modes>3</breakout-modes>
<port-speed>3221225472</port-speed>
<split>2</split>
</port-info>
<port-info>
<local-port>31</local-port>
<width>4</width>
<module>31</module>
<breakout-modes>1</breakout-modes>
<port-speed>3221225472</port-speed>
<split>2</split>
</port-info>
<port-info>
<local-port>33</local-port>
<width>4</width>
<module>14</module>
<breakout-modes>3</breakout-modes>
<port-speed>11534336</port-speed>
</port-info>
<port-info>
<local-port>35</local-port>
<width>4</width>
<module>15</module>
<breakout-modes>1</breakout-modes>
<port-speed>11534336</port-speed>
</port-info>
<port-info>
<local-port>37</local-port>
<width>4</width>
<module>12</module>
<breakout-modes>3</breakout-modes>
<port-speed>11534336</port-speed>
</port-info>
<port-info>
<local-port>39</local-port>
<width>4</width>
<module>13</module>
<breakout-modes>1</breakout-modes>
<port-speed>11534336</port-speed>
</port-info>
<port-info>
<local-port>41</local-port>
<width>4</width>
<module>10</module>
<breakout-modes>3</breakout-modes>
<port-speed>11534336</port-speed>
</port-info>
<port-info>
<local-port>43</local-port>
<width>4</width>
<module>11</module>
<breakout-modes>1</breakout-modes>
<port-speed>11534336</port-speed>
</port-info>
<port-info>
<local-port>45</local-port>
<width>4</width>
<module>8</module>
<breakout-modes>3</breakout-modes>
<port-speed>11534336</port-speed>
</port-info>
<port-info>
<local-port>47</local-port>
<width>4</width>
<module>9</module>
<breakout-modes>1</breakout-modes>
<port-speed>11534336</port-speed>
</port-info>
<port-info>
<local-port>49</local-port>
<width>4</width>
<module>6</module>
<breakout-modes>3</breakout-modes>
<port-speed>11534336</port-speed>
</port-info>
<port-info>
<local-port>51</local-port>
<width>4</width>
<module>7</module>
<breakout-modes>1</breakout-modes>
<port-speed>11534336</port-speed>
</port-info>
<port-info>
<local-port>53</local-port>
<width>4</width>
<module>4</module>
<breakout-modes>3</breakout-modes>
<port-speed>11534336</port-speed>
</port-info>
<port-info>
<local-port>55</local-port>
<width>4</width>
<module>5</module>
<breakout-modes>1</breakout-modes>
<port-speed>11534336</port-speed>
</port-info>
<port-info>
<local-port>57</local-port>
<width>4</width>
<module>2</module>
<breakout-modes>3</breakout-modes>
<port-speed>11534336</port-speed>
</port-info>
<port-info>
<local-port>59</local-port>
<width>4</width>
<module>3</module>
<breakout-modes>1</breakout-modes>
<port-speed>11534336</port-speed>
</port-info>
<port-info>
<local-port>61</local-port>
<width>4</width>
<module>0</module>
<breakout-modes>3</breakout-modes>
<port-speed>11534336</port-speed>
</port-info>
<port-info>
<local-port>63</local-port>
<width>4</width>
<module>1</module>
<breakout-modes>1</breakout-modes>
<port-speed>11534336</port-speed>
</port-info>
</ports-list>
</platform_info>
</root>
Loading