Commit Graph

2163 Commits

Author SHA1 Message Date
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
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