Commit Graph

2448 Commits

Author SHA1 Message Date
Ying Xie
e4f8a3946c [first boot] sync file system after moving/copying files (#3550)
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-10-02 21:04:39 +00:00
Nazarii Hnydyn
520dca3f8d [Mellanox ] Updated MFT package (#3540) 2019-10-01 16:54:24 -07:00
Ying Xie
91a5bd2c7b
[201811][utilities] advance sub module head (#3535)
Submodule src/sonic-utilities 5b1fa3c..7bb6ffb:
  > [fast reboot] kill teamd docker directly (#683)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-09-28 17:31:27 -07:00
Ying Xie
7dccd0fc3d
[201811][utilities] advance sub module head (#3532)
Submodule src/sonic-utilities 54946e9..5b1fa3c:
  > [neighbor_advertiser] Verify that DIPs returned from ferret are not in device VLAN (#670)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-09-27 16:42:46 -07:00
pavel-shirshov
467851e24e Regular quit needs to clean the ports two (#3531) 2019-09-27 22:18:06 +00:00
Ying Xie
21c9185e44
[201811][utilities][swss] advance sub module head (#3524)
Submodule src/sonic-swss 0e5c1ff..fcd091c:
  > [mirrororch]: Remove mirror session state after it is remvoed (#1066)

Submodule src/sonic-utilities a89b9d4..54946e9:
  > [acl_loader]: Add monitor port column in show mirror_session output (#662)
  > [warm/fast reboot] some service docker might have been stopped already (#668)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-09-27 08:43:39 -07:00
Joe LeVeque
5199755be7
[sonic-slave] Update linux-compiler-gcc package version to fix build (#3515) 2019-09-26 18:14:30 -07:00
Mykola F
e572080b2b [Mellanox] platform_reboot - sync & umount fs before power cycle (#3430) (#3476)
Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
2019-09-26 15:47:27 -07:00
pavel-shirshov
301c69b098 Flush port in both worm-reboot and fast-reboot mode on exit. Otherwise teamd will stuck (#3512) 2019-09-25 23:09:16 +00:00
Wenda Ni
e7f1d4f3e2 Remove the divide by 4 operation to the under the hood SAI (#1532)
* Remove the divide by 4 operation to the under the hood SAI

This is to avoid the need and thus the confusion for application program to know
the mmu internal architecture

This change must have support from SAI change to reach the correct
config

Signed-off-by: Wenda <wenni@microsoft.com>

* Relegate the divide by 4 operation to the under the hood SAI for egress
lossless pool

Extend to 7060 and 6100

Signed-off-by: Wenda <wenni@microsoft.com>

* Add more TH/TH2 hwskus

Signed-off-by: Wenda Ni <wenni@microsoft.com>

* Update config test

Signed-off-by: Wenda Ni <wenni@microsoft.com>

* Add TH2 ingress lossy profile

Signed-off-by: Wenda Ni <wenni@microsoft.com>

* Move the divide by 4 operation to SAI internal

Signed-off-by: Wenda Ni <wenni@microsoft.com>

* [bcm SAI] Upgrade Broadcom SAI to version 3.5.3.1-15

- Broadcom SAI 3.5 GA release 20190924.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-09-25 23:01:54 +00:00
Ying Xie
9f59207d91
[201811][swss][swss-common] advance sub module head (#3502)
Submodule src/sonic-swss 57e531d..0e5c1ff:
  > Adopt to signature change of Selectable::readData, which switched (#1061)
  > [orchagent]: Remove try/catch for correct coredump file (#790)

Submodule src/sonic-swss-common d7b1f53..ece5ce4:
  > timerfd fix: Pass false alarm to caller. (#307)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-09-25 12:34:11 -07:00
bbinxie
c74822a1a4 Add new device data for dx010 (Celestica-DX010-C32,Celestica-DX010-D48C8) (#3492)
* add config.bcm for hlx

* modify config.bcm path for hlx

* Delete hx4-cel-hbtn-48x1G+4x10G.config.bcm

* add config.bcm and path

* update led for cxp

* Add new device data for dx010
2019-09-23 17:37:37 +00:00
pavel-shirshov
2fc617fcd9 [libteam]: Add Fast-Reboot mode for teamd (#3490)
* [libteam]: add special Fast-Reboot teamd stop mode

* Fix last packet sending

* Update sonic-utilities module
2019-09-23 17:36:47 +00:00
Ying Xie
e597415838
[201811][swss] advance sub module head (#3491)
Submodule src/sonic-swss 3cee6b8..57e531d:
  > Ignore link local neighbors (#1065)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-09-19 17:28:50 -07:00
Renuka Manavalan
0493b6274e
Map /src & /debug for debug docker containers (#3470)
* Add debug docker for SNMP.

* Removed a redundant install of debug packages.
Propagate the debug flag to template file to mount /dbg & /src to debug containers.

* Revert the last change to retain the original
2019-09-19 09:09:25 -07:00
Ying Xie
e9037a72ff
[201811][utilities][swss] advance sub module head (#3481)
Submodule src/sonic-swss 24fcbb6..3cee6b8:
  > [aclorch]: Fix table name in counter table for mirror rules (#1060)
  > Cannot ping to link-local ipv6 interface address of the switch. (#774)
  > [MirrorOrch]: Mirror Session Retention across Warm Reboot (#1062)

Submodule src/sonic-utilities afaedb7..a06bee7:
  > [201811][config] Add '-h' and '-?' as help options to unify with show/sonic-clear cmds (#654)
  > Revert "Fixed config Asym PFC CLI. (#632)" (#652)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-09-18 20:02:41 -07:00
Prince Sunny
4ef5ce74e4 Install Iptables rules to set TCPMSS for 'lo' interface (#3452)
* Install Iptables rules to set TCPMSS for lo interface
* Moved implementation to hostcfgd to maintain at one place
2019-09-19 01:08:44 +00:00
Ying Xie
9f03af0a2e
[201811][utilities] advance sub module head (#3469)
Submodule src/sonic-utilities fe2c656..afaedb7:
  > Revert "[FastReboot]: Send SIGINT to all teamd before stop (#633)" (#650)
  > Fixed config Asym PFC CLI. (#632)
  > [config] Do no stop or restart dependent services (#582)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-09-17 17:22:29 -07:00
Renuka Manavalan
65494418a8
Add debug docker for SNMP. (#3467) 2019-09-17 13:28:08 -07:00
Kebo Liu
67ce0d1a2d [submodule]: update sonic-platform-daemons sub module to pick up fix (#3462)
[201811 xcvrd] state machine enhancement Azure/sonic-platform-daemons#45
2019-09-17 09:34:11 -07:00
Ying Xie
5a604d07df
[201811][sairedis][swss] advance sub module head (#3459)
Submodule src/sonic-sairedis 1cf2eea..55ec4d2:
  > [syncd]: support query port with 8 lanes (400G)

Submodule src/sonic-swss 2974844..24fcbb6:
  > support 8 lanes for a physical port (#778)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-09-15 08:55:06 -07:00
Renuka Manavalan
67b1dad6e7 [redis]: Upgrade redis-server from 3.2.4 to 3.2.13 (#3432) 2019-09-13 23:31:05 -07:00
Renuka Manavalan
cb81e3ab1e [snmpd]: Fix snmpd crash possible when snmp agent takes too long to respond. (#3454)
Patch from source-forge: net-snmp.
Crash due to stale memory access.
2019-09-13 22:08:28 -07:00
Ying Xie
9cde0fc808 [201811][utilities] advance sub module head (#3456)
Submodule src/sonic-utilities f76fc2c..fe2c656:
  > [warm-reboot]: Do not clean up mirror session state database (#639)
  > [config] Reset failed status of all SONiC services, whether or not they are currently failed (#619)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-09-13 22:07:42 -07:00
Danny Allen
ba77de12ac [cron.d] Add cron job to periodically clean-up core files (#3449)
* [cron.d] Create cron job to periodically clean-up core files
* Create script to scan /var/core and clean-up older core files
* Create cron job to run clean-up script

Signed-off-by: Danny Allen <daall@microsoft.com>

* Update interval for running cron job

* Respond to feedback

* Change syslog id
2019-09-13 17:52:10 +00:00
Joe LeVeque
94f2113cec [lldpmgrd] Initialize port_desc to None to prevent crashing (#3451) 2019-09-13 16:35:13 +00:00
lguohan
87cb1e307e [baseimage]: fix monit configuration (#3448)
- monit config broke by one monit upgrade
- abandon sed approach since it is suspestible to monit config changes
- use unixsocket instead of httpd due to a bug in 5.20.0
2019-09-13 06:08:30 +00:00
Ying Xie
02eac34bc9
[201811] advance sub module head for platform-common, swss, swss-common (#3443)
Submodule src/sonic-platform-common ac7fde6..58f9672:
  > [sfp_base] Raise exceptions (previously was incorrectly returning them) (#61)

Submodule src/sonic-swss 660530e..2974844:
  > Fix MIRROR_SESSION table macro name (#802)
  > Don't try to remove a vxlan tunnel if it has associated tunnel maps (#1052)

Submodule src/sonic-swss-common d6140fa..d7b1f53:
  > Fix MIRROR_SESSION table macro name (#264)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-09-12 16:34:59 -07:00
Joe LeVeque
92d359dcc8
[201811][dhcp_relay] Properly wait for routed interfaces to be ready before starting relay agent (#3442) 2019-09-12 10:57:36 -07:00
pavel-shirshov
9f28851d11 [submodule update]: Advance sonic-dbsyncd (#3440)
* [submodule update]: Advance sonic-dbsyncd
2019-09-11 23:57:10 +00:00
pavel-shirshov
d7ca700e39 [sonic-slave]: Updated version of ctypesgen.py has a different name (#3434)
* Fix the build. Updated version of ctypesgen.py has a different name
2019-09-11 22:58:16 +00:00
Stephen Sun
9c6b70865a [Mellanox] Fix the typo in mlnx-sfpd (#3426)
* [mlnx-sfpd] adjust the log from "error" to "info" since it is something that should be ignored.
2019-09-10 14:38:00 -07:00
pavel-shirshov
df5a03f3e1
Wait 5 second before start/restart snmpd (#3427) 2019-09-10 07:26:50 -07:00
Ying Xie
96038ee7f5
[201811] advance sairedis, swss and utilities sub module head (#3424)
Submodule src/sonic-sairedis 4ee82cb..1cf2eea:
  > Add acl counter match logic based on acl entry field (#511)
  > Add specific comparison logic for ACL counter (#484)

Submodule src/sonic-swss 46bc1f4..660530e:
  > Fix VLAN error introduced with new 4.9 kernel behavior (#1001)
  > Warmboot Vlan neigh restore fix (#1040)

Submodule src/sonic-utilities 11b4cf1..f76fc2c:
  > [warm reboot] Skip ASIC config pre-check if current image does not support it (#637)
  > [FastReboot]: Send SIGINT to all teamd before stop (#633)
  > [warm/fast reboot] provide strict option to prevent warm reboot under certain conditions (#631)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-09-10 06:22:36 -07:00
Stephen Sun
a3ec223aa6 [201811]Advance pointers for sonic-platform-common and sonic-platform-daemons (#3420)
* advance pointer for sonic-platform-daemon to 9e2eb29e6e55a116b424faa63f510c7cdeeef7eb
[xcvrd] fix issue: xcvrd fails due to syntax error after sequential reboot (#43)

* advance pointer for sonic-platform-common to ac7fde6e9ce532d450b3c43f354fc2f128053b4f
[sonic_sfp] fix syntax error in sfputilbase._read_eeprom_specific_bytes (#58)
2019-09-09 22:37:17 -07:00
sridhar-ravindran
d4758afdde [DELL] S6100 Add PowerCycle Support for Last Reset Reason (#3402)
* [DELL] S6100 Add PowerCycle Support for Last Reset Reason

* handle first time boot properly

* S6000 Last Reboot Reason Fix
2019-09-09 22:33:32 -07:00
Shuotian Cheng
614475feaf [minigraph]: Ignore mirror session portion in minigraph (#3410)
This piece of information is currently not used. Revert this
pull request in the future to add back the default mirror
session information into the configuration database.

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2019-09-09 18:53:35 +00:00
Danny Allen
541208fca2 [build_debian] Include checksum of ASIC config files in SONiC filesystem (#3384)
[build_debian] Generate checksum of ASIC config files

* Adds script to generate checksums for ASIC config files
* Adds step to build_debian that copies ASIC config checksum into SONiC filesystem

Signed-off-by: Danny Allen daall@microsoft.com
2019-09-09 18:53:15 +00:00
Joe LeVeque
aee7d86fc9 [201811] Log message containing SONiC version to syslog at boot (#3417) 2019-09-08 12:33:08 -07:00
Ying Xie
97130ee188
[201811][utilities] advance sonic-utilities sub module head (#3411)
Submodule src/sonic-utilities 4f72e14..11b4cf1:
  > [fast-reboot] Check if ASIC config has changed before warm reboot (#621)
  > [neighbor_advertiser]: Change the ICMPv6 type to 135 (#629)
  > [acl_loader]: Fix show mirror_session error (#580)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-09-06 16:43:14 -07:00
Stephen Sun
aa33644d3c [Mellanox] fix sfp issue in reading qsfp_status (#3386)
There is a very low possibility that qsfp_status exists when opening it but doesn't when reading it a bit later. If this occurs an exception is raised.
However, this should be treated as "not presence" rather than causing an exception, which can be achieved by putting it into try block.
2019-09-06 15:12:45 -07:00
SuvarnaMeenakshi
ab1e505325 Add IPv6 Support in TACACS (#3395)
* Add patch to support IPv6

* Add support for IPv6

* Remove in-correct changes by IPv6 support patch
2019-09-05 21:00:42 +00:00
lguohan
8dba5baa01 [swss]: remove intfsyncd service (#2499)
intfsyncd is replaced by intfmgrd service

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2019-09-05 20:59:07 +00:00
Ying Xie
fe23aa77bc
[201811][build] fix path for dbg_files.sh (#3396)
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-08-30 08:02:44 -07:00
Renuka Manavalan
15612f5749 Create the src archive in target/ when INSTALL_DEBUG_TOOLS=y (#3323)
* Create the src archive in target/ when INSTALL_DEBUG_TOOLS=y

* Dropped -v (verbose flag) from tar command
2019-08-29 21:25:02 +00:00
pavel-shirshov
6b43650245 [libteam]: timerfd read() could return 0 fix (#3393)
* Update sonic-quagga submodule

* [libteam]: timerfd read() could return 0
2019-08-29 21:16:08 +00:00
zhenggen-xu
c6655b8bdf [swss]: Add hash seed 15 for SpineRouter type (#3390)
Signed-off-by: Zhenggen Xu <zxu@linkedin.com>
2019-08-28 22:50:26 +00:00
simonJi2018
f78fcb1008 [201811][platform/nephos]fix the compile error about syncd (#3373)
Fixed errors in the following files to resolve build failures
- docker-ptf-nephos.mk\docker-syncd-nephos.mk\libsaithrift-dev.mk\rules.mk
- Upgrade sai.mk for support sai_1.4.1 and upgrade sdk version to 3.0.0
2019-08-28 08:43:06 -07:00
Ying Xie
60b2e54c2b
[201811][utilities][swss] advance sub module head (#3383)
Submodule src/sonic-utilities 7460f5c..4f72e14:
  > [config] Call 'systemctl reset-failed' before 'systemctl restart' when restarting services (#607)
  > [neighbor advertiser] try getting vlan addresses from o.s first (#613)
  > [neighbor_advertiser]: Add V6 support to mirror ICMPV6 packets (#612)

Submodule src/sonic-swss 384c21e..46bc1f4:
  > [portsyncd]: Add default catch block in portsyncd (#1033)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-08-26 15:24:50 -07:00
Samuel Angebault
8c7b0e90db [device/arista] Update driver submodules (#3377)
- increase timeout for power supply driver initialization
2019-08-23 11:55:38 -07:00