Skip to content

[accton/as5835-54x] Fix sfp related function like tx_disable#4763

Merged
jleveque merged 1 commit intosonic-net:masterfrom
kuanyu99:master
Jun 18, 2020
Merged

[accton/as5835-54x] Fix sfp related function like tx_disable#4763
jleveque merged 1 commit intosonic-net:masterfrom
kuanyu99:master

Conversation

@kuanyu99
Copy link
Contributor

  • Fixing incorrect sfp path inside the accton_as5835_54x_util.py

Signed-off-by: kuanyu_chen [email protected]

- Why I did it

The tx_disable function isn't work for the accton_ax5835-54x device.

- How I did it

Fix the incorrect path of the sfp node path inside the util file.

- How to verify it

Test with
"sudo accton_as5835_54x_util.py show"
"sudo accton_as5835_54x_util.py set sfp"

There should see correct value for module_present and module_tx_disable. And should able to set it.

- Description for the changelog

Fix sfp function of the accton_as5835_54x_util.py.

* Fixing incorrect sfp path inside the accton_as5835_54x_util.py

Signed-off-by: kuanyu_chen <[email protected]>
@kuanyu99
Copy link
Contributor Author

retest vsimage please

@kuanyu99
Copy link
Contributor Author

@jleveque Could you help to review this, please?

@jleveque jleveque merged commit f2af8aa into sonic-net:master Jun 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants