Commit Graph

28 Commits

Author SHA1 Message Date
Wenda Ni
86205b858a [devices/a7050]: Separate ECN/WRED profile per queue to maintain a consistent view among CONFIG_DB get commands (#1941)
for ecn on/off operations, which are conducted at per queue all interfaces granularity.

TODO:
Ideally, we should have ECN/WRED profile applied at per interface per queue
granularity, and we should do it for all hwskus under the device
directory, not just 7050.

Signed-off-by: Wenda Ni <wenni@microsoft.com>
2018-08-16 23:11:20 -07:00
Samuel Angebault
26afa348ea [device] Misc fixes for Arista platforms (#1844)
* Update sensors.conf for 7050QX-32 and 7050QX-32S

These two platforms were using a previous version of a kernel driver.
The new one names the i2c buses differently.
We therefore need to rename them here.

* Fix the default minigraph for the 7050QX-32S

The interface offset is invalid which makes sonic-cfggen generate an
invalid config_db.jon in rc.local.
This config then silently makes orchagent/syncd fail.

* Use the partition on which sonic-aboot.swi is

Instead of always assuming /mnt/flash, use the partition where the image
to be installed lies.
This allow for the image to be on any partition.
2018-07-05 14:30:57 -07:00
Samuel Angebault
ec850df74b [devices]: Use arista library as led plugin for more platforms. (#1809)
This apply to arista_7050_qx32 and arista_7050_qx32s.
2018-06-23 17:24:56 -07:00
Wenda Ni
7389443597 [devices]: Migrate a7050-qx-32s to use the new buffers config architecture and create the profile for t1 (#1709)
Move the ingress lossless profile from buffers.json.j2 to pg_profile_lookup.ini

Move pool and the rest of the profile from buffers.json.j2 to
buffers_defaults_t1.j2

Add port speed info in port_config.ini

Make buffers_default_t1.j2 the default profile in buffers.json.j2

Signed-off-by: Wenda Ni <wenni@microsoft.com>
2018-06-22 18:53:30 -07:00
pavel-shirshov
3681cfa553
Use only active ports when applying buffers/qos configuration (#1787)
* First part of skipping not used port for qos configuration

* Use active ports only to set QoS parameters for 6100

* Add a test for qos.json.j2

* Add a test for Dell S6100 buffers.json template

* Update submodulre
2018-06-21 11:51:37 -07:00
Joe LeVeque
6fc38af2f0
Remove fan LED initialization from led_control plugins for Arista 7050-QX32, 7050-QX-32S (#1733) 2018-05-23 17:57:38 -07:00
Samuel Angebault
c1e37a6be9 [Arista]: Add a reboot script for all remaining platforms. (#1706)
Adds a platform_reboot script for 7050QX-32, 7050QX-32S and 7060CX-32S.
This allow a proper cold reboot to happen.
2018-05-15 05:27:10 -07:00
Wenda Ni, Ph.D
f947172c0a [devices]: Merge ingress service pools of lossless and lossy traffic for TD2 (#1578)
Signed-off-by: Wenda <wenni@microsoft.com>
2018-04-13 22:22:21 -07:00
lguohan
25d73ef1a1
[device]: fix led_control plugin on Arista 7050-QX32S (#1527)
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-03-24 02:04:25 -07:00
Wenda Ni, Ph.D
de5e5332be [mmu]: reduce headroom size and remove queue min for lossless traffic (#1508)
* Reduce xoff size for in-flight packets of lossless traffic

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

* Must explicitly specify min buffer size per queue to be zero

Signed-off-by: Wenda <wenni@microsoft.com>
2018-03-17 14:48:52 -07:00
Wenda Ni, Ph.D
ad5f871feb [devices]: Consolidate to one egress lossless buffer configuration (#1493) 2018-03-16 15:52:08 -07:00
Wenda Ni, Ph.D
1f4ce098b5
Buffers config (#1476)
* Improve memory utilization through more sharing at the ingress on A7050-QX-32S

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

* Apply buffers config changes on A7050-QX-32S to A7050-QX32

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

* Apply buffers config changes on A7050-QX-32S to S6000
2018-03-12 14:25:57 -07:00
Wenda Ni, Ph.D
20ab99bf31 [qos]: Apply ECN configuration on lossless queue for 7050-QX-32S and S6000 (#1439) 2018-03-03 10:09:49 -08:00
Wenda Ni, Ph.D
33d5a9cfd6
Add qos.json for Arista-7050-QX-32S (#1388)
* Add qos.json for Arista-7050-QX-32S

This file is a modification from the one in the swss docker, and is applied in the base image

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

* Prepare buffers.json.j2 alongside with qos.json to allow qos config to take
effect on a7050-QX-32S

Signed-off-by: Wenda <wenni@microsoft.com>
2018-02-28 17:30:34 -08:00
Taoyu Li
6f12ff286d [minigraph]: Set hostname in all default minigraphs to 'sonic' (#1333) 2018-01-23 18:16:15 -08:00
yurypm
b57cfd7295 [arista] Delete sysfs entries for all Arista Digital Power Monitor/Management devices (#1256)
* Bump sonic-platform-modules-arista submodule

* [arista] Remove DPM entries from Arista sensors.conf files
2017-12-20 14:05:23 -08:00
Samuel Angebault
46a653485c [device/Arista] Add fancontrol config for all Arista platforms (#1242)
* Rename i2c busses for a7060cx-32 platform

* Update fancontrol for a7260cx3-64

* Add fancontrol for a7050qx-32

* Add fancontrol for a7050qx-32s

* Add fancontrol for a7060cx-32s
2017-12-15 16:39:15 -08:00
Samuel Angebault
9dc85620f3 [device/arista] Add psuutil plugin for Arista platforms (#1221)
* Bump sonic-platform-modules-arista submodule

* Add psuutil plugnis for Arista platforms
2017-12-08 16:32:50 -08:00
Joe LeVeque
002aabe8ba Change all port_config.ini column headers from 'port' to 'index' (#1001) 2017-09-30 11:02:18 -07:00
Samuel Angebault
d918b13491 Update sfputil support for Arista platforms (#912)
* Bump sonic-platform-modules-arista submodule

* Fix sfputil plugin for arista_7060_cx32s

* Fix sfputil plugin for arista_7260cx3_64

* Add front panel port number for arista platforms
2017-08-24 00:10:50 -07:00
Joe LeVeque
49feeaa456 [LEDs]: Initialize status and fan LEDs to green on Arista 7050-QX-32/7050-QX-32-S (#886) 2017-08-14 10:25:50 -07:00
Joe LeVeque
178fc032ae [sfputil]: Add support for SFP presence, low-power mode and reset (#877)
- Update sfputil plugins for Dell FORCE10-S6000, Arista 7050-QX-32, 7050-QX-32-S
2017-08-11 11:36:32 -07:00
Joe LeVeque
f49cac086f Remove extra trailing newlines at EOF (#804)
Files now end with a single newline
2017-07-12 20:54:37 -07:00
Shuotian Cheng
12ce4ca4ea [Arista]: Update Arista-7050-QX-32S port_config.ini (#789) 2017-07-06 02:27:25 -07:00
lguohan
e904b3bf46 [device]: add minigraph and LED support for Arista 7050 QX32S (#773) 2017-06-30 10:28:39 -07:00
Shuotian Cheng
fedfb82ebf [Arista]: Update port_config.ini file for Arista-7050-QX32S (#674) 2017-06-05 22:41:39 -07:00
Samuel Angebault
7d33387e7c [platform] Complete support for Arista-7050QX-32S (#661)
* Bump sonic-platform-modules-arista submodule

* Use sonic_sfputil plugin from the arista library

* Fix undefined variable varlog_size

* Prevent minigraph.xml to be removed from the flash

* Update DCS-7050QX-32 sensors config
2017-06-02 01:31:53 -07:00
Samuel Angebault
cb969fc843 [platform] Add Arista DCS-7050QX-32S and missing plugins (#597)
* Update sonic-platform-modules-arista submodule

* Add sensors.conf for Arista DCS-7050QX-32S

* Add plugin/eeprom.py for Arista DCS-7050QX-32S

* Add plugin/sfputil.py for Arista DCS-7050QX-32S

* Add port_config.ini for Arista DCS-7050QX-32S

* Add plugin/sfputil.py for Arista DCS-7060CX-32S

* Add plugin/eeprom.py for Arista DCS-7060CX-32S

* Update plugin/eeprom.py for Arista DCS-7050QX-32
2017-05-16 08:07:47 -07:00