Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Edgecore][PDDF/AS5835-54T] Support PDDF #14387

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

jostar-yang
Copy link
Contributor

Why I did it

Support PDDF for AS5835-54T

How I did it

Implement pddf related code and files

How to verify it

Test show cmd, sfputil
root@as5835-54t-2:~# show platform temp
Sensor Temperature High TH Low TH Crit High TH Crit Low TH Warning Timestamp


        CB_temp(0x4B)           42           80       N/A             N/A            N/A      False  20230322 08:45:28

MB_FrontMiddle_temp(0x4C) 36.5 80 N/A N/A N/A False 20230322 08:45:28
MB_RearLeft_temp(0x4A) 33 80 N/A N/A N/A False 20230322 08:45:28
MB_RearLeft_temp(0x49) 32.5 80 N/A N/A N/A False 20230322 08:45:28
PSU-1 temp sensor 1 39 80 N/A N/A N/A False 20230322 08:45:28
PSU-2 temp sensor 1 31 80 N/A N/A N/A False 20230322 08:45:28
coretemp-isa-0000 54 82 N/A 104.0 N/A False 20230322 08:45:28
root@as5835-54t-2:~# show platform fan
Drawer LED FAN Speed Direction Presence Status Timestamp


FanTray1 green FAN-1F 40% exhaust Present OK 20230322 08:45:28
FanTray1 green FAN-1R 40% exhaust Present OK 20230322 08:45:28
FanTray2 green FAN-2F 40% exhaust Present OK 20230322 08:45:28
FanTray2 green FAN-2R 40% exhaust Present OK 20230322 08:45:28
FanTray3 green FAN-3F 40% exhaust Present OK 20230322 08:45:28
FanTray3 green FAN-3R 40% exhaust Present OK 20230322 08:45:28
FanTray4 green FAN-4F 40% exhaust Present OK 20230322 08:45:28
FanTray4 green FAN-4R 40% exhaust Present OK 20230322 08:45:28
FanTray5 green FAN-5F 40% exhaust Present OK 20230322 08:45:28
FanTray5 green FAN-5R 40% exhaust Present OK 20230322 08:45:28
N/A N/A PSU-1 FAN-1 18% exhaust Present OK 20230322 08:45:28
N/A N/A PSU-2 FAN-1 0% exhaust Present Not OK 20230322 08:45:28
root@as5835-54t-2:~# show platform psustatus
PSU Model Serial HW Rev Voltage (V) Current (A) Power (W) Status LED


PSU 1 YM-1401A SA060V061911000280 N/A 11.78 7.95 91.00 OK green
PSU 2 YM-1401A SA060V061911000266 N/A
root@as5835-54t-2:~# sfputil show presence
Port Presence


Ethernet0 Not present
Ethernet1 Not present
Ethernet2 Not present
Ethernet3 Not present
Ethernet4 Not present
Ethernet5 Not present
Ethernet6 Not present
Ethernet7 Not present
Ethernet8 Not present
Ethernet9 Not present
Ethernet10 Not present
Ethernet11 Not present
Ethernet12 Not present
Ethernet13 Not present
Ethernet14 Not present
Ethernet15 Not present
Ethernet16 Not present
Ethernet17 Not present
Ethernet18 Not present
Ethernet19 Not present
Ethernet20 Not present
Ethernet21 Not present
Ethernet22 Not present
Ethernet23 Not present
Ethernet24 Not present
Ethernet25 Not present
Ethernet26 Not present
Ethernet27 Not present
Ethernet28 Not present
Ethernet29 Not present
Ethernet30 Not present
Ethernet31 Not present
Ethernet32 Not present
Ethernet33 Not present
Ethernet34 Not present
Ethernet35 Not present
Ethernet36 Not present
Ethernet37 Not present
Ethernet38 Not present
Ethernet39 Not present
Ethernet40 Not present
Ethernet41 Not present
Ethernet42 Not present
Ethernet43 Not present
Ethernet44 Not present
Ethernet45 Not present
Ethernet46 Not present
Ethernet47 Not present
Ethernet48 Present
Ethernet52 Present
Ethernet56 Present
Ethernet60 Present
Ethernet64 Present
Ethernet68 Present

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211

Description for the changelog

Ensure to add label/tag for the feature raised. example - PR#2174 under sonic-utilities repo. where, Generic Config and Update feature has been labelled as GCU.

Link to config_db schema for YANG module changes

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

Signed-off-by: jostar-yang <jostar_yang@edge-core.com>
@jostar-yang jostar-yang requested a review from lguohan as a code owner March 22, 2023 10:01
ec-michael-shih added a commit to ec-michael-shih/sonic-buildimage that referenced this pull request Dec 13, 2024
Detail:
    #### Why I did it
    Enhance features and sonic-platform and fixed bugs on this platform.

    #### How I did it
    It's base on [PR14387](sonic-net#14387) and enhance features.
    Finally to sonic-mgmt(202311) pytest successfully.

    #### How to verify it

    1. Check sonic-platform command and show good:
    `show platform {fan, temperature, firmware status, syseeprom, psustatus}`
    2. Do sonic-mgmt pytest:

    #### Description for the changelog

Signed-off-by: michael_shih <michael_shih@accton.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants