Commit Graph

129 Commits

Author SHA1 Message Date
StanleyCi
e880c78f2a [Delta]: Updated port_config.ini & fix the bug of fancontrol.service for ag9032v1. (#1371)
* [Delta]: Updated port_config.ini & fix the bug of fancontrol.service for ag9032v1.

Signed-off-by: Stanley Chi <stanley.chi@deltaww.com>

* [Delta]: Updated port_config.ini & fix the bug of fancontrol.service for ag9032v1.

Signed-off-by: Stanley Chi <stanley.chi@deltaww.com>
2018-02-06 21:23:20 +08:00
paavaanan
a4bcccc9db [dell-hwmon] Changed variables in psuutil scripts for both Z9100/S6100 platforms (#1305)
* [dell-hwmon] Changes psuutil scripts for Z9100/S6100 platform to use hwmon variables

* Updated sumbodule 23c5383780790234da3774155bd521db14d8daa4 - hwmon changes
2018-02-04 08:49:24 +08:00
kaiyu22
628ad3da03 [Platform] Update FEC value and SAI download link for Ingrasys S9130-32X/S9230-64X (#1365)
- What I did
Updating FEC value and SAI download link

- How I did it
Updating related switch configuration files in device/ingrasys
Updating sai.mk files in platform/nephos

- How to verify it
Checking system and network feature is worked as well

- Description for the changelog
Updating FEC value and SAI download link for Ingrasys S9130-32X/S9230-64X

- A picture of a cute animal (not mandatory but encouraged)

Signed-off-by: Sam Yang <yang.kaiyu@gmail.com>
2018-02-03 17:46:00 +08:00
Harish Venkatraman
b34bd1f978 [device/dell] Add dynamic buffer pg lookup tbl (#1366)
This commit adds new support for dynamic buffer configuation. Adding pg_profile
lookup table for supporting the buffer profile using cable length and port speed.
Lookup table entries are calculated based on formula for different cable length and speed.
The 50G entries needs to be updated once again as we are waiting for the interface sublayer
MAC delay values.
Additionally fixed some issues in the buffers.json.j2 file.

Signed-off-by: Harish Venkatraman <Harish_Venkatraman@dell.com>
2018-02-02 14:02:57 -08:00
nikos-li
23bbf80999 [device]: Fix celestica's seastone sfputil for lpmode and transceiver presence (#1358) 2018-02-01 08:49:24 -08:00
lguohan
1d0a57a465
[dell]: add psuutil support for s6000 (#1342)
also remove w83627dhg as it raises false alarm.
2018-01-29 11:21:30 -08:00
Shuotian Cheng
a8a4c7b9ae
[device]: Remove unused qos.json files (#1315) 2018-01-29 10:08:10 -08:00
Andriy Moroz
58d8302b53 Buffers configuration update on port speed change (#1345)
* Move buffer configuration to ConfigDB

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Converted Dell and Arista configs

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Add buffer configs for ACS-MSN2740

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Updated buffers template

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Fixed j2 unit test

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Update buffers config for Force10-S6100

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Update VS docker to support speed and buffers test

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Update buffers config generation

- fixed support of sonic-to-sonic install

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Update submodules pointers for buffers config

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2018-01-29 08:11:05 -08:00
Ying Xie
2b91c9681d Revert "Buffers configuration update on port speed change (#1250)" (#1340)
This reverts commit 814e50fd5e.
2018-01-26 10:13:43 -08:00
Andriy Moroz
814e50fd5e Buffers configuration update on port speed change (#1250)
* Move buffer configuration to ConfigDB

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Converted Dell and Arista configs

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Add buffer configs for ACS-MSN2740

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Updated buffers template

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Fixed j2 unit test

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Update buffers config for Force10-S6100

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Update VS docker to support speed and buffers test

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Update buffers config generation

- fixed support of sonic-to-sonic install

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2018-01-26 08:09:31 -08:00
Taoyu Li
6f12ff286d [minigraph]: Set hostname in all default minigraphs to 'sonic' (#1333) 2018-01-23 18:16:15 -08:00
Ying Xie
163a0e2165
[Arista7260cx3] Add platform specific reboot tool (#1318)
* [Arista7260cx3] Add platform specific reboot tool

* [utilities] update sonic-utilities submodule
2018-01-18 17:28:36 -08:00
jostar-yang
5c83be5d28 Add support for Accton AS7712-32X platform (#1299)
* Add support as7716_32x sfp/psu/portled/eeprom

* Add as7716_32x drv code(not inlcude .*.o)

* Update platform-modules-accton.mk

* Update platform-modules-accton.mk

1.Modify platform-modules-accton.mk to use new style code add_extra_package
2. fix error code

* Add as7716_32x build to debian control,rule

* Add as7716_32x export
2018-01-12 19:34:51 -08:00
kaiyu22
ac0de13705 [Platform] Update switch configuration files and download link for Ingrasys S9130-32X/S9230-64X (#1295)
- What I did
Updating switch configuration files and download link

- How I did it
Updating related switch configuration files in device/ingrasys
Updating related mk files in platform/nephos

- How to verify it
Check system and network feature is worked as well

- Description for the changelog
Update switch configuration files and download link for Ingrasys S9130-32X/S9230-64X

- A picture of a cute animal (not mandatory but encouraged)

Signed-off-by: Sam Yang <yang.kaiyu@gmail.com>
2018-01-11 15:18:50 -08:00
nealtai
41cdb8971f [Delta]: Add psuutil support for ag9032v1 (#1298)
Fix the bug of psu module for ag9032v1

Signed-off-by: neal <neal.tai@deltaww.com>
2018-01-11 15:17:55 -08:00
lguohan
9669b3477e
Revert "[Dell S6100, Z9100] psusutil sysfs attribute changes for hwmon (#1264)" (#1297)
This reverts commit 1ceb07a2c5.
2018-01-10 18:42:45 -08:00
paavaanan
1ceb07a2c5 [Dell S6100, Z9100] psusutil sysfs attribute changes for hwmon (#1264) 2018-01-10 11:53:50 -08:00
Roy Lee
8ae3c6c88a [Platform]As7712-32x update for sensors test (#1292)
* Update sonic-platform-modules-accton to lastest

Signed-off-by: roylee123 <roy_lee@accton.com>

* [platform]AS7712.
    1. update device driver.
        - move 7712 modules to common dir, and linked to them.
        - add new lm75 node at I2C address 0x4B.
        - add optoe module for QSFP eeprom access.
        - add accton_pmbus_3y.c module for pmbus access.
    2. masked sensor.conf for matching of sku-sensors-data.yml.
Signed-off-by: roylee123 <roy_lee@accton.com>
2018-01-10 03:08:05 -08:00
Roy Lee
f8d32aa9f1 [platform]: As7712 32x add fancontrol (#1270)
* Update sonic-platform-modules-accton to lastest

Signed-off-by: roylee123 <roy_lee@accton.com>

* [AS7712-32X] Add fancontrol.

Signed-off-by: roylee123 <roy_lee@accton.com>

* [AS7712-32X] add psuutil.py and sensors.conf

Signed-off-by: roylee123 <roy_lee@accton.com>

* Remove 1 reduntant line.

Signed-off-by: roylee123 <roy_lee@accton.com>

* [AS7712-32X] Change fan driver to support fancontrol.
Signed-off-by: roylee123 <roy_lee@accton.com>
2018-01-03 11:42:49 -08:00
Jason Tsai
41f14fcfef [Platform] Add psuutil support for Ingrasys S9130-32X (#1273)
Update psuutil and psu kernel module on S9230
2018-01-03 11:26:27 -08:00
wadelnn
22eea55c9b [Platform] Add psuutil and update submodule for Ingrasys S9100-32X, S8810-32Q, S9200-64X on master branch (#1271)
* [platform] Add Psuutil and fixed voltage alarm for S9100

* Add I2C CPLD kernel module for psuutil.
* Support psuutil script.
* Add voltage min and max threshold.

Signed-off-by: Wade He <chihen.he@gmail.com>

* [Platform] Add Psuutil and update sensors.conf for S8810-32Q and S9200-64X

 * Support psuutil script.
 * Update sensors.conf for tmp75.

Signed-off-by: Wade He <chihen.he@gmail.com>
2017-12-29 10:41:43 -08:00
Roy Lee
683562cf2f [Accton AS7816-64X] Add new platform and device for AS7816-64X. (#1260)
Signed-off-by: roylee123 <roy_lee@accton.com>
2017-12-22 10:06:21 -08:00
kaiyu22
63de341dd6 [Platform] Add Ingrasys S9130-32X and S9230-64X with Nephos Switch ASIC (#1245)
* Add switch ASIC vendor and platforms for Nephos

- What I did
Add switch ASIC vendor: Nephos
Add Nephos platforms: Ingrasys S9130-32X, Ingrasys S9230-64X

- How I did it
Add platform/nephos files
Add platform/nephos/sonic-platform-modules-ingrasys submodule
Add device/ingrasys/x86_64-ingrasys_s9130_32x-r0 files
Add device/ingrasys/x86_64-ingrasys_s9230_64x-r0 files
Add SONiC to support Nephos platform

- How to verify it
To build SONiC installer image and docker images, run the following commands:
make configure PLATFORM=nephos
make target/sonic-nephos.bin
Check system and network feature is worked as well

- Description for the changelog
Add switch ASIC vendor and platforms for Nephos

- A picture of a cute animal (not mandatory but encouraged)

Signed-off-by: Sam Yang <yang.kaiyu@gmail.com>

* Advance sonic-sairedis submodule to include #271 (Add Nephos ASIC)
2017-12-22 10:04:29 -08:00
jostar-yang
db49660b86 Add set/get lpmode and mode_rst feature for qsfp (#1261)
* Add lpmode set/get . mode_reset feature for qsfp

* Add lp mode, set/get and mode_rst feature for sfp
2017-12-21 01:54:32 -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
Phil Huang
6e05b67070 [device/accton] Correct exception function name (#1249)
NotImplementedErro(r)

Signed-off-by: Phil Huang <phil_huang@edge-core.com>
2017-12-19 15:41:48 -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
Roy Lee
db7f173f23 [Accton AS7712] Add sfp reset in driver and sfputil.py. (#1241)
Signed-off-by: roylee123 <roy_lee@accton.com>
2017-12-15 00:59:41 -08:00
Joe LeVeque
1c0c3ff7a9 [Dell S6100]: EEPROM plugin overrides serial_number_str() to return service tag instead of serial number (#1239)
* [Dell S6100]: EEPROM plugin overrides serial_number_str() to return service tag instead of serial number

* Refactor to simplify
2017-12-14 17:34:58 -08:00
loshihyu
a2af29aa78 Fixed D7054 missing front-panel port Interfaces (#1236) 2017-12-13 22:57:06 -08:00
Shuotian Cheng
60e0295b74
[Dell]: Change Dell psuutil.py file to work with Python 3.* (#1231)
* change except comma to as
* remove print line
* change CRLF to LF

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-12-11 18:19:21 -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
lguohan
5184def0a4
[dell]: Added psuutil support for S6100/Z9100 Dell Platforms (#1223) 2017-12-08 16:31:01 -08:00
Prince Sunny
5ca798d9bc [arista]: Unify labels for Arista sensors (#1216) 2017-12-08 12:01:06 -08:00
Travis Szucs
6feff95197 [device/arista]: Add MAX6697 sensor for Arista 7060CX-32S (#1210) 2017-12-08 12:00:48 -08:00
Qi Luo
2276333ca8
Added PSU util for Mellanox platforms, updated sonic-utilities submodule (#1218) 2017-12-07 21:50:39 -08:00
wadelnn
c4f7cd376e [Ingrasys]: Update QSFP monitor CoPP test and sensors config (#1202)
* Increase read socket buffer for CoPP Test
* Add QSFP monitor service
* Update S8810-32Q sensors.conf

Signed-off-by: Wade He <chihen.he@gmail.com>
2017-12-07 12:08:49 -08:00
Polly Hsu
73e4204521 [device/accton]: Update Accton-AS5712_54X minigraph (#1196)
* UPDATE. minigraph.xml to initialize the default IP address of all interfaces

Signed-off-by: polly_hsu@accton.com
2017-11-30 11:21:47 -08:00
Roy Lee
397f513362 [platform] Accton AS7712-32X. Update for sensors and sfputil (#1197)
Revise kernel driver to duplicate nodes for support of lm-sensors, at fan and PSU.
Update sfputil.py to to fit new SfpUtil prototype.

Signed-off-by: roylee123 <roy_lee@accton.com>
2017-11-30 11:19:41 -08:00
Jason Tsai
51dfa1768d [Ingrasys] Update platform configuration files (#1194) 2017-11-29 11:57:35 -08:00
Ying Xie
33d5e93b0a [devices]: Update 6000, 6100, 7050 QOS configurations (#1191) 2017-11-28 18:31:43 -08:00
nealtai
8602360ffd [platform] Add a new supported platform, Delta-ag9032v1 (#1168)
CPU : Intel Rangeley C2538
    Swich ASIC: Broadcom Tomahawk BCM56960
    Ports : 32x100G
    Switch SKU : Delta-ag9032v1

Signed-off-by: neal <neal.tai@deltaww.com>
2017-11-27 14:29:22 -08:00
Andriy Moroz
6d0329af3d Move QoS configuration to Config DB (#1178)
* Move Mellanox QoS configuration to config DB

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Move qos.json to hwsku subfolder

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Remove copying of old qos config

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Update WRED threshold values

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* hwsku2

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Fix syntax error in json

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Add qos config for some Dell and Arista platforms

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Fix inital qos config on clean boot

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Updated swss-common and swss pointers (QoS in Config DB)

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2017-11-22 08:58:22 -08:00
Polly Hsu
0f903d008b [Accton]: Add a new supported platform, AS5712-54X (#1167)
* Switch Vendor: Edge-core
* Switch SKU: AS5712-54X
* ASIC Vendor: Broadcom
* Swich ASIC: TRIDENT2
* Port Configuration: 48x10G+6x40G
* SONiC Image: SONiC-ONIE-Broadcom

Signed-off-by: polly_hsu@accton.com
2017-11-22 02:59:28 -08:00
Qi Luo
b8e5c9f904 [Mellanox]: Add Mellanox-SN2700 symlink (#1169)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2017-11-20 14:23:13 -08:00
yurypm
2a69f372c3 [Arista7260cx3] fancontrol configuration file (#1163)
Signed-off-by: Yury Murashka <yurypm@arista.com>
2017-11-17 12:03:51 -08:00
wadelnn
3e03df7a5e Fixed sfputil show eeprom information is empty on SFP ports. (#1145)
Signed-off-by: Wade He <chihen.he@gmail.com>
2017-11-13 12:33:59 -08:00
Ying Xie
4e367c6984
[Arista7260cx3] update port_config.ini for Arista-7260CX3-D108C8 (#1130)
- Port 18 and 20 are now in 50G breakout mode.
2017-11-08 15:09:19 -08:00
Ying Xie
ce6cbbbb99
[Arista7260CX3] Fix a typo in port_ini.cfg (#1114) 2017-11-03 17:58:34 -07:00
Samuel Angebault
ca214b947c [arista]: Bump sonic-platform-modules-arista submodule (#1111)
* Bump sonic-platform-modules-arista

Improves i2c performance for xcvrs
Fix the led_plugin by ignoring unknown ports
Miscellaneous improvements

* Fix index column for Arista-7260CX3-D108C8

* Fix flash permissions for Arista platforms

The ext4 flash uses acl to properly handle permissions in EOS.
Aboot isn't built with this support and therefore can't be used
to set the flash permissions. It has to be deferred in sonic initrd.
2017-11-03 15:22:05 -07:00