sonic-net / SONiC

Landing page for Software for Open Networking in the Cloud (SONiC) - https://sonic-net.github.io/SONiC/
2.24k stars 1.13k forks source link

sfputil missing on Wedge 100BF-65X #173

Open sandypav opened 6 years ago

sandypav commented 6 years ago

Could you please clarify if this is a known issue and if it is planned to be fixed:

admin@switch:~$ sudo sfputil show eeprom Failed to load platform module 'sfputil': [Errno 2] No such file or directory

arkadiyshapiro commented 6 years ago

I believe we have not upstreamed that part yet. yes we plan to fix it or can offer private SONiC image before fix is upstreamed.

lguohan commented 6 years ago

@arkadiyshapiro , is it supported now?

puck commented 5 years ago

Any progress? I see it's missing from Wedge100 C32...

roylee123 commented 5 years ago

Hi,
I'm trying to check this issue. With the sonic-barefoot.bin downloaded from sonic-jenkins #14, I failed to run bf_switchd or bfshell. It reported "Error: Connection refused" all the time. Can you run bfshell on you Wedge100bf-32x?
If yes, how do you run it?

rvdpdotorg commented 5 years ago

I can run bfshell on a -32X in the docker-syncd-bfn container. It shows port info, EEPROM, etc. But I am using the 201807 branch.

mkbalani commented 5 years ago

Can you try restarting syncd separately as /usr/bin/syncd_start.sh within syncd container. This shall give you more verbose output. We don't see this issue on 201807 branch of SONiC.

mkbalani commented 5 years ago

For missing sfputil, as mentioned by Arkadiy, we do have a fix in a private SONiC branch/image. I'll check to see when and to what branch can we get it upstreamed to.

roylee123 commented 5 years ago

mkbalani, I can run bfshell on image built from 201807.

For Wedge100BF-32X, I saw sfputil working well, root@switch:/home/admin# sfputil Usage: sfputil.py function: sfp_dump_port sfp_dump_all sfp_reset sfp_get_presence get_low_power_mode set_low_power_mode <lp_mode: 0/1>

I will put 65X to the test later.

By the way, I sent a PR for syseeprom and psuutil, https://github.com/Azure/sonic-buildimage/pull/2359.