Commit Graph

2151 Commits

Author SHA1 Message Date
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
pavel-shirshov
b715ec89c4 [Fast-Reboot]: FR mode is active only first 3 minutes after start. (#3352)
* Fast reboot mode should be enabled only 3 minutes after restart

* Advance sonic-quagga submodule
2019-08-21 21:48:33 +00:00
Shuotian Cheng
66245e29a3 [minigraph]: Add mirror type v6 condition (#2836)
Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2019-08-21 21:40:35 +00:00
Shuotian Cheng
16bfd7200f [minigraph]: Fix bug in copying list in Python (#2831)
'=' cannot be used for copying the list

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2019-08-21 21:39:13 +00:00
Shuotian Cheng
950bc059d0 [minigraph]: Mark both ERSPAN and ERSPANv6 as mirror ACL tables (#2732)
- Support ERSPAN and ERSPANv6 two types of ACL tables.
- Update the unit test to cover this case.

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2019-08-21 19:50:31 +00:00
Ying Xie
1fba1951a7 [kernel] Upgrade kernel to version 4.9.168-1+deb9u5
- Pick up security patches.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-08-21 16:17:45 +00:00
Mykola F
8d5e37dd34 [Mellanox] align platform_reboot to use "hardware reboot" (#3320)
Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
2019-08-19 09:53:07 -07:00
Ying Xie
32793274a1
[201811][swss][platform-daemon] advance sub module head (#3360)
Submodule src/sonic-platform-daemons 42f64d8..1039764:
  > Merge pull request #42 from keboliu/backport-state-machine

Submodule src/sonic-swss 950e9db..384c21e:
  > [Orchagent]: Fixbug segmentfault at routeorch (#1025)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-08-16 12:49:21 -07:00
Ying Xie
d821cb84b8 [radv service] radv service should be a cold only dependent of swss (#3348)
radv should be left alone during warm restart of swss. Otherwise it will
announce departure and cause hosts to lose default gateway.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-08-16 19:46:37 +00:00
Tony Titus
b5ebfc835e [innovium]: Initial commit (#3243) (#3347)
[build] Add ipmitool
[dockers] Add innovium platform in orchagent + ipmitool in snmp
[platform/innovium] Add innovium platform
[device/celestica] Add x86_64-cel_midstone-r0 device for innovium
[device/delta] Add x86_64-delta_et-c032if-r0 device for innovium
[sonic-slave-stretch] Add texi2html

Signed-off-by: Tony Titus ttitus@innovium.com
2019-08-16 12:35:01 -07:00
Ying Xie
d23f51e4ce
[201811] advance sairedis, swss and utilities sub module heads (#3345)
* [201811] advance sairedis, swss and utilities sub module heads

Submodule src/sonic-utilities f28b720..0a3455b:
  > [neighbor_advertise]: Use the existing MIRROR ACL table (#605)
  > [neighbor_advertiser] Use full vlan name for vxlan tunnel map programming (#604)

Submodule src/sonic-swss f44029d..950e9db:
  > [orchagent] Add support for Innovium platform (#1026)
  > [policerorch]: Add the capability to update policer rate/size (#1017)

Submodule src/sonic-sairedis 992cdc0..4ee82cb:
  > [syncd] Add support for Innovium platform (#496)

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

* [201811][utilities] advance sub module head

Submodule src/sonic-utilities 0a3455b..7460f5c:
  > [fast/warm reboot] kill radv docker before stopping BGP (#608)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-08-16 12:08:05 -07:00
lguohan
64063b234d [baseimage]: install ndisc6 package (#3344)
ndisc6 gathers a few diagnostic tools for IPv6 networks including:

 - ndisc6, which performs ICMPv6 Neighbor Discovery in userland,
 - rdisc6, which performs ICMPv6 Router Discovery in userland,
 - rltraceroute6, a UDP/ICMP IPv6 implementation of traceroute,
 - tcptraceroute6, a TCP/IPv6-based traceroute implementation,
 - tcpspray6, a TCP/IP Discard/Echo bandwidth meter,
 - addrinfo, easy script interface for hostname and address resolution,
 - dnssort, DNS sorting script.

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2019-08-15 20:36:32 +00:00
Ying Xie
2b8eca5ebb [control plane assistant] stop control plane assistant after warm reboot (#3337)
Delay saving configuration so that the control assistant configurations
won't be persisted.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-08-15 20:28:42 +00:00
Samuel Angebault
7e6f29d7ab [device/Arista] Update drivers submodules (#3338)
- Improve smbus reliability for all platforms
 - Delay processing of the reboot cause to reduce critical path
 - Add support of get_change_event for PSUs
2019-08-15 02:22:16 -07:00
Stephen Sun
c17cd19e49 [Mellanox] mlnx-sfpd init flow enhancement (#3294)
* fix sfpd initialize issue
* fix review comments
* rephrase the output log
* fix retry counter
* change the retry time to 10, means set max waiting time 1024s
* fix mlnx-sfpd init flow with new solution
* [mlnx-sfpd] address comments
1. wait for 5 seconds * 30 times, 150 seconds totally. use constant wait time for each retry.
2. use try/except structure so that error can be handled in a graceful way
* [mlnx-sfpd] wait 5 seconds after SDK_DAEMON_READY_FILE exists to make sure SDK is fully up.
* [mlnx-sfpd]simplify initialization by using deinitialize on initializing failure
2019-08-14 21:56:22 +00:00
Renuka Manavalan
b80d60c277 Fix to ensure that tacacs servers are ordered (reverse) by priority in pam.d's config. (#3322)
Present: Servers are listed in the same order as in redis-db
Fix: Save the sort o/p, hence use sorted list to write into pam.d's conf.
     As well convert priority to integer for use by sort.
2019-08-14 21:20:01 +00:00
Shuotian Cheng
db209067f6 [libteam]: Move libteam from 1.26 to 1.28 (#3332)
Sync 201811 branch libteam with master's latest version

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2019-08-13 21:35:08 -07:00
Ying Xie
b8d5e6c317
[201811][sairedis] update sub module head (#3335)
Submodule src/sonic-sairedis 54c8e78..992cdc0:
  > Do not store invalid OIDs from FDB notification into ASIC DB (#503)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-08-13 21:32:51 -07:00
Ying Xie
b3ef09c837 [mmu] add mmu_init_config to HWSKU Arista-7260CX3-Q64 (#3334)
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-08-14 00:32:40 +00:00
Qi Luo
076e6609f0 [docker-fpm-frr]: Fix FRR config script to render frr.conf (#2770) 2019-08-13 23:00:30 +00:00
Ying Xie
f08d184c26
[201811][utilities] advance sub-module head (#3330)
Submodule src/sonic-utilities d12734e..f28b720:
  > Revert "Removed 'show interfaces alias'. (#412)" (#603)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-08-13 09:05:10 -07:00
Ying Xie
a41d9a5d3f [service dependent] describe non-warm-reboot dependency outside systemd (#3311)
* [service dependent] describe non-warm-reboot dependency outside systemctl

When dependency was described with systemctl, it will kick in all the time,
including under warm reboot/restart scenarios. This is not what we always
want. For components that are capable of warm reboot/start, they need to
describe dependency in service files.

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

* [service] teamd service should not require swss service

Adding require swss will cause teamd to be killed by systemctl when swss
stops. This is not what we want in warm reboot.

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

* refactoring code

* rename functions to match other functions in the file
2019-08-08 22:46:06 +00:00
Kebo Liu
c29e2e28da [Mellanox sfputil] update get_transceiver_change_event to support more event (#3261) 2019-08-08 00:42:08 +00:00
sridhar-ravindran
ba3d85e71f [DELLEMC][S6000] 201811 Porting of Platform 2.0 Reboot Reason (#3156) (#3286) 2019-08-07 11:08:03 -07:00
lguohan
36c9d99434 [build]: enable docker in ram option for small disk device (#3279)
when device disk is small, do not unzip dockerfs.tar.gz on disk.
keep the tar file on the disk, unzip to tmpfs in the initrd phase.

enabled this for 7050-qx32

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2019-08-07 06:07:46 +00:00
Karthik Gengan
170c397c00 [2018011] Remapping S6000 platform files under Vendor (DellEmc) specific directory (#3274) 2019-08-02 16:37:39 -07:00
Stephen Sun
ca38147744 [Mellanox] enhance the reboot cause handling on 201811 (#3253)
* [Mellanox/mlnx-platform-api] enable mellanox's platform-api to be loaded as a whole.

* [chassis] update reboot-cause handling code to adapt the hw-management currently running on 201811

* [chassis]handle the case that reboot cause file can be any dir matching pattern "hwmonX".
2019-08-02 09:58:53 -07:00
Andriy Moroz
c07c48218b [Mellanox] Update SAI to fix 50G FEC issue (#3266)
Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2019-08-01 21:27:36 -07:00
Ying Xie
a103f73452
[201811][linux-kernel] advance sub module head (#3254)
Submodule src/sonic-linux-kernel 73fc847..eea4da7:
  > [kernel source] download kernel source files from azure storage (#95)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-07-31 19:14:49 -07:00
Shuotian Cheng
3cdfb4341d [libteam]: Fix libteam race condition when interface is created and enslaved (#3250)
The race condition could happen like this:
When an interface is enslaved into the port channel immediately after
it is created, the order of creating the ifinfo and linking the ifinfo to
the port is not guaranteed.

Please check the patch commit message to get full details.

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2019-07-31 23:53:52 +00:00
Joe LeVeque
da57e8db36 Revert back to 'import sonic_platform' (#3249) 2019-07-31 16:44:17 -07:00
Ying Xie
d45d00d1a0
[201811][sairedis] advance sub-module head (#3247)
Submodule src/sonic-sairedis 4c75b7f..54c8e78:
  > [saisdkdump]: Fix dump generation crash (#493)
  > Fix bug: Restore sai log levels from LOGLEVEL_DB after saiDiscover (#491)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-07-31 16:37:48 -07:00
Kebo Liu
7f526b8dd7 update 201811 brach submodule (#3246) 2019-07-31 15:01:58 -07:00
zzhiyuan
1ddfa130a6 Update sonic-platform-modules-arista for 201811 (#3232) 2019-07-30 18:00:09 -07:00
Samuel Angebault
f314e3f885 [device/arista] Update arista drivers submodules (#3170)
* [device/arista] Update arista drivers submodules

* Change driver name in fancontrol
2019-07-29 21:56:59 -07:00
Joe LeVeque
29bbd86862
[services] Restart SwSS service upon unexpected critical process exit (#2845) (#2852) 2019-07-29 18:10:26 -07:00
Ying Xie
7cf90ec441 [warm reboot] save configuration after warm reboot (#3200)
* [warm reboot] save configuration after warm reboot

After warm reboot, save a copy of in memory database to config_db.json,
upgrade procedure might have removed config_db.json to force new image
to reload minigraph. However, reload minigraph is skipped during warm
reboot. Missing config_db.json would cause device to fault in next
non-upgrading cold/fast reboot.

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

* Update finalize-warmboot.sh
2019-07-24 17:45:07 +00:00
Shuotian Cheng
bce8fee86a [config-engine]: Add admin_status up to l2switch.json template (#3210)
Bring up all ports by default by adding the admin_status:up
to each of the ports.

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2019-07-24 17:45:00 +00:00
Neetha John
9476eaf518 [docker-engine]: Update docker engine to 18.09.8 (#3211)
Signed-off-by: Neetha John <nejo@microsoft.com>
2019-07-24 17:44:42 +00:00
sridhar-ravindran
148df177ba [devices]: DELL Platform 2.0 API Infra and Reboot Reason support in Z9100 & S6100 (#3147) 2019-07-23 15:22:16 -07:00
Stephen Sun
7a9d04ee73 [Mellanox] Backporting reboot cause to 201811 (#3198)
* backport new platform api to 201811, reboot cause part

* install new platform api on host

* 1. remove chassis's dependency on sonic_platform_daemon.
2. add some mellanox-specific hardware reboot causes.
3. fix typo in files/image_config/process-reboot-cause/process-reboot-cause.

* 1. add dependency of sonic_platform for base image
2. handle the case of reboot cause file not found

* adjust log message.
2019-07-23 07:05:35 -07:00
Ying Xie
f1478818a1 Revert "[database] save configuration after DB migration (#3143)" (#3199)
This reverts commit b5a4527cb0.
2019-07-23 01:59:46 +00:00
Renuka Manavalan
bba61eb838
201811: Debug Image only fix: Let individual make files dictate the source path (#3202) 2019-07-22 16:06:43 -07:00
Ying Xie
d2e6daa3e4 [201811][sairedis][swss] advance sub modules head (#3189)
* [201811][sairedis][swss] advance sub modules head

Submodule src/sonic-sairedis 18ad5f9..4c75b7f:
  > Fixed conditional operator. (#487)

Submodule src/sonic-swss 1e99c93..cd12d48:
  > [teamsyncd]: Add information for LAG membership changes (#982)
  > Fix vlan incremental config and add vs test cases (#799)

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

* [swss] include more swss changes

Submodule src/sonic-swss cd12d48..f44029d:
  > [MirrorOrch]: Init the next hop ip with 0 instead of default constructor (#953)
  > [AclOrch]: Fix the acl mirror counter doubled by inactive mirror and active again (#952)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-07-19 23:11:09 -07:00
Sumukha Tumkur Vani
3375fb2262 Reverting permission changes on lldpmgrd (#3184)
The permissions got changed inadverently in this PR: https://github.com/Azure/sonic-buildimage/pull/3152
2019-07-19 16:42:02 +00:00
Sumukha Tumkur Vani
c79774767e Fix for LLDP portname exposed as MAC address bug (#3152)
* Subscribe to both ConfigDB and AppDB
to get notifications to apply LLDP port config

* the operstate file is not consistent
Removing this since it is not serving any purpose

* Remove check for PortInitDone and PortConfigDone
This is not prteset in Config DB

* Remove checking State DB for port creation

* Check for key to be present before fetching it

* Addressing review comments
2019-07-19 16:41:38 +00:00
sridhar-ravindran
b1181291ce [devices]: DellEMC S6100 Enabling Polling Mode for Miim Operation (#3133) 2019-07-19 16:40:35 +00:00
Joe LeVeque
ea81f4056b
[201811] Install mcelog package to host OS; log machine check exceptions (MCE) to syslog (#3160) 2019-07-17 16:19:01 -07:00