Skip to content

[close]#4964

Closed
juntseng62 wants to merge 3 commits intosonic-net:masterfrom
AlphaNetworks:master
Closed

[close]#4964
juntseng62 wants to merge 3 commits intosonic-net:masterfrom
AlphaNetworks:master

Conversation

@juntseng62
Copy link
Contributor

- What I did it
Add new platform x86_64-alphanetworks_snj60b0-320f (Tomahawk3)
ASIC Vendor: Broadcom
Switch ASIC: Tomahawk3
Port Config: 32x400G
- How I did it
Provide device and platform related files.
- How to verify it
show platform fan
show platform ssdhealth
show platform psustatus
show platform summary
show platform syseeprom
show platform temperature
show interface status
- Description for the changelog

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

@lgtm-com
Copy link

lgtm-com bot commented Jul 14, 2020

This pull request introduces 3 alerts when merging dd35bfb into de16e6f - view on LGTM.com

new alerts:

  • 3 for 'import *' may pollute namespace

@juntseng62
Copy link
Contributor Author

[LGTM] : I suppress the 3 import * warning. Reference: #4677.
Those alerts are from Mellanox's codebase.

@juntseng62
Copy link
Contributor Author

retest mellanox please

@juntseng62
Copy link
Contributor Author

retest vsimage please

@juntseng62
Copy link
Contributor Author

@jleveque Please help review. Thanks!

@lgtm-com
Copy link

lgtm-com bot commented Jul 16, 2020

This pull request introduces 3 alerts when merging 1ec2fc8 into 18bfa6d - view on LGTM.com

new alerts:

  • 3 for 'import *' may pollute namespace

@juntseng62
Copy link
Contributor Author

retest vsimage please

@@ -0,0 +1,2068 @@
/*
* SFP driver for alphanetworks snj60b0-320f sfp
Copy link
Contributor

Choose a reason for hiding this comment

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

Please use existing optoe driver in lieu of creating a custom driver.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because of HW design, we use a custom driver.

Copy link
Contributor

Choose a reason for hiding this comment

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

Can you explain why your HW design does not work with the optoe driver? As long as your HW conforms to the standard specs, it should be able to access the EEPROM fine.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Why we need proprietary EEPROM driver is because we use “CPLD” instead of I/O port expansion in our HW design. Therefore we need to control CPLD first, then we could access EEPROM. (The CPLD will also have functionality other than EEPROM access.)
It is our HW design for saving cost and space.

Copy link
Contributor

Choose a reason for hiding this comment

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

@lguohan to comment on this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@lguohan , Please help to comment this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@lguohan , Please help to comment this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@lguohan , Please help to comment this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@lguohan, Please help to comment it?

@lgtm-com
Copy link

lgtm-com bot commented Jul 17, 2020

This pull request introduces 3 alerts when merging 800c17a into 458b4ae - view on LGTM.com

new alerts:

  • 3 for 'import *' may pollute namespace

@juntseng62
Copy link
Contributor Author

@jleveque Please help review. Thanks!

@juntseng62
Copy link
Contributor Author

@lguohan Please help review. Thanks!

@juntseng62 juntseng62 requested a review from jleveque July 21, 2020 06:13
@juntseng62
Copy link
Contributor Author

@jleveque Could you merge this pull request?

@jleveque
Copy link
Contributor

@lguohan to review, also.

@juntseng62
Copy link
Contributor Author

@lguohan Please help review. Thanks!

2 similar comments
@juntseng62
Copy link
Contributor Author

@lguohan Please help review. Thanks!

@juntseng62
Copy link
Contributor Author

@lguohan Please help review. Thanks!

@juntseng62
Copy link
Contributor Author

@jleveque Could you merge this pull request?

@juntseng62
Copy link
Contributor Author

@jleveque Could you merge this pull request?

@juntseng62 juntseng62 requested a review from jleveque August 21, 2020 10:17
@juntseng62
Copy link
Contributor Author

@jleveque Could you merge this pull request?

2 similar comments
@juntseng62
Copy link
Contributor Author

@jleveque Could you merge this pull request?

@juntseng62
Copy link
Contributor Author

@jleveque Could you merge this pull request?

@jleveque jleveque changed the title Add platfrom snj60b0-320f (TH3) [Alpha] Add platform snj60b0-320f (TH3) Dec 22, 2020
Copy link
Contributor

@jleveque jleveque left a comment

Choose a reason for hiding this comment

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

As comments. Also, please note that SONiC is transitioning from Python 2 to Python 3. Please ensure you are building and installing both Python 2 and Python 3 versions of your sonic_platfomr package. Once the transition is complete, you will be able to stop building the Python 2 package.

@@ -0,0 +1,14 @@
#!/usr/bin/env python
Copy link
Contributor

Choose a reason for hiding this comment

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

Shebang not necessary here, as the script is not executable. Please remove.

@@ -0,0 +1,219 @@
#!/usr/bin/env python
Copy link
Contributor

Choose a reason for hiding this comment

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

Shebang not necessary here, as the script is not executable. Please remove.

@@ -0,0 +1,79 @@
#!/usr/bin/env python
Copy link
Contributor

Choose a reason for hiding this comment

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

Shebang not necessary here, as the script is not executable. Please remove.

@@ -0,0 +1,224 @@
#!/usr/bin/env python
Copy link
Contributor

Choose a reason for hiding this comment

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

Shebang not necessary here, as the script is not executable. Please remove.

@@ -0,0 +1,22 @@
#!/usr/bin/env python
Copy link
Contributor

Choose a reason for hiding this comment

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

Shebang not necessary here, as the script is not executable. Please remove.

@@ -0,0 +1,925 @@
#!/usr/bin/env python
Copy link
Contributor

Choose a reason for hiding this comment

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

Shebang not necessary here, as the script is not executable. Please remove.

@@ -0,0 +1,176 @@
#!/usr/bin/env python
Copy link
Contributor

Choose a reason for hiding this comment

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

Shebang not necessary here, as the script is not executable. Please remove.

@juntseng62 juntseng62 changed the title [Alpha] Add platform snj60b0-320f (TH3) [close] Sep 14, 2021
@juntseng62 juntseng62 closed this Sep 14, 2021
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