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

Add belgite support #9511

Merged
merged 21 commits into from
May 24, 2022
Merged

Add belgite support #9511

merged 21 commits into from
May 24, 2022

Conversation

jerseyang
Copy link
Contributor

Why I did it

add celestica belgite platform

How I did it

add belgite platform in celestica

How to verify it

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106

Description for the changelog

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

@lgtm-com
Copy link

lgtm-com bot commented Dec 12, 2021

This pull request introduces 16 alerts when merging a188cc0 into 4803847 - view on LGTM.com

new alerts:

  • 5 for Unused import
  • 4 for Result of integer division may be truncated
  • 3 for Wrong number of arguments in a class instantiation
  • 1 for Module imports itself
  • 1 for 'import *' may pollute namespace
  • 1 for First argument to super() is not enclosing class
  • 1 for Variable defined multiple times

@@ -0,0 +1,57 @@
# name lanes alias index speed autoneg
Ethernet0 26 Ethernet1/0/1 1 1000 1
Copy link
Contributor

@Blueve Blueve Dec 21, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We usually use etp1 to etpN for alias

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the late reply, Blueve. Got it, I will check it will SDK guy and update it later.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blueve,
We did the change as you said .

  1. Change the alias to etp1 to etpN
  2. Change the AN from 1/0 to on/off
    Here is the log. Please review. I'll update later. Thanks.
    show-interface.log

@@ -0,0 +1,57 @@
# name lanes alias index speed autoneg
Ethernet0 26 Ethernet1/0/1 1 1000 1
Copy link
Contributor

@Blueve Blueve Dec 21, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use on or off in autoneg column?

@@ -0,0 +1,4 @@
CONSOLE_PORT=0x3f8
CONSOLE_DEV=0
CONSOLE_SPEED=115200
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lguohan do we need 9600 for better compatibility?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Blueve, seems our Banyan usually use the 9600 Baud Rate, also, I will update it later. Thanks Again.

@lgtm-com
Copy link

lgtm-com bot commented Jan 24, 2022

This pull request introduces 16 alerts when merging 7a21eca into 8a07af9 - view on LGTM.com

new alerts:

  • 5 for Unused import
  • 4 for Result of integer division may be truncated
  • 3 for Wrong number of arguments in a class instantiation
  • 1 for Module imports itself
  • 1 for 'import *' may pollute namespace
  • 1 for First argument to super() is not enclosing class
  • 1 for Variable defined multiple times

@prgeor
Copy link
Contributor

prgeor commented Jan 30, 2022

@jerseyang can you address comment?

@prgeor
Copy link
Contributor

prgeor commented Jan 31, 2022

@jerseyang can you comments?

