Commit Graph

2516 Commits

Author SHA1 Message Date
Stephen Sun
3f42353bf1 [Mellanox] Fix SN2010 issue: "show platform psustatus" returns "NOT PRESENT" for power off PSU on 201811 (#3598)
* [plugins/psuutil]Align psuutil of 2010 with that of 2100.

* [plugins/psuutil.py]Address comments via using more human-readable code
2019-10-21 16:14:35 +03:00
zzhiyuan
5965c3f4f9 Fix reboot-cause for 201811 arista (#3620) 2019-10-18 20:13:14 -07:00
Ying Xie
2d4c1f0b7b [201811][utilities] advance sub module head (#3631)
Submodule src/sonic-utilities d315dd7..0cfa942:
  > [neighbor_advertiser]: Adapt to different mirror ACL table names (#703)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-10-18 16:43:45 -07:00
Ying Xie
e98be7448c [201811][utilities] advance sub module head (#3612)
Submodule src/sonic-utilities fb5902f..d315dd7:
  > show pfcwd status to be 'N/A' when pfcwd is stopped (#682)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-10-16 07:54:44 -07:00
pavel-shirshov
c259f40477 BGPm for 201811 (#3601)
* Feature is downported

* Add monitors to the test minigraphs

* Test

* No pfx filer

* Fix bgp sample

* Quagga requires to activate peer-group before configuration
2019-10-15 18:43:52 -07:00
Wenda Ni
241b6facd8 [devices]: PG headroom change for Arista 7260 (#3600)
Signed-off-by: Wenda Ni <wenni@microsoft.com>
2019-10-15 15:26:15 +00:00
Ying Xie
c7a096b6b9
[201811][ntp] removed undefined filter (#3594)
pfx_filter is not defined in 201811 branch.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-10-11 19:46:14 -07:00
lguohan
afbb91657c [baseimage]: incrase docker ramfs from 800MB to 900MB (#3582) 2019-10-10 00:46:54 +00:00
Nazarii Hnydyn
41ce07e75c [mellanox]: Add CPLD update for SN2700 (#3570)
* [mellanox]: Add CPLD update for SN2700.

Signed-off-by: Nazarii Hnydyn <nazariig@mellanox.com>
2019-10-09 17:36:45 -07:00
pavel-shirshov
53ec9124bc [ntp]: Use loopback address when we don't have MGMT interface (#3566)
Added configuration to use Loopback ip if a switch doesn't have MGMT_PORT.
2019-10-07 16:56:00 +00:00
Wirut Getbamrung
4ab5c2f6e5 [device/celestica]: update psuutil follow new platform api (#3537)
Fixes #3518

Update psuutil API to detect PSU GPIO base from label
2019-10-07 16:56:00 +00:00
Ying Xie
619c4a4851
[201811][sairedis] advance sub module head (#3562)
Submodule src/sonic-sairedis 55ec4d2..627e6bc:
  > Add TimerWatchdog for monitoring long execution apis (#469)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-10-04 08:00:27 -07:00
Ying Xie
56085be06b [bcm config] enable sram scan (#3558)
Per Broadcom's recommendations.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-10-04 00:04:39 +00:00
Ying Xie
2119205046
[201811][utilities] advance sub module head (#3557)
Submodule src/sonic-utilities 2d721de..fb5902f:
  > Revert "[fast reboot] kill teamd docker directly (#683)" (#690)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-10-03 12:10:52 -07:00
Volodymyr Samotiy
eecc3b15c8 [Mellanox]: Update FW to 4.3.1636 version (#3551) 2019-10-03 11:38:11 -07:00
Ying Xie
40ad3fd603
[201811][swss][utilities] advance sub module head (#3552)
* [201811][swss][utilities] advance sub module head

Submodule src/sonic-swss fcd091c..9585be4:
  > [teamsyncd]: Check if LAG exists before removing (#1069)
  > [mirrororch]: Toggle the mirror session when moving between VLAN/non-VLAN (#1078)

Submodule src/sonic-utilities 7bb6ffb..2d721de:
  > [show] Properly replace port name with alias in command output (#664)
  > [neighbor_advertiser] hand pick partial change from #525 (#689)
  > Revert "Revert "Fixed config Asym PFC CLI. (#632)" (#652)"

Signed-off-by: Ying Xie <ying.xie@microsoft.com>

* address compile issue

Submodule src/sonic-swss 9585be4..2529d79:
  > [mirrororch]: Address compiler switch issue (#1079)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-10-03 08:05:33 -07:00
pavel-shirshov
975fb1c488 [libteam]: Keep member ports parts of a team when teamd quits in FR and WR (#3544) 2019-10-02 22:35:46 +00:00
Ying Xie
37b78826ee [updategraph] enhance update graph handling (#3549)
- after reloading minigraph, write latest version string in the DB.
- if old config_db.json file exists, use it and migrate to latest version.
- only reload minigraph when config_db.json doesn't exist and minigraph
  exists.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-10-02 21:04:39 +00:00
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