Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge with master #4

Merged
merged 75 commits into from
Jul 19, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
d2b1a0b
[devices]: Add index and speed for port_config.ini on Celestica platf…
zhenggen-xu Jun 9, 2018
8d88455
[baseimage]: Improve password hashing for default user account (#1748)
serhepopovych Jun 9, 2018
a4b830b
[mellanox] Update hw-mgmt pointer (#1759)
stepanblyschak Jun 9, 2018
dc547e4
[sonic-platform-daemons] Update submodule (#1754)
jleveque Jun 9, 2018
ed06aca
[mellanox] Add cpldupdate utility to SONiC image (#1746)
stepanblyschak Jun 9, 2018
481463c
Add Celestica seastone dx010 psuutil.py plugins (#1781)
pphuchar Jun 11, 2018
1942183
[devices]: Add Broadcom config files for Arista 7050 SKUs; Remove 'se…
jleveque Jun 11, 2018
fae346f
Don't create a pty to run vtysh inside of the docker container (#1792)
pavel-shirshov Jun 14, 2018
1c8bacb
Fix comment typos (#1794)
qiluo-msft Jun 15, 2018
a8a7b79
[libnl3]: Upgrade libnl3 version to 3.2.27-2, same version as in Debi…
qiluo-msft Jun 19, 2018
b5f153b
Introducing 'debugging' and 'profiling' options in sonic build-infra …
rodnymolina Jun 19, 2018
493ae71
[Broadcom]: update Broadcom SAI to 3.1.3.4-14 (#1797)
Jun 20, 2018
81b782c
[libnl3]: Backup libnl3 source packages in Azure Storage (#1799)
qiluo-msft Jun 20, 2018
d82db79
[caclmgrd] Translation of ACL Control Plane rules into iptables comma…
Jun 20, 2018
bbca583
Manually send SIGHUP to vtysh when the current session was disconnect…
pavel-shirshov Jun 20, 2018
7557007
[interface-config] Force eth0 before reconfiguration (#1802)
taoyl-ms Jun 21, 2018
b745c0b
Modify sudo lecture message to be more informational (#1800)
taoyl-ms Jun 21, 2018
aaac497
[device]: Fix a bug that psuutil cannot access gpio sysfs to get PSU …
Jun 21, 2018
3681cfa
Use only active ports when applying buffers/qos configuration (#1787)
pavel-shirshov Jun 21, 2018
3ea616d
[platform] Celestica: dx010 init gpio sysfs (#1807)
pphuchar Jun 22, 2018
d0803b7
[sonic-platform-common] Update submodule (#1806)
jleveque Jun 22, 2018
deacbb8
[tacacs] To modify local user permission according to priv lvl (#1804)
taoyl-ms Jun 22, 2018
b37540f
[vs-test]: not forward routes with no-export community (#1774)
sihuihan88 Jun 22, 2018
82343ca
[sai]: update SAI version to 3.1.3.4-15 (#1808)
sihuihan88 Jun 23, 2018
a2a6aea
[bgp]: Enable bgp soft-reconfiguration inbound for quagga templates (…
pavel-shirshov Jun 23, 2018
bac5722
[docker-fpm-frr]: Fix build with frr used for routing stack (#1728)
serhepopovych Jun 23, 2018
7389443
[devices]: Migrate a7050-qx-32s to use the new buffers config archite…
wendani Jun 23, 2018
07ea974
Enable sairedis counter thread in 3 minutes after SONiC was started (…
pavel-shirshov Jun 23, 2018
ec850df
[devices]: Use arista library as led plugin for more platforms. (#1809)
Staphylo Jun 24, 2018
3d24305
[mellanox] Update SAI, SDK, FW pointers (#1811)
stepanblyschak Jun 25, 2018
7ba08e5
Prefix docker container name to syslog syslogtag (program name) (#1810)
qiluo-msft Jun 25, 2018
d57bef5
Enable all counters: queue, port, and pfcwd (#1814)
pavel-shirshov Jun 26, 2018
0a41247
Update sonic-swss. Postpone creation of queue maps (#1816)
pavel-shirshov Jun 26, 2018
9a64655
sonic-quagga update. Don't spam with 'Vtysh connected from' message (…
pavel-shirshov Jun 27, 2018
d995147
Migrate brcm platform to use new ECN config, which is (#1818)
wendani Jun 28, 2018
301fc28
Add initial support for keeping track of and displaying reboot cause …
jleveque Jun 28, 2018
a89b8d8
Correct a7060 config for tor (#1823)
wendani Jun 28, 2018
ff237aa
[syncd] Treat bcmcmd as a supervisor task so we could collect stdout/…
qiluo-msft Jun 29, 2018
5ad7d24
[mgmt] Fix pycparser installation (#1820)
qiluo-msft Jun 29, 2018
0434359
[device]: Add a new supported device AS7312-54XS (#1821)
pollyhsu2git Jun 29, 2018
f04f070
Build python-click Debian package from version 6.7-4 source to fix CL…
jleveque Jun 29, 2018
1caad01
Support T1 sku, create symlink (#1827)
prsunny Jun 29, 2018
6459275
Revert "[vs-test]: not forward routes with no-export community (#1774…
qiluo-msft Jun 29, 2018
9b8d985
[device/celestica] Update fancontrol configuration file and sensor la…
Jun 29, 2018
77aec96
Update sonic-swss with QueueMaps fixes (#1829)
pavel-shirshov Jun 29, 2018
3fc56f0
[sonic-utilities] Update submodule (#1830)
jleveque Jun 30, 2018
0e5c5f2
[baseimage]: add commonly used network tools (#1832)
lguohan Jul 1, 2018
7edbf5d
[build]: add show docker tag (#1833)
lguohan Jul 1, 2018
92eb7b4
[mellanox]: Fix symlink to QOS config file for MSN2740 platform (#1842)
Jul 3, 2018
117dc2b
[docker-syncd-mlnx] add new mlnx-sfpd daemon to docker-syncd-mlnx (#1…
keboliu Jul 3, 2018
78ed06d
[Platform/Celestica] Add dx010 fan led control. (#1834)
pphuchar Jul 4, 2018
162e9b6
Add monit for /var/log disk usage (#1836)
qiluo-msft Jul 4, 2018
f6fffda
[device] Update arista driver submodule (#1835)
yurypm Jul 4, 2018
73a2e64
[arista]: Add platform support for DCS-7170-64C (#1718)
byu343 Jul 4, 2018
3950da1
[sonic-swss]: Update submodule pointer (#1843)
Jul 4, 2018
26afa34
[device] Misc fixes for Arista platforms (#1844)
Staphylo Jul 5, 2018
a8af2e5
[sonic_debian_extension.j2] Create /var/cache/sonic/ directory (#1845)
jleveque Jul 6, 2018
51bfc2e
[SAI] update SAI header to 1.3 (#1778)
prsunny Jul 6, 2018
7c632a9
[swss]: sonic-swss submodule update (#1847)
pavel-shirshov Jul 7, 2018
48e3e15
[broadcom]: update sai.mk (#1850)
lguohan Jul 8, 2018
a0bd656
[device/dell] Update Shared headroom values (#1846)
vharish02 Jul 10, 2018
a6b5acb
[mellanox]: Update MFT tools to v4.9.0 (#1851)
andriymoroz-mlnx Jul 11, 2018
3d043a1
[mellanox]: Update SAI pointer to 1.3 (#1852)
Jul 11, 2018
f598397
Pavelsh/restart swss counters (#1854)
pavel-shirshov Jul 12, 2018
daf590e
[broadcom sai] update Broadcom SDK/SAI version (#1853)
yxieca Jul 12, 2018
eb3ef2f
[mellanox]: fix mellanox SAI 1.3 build issue (#1859)
lguohan Jul 13, 2018
5e6d36c
[vs]: set platform=vs for orchagent (#1860)
lguohan Jul 13, 2018
1a93dd5
[sonic-dbsyncd]: Support empty string in lldp_rem_port_desc (#1857)
qiluo-msft Jul 13, 2018
2ccfefc
[caclmgrd] Add a rule to allow all connections from localhost (#1858)
jleveque Jul 13, 2018
2944f3e
[swss]: sonic-swss submodule update (#1856)
lguohan Jul 13, 2018
015d2d1
[sonic-dbsyncd]: Fix parse_chassis on partial lldp data (#1861)
qiluo-msft Jul 13, 2018
1955a43
[vs]: clean up process running in server namespace for vstests (#1862)
lguohan Jul 14, 2018
0008347
[sonic-utilities]: update submodule (#1865)
sihuihan88 Jul 17, 2018
f033cbe
[bcm syncd]: Wait initializing led_proc for 60 seconds (#1863)
pavel-shirshov Jul 18, 2018
c52fb76
Convert arp_update into a 'start-it-once' mode (#1864)
pavel-shirshov Jul 18, 2018
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 .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ src/lldpd/*
!src/lldpd/patch/
src/mpdecimal/*
!src/mpdecimal/Makefile
src/python-click/*
!src/python-click/Makefile
src/python3/*
!src/python3/Makefile
src/redis/*
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,6 @@
[submodule "platform/broadcom/sonic-platform-modules-mitac"]
path = platform/broadcom/sonic-platform-modules-mitac
url = https://github.com/MiTAC-EBU/sonic-platform-modules-mitac.git
[submodule "platform/p4/sonic-platform-modules-arista"]
path = platform/p4/sonic-platform-modules-arista
url = https://github.com/aristanetworks/sonic
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ sonic-slave-bash :
$(DOCKER_BUILD) ; }
@$(DOCKER_RUN) -t $(SLAVE_IMAGE):$(SLAVE_TAG) bash

showtag:
@echo $(SLAVE_IMAGE):$(SLAVE_TAG)
@echo $(SLAVE_BASE_IMAGE):$(SLAVE_BASE_TAG)

init :
@git submodule update --init --recursive
@git submodule foreach --recursive '[ -f .git ] && echo "gitdir: $$(realpath --relative-to=. $$(cut -d" " -f2 .git))" > .git'
Expand Down
30 changes: 16 additions & 14 deletions build_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,22 @@
## an ONIE installer image.
##
## USAGE:
## ./build_debian USERNAME PASSWORD_ENCRYPTED
## PARAMETERS:
## USERNAME=username PASSWORD=password ./build_debian
## ENVIRONMENT:
## USERNAME
## The name of the default admin user
## PASSWORD_ENCRYPTED
## The encrypted password, expected by chpasswd command
## PASSWORD
## The password, expected by chpasswd command

## Default user
USERNAME=$1
[ -n "$USERNAME" ] || {
echo "Error: no or empty USERNAME argument"
echo "Error: no or empty USERNAME"
exit 1
}

## Password for the default user, customizable by environment variable
## By default it is an empty password
## You may get a crypted password by: perl -e 'print crypt("YourPaSsWoRd", "salt"),"\n"'
PASSWORD_ENCRYPTED=$2
[ -n "$PASSWORD_ENCRYPTED" ] || {
echo "Error: no or empty PASSWORD_ENCRYPTED argument"
## Password for the default user
[ -n "$PASSWORD" ] || {
echo "Error: no or empty PASSWORD"
exit 1
}

Expand Down Expand Up @@ -178,7 +174,7 @@ sudo cp files/docker/docker.service.conf $_
## Note: user should be in the group with the same name, and also in sudo/docker group
sudo LANG=C chroot $FILESYSTEM_ROOT useradd -G sudo,docker $USERNAME -c "$DEFAULT_USERINFO" -m -s /bin/bash
## Create password for the default user
echo $USERNAME:$PASSWORD_ENCRYPTED | sudo LANG=C chroot $FILESYSTEM_ROOT chpasswd -e
echo "$USERNAME:$PASSWORD" | sudo LANG=C chroot $FILESYSTEM_ROOT chpasswd

## Pre-install hardware drivers
sudo LANG=C chroot $FILESYSTEM_ROOT apt-get -y install \
Expand Down Expand Up @@ -226,7 +222,11 @@ sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y in
sysfsutils \
grub2-common \
ethtool \
screen
screen \
hping3 \
python-scapy \
tcptraceroute \
mtr-tiny

sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y download \
grub-pc-bin
Expand Down Expand Up @@ -269,6 +269,8 @@ sudo sed -i '
sudo tee -a $FILESYSTEM_ROOT/etc/monit/monitrc > /dev/null <<'EOF'
check filesystem root-aufs with path /
if space usage > 90% for 5 times within 10 cycles then alert
check filesystem var-log with path /var/log
if space usage > 90% for 5 times within 10 cycles then alert
check system $HOST
if memory usage > 90% for 5 times within 10 cycles then alert
if cpu usage (user) > 90% for 5 times within 10 cycles then alert
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# name lanes alias index
Ethernet0 41 twentyfiveGigE1 0
Ethernet1 42 twentyfiveGigE2 1
Ethernet2 43 twentyfiveGigE3 2
Ethernet3 44 twentyfiveGigE4 3
Ethernet4 49 twentyfiveGigE5 4
Ethernet5 50 twentyfiveGigE6 5
Ethernet6 51 twentyfiveGigE7 6
Ethernet7 52 twentyfiveGigE8 7
Ethernet8 53 twentyfiveGigE9 8
Ethernet9 54 twentyfiveGigE10 9
Ethernet10 55 twentyfiveGigE11 10
Ethernet11 56 twentyfiveGigE12 11
Ethernet12 65 twentyfiveGigE13 12
Ethernet13 66 twentyfiveGigE14 13
Ethernet14 67 twentyfiveGigE15 14
Ethernet15 68 twentyfiveGigE16 15
Ethernet16 33 twentyfiveGigE17 16
Ethernet17 34 twentyfiveGigE18 17
Ethernet18 35 twentyfiveGigE19 18
Ethernet19 36 twentyfiveGigE20 19
Ethernet20 37 twentyfiveGigE21 20
Ethernet21 38 twentyfiveGigE22 21
Ethernet22 39 twentyfiveGigE23 22
Ethernet23 40 twentyfiveGigE24 23
Ethernet24 69 twentyfiveGigE25 24
Ethernet25 70 twentyfiveGigE26 25
Ethernet26 71 twentyfiveGigE27 26
Ethernet27 72 twentyfiveGigE28 27
Ethernet28 81 twentyfiveGigE29 28
Ethernet29 82 twentyfiveGigE30 29
Ethernet30 83 twentyfiveGigE31 30
Ethernet31 84 twentyfiveGigE32 31
Ethernet32 85 twentyfiveGigE33 32
Ethernet33 86 twentyfiveGigE34 33
Ethernet34 87 twentyfiveGigE35 34
Ethernet35 88 twentyfiveGigE36 35
Ethernet36 97 twentyfiveGigE37 36
Ethernet37 98 twentyfiveGigE38 37
Ethernet38 99 twentyfiveGigE39 38
Ethernet39 100 twentyfiveGigE40 39
Ethernet40 101 twentyfiveGigE41 40
Ethernet41 102 twentyfiveGigE42 41
Ethernet42 103 twentyfiveGigE43 42
Ethernet43 104 twentyfiveGigE44 43
Ethernet44 105 twentyfiveGigE45 44
Ethernet45 106 twentyfiveGigE46 45
Ethernet46 107 twentyfiveGigE47 46
Ethernet47 108 twentyfiveGigE48 47
Ethernet48 5,6,7,8 hundredGigE49 48
Ethernet52 1,2,3,4 hundredGigE50 52
Ethernet56 109,110,111,112 hundredGigE51 56
Ethernet60 21,22,23,24 hundredGigE52 60
Ethernet64 9,10,11,12 hundredGigE53 64
Ethernet68 117,118,119,120 hundredGigE54 68
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/th-as7312-48x25G+6x100G.config.bcm
Loading