@@ -0,0 +1,4 @@
{
"skip_ledd": true,
"skip_pcied": true
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there any specific reason that you need to skip the pcied for this platform?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Jinkang, Please ignore this first, I am doing the verification in my local. also I will update it later.
By the way, seems I have encountered some issue in the validation.
seems the latest code in master branch using the python 3.9 as the following shows:
root@sonic:/# find -name psu.py
./host/image-Add_Belgite_support.0-dirty-20220209.082924/rw/usr/local/lib/python 3.9/dist-packages/sonic_platform/psu.py
./host/image-Add_Belgite_support.0-dirty-20220209.082924/docker/overlay2/ff5ee5f 19a80d36a902574999c1324886c537568bd9e079402545b39a5af5e33/diff/usr/local/lib/pyt hon3.7/dist-packages/sonic_platform/psu.py
find: ‘./proc/18961/task/18961/net’: Invalid argument
find: ‘./proc/18961/net’: Invalid argument
find: ‘./proc/18962/task/18962/net’: Invalid argument
find: ‘./proc/18962/net’: Invalid argument
./usr/local/lib/python3.9/dist-packages/sonic_platform/psu.py

but our thermalctld still import the python3.7 's module, which as the syslog shows, do we update the python version
in SONiC codebase? seems the platform API verification is ok in branch 202106.

Jul 25 03:16:30.677708 sonic INFO systemd[1]: Condition check resulted in gbsyncd service being skipped.
Jul 25 03:16:30.708447 sonic INFO teamd.sh[6747]: Creating new teamd container with HWSKU CELESTICA-BELGITE
Jul 25 03:16:30.732821 sonic INFO pmon#/supervisord: psud Traceback (most recent call last):
Jul 25 03:16:30.736414 sonic INFO pmon#/supervisord: psud File "/usr/local/lib/python3.7/dist-packages/sonic_platform/platform.py", line 10, in
Jul 25 03:16:30.736414 sonic INFO pmon#/supervisord: psud from sonic_platform_pddf_base.pddfparse import PddfParse
Jul 25 03:16:30.736414 sonic INFO pmon#/supervisord: psud ModuleNotFoundError: No module named 'sonic_platform_pddf_base.pddfparse'
Jul 25 03:16:30.736414 sonic INFO pmon#/supervisord: psud
Jul 25 03:16:30.736414 sonic INFO pmon#/supervisord: psud During handling of the above exception, another exception occurred:
Jul 25 03:16:30.736414 sonic INFO pmon#/supervisord: psud
Jul 25 03:16:30.736414 sonic INFO pmon#/supervisord: psud Traceback (most recent call last):
Jul 25 03:16:30.736455 sonic INFO pmon#/supervisord: psud File "/usr/local/bin/psud", line 17, in
Jul 25 03:16:30.736455 sonic INFO pmon#/supervisord: psud from sonic_platform.psu import Psu
Jul 25 03:16:30.736455 sonic INFO pmon#/supervisord: psud File "/usr/local/lib/python3.7/dist-packages/sonic_platform/init.py", line 3, in
Jul 25 03:16:30.736479 sonic INFO pmon#/supervisord: psud from sonic_platform import *
Jul 25 03:16:30.736479 sonic INFO pmon#/supervisord: psud File "/usr/local/lib/python3.7/dist-packages/sonic_platform/platform.py", line 14, in
Jul 25 03:16:30.736505 sonic INFO pmon#/supervisord: psud raise ImportError(str(e) + "- required module not found")
Jul 25 03:16:30.736505 sonic INFO pmon#/supervisord: psud ImportError: No module named 'sonic_platform_pddf_base.pddfparse'- required module not found
Jul 25 03:16:30.736505 sonic INFO pmon#supervisord 2021-07-25 03:16:30,731 INFO exited: psud (exit status 1; not expected)
Jul 25 03:16:30.770896 sonic DEBUG bgp#bgpcfgd: execute command '['vtysh', '-c', 'show bgp vrf default neighbors json']'.
Jul 25 03:16:30.788016 sonic INFO pmon#/supervisord: thermalctld Traceback (most recent call last):

@prgeor
Copy link
Contributor

prgeor commented Feb 2, 2022

@jerseyang could you address comment?

@lgtm-com
Copy link

lgtm-com bot commented Feb 16, 2022

This pull request introduces 16 alerts when merging 7c3a57d into b7ae4f2 - view on LGTM.com

new alerts:

  • 5 for Unused import
  • 4 for Result of integer division may be truncated
  • 3 for Wrong number of arguments in a class instantiation
  • 1 for Module imports itself
  • 1 for 'import *' may pollute namespace
  • 1 for First argument to super() is not enclosing class
  • 1 for Variable defined multiple times

…the baud rate to 9600 2. optimize the alert in Azure community
@lgtm-com
Copy link

lgtm-com bot commented Feb 18, 2022

This pull request introduces 11 alerts when merging a20602a into d540492 - view on LGTM.com

new alerts:

  • 4 for Result of integer division may be truncated
  • 3 for Wrong number of arguments in a class instantiation
  • 1 for Module imports itself
  • 1 for 'import *' may pollute namespace
  • 1 for Variable defined multiple times
  • 1 for Wrong number of arguments in a call

@lgtm-com
Copy link

lgtm-com bot commented Mar 26, 2022

This pull request introduces 12 alerts when merging 77bfe8c into cc938e7 - view on LGTM.com

new alerts:

  • 4 for Result of integer division may be truncated
  • 2 for Unused import
  • 2 for Wrong number of arguments in a class instantiation
  • 1 for Module imports itself
  • 1 for 'import *' may pollute namespace
  • 1 for First argument to super() is not enclosing class
  • 1 for Variable defined multiple times

@jerseyang
Copy link
Contributor Author

@sujinmkang, I note my PR compiling failed in the Azure pipline, but in my local, it does not like this, it could be built successfully.

@jerseyang
Copy link
Contributor Author

my PR commit : 273d24a

jersey@cthgd047:~/work/jersey/SONiC/PR/Master_WS/sonic-buildimage$ git log
commit 273d24a (HEAD -> Add_Belgite_support, origin/Add_Belgite_support)
Merge: c97ce76 5cd6bc4
Author: nicwu nicwu@celestica.com
Date: Sat Apr 23 11:59:13 2022 +0000

Merge branch 'master' into Add_Belgite_support

commit 5cd6bc4 (origin/master, origin/HEAD, master)
Author: SuvarnaMeenakshi 50386592+SuvarnaMeenakshi@users.noreply.github.com
Date: Fri Apr 22 16:25:29 2022 -0700

and my runtime SONiC image:

root@sonic:/home/admin# show version

SONiC Software Version: SONiC.Add_Belgite_support.0-273d24a2a
Distribution: Debian 11.3
Kernel: 5.10.0-8-2-amd64
Build commit: 273d24a
Build date: Sat Apr 23 17:14:35 UTC 2022
Built by: jersey@cthgd047

@lgtm-com
Copy link

lgtm-com bot commented Apr 25, 2022

This pull request introduces 15 alerts when merging 318e5ea into 3fc3259 - view on LGTM.com

new alerts:

  • 8 for Unused import
  • 5 for Result of integer division may be truncated
  • 1 for Module imports itself
  • 1 for 'import *' may pollute namespace

@lgtm-com
Copy link

lgtm-com bot commented Apr 28, 2022

This pull request introduces 17 alerts when merging 6f31f8b into bc30528 - view on LGTM.com

new alerts:

  • 8 for Unused import
  • 5 for Result of integer division may be truncated
  • 1 for Module imports itself
  • 1 for 'import *' may pollute namespace
  • 1 for First argument to super() is not enclosing class
  • 1 for Variable defined multiple times

@lgtm-com
Copy link

lgtm-com bot commented May 9, 2022

This pull request introduces 17 alerts when merging c5ebd2f into 0e30ffe - view on LGTM.com

new alerts:

  • 8 for Unused import
  • 5 for Result of integer division may be truncated
  • 1 for Module imports itself
  • 1 for 'import *' may pollute namespace
  • 1 for First argument to super() is not enclosing class
  • 1 for Variable defined multiple times

@lgtm-com
Copy link

lgtm-com bot commented May 10, 2022

This pull request introduces 16 alerts when merging b725940 into f579f61 - view on LGTM.com

new alerts:

  • 7 for Unused import
  • 5 for Result of integer division may be truncated
  • 1 for Module imports itself
  • 1 for 'import *' may pollute namespace
  • 1 for First argument to super() is not enclosing class
  • 1 for Variable defined multiple times

@jerseyang
Copy link
Contributor Author

@prgeor can you help to check my PR? it has been blocked for long time. Thanks!

@Blueve
Copy link
Contributor

Blueve commented May 12, 2022

/azp list

@jerseyang
Copy link
Contributor Author

verification:

root@belgite-r0:/home/admin# show platform fan
Drawer LED FAN Speed Direction Presence Status Timestamp


Fantray1 green Fantray1_1 40% EXHAUST Present OK 2022051 1 10:11:28
Fantray2 green Fantray2_1 40% EXHAUST Present OK 2022051 1 10:11:28
Fantray3 green Fantray3_1 40% EXHAUST Present OK 2022051 1 10:11:28
N/A green PSU1_FAN1 23% EXHAUST Present OK 2022051 1 10:11:28
N/A green PSU2_FAN1 22% EXHAUST Present OK 2022051 1 10:11:28
root@belgite-r0:/home/admin#
root@belgite-r0:/home/admin#
root@belgite-r0:/home/admin#
root@belgite-r0:/home/admin# show platform fan
Drawer LED FAN Speed Direction Presence Status Timestamp


Fantray1 green Fantray1_1 40% EXHAUST Present OK 20220511 10:11:28
Fantray2 green Fantray2_1 40% EXHAUST Present OK 20220511 10:11:28
Fantray3 green Fantray3_1 40% EXHAUST Present OK 20220511 10:11:28
N/A green PSU1_FAN1 23% EXHAUST Present OK 20220511 10:11:28
N/A green PSU2_FAN1 22% EXHAUST Present OK 20220511 10:11:28
root@belgite-r0:/home/admin# show platform psustatus
PSU Model Serial HW Rev Voltage (V) Current (A) Power (W) Status LED


PSU 1 FSP550-20FM S1131000293 N/A 12.29 1.98 25.50 OK green
PSU 2 FSP550-20FM S1131000260 N/A 12.32 1.51 18.88 OK green
root@belgite-r0:/home/admin# show platform syseeprom
TlvInfo Header:
Id String: TlvInfo
Version: 1
Total Length: 187
TLV Name Code Len Value


Product Name 0x21 5 E1070
Part Number 0x22 14 R3059-F9010-01
Serial Number 0x23 22 E1070F2B071602BY200002
Base MAC Address 0x24 6 0C:48:C6:C4:53:1A
Manufacture Date 0x25 19 09/22/2021 17:00:01
Device Version 0x26 1 2
Label Revision 0x27 7 Belgite
Platform Name 0x28 21 x86_64-cel_belgite-r0
ONIE Version 0x29 16 2019.02.01.3.0.0
MAC Addresses 0x2A 2 57
Manufacturer 0x2B 9 Celestica
Manufacture Country 0x2C 3 THA
Vendor Name 0x2D 9 Celestica
Diag Version 0x2E 5 3.1.0
Service Tag 0x2F 2 LB
Vendor Extension 0xFD 3 0x2F 0xD4 0xFB
Vendor Extension 0xFD 3 0x2F 0xD4 0xFB
CRC-32 0xFE 4 0x50F87B35

(checksum valid)
root@belgite-r0:/home/admin# 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
Ethernet49 Present
Ethernet50 Present
Ethernet51 Present
Ethernet52 Present
Ethernet53 Present
Ethernet54 Present
Ethernet55 Present
root@belgite-r0:/home/admin# sfputil show eeprom
Ethernet0: SFP EEPROM not detected

Ethernet1: SFP EEPROM not detected

Ethernet2: SFP EEPROM not detected

Ethernet3: SFP EEPROM not detected

Ethernet4: SFP EEPROM not detected

Ethernet5: SFP EEPROM not detected

Ethernet6: SFP EEPROM not detected

Ethernet7: SFP EEPROM not detected

Ethernet8: SFP EEPROM not detected

Ethernet9: SFP EEPROM not detected

Ethernet10: SFP EEPROM not detected

Ethernet11: SFP EEPROM not detected

Ethernet12: SFP EEPROM not detected

Ethernet13: SFP EEPROM not detected

Ethernet14: SFP EEPROM not detected

Ethernet15: SFP EEPROM not detected

Ethernet16: SFP EEPROM not detected

Ethernet17: SFP EEPROM not detected

Ethernet18: SFP EEPROM not detected

Ethernet19: SFP EEPROM not detected

Ethernet20: SFP EEPROM not detected

Ethernet21: SFP EEPROM not detected

Ethernet22: SFP EEPROM not detected

Ethernet23: SFP EEPROM not detected

Ethernet24: SFP EEPROM not detected

Ethernet25: SFP EEPROM not detected

Ethernet26: SFP EEPROM not detected

Ethernet27: SFP EEPROM not detected

Ethernet28: SFP EEPROM not detected

Ethernet29: SFP EEPROM not detected

Ethernet30: SFP EEPROM not detected

Ethernet31: SFP EEPROM not detected

Ethernet32: SFP EEPROM not detected

Ethernet33: SFP EEPROM not detected

Ethernet34: SFP EEPROM not detected

Ethernet35: SFP EEPROM not detected

Ethernet36: SFP EEPROM not detected

Ethernet37: SFP EEPROM not detected

Ethernet38: SFP EEPROM not detected

Ethernet39: SFP EEPROM not detected

Ethernet40: SFP EEPROM not detected

Ethernet41: SFP EEPROM not detected

Ethernet42: SFP EEPROM not detected

Ethernet43: SFP EEPROM not detected

Ethernet44: SFP EEPROM not detected

Ethernet45: SFP EEPROM not detected

Ethernet46: SFP EEPROM not detected

Ethernet47: SFP EEPROM not detected

Ethernet48: SFP EEPROM detected
Application Advertisement: N/A
Connector: LC
Encoding: 64B/66B
Extended Identifier: GBIC/SFP defined by two-wire interface ID
Extended RateSelect Compliance: SFF-8431 (8/4/2G Rx Rate_Select only)
Identifier: SFP/SFP+/SFP28
Length OM3(10m): 30.0
Nominal Bit Rate(100Mbs): 103
Specification compliance:
10G Ethernet Compliance: Unknown
ESCON Compliance: Unknown
Ethernet Compliance: 1000BASE-SX
Fibre Channel Link Length: Unknown
Fibre Channel Speed: Unknown
Fibre Channel Transmission Media: Unknown
Fibre Channel Transmitter Technology: Unknown
Infiniband Compliance: Unknown
SFP+CableTechnology: Unknown
SONET Compliance Codes: Unknown
Vendor Date Code(YYYY-MM-DD Lot): 2014-05-13
Vendor Name: FINISAR CORP.
Vendor OUI: 00-90-65
Vendor PN: FTLX8571D3BCV
Vendor Rev: A
Vendor SN: ARJ26RZ

Ethernet49: SFP EEPROM detected
Application Advertisement: N/A
Connector: LC
Encoding: 64B/66B
Extended Identifier: GBIC/SFP defined by two-wire interface ID
Extended RateSelect Compliance: SFF-8431 (8/4/2G Rx Rate_Select only)
Identifier: SFP/SFP+/SFP28
Length OM3(10m): 30.0
Nominal Bit Rate(100Mbs): 103
Specification compliance:
10G Ethernet Compliance: Unknown
ESCON Compliance: Unknown
Ethernet Compliance: 1000BASE-SX
Fibre Channel Link Length: Unknown
Fibre Channel Speed: Unknown
Fibre Channel Transmission Media: Unknown
Fibre Channel Transmitter Technology: Unknown
Infiniband Compliance: Unknown
SFP+CableTechnology: Unknown
SONET Compliance Codes: Unknown
Vendor Date Code(YYYY-MM-DD Lot): 2014-05-14
Vendor Name: FINISAR CORP.
Vendor OUI: 00-90-65
Vendor PN: FTLX8571D3BCV
Vendor Rev: A
Vendor SN: ARK2C5Y

Ethernet50: SFP EEPROM detected
Application Advertisement: N/A
Connector: LC
Encoding: 64B/66B
Extended Identifier: GBIC/SFP defined by two-wire interface ID
Extended RateSelect Compliance: SFF-8431 (8/4/2G Rx Rate_Select only)
Identifier: SFP/SFP+/SFP28
Length OM3(10m): 30.0
Nominal Bit Rate(100Mbs): 103
Specification compliance:
10G Ethernet Compliance: Unknown
ESCON Compliance: Unknown
Ethernet Compliance: 1000BASE-SX
Fibre Channel Link Length: Unknown
Fibre Channel Speed: Unknown
Fibre Channel Transmission Media: Unknown
Fibre Channel Transmitter Technology: Unknown
Infiniband Compliance: Unknown
SFP+CableTechnology: Unknown
SONET Compliance Codes: Unknown
Vendor Date Code(YYYY-MM-DD Lot): 2014-08-12
Vendor Name: FINISAR CORP.
Vendor OUI: 00-90-65
Vendor PN: FTLX8571D3BCV
Vendor Rev: A
Vendor SN: AS4288A

Ethernet51: SFP EEPROM detected
Application Advertisement: N/A
Connector: LC
Encoding: 64B/66B
Extended Identifier: GBIC/SFP defined by two-wire interface ID
Extended RateSelect Compliance: SFF-8431 (8/4/2G Rx Rate_Select only)
Identifier: SFP/SFP+/SFP28
Length OM3(10m): 30.0
Nominal Bit Rate(100Mbs): 103
Specification compliance:
10G Ethernet Compliance: Unknown
ESCON Compliance: Unknown
Ethernet Compliance: 1000BASE-SX
Fibre Channel Link Length: Unknown
Fibre Channel Speed: Unknown
Fibre Channel Transmission Media: Unknown
Fibre Channel Transmitter Technology: Unknown
Infiniband Compliance: Unknown
SFP+CableTechnology: Unknown
SONET Compliance Codes: Unknown
Vendor Date Code(YYYY-MM-DD Lot): 2014-08-12
Vendor Name: FINISAR CORP.
Vendor OUI: 00-90-65
Vendor PN: FTLX8571D3BCV
Vendor Rev: A
Vendor SN: AS70EGL

Ethernet52: SFP EEPROM detected
Application Advertisement: N/A
Connector: LC
Encoding: 64B/66B
Extended Identifier: GBIC/SFP defined by two-wire interface ID
Extended RateSelect Compliance: SFF-8431 (8/4/2G Rx Rate_Select only)
Identifier: SFP/SFP+/SFP28
Length OM3(10m): 30.0
Nominal Bit Rate(100Mbs): 103
Specification compliance:
10G Ethernet Compliance: Unknown
ESCON Compliance: Unknown
Ethernet Compliance: 1000BASE-SX
Fibre Channel Link Length: Unknown
Fibre Channel Speed: Unknown
Fibre Channel Transmission Media: Unknown
Fibre Channel Transmitter Technology: Unknown
Infiniband Compliance: Unknown
SFP+CableTechnology: Unknown
SONET Compliance Codes: Unknown
Vendor Date Code(YYYY-MM-DD Lot): 2014-05-12
Vendor Name: FINISAR CORP.
Vendor OUI: 00-90-65
Vendor PN: FTLX8571D3BCV
Vendor Rev: A
Vendor SN: ARH3KGW

Ethernet53: SFP EEPROM detected
Application Advertisement: N/A
Connector: LC
Encoding: 64B/66B
Extended Identifier: GBIC/SFP defined by two-wire interface ID
Extended RateSelect Compliance: SFF-8431 (8/4/2G Rx Rate_Select only)
Identifier: SFP/SFP+/SFP28
Length OM3(10m): 30.0
Nominal Bit Rate(100Mbs): 103
Specification compliance:
10G Ethernet Compliance: Unknown
ESCON Compliance: Unknown
Ethernet Compliance: 1000BASE-SX
Fibre Channel Link Length: Unknown
Fibre Channel Speed: Unknown
Fibre Channel Transmission Media: Unknown
Fibre Channel Transmitter Technology: Unknown
Infiniband Compliance: Unknown
SFP+CableTechnology: Unknown
SONET Compliance Codes: Unknown
Vendor Date Code(YYYY-MM-DD Lot): 2014-05-14
Vendor Name: FINISAR CORP.
Vendor OUI: 00-90-65
Vendor PN: FTLX8571D3BCV
Vendor Rev: A
Vendor SN: ARK2AEQ

Ethernet54: SFP EEPROM detected
Application Advertisement: N/A
Connector: LC
Encoding: 64B/66B
Extended Identifier: GBIC/SFP defined by two-wire interface ID
Extended RateSelect Compliance: SFF-8431 (8/4/2G Rx Rate_Select only)
Identifier: SFP/SFP+/SFP28
Length OM3(10m): 30.0
Nominal Bit Rate(100Mbs): 103
Specification compliance:
10G Ethernet Compliance: Unknown
ESCON Compliance: Unknown
Ethernet Compliance: 1000BASE-SX
Fibre Channel Link Length: Unknown
Fibre Channel Speed: Unknown
Fibre Channel Transmission Media: Unknown
Fibre Channel Transmitter Technology: Unknown
Infiniband Compliance: Unknown
SFP+CableTechnology: Unknown
SONET Compliance Codes: Unknown
Vendor Date Code(YYYY-MM-DD Lot): 2014-05-14
Vendor Name: FINISAR CORP.
Vendor OUI: 00-90-65
Vendor PN: FTLX8571D3BCV
Vendor Rev: A
Vendor SN: ARK2AX3

Ethernet55: SFP EEPROM detected
Application Advertisement: N/A
Connector: LC
Encoding: 64B/66B
Extended Identifier: GBIC/SFP defined by two-wire interface ID
Extended RateSelect Compliance: SFF-8431 (8/4/2G Rx Rate_Select only)
Identifier: SFP/SFP+/SFP28
Length OM3(10m): 30.0
Nominal Bit Rate(100Mbs): 103
Specification compliance:
10G Ethernet Compliance: Unknown
ESCON Compliance: Unknown
Ethernet Compliance: 1000BASE-SX
Fibre Channel Link Length: Unknown
Fibre Channel Speed: Unknown
Fibre Channel Transmission Media: Unknown
Fibre Channel Transmitter Technology: Unknown
Infiniband Compliance: Unknown
SFP+CableTechnology: Unknown
SONET Compliance Codes: Unknown
Vendor Date Code(YYYY-MM-DD Lot): 2014-05-13
Vendor Name: FINISAR CORP.
Vendor OUI: 00-90-65
Vendor PN: FTLX8571D3BCV
Vendor Rev: A
Vendor SN: ARJ26R0

root@belgite-r0:/home/admin# show platform temperature
Sensor Temperature High TH Low TH Crit High TH Crit Low TH Warning Timestamp


LM75_U4 31 80.0 N/A 100 0.001 False 20220511 10:12:29
LM75_U7 30 80.0 N/A 100 0.001 False 20220511 10:12:29
LM75_U10 33.5 80.0 N/A 100 0.001 False 20220511 10:12:29
LM75_U60 41.5 78.0 N/A 100 0.001 False 20220511 10:12:29
PSU1_TEMP1 32 N/A N/A 100 0.001 False 20220511 10:12:29
PSU2_TEMP1 31 N/A N/A 100 0.001 False 20220511 10:12:29
root@belgite-r0:/home/admin#
root@belgite-r0:/home/admin# show platform
fan pcieinfo ssdhealth syseeprom
firmware psustatus summary temperature
root@belgite-r0:/home/admin# show platform
fan pcieinfo ssdhealth syseeprom
firmware psustatus summary temperature
root@belgite-r0:/home/admin# show platform
fan pcieinfo ssdhealth syseeprom
firmware psustatus summary temperature
root@belgite-r0:/home/admin# show platform pcieinfo
Failed to load platform Pcie module. Error : No module named 'sonic_platform.pcie', fallback to load Pcie common utility.
==============================Display PCIe Device===============================
bus:dev.fn 00:00.0 - dev_id=0x1980, Host bridge: Intel Corporation Atom Processor C3000 Series System Agent (rev 11)
bus:dev.fn 00:04.0 - dev_id=0x19a1, Host bridge: Intel Corporation Atom Processor C3000 Series Error Registers (rev 11)
bus:dev.fn 00:05.0 - dev_id=0x19a2, Generic system peripheral [0807]: Intel Corporation Atom Processor C3000 Series Root Complex Event Collector (rev 11)
bus:dev.fn 00:06.0 - dev_id=0x19a3, PCI bridge: Intel Corporation Atom Processor C3000 Series Integrated QAT Root Port (rev 11)
bus:dev.fn 00:09.0 - dev_id=0x19a4, PCI bridge: Intel Corporation Atom Processor C3000 Series PCI Express Root Port #0 (rev 11)
bus:dev.fn 00:0b.0 - dev_id=0x19a6, PCI bridge: Intel Corporation Atom Processor C3000 Series PCI Express Root Port #2 (rev 11)
bus:dev.fn 00:0e.0 - dev_id=0x19a8, PCI bridge: Intel Corporation Atom Processor C3000 Series PCI Express Root Port #4 (rev 11)
bus:dev.fn 00:12.0 - dev_id=0x19ac, System peripheral: Intel Corporation Atom Processor C3000 Series SMBus Contoller - Host (rev 11)
bus:dev.fn 00:14.0 - dev_id=0x19c2, SATA controller: Intel Corporation Atom Processor C3000 Series SATA Controller 1 (rev 11)
bus:dev.fn 00:15.0 - dev_id=0x19d0, USB controller: Intel Corporation Atom Processor C3000 Series USB 3.0 xHCI Controller (rev 11)
bus:dev.fn 00:16.0 - dev_id=0x19d1, PCI bridge: Intel Corporation Atom Processor C3000 Series Integrated LAN Root Port #0 (rev 11)
bus:dev.fn 00:18.0 - dev_id=0x19d3, Communication controller: Intel Corporation Atom Processor C3000 Series ME HECI 1 (rev 11)
bus:dev.fn 00:1a.0 - dev_id=0x19d8, Serial controller: Intel Corporation Atom Processor C3000 Series HSUART Controller (rev 11)
bus:dev.fn 00:1a.1 - dev_id=0x19d8, Serial controller: Intel Corporation Atom Processor C3000 Series HSUART Controller (rev 11)
bus:dev.fn 00:1a.2 - dev_id=0x19d8, Serial controller: Intel Corporation Atom Processor C3000 Series HSUART Controller (rev 11)
bus:dev.fn 00:1f.0 - dev_id=0x19dc, ISA bridge: Intel Corporation Atom Processor C3000 Series LPC or eSPI (rev 11)
bus:dev.fn 00:1f.2 - dev_id=0x19de, Memory controller: Intel Corporation Atom Processor C3000 Series Power Management Controller (rev 11)
bus:dev.fn 00:1f.4 - dev_id=0x19df, SMBus: Intel Corporation Atom Processor C3000 Series SMBus controller (rev 11)
bus:dev.fn 00:1f.5 - dev_id=0x19e0, Serial bus controller [0c80]: Intel Corporation Atom Processor C3000 Series SPI Controller (rev 11)
bus:dev.fn 01:00.0 - dev_id=0x19e2, Co-processor: Intel Corporation Atom Processor C3000 Series QuickAssist Technology (rev 11)
bus:dev.fn 02:00.0 - dev_id=0xb277, Ethernet controller: Broadcom Inc. and subsidiaries Device b277 (rev 02)
bus:dev.fn 03:00.0 - dev_id=0x1533, Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)
bus:dev.fn 05:00.0 - dev_id=0x15c2, Ethernet controller: Intel Corporation Ethernet Connection X553 Backplane (rev 11)
bus:dev.fn 05:00.1 - dev_id=0x15c2, Ethernet controller: Intel Corporation Ethernet Connection X553 Backplane (rev 11)
root@belgite-r0:/home/admin# show platform ssdhealth
Device Model : M.2 (S80) 3IE4
Health : 9%
Temperature : 37C

