Commit Graph

104 Commits

Author SHA1 Message Date
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
paavaanan
bfa0346040 Added support for Z9100 to check SFP Presence, toggling lpmode, reset… (#1087)
* Added support for Z9100 to check SFP Presence, toggling lpmode, reset, and eeprom details
2017-10-31 10:41:29 -07:00
Prince Sunny
4f59b2e4c7
Modified HWSKU to match internally defined SKU string (#1095) 2017-10-30 18:02:44 -07:00
Balaselvi
11e17e763f [Inventec]: Bug fix for sfputil in D7054 (#1080) 2017-10-25 21:36:31 -07:00
paavaanan
1b20ea1680 [Dell]: Added support for S6100 sfputil.py (#1073)
Check SFP Presence, toggling lpmode, reset, and print eeprom details
2017-10-24 12:57:20 -07:00
Prince Sunny
c74007bb83 [Arista]: Modified HWSKU to match the internally defined HWSKU string (#1062) 2017-10-23 11:46:26 -07:00
Andriy Moroz
587b14a3bf [Mellanox]: Add get_presence implementation for SFP on Mellanox platforms (#1056)
Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2017-10-19 18:36:25 -07:00
Balaselvi
1ee8ed9216 [Inventec]: Add Inventec D7054 platform support and update D7032 platform support (#1052) 2017-10-19 13:06:03 -07:00
Prince Sunny
d302d713a6 [Arista]: Extra space in filename resulted in initialization failure (#1053)
* Extra space removed
2017-10-18 23:46:05 -07:00
Shuotian Cheng
9e44d14197 [Dell]: Add Force10-S6100-T1 symlink to Force10-S6100 (#1038) 2017-10-12 20:58:16 -07:00
Rodny Molina
f681fd17eb [Seastone]: Adjusting Seastone's sfputil plugin to cope with new SfpUtil API. (#1022)
There are multiple platforms that need to be transitioned to the new
SfpUtilBase interface - I'm only taking care of Celestica-Seastone in this patch.
2017-10-10 12:58:56 -07:00
Joe LeVeque
002aabe8ba Change all port_config.ini column headers from 'port' to 'index' (#1001) 2017-09-30 11:02:18 -07:00
Kebo Liu
59c03083d3 [Mellanox]: Update outdated MSN2410 minigraph (#995)
update the minigraph to the latest.
the previous one causes MSN2410 failing to start up properly.
2017-09-28 12:04:27 -07:00
wadelnn
8143cb34f2 [Ingrasys]: Add Ingrasys S8900-64XC sfputil function and update submodule (#984)
* Add S8900-64XC SFP QSFP CPLD kernel module.
* Fixed QSFP function call in i2c_utils.sh.
* Add QSFP monitor service for SFP and QSFP SI.

Signed-off-by: Wade He <chihen.he@gmail.com>
2017-09-25 17:54:17 -07:00
Jason Tsai
f570616b0d [Ingrasys]: Change hwmon kernel modules installation order (#980)
change hwmon kernel modules installation order on S8810-32Q/S8900-54XC/S8900-64XC/S9100-32X
change hwmon kernel modules installation order in i2c_utils.sh and update related fancontrol file
Check the hwmon kernel module insertion order in /sys/class/hwmon/hwmonX.
w83795 should be in /sys/class/hwmon/hwmon1, and jc42 should be the last one.
change hwmon kernel modules installation order on S8810-32Q/S8900-54XC/S8900-64XC/S9100-32X
2017-09-22 12:58:10 -07:00
Polly Hsu
69ff224169 [device/accton]: Add a new supported device, AS7312-54X (#955)
* [device/accton]: Add a new supported device and platform, AS7312-54X
Switch Vendor: Edge-core

Switch SKU: AS7312-54X

ASIC Vendor: Broadcom

Swich ASIC: Tomahawk

Port Configuration: 48x25G + 6x100G

SONiC Image: SONiC-ONIE-Broadcom
Signed-off-by: polly_hsu@accton.com

* Update port_config.ini

* Update sai.profile

* Update installer.conf

* Update led_proc_init.soc

* Update minigraph.xml
2017-09-21 12:37:22 -07:00
cytsai0409
e4cae4e889 [Ingrasys] update port_config.ini and sfputil for ingrasys platforms (#952)
* [Ingrasys] update port_config.ini and sfputil for ingrasys platforms

- What I did

Update port_config.ini on S8810-32Q/S8900-54XC/S8900-64XC/S9100-C32 platforms

- How I did it

Update alias field and add port field in port_config.ini

- How to verify it

Check with the "sfputil show eeprom" command. If no error occurs, it is passed.

- Description for the changelog

Update port_config.ini on S8810-32Q/S8900-54XC/S8900-64XC/S9100-C32 platforms

* [Ingrasys] remove debug message in sfputil.py on S8810-32Q

- What I did

remove debug message in sfputil.py on S8810-32Q

- How I did it

remove print in get_low_power_mode() and set_low_power_mode()

- How to verify it

There should be no debug message when executing "sfputil show lpmode"
and "sfputil lpmode on Ethernet0"command.

- Description for the changelog

remove debug message in sfputil.py on S8810-32Q

- A picture of a cute animal (not mandatory but encouraged)
2017-09-13 19:18:26 -07:00
Samuel Angebault
bc73082922 [devices]: Add led plugin for Arista 7060CX-32S and 7260CX3-64 (#945)
* Bump sonic-platform-modules-arista submodule

* Allow image specific mount option for containers

* Add led plugin for DCS-7060CX-32S

* Add led plugin for DCS-7260CX3-64
2017-09-11 15:29:42 -07:00
lguohan
5098d98976 [dell]: remove nos_to_sonic_grub.cfg (#943)
no longer needed in the build image
2017-09-08 08:26:30 -07:00
Joe LeVeque
bb1a7b2e22 Replace CRLF line endings with LF (#932) 2017-09-01 15:28:46 -07:00
wadelnn
7f1991cf2f Update sfputil support for Ingrasys S9100 (#929)
* Update sonic-platform-modules-ingrasys submodule.
* Fixed sfputil plugin for read QSFP EEPROM.
* Add sfputil plugin for get presence.
* Add sfputil plugin for get/set low power mode.
* Add sfputil plugin for reset QSFP.

Signed-off-by: Wade He chihen.he@gmail.com
2017-08-31 16:57:58 -07:00
padmanarayana
2d3b064437 [image]: build sonic-broadcom.raw image for sonic conversion from ftos (#901)
1. "make target/sonic-broadcom.raw" will create the compressed dd'able image.
2. This will also update the grub config files (device/dell/*/nos_to_sonic_grub.cfg) with the image versions.
2017-08-27 20:13:38 -07:00
Ying Xie
02c125f5ce [Arista-7260CX3] Rename hwSKU Arista-7260CX3-64 to Arista-7260CX3-C64, introducing new hwSKU Arista-7260CX3-D108C8 (#920)
* [Device] Rename SKU Arista-7260CX3-64 to Arista-7260CX3-C64

Renaming to add the speed indication: C64 means 64 100G ports.

renamed:    Arista-7260CX3-64/port_config.ini -> Arista-7260CX3-C64/port_config.ini
renamed:    Arista-7260CX3-64/sai.profile -> Arista-7260CX3-C64/sai.profile

* [Arista-7260cx3] Fix 64x100G port_config.ini

Reorder the port lanes to match the front panel port numbering.

* [Arista-7260CX3] add hwSKU Arista-7260CX3-D108C8

This hwSKU has 108x50G ports and 8x100G ports (2 x 100G ports are unused)
2017-08-25 17:31:19 -07:00
lguohan
9aa906a0a0 [devices]: modify sfputil plugins for mellanox devices for new platform API (#916)
get presence, get/set lpmode, reset are not implemented
2017-08-25 10:55:11 -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
jeankuo
12ba083b66 [Accton]: Add a new supported device AS5712-54X (#898)
* [Accton]: Add a new supported device AS5712-54X
Switch Vendor: Edge-core
Switch SKU: AS5712-54X
ASIC Vendor: Broadcom
Swich ASIC: TRIDENT2
Port Configuration: 48x10G+6x40G
SONiC Image: SONiC-ONIE-Broadcom

* [Accton]: Add a new supported device AS5712-54X (Update 1)
Switch Vendor: Edge-core
Switch SKU: AS5712-54X
ASIC Vendor: Broadcom
Swich ASIC: TRIDENT2
Port Configuration: 48x10G+6x40G
SONiC Image: SONiC-ONIE-Broadcom

* [Accton]: Add a new supported device AS5712-54X (Update 2)
Switch Vendor: Edge-core
Switch SKU: AS5712-54X
ASIC Vendor: Broadcom
Swich ASIC: TRIDENT2
Port Configuration: 48x10G+6x40G
SONiC Image: SONiC-ONIE-Broadcom

* [Accton]: Add a new supported device AS5712-54X (Update 3)
Switch Vendor: Edge-core
Switch SKU: AS5712-54X
ASIC Vendor: Broadcom
Swich ASIC: TRIDENT2
Port Configuration: 48x10G+6x40G
SONiC Image: SONiC-ONIE-Broadcom
2017-08-23 12:08:43 -07:00