Commit Graph

2136 Commits

Author SHA1 Message Date
lguohan
c5b0c59b78 [swss]: flush asic db in swss.sh for non warm-boot (#2582)
need to flush asic db in swss.sh instead of syncd.sh

orchagent might already started in swss.sh and put commands
into asic db before asic db is flushed in syncd.sh. This
causes race condition such as INIT_VIEW not passing to syncd.

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2019-02-21 18:23:58 +00:00
RAMA CHANDRA REDDY GADDAM
490f47e059 'show vlan config' is not displaying the VLAN members, after the clear config and reload with default l2 configuration. (#2536)
'show vlan config' not displaying the VLAN members, after clear config done loaded with default l2 configuration.
2019-02-21 18:21:06 +00:00
lguohan
fc5512ad85 [quagga]: collect quagga-dbg debian package (#2575)
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2019-02-21 18:15:18 +00:00
Renuka Manavalan
def2780f18 [hostcfgd]: Promote logs for update-notifications-from-DB from DEBUG to INFO (#2576)
* Add a log message for each notification of add/del TACACS server.

Signed-off-by: Renuka Manavalan <remanava@microsoft.com>

* Moved another syslog message from DEBUG to INFO to be able to see those notifications.

All these changes are to help with a one-time-seen-bug, that hostcfgd did not act upon changes to redis for TACACS servers. We could not repro the bug.

Signed-off-by: Renuka Manavalan <remanava@microsoft.com>
2019-02-21 18:14:04 +00:00
Stepan Blyshchak
e5daf216fd [syncd.sh] Don't stop sxdkernel during warm shutdown on Mellanox platform (#2572)
/etc/init.d/sxdkernel stop may take up to 15 sec which has impact on
control plane downtime

Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2019-02-21 18:11:37 +00:00
Ying Xie
4faa5f2f92
[warm boot] cherry-pick PR #2538 and advance related sub-modules (#2569)
PR#2538 cannot merge due to master branch status. It has been tested
against 201811 branch.

Submodule src/sonic-sairedis 21f4a49..d57222a:
  > Add more specific logic for ingress ACL and buffer profile (#421)
  > Move warm_restart enable/disable config to stateDB WARM_RESTART_ENABLE_TABLE (#418)
  > Add support for vlan tagged frames in virtual switch (#417)

Submodule src/sonic-swss 1590030..584490c:
  > Move warm_restart enable/disable config to stateDB WARM_RESTART_ENABLE_TABLE (#786)
  > [vstest]: Potential fix for timing issue in warm_reboot's routing UT (#788)

Submodule src/sonic-swss-common 594f4e8..286ef34:
  > Move warm_restart enable/disable config to stateDB WARM_RESTART_ENABLE_TABLE (#260)

Submodule src/sonic-utilities c6666e2..b44b462:
  > Move warm_restart enable/disable config to stateDB WARM_RESTART_ENABL… (#458)
  > [aclshow] output only counters per table/rule (#442)

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

[PR 2538] Move warm_restart enable/disable config to stateDB WARM_RESTART_ENABLE_TABLE

Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
2019-02-14 12:12:55 -08:00
Ying Xie
c0f82b3a55 [HWSKU] Define HWSKU Arista-7260CX3-Q64 and Arista-7260CX3-Q44 (#2562)
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-02-14 19:56:41 +00:00
Nazarii Hnydyn
d10275e1f7 Updated SAI XML config for SN2010. (#2561)
Signed-off-by: Nazarii Hnydyn <nazariig@mellanox.com>
2019-02-14 17:35:08 +00:00
Guohan Lu
11fa0907dd start lldp-syncd and lldpmgrd after lldpd fully started
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2019-02-14 17:31:42 +00:00
Guohan Lu
6f2274ad0d configure lldp when the port exists
On some platform, portstate might be unknown as it might not
be supported by the driver.

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2019-02-14 17:31:29 +00:00
Guohan Lu
bab38e4310 setup port description if minigraph has neighbor information
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2019-02-14 17:31:16 +00:00
Guohan Lu
41bb13b834 configure the hostname for lldpd
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2019-02-14 17:31:01 +00:00
Guohan Lu
a7e013bca3 [submodule]: update sonic-dbsyncd
* fe60afa 2019-02-12 | [lldpsyncd] remove dbsyncd logic which is moved to lldpmgr (#15) (HEAD, origin/master, origin/HEAD) [Mykola F]

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2019-02-14 17:31:01 +00:00
Mykola F
ab19d1398c [minigraph.py] generate port description for every port (#2395)
* [minigraph.py] generate mandatory default port description

Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>

* use port name as default description

* [config-engine] update test exaple output

Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>

* [minigraph.py] use alias/port name as default description instead of neighbor data

Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
2019-02-14 17:31:01 +00:00
Mykola F
a65e47fb62 [lldpmgr] add mgmt ip to lldpd conf template, handle port description/alias changes (#2396)
* [lldpmgr] add mgmt ip to lldpd conf templte, handle port description/alias config

Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>

* fix typo

* [config-engine] update test sample output lldpd.conf

Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>

* fix the log message

* fix lldpd.conf.j2
2019-02-14 17:21:32 +00:00
Ying Xie
24bce77def [swss/syncd] log swss/syncd service script activities (#2545)
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-02-14 17:04:21 +00:00
Ying Xie
f9f9a647df
[bcm sai] Upgrade Broadcom SAI to version 3.3.4.3-2 (#2550)
- Including Broadcom patch for CS7252202.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-02-11 16:14:55 -08:00
Ying Xie
b4bc4b7ed6
[sub module] advance sonic-swss sub module (#2539)
Included:
  > [neighsyncd] increase neighbor syncd restore timeout to 110 seconds (#745)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-02-07 19:44:12 -08:00
Samuel Angebault
accaaccae8 [docker-snmp] Install pyyaml in the container (#2533)
This dependency is needed for arista plugins to properly work.
2019-02-07 16:38:54 +00:00
Ying Xie
4023a77721 [QoS]: fix size and xoff value on a7050-QX-32S, -QX32, and s6000(#2527)
Signed-off-by: Wenda <wenni@microsoft.com>
2019-02-07 16:36:00 +00:00
Mykola F
a98fe060e6 [submodule] update utilities pointer (#2523)
- [config/main.py]Fixed - added a validation such that delete portchannel or portchannel members only when it is configured (#277) (#445)
- Revert "[config/main.py]Fixed - added a validation such that delete portchannel or portchannel members only when it is configured (#277) (#445)" (#452)
- [intfutil] add Asymmetric PFC status to 'show interface status' (#437)

Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
2019-02-07 16:31:17 +00:00
Ying Xie
c88f16893f
[sub module] sub module sonic-swss-common tracking 201811 branch (#2530)
* [sub module] sub module sonic-swss-common tracking 201811 branch

And include change:

Submodule src/sonic-swss-common e8caaea..a40837a:
  > [pyext] enable types in stdint.h (#259)

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

* also include:

Submodule src/sonic-swss-common a40837a..594f4e8:
  > Optimized ProducerStateTable set/del notification processing to avoid… (#257)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-02-06 08:07:22 -08:00
Ying Xie
7d5cb914d4
[submodule 201811] advance sairedis and swss submodule for 201811 branch (#2526)
* [submodule 201811] advance sairedis and swss submodule for 201811 branch

Submodule src/sonic-sairedis 60f97c3..bdb0074:
  > Add more information on failed map sizes (#416)
  > Add WRED specific comparison logic (#413)
  > Initialize notification queue pointer before switch create (#411)
  > Add log info for not matching SG/IPG/QUEUES (#409)
  > Add support for any number of ports in virtual switch using lane map (#407)

Submodule src/sonic-swss 85f6322..65a0256:
  > Increase the watermark polling interval to 10s (#777)
  > [vstest]: fix test_port_an_warm.py test (#779)
  > [wartermarkorch] Fix repeated m_pg_ids and m_unicast_queue_ids add up issue (#752)
  > [teammgrd] Fix inconsistent port admin status (#755)
  > Remove AclTableGroup upon removal of port/lag/vlan (#751)


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

* [submodule] advance sonic-swss submodule

Submodule src/sonic-swss 65a0256..bf21ee3:
  > On a routing vlan, the neighbor entry in the /31 subnet is not added … (#784)
  > portsorch ports init done flag should means buffer, autoneg, speed, m… (#747) (#783)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-02-05 16:36:32 -08:00
Wenda Ni
b1bdecb1c0 [QoS]: Link pg 2 and 6 to lossy buffer profile (#2511)
* Link pg 2 and 6 to lossy buffer profile

Signed-off-by: Wenda <wenni@microsoft.com>
2019-02-03 04:41:19 +00:00
Wataru Ishida
7808f3c95c [build]: add fastentrypoints which is used for sonic-utilities build (#2479)
https://github.com/Azure/sonic-utilities/issues/438

Signed-off-by: Wataru Ishida <ishida@nel-america.com>
2019-02-03 04:40:42 +00:00
zhenggen-xu
4a24103206 [updategraph] After system upgrade, restore files/directories with original attributes etc. (#2368)
* [updategraph] After system upgrade, restore files/directories with
original attributes etc.
Restore a few more files that was missed before.
Restore FRR configuration directory if exists on old system

Signed-off-by: Zhenggen Xu <zxu@linkedin.com>

* Removed deployment_id_asn_map.yml from copy list

Signed-off-by: Zhenggen Xu <zxu@linkedin.com>
2019-02-02 20:54:58 +00:00
Mykola F
8e8c18f539 [submodule] update sonic-snmpagent (#2517)
Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
2019-02-02 19:42:27 +00:00
stepanblyschak
e6bc80f997 [mlnx] Fix sai xml path for boxer platform (#2516)
Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2019-02-02 19:40:17 +00:00
Prince Sunny
e9125b944a [swss]: Change VrfMgrd startup order, cleanup VRF_TABLE from state DB (#2510) 2019-02-02 19:39:42 +00:00
Joe LeVeque
f167e670fd [baseimage] Delay ntp-config service to start after 5 minutes (#2494) 2019-02-02 19:35:27 +00:00
Wenda Ni
cdbbb7eb4d [QoS]: QoS Config change for multiple devices (#2505)
* QoS config change: 1) DSCP mapping; 2) link pg/queue 6 to lossy buffer;
3) redistribute scheduler

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

* Add scheduling weight to queue 2

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

* Link pg/queue 2 to lossy buffer

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

* Update the pg headroom for a7060-D48C8 50G

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

* Update config gen test for qos

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

* Update pg headroom size, and update egress lossy pool size accordingly

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

* Update headroom pool size; Update ingress service pool and egress lossy
pool sizes accordingly;

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

* a7260: update headroom pool size; Update ingress service pool and egress lossy pool sizes accordingly;

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

* Update config gen test for buffer

Signed-off-by: Wenda <wenni@microsoft.com>
2019-02-02 19:34:35 +00:00
Prince Sunny
dac983e20b Disable IPv6 ra for eth0 interface (#2493)
* Disable IPv6 ra for eth0 interface
2019-02-02 19:31:30 +00:00
Joe LeVeque
38c08dfac9 [reboot cause] Move reboot-cause files to /host directory so they persist across SONiC upgrades (#2490)
* [reboot cause] Move reboot-cause files to /host directory so they persist across SONiC upgrades

* [sonic-utilities] Update submodule to include related changes
2019-02-02 19:29:52 +00:00
Ying Xie
746cd16837 [sub module] move sairedis and swss to 201811 branch (#2508)
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-01-31 10:40:07 -08:00
zhenggen-xu
7b33538686 [devices]: Support 32x50G+16x40G profile on Seastone-DX010 (#2474)
The sai profile itself can support 32x50G+16x100G/40G while
the initial port_config.ini uses 40G speeds for port 17-32.

Signed-off-by: Zhenggen Xu <zxu@linkedin.com>
2019-01-25 21:20:35 +00:00
Joe LeVeque
959a2ce26c [dockers] Prevent old supervisord messages from gettting re-logged to syslog (#2439) 2019-01-25 21:15:09 +00:00
Joe LeVeque
2acfac712c [caclmgrd] Don't crash if we find empty/null rule_props (#2475)
* [caclmgrd] Don't crash if we find empty/null rule_props
2019-01-25 21:10:52 +00:00
bbinxie
993df174ee [Celestica]: Update port led code for seastone-xp (#2476) 2019-01-25 21:10:18 +00:00
Ying Xie
6402c5c9bb [Broadcom SAI] Upgrade Broadcom SAI to 3.3.4.3-1 (#2472)
- Broadcom SAI 3.3 GA 20190118.
- With warm reboot support.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-01-22 22:49:59 +00:00
stepanblyschak
0921211009 [mellanox|ffb] ISSU version check (#2437)
* Revert "[mellanox]: Integrate CRIU tool to SYNCD docker container (#2061)"

This reverts commit 514b38f348.

Conflicts:
	platform/mellanox/docker-syncd-mlnx.mk
	sonic-slave/Dockerfile

* [mellanox|ffb] remove unused scripts

Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>

* [mellanox|ffb] ISSU version check

Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>

* [mlnx|ffb] remove extra ';'

Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2019-01-22 22:41:42 +00:00
jostar-yang
81467ae74a [devices]: Fix cpld sysfs permisson error for accton devices (#2457) 2019-01-22 22:40:46 +00:00
Marian Pritsak
16b202f5ba [swss][supervisord.conf] Remove intfsyncd 2019-01-22 20:29:54 +00:00
Ying Xie
ff1d194833 [sub-module] advance sonic-swss sub-module (#2453)
To include following changes:

- [teammgrd]: Add retry logic for starting port channel with teamd (#756)
- [portsorch] fix bug in initializePort (#753)
- [intfmgrd] Fix intfmgrd hanging untill first interface becomes ready (#748)
- [intfmgrd]: Support loopback (#742)
-Improve comments for neighbor warmrestart related functions and warmRestartAssist class (#740)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-01-16 22:44:01 +00:00
Samuel Angebault
d12d546fa8 [docker-engine] fix systemd shutdown hang (#2451)
When rebooting without the platform_reboot plugin, systemd takes a few
minutes to properly shutdown. It's blocking on some docker cleanup
operation.

As described by https://github.com/docker/for-linux/issues/421 there
is a race between docker.service and containerd.service.
docker needs containerd to properly stop the containers.
2019-01-16 22:42:31 +00:00
Shuotian Cheng
0213dd45bd [libteam]: Fix libteam race condition when interface is created and enslaved (#2449)
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-01-16 22:41:29 +00:00
zzhiyuan
fb278e6482 Add new hwsku Arista-7170-Q59S20 (#2450) 2019-01-16 22:40:43 +00:00
Wenda Ni
405205c911 [buffer]: Add buffer defaults for t0 on s6000 and a7050 (#2438)
Signed-off-by: Wenda <wenni@microsoft.com>
2019-01-16 22:37:49 +00:00
paavaanan
d67db22016 [device/Dell] SOSFTDEP to lpc_ich module for dell_ich module (#2440)
dell_ich module fails to load sometimes due to the failure of pci_get_drvdata().

This function is responsible for fetching INTEL PCI related memory handle in kernel. This is implemented in lpc_ich kernel module.

Due to race in addition/deletion of kernel modules, sometimes lpc_ich loads after dell_ich.

Because of this behaviour dell_ich module fails to load.

Fixed by addding dependency between modules.

Removed i2c_mux_gpio module from blacklist entry as it is not the original root case of this issue.
2019-01-16 22:36:42 +00:00
Joe LeVeque
2abecefd77 [lldp] For MGMT port, if port alias is available, use it for Port ID subtype; otherwise use port name (#2445) 2019-01-16 22:34:16 +00:00
stepanblyschak
022de2859b [mellanox] Update SDK to 4.3.0134 (#2447)
Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2019-01-16 22:31:33 +00:00