root@belgite-r0:/home/admin# show version

SONiC Software Version: SONiC.Add_Belgite_support.0-65c02f41e
Distribution: Debian 11.3
Kernel: 5.10.0-8-2-amd64
Build commit: 65c02f41e
Build date: Mon May 9 17:09:37 UTC 2022
Built by: jersey@cthgd047

Platform: x86_64-cel_belgite-r0
HwSKU: CELESTICA-BELGITE
ASIC: broadcom
ASIC Count: 1
Serial Number: E1070F2B071602BY200002
Model Number: R3059-F9010-01
Hardware Revision:
Uptime: 10:16:13 up 18:28, 1 user, load average: 0.88, 0.84, 0.77
Date: Wed 11 May 2022 10:16:13

Docker images:
REPOSITORY TAG IMAGE ID SIZE
docker-dhcp-relay latest 60f7d78ea3c5 444MB
docker-sonic-telemetry Add_Belgite_support.0-65c02f41e 65d635e98bab 515MB
docker-sonic-telemetry latest 65d635e98bab 515MB
docker-router-advertiser Add_Belgite_support.0-65c02f41e 6550073459f4 435MB
docker-router-advertiser latest 6550073459f4 435MB
docker-mux Add_Belgite_support.0-65c02f41e 914ea73ab645 483MB
docker-mux latest 914ea73ab645 483MB
docker-macsec Add_Belgite_support.0-65c02f41e 970a7ed04efb 453MB
docker-macsec latest 970a7ed04efb 453MB
docker-database Add_Belgite_support.0-65c02f41e 2156b5156145 435MB
docker-database latest 2156b5156145 435MB
docker-teamd Add_Belgite_support.0-65c02f41e 94747af6bc8c 420MB
docker-teamd latest 94747af6bc8c 420MB
docker-syncd-brcm Add_Belgite_support.0-65c02f41e 72d362948837 747MB
docker-syncd-brcm latest 72d362948837 747MB
docker-sonic-mgmt-framework Add_Belgite_support.0-65c02f41e e8159e609310 550MB
docker-sonic-mgmt-framework latest e8159e609310 550MB
docker-snmp Add_Belgite_support.0-65c02f41e 1288e4659ab9 449MB
docker-snmp latest 1288e4659ab9 449MB
docker-sflow Add_Belgite_support.0-65c02f41e b2535d4b7578 421MB
docker-sflow latest b2535d4b7578 421MB
docker-platform-monitor Add_Belgite_support.0-65c02f41e 5ebf4c9922ab 519MB
docker-platform-monitor latest 5ebf4c9922ab 519MB
docker-orchagent Add_Belgite_support.0-65c02f41e 80417bf4e154 439MB
docker-orchagent latest 80417bf4e154 439MB
docker-nat Add_Belgite_support.0-65c02f41e eb5be5b8d46e 423MB
docker-nat latest eb5be5b8d46e 423MB
docker-lldp Add_Belgite_support.0-65c02f41e f255e741e215 446MB
docker-lldp latest f255e741e215 446MB
docker-gbsyncd-credo Add_Belgite_support.0-65c02f41e 4f45c4645d5b 423MB
docker-gbsyncd-credo latest 4f45c4645d5b 423MB
docker-fpm-frr Add_Belgite_support.0-65c02f41e f7066b6452d7 439MB
docker-fpm-frr latest f7066b6452d7 439MB

root@belgite-r0:/home/admin#

@prgeor @lguohan can you help to check this PR? Thanks!

@jerseyang
Copy link
Contributor Author

@Blueve Hi JinKan, please help to check, Thanks!

@Blueve
Copy link
Contributor

Blueve commented May 16, 2022

Hi @sujinmkang , could you help review the PR again? Build and tests are both pass now

@jerseyang
Copy link
Contributor Author

@sujinmkang, Any update about this PR? Thanks!

@jerseyang
Copy link
Contributor Author

@Blueve, Do we merge this PR into master? Seems I have not seen my platform in the master branch? Thanks!

@jerseyang
Copy link
Contributor Author

@Blueve, Hi Jing, any problem about this PR?

@sujinmkang sujinmkang merged commit c92bfe0 into sonic-net:master May 24, 2022
@jerseyang jerseyang deleted the Add_Belgite_support branch May 25, 2022 06:31
@jerseyang jerseyang restored the Add_Belgite_support branch May 25, 2022 06:32
@jerseyang jerseyang deleted the Add_Belgite_support branch May 26, 2022 11:23
liushilongbuaa pushed a commit to liushilongbuaa/sonic-buildimage that referenced this pull request Jun 20, 2022
…anch

Related work items: #52, #71, #73, #75, #77, sonic-net#1306, sonic-net#1588, sonic-net#1991, sonic-net#2031, sonic-net#2040, sonic-net#2053, sonic-net#2066, sonic-net#2069, sonic-net#2087, sonic-net#2107, sonic-net#2110, sonic-net#2112, sonic-net#2113, sonic-net#2117, sonic-net#2124, sonic-net#2125, sonic-net#2126, sonic-net#2128, sonic-net#2130, sonic-net#2131, sonic-net#2132, sonic-net#2133, sonic-net#2134, sonic-net#2135, sonic-net#2136, sonic-net#2137, sonic-net#2138, sonic-net#2139, sonic-net#2140, sonic-net#2143, sonic-net#2158, sonic-net#2161, sonic-net#2233, sonic-net#2243, sonic-net#2250, sonic-net#2254, sonic-net#2260, sonic-net#2261, sonic-net#2267, sonic-net#2278, sonic-net#2282, sonic-net#2285, sonic-net#2288, sonic-net#2289, sonic-net#2292, sonic-net#2294, sonic-net#8887, sonic-net#9279, sonic-net#9390, sonic-net#9511, sonic-net#9700, sonic-net#10025, sonic-net#10322, sonic-net#10479, sonic-net#10484, sonic-net#10493, sonic-net#10500, sonic-net#10580, sonic-net#10595, sonic-net#10628, sonic-net#10634, sonic-net#10635, sonic-net#10644, sonic-net#10670, sonic-net#10691, sonic-net#10716, sonic-net#10731, sonic-net#10750, sonic-net#10751, sonic-net#10752, sonic-net#10761, sonic-net#10769, sonic-net#10775, sonic-net#10776, sonic-net#10779, sonic-net#10786, sonic-net#10792, sonic-net#10793, sonic-net#10800, sonic-net#10806, sonic-net#10826, sonic-net#10839, sonic-net#10840, sonic-net#10842, sonic-net#10844, sonic-net#10847, sonic-net#10849, sonic-net#10852, sonic-net#10865, sonic-net#10872, sonic-net#10877, sonic-net#10886, sonic-net#10889, sonic-net#10903, sonic-net#10904, sonic-net#10905, sonic-net#10913, sonic-net#10914, sonic-net#10916, sonic-net#10919, sonic-net#10925, sonic-net#10926, sonic-net#10929, sonic-net#10933, sonic-net#10934, sonic-net#10937, sonic-net#10941, sonic-net#10947, sonic-net#10952, sonic-net#10953, sonic-net#10957, sonic-net#10959, sonic-net#10971, sonic-net#10972, sonic-net#10980
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.

None yet

8 participants