Commit Graph

2175 Commits

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