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

Platform: Add support for the Nokia-7215 platform #5827

Merged
merged 7 commits into from
Nov 19, 2020
Merged

Platform: Add support for the Nokia-7215 platform #5827

merged 7 commits into from
Nov 19, 2020

Conversation

carl-nokia
Copy link
Contributor

- Why I did it
Add new Nokia platform
Platform: armhf-nokia_ixs7215_52x-r0
HwSKU: Nokia-7215
ASIC: marvell
Port Config: 48x1G + 4x10G

- How I did it
Provide device and platform related files.

- How to verify it
show platform summary
show platform syseeprom
show platform fan
show platform psustatus
show platform temperature
show platform firmware status
show platform ssdhealth
show interface status

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

  • 201811
  • 201911
  • 202006

- Description for the changelog

Platform: Add support for the Nokia-7215 platform

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

@ghost
Copy link

ghost commented Nov 5, 2020

CLA assistant check
All CLA requirements met.

@lgtm-com
Copy link

lgtm-com bot commented Nov 5, 2020

This pull request introduces 37 alerts when merging 842a094 into 13f8e9c - view on LGTM.com

new alerts:

  • 13 for Unused import
  • 8 for Variable defined multiple times
  • 8 for Wrong number of arguments in a class instantiation
  • 4 for 'import *' may pollute namespace
  • 2 for Unused local variable
  • 1 for Module imports itself
  • 1 for Except block handles 'BaseException'

@lgtm-com
Copy link

lgtm-com bot commented Nov 5, 2020

This pull request introduces 15 alerts when merging b16feec into 13ff7b3 - view on LGTM.com

new alerts:

  • 8 for Wrong number of arguments in a class instantiation
  • 4 for 'import *' may pollute namespace
  • 2 for Unused import
  • 1 for Module imports itself

@carl-nokia
Copy link
Contributor Author

retest vsimage please

@lgtm-com
Copy link

lgtm-com bot commented Nov 7, 2020

This pull request introduces 11 alerts when merging 22c5f8a into 23b0e07 - view on LGTM.com

new alerts:

  • 8 for Wrong number of arguments in a class instantiation
  • 3 for 'import *' may pollute namespace

@carl-nokia
Copy link
Contributor Author

carl-nokia commented Nov 8, 2020 via email

@lgtm-com
Copy link

lgtm-com bot commented Nov 9, 2020

This pull request introduces 11 alerts when merging 0e2ba12 into 84aa99d - view on LGTM.com

new alerts:

  • 8 for Wrong number of arguments in a class instantiation
  • 3 for 'import *' may pollute namespace

@carl-nokia
Copy link
Contributor Author

retest vsimage please

@carl-nokia
Copy link
Contributor Author

retest broadcom image please

@carl-nokia carl-nokia closed this Nov 10, 2020
@carl-nokia carl-nokia reopened this Nov 10, 2020
@carl-nokia
Copy link
Contributor Author

please retest baseimage

@carl-nokia
Copy link
Contributor Author

retest baseimage please

@carl-nokia
Copy link
Contributor Author

retest baseimage image please

@@ -0,0 +1,379 @@
#!/usr/bin/env python
Copy link
Collaborator

@lguohan lguohan Nov 13, 2020

Choose a reason for hiding this comment

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

nokia team, is the script python3 compatible?

@jleveque , i think all platform modules should be python3 compatible now since we are switching to python3 now.

Copy link
Contributor

Choose a reason for hiding this comment

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

We are currently migrating the platform daemons to Python 3. In the interim, the sonic_platform package should be built as both a Python 2 and Python 3 package, that way the Python 2 package will be used unit the daemons are migrated, then the Python 3 package will be used and we can then eliminate the Python 2 package.

@lguohan
Copy link
Collaborator

lguohan commented Nov 13, 2020

what is this vme binary? need to be in source code format.

@@ -0,0 +1,17 @@
#!/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.

File is not executable; remove shebang.

@@ -0,0 +1,136 @@
#!/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.

File is not executable; remove shebang.

@@ -0,0 +1,36 @@
#!/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.

File is not executable; remove shebang.

Comment on lines 135 to 136


Copy link
Contributor

Choose a reason for hiding this comment

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

Remove trailing blank lines

Comment on lines 34 to 36



Copy link
Contributor

Choose a reason for hiding this comment

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

Remove trailing blank lines

@@ -0,0 +1,24 @@
#!/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.

File is not executable; remove shebang.

@@ -0,0 +1,227 @@
#!/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.

File is not executable; remove shebang.

@@ -0,0 +1,118 @@
#!/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.

File is not executable; remove shebang.

@@ -0,0 +1,228 @@
#!/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.

File is not executable; remove shebang.

@@ -0,0 +1,137 @@
#!/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.

File is not executable; remove shebang.

@lgtm-com
Copy link

lgtm-com bot commented Nov 13, 2020

This pull request introduces 11 alerts when merging f40e4bb into 48822be - view on LGTM.com

new alerts:

  • 8 for Wrong number of arguments in a class instantiation
  • 3 for 'import *' may pollute namespace

@carl-nokia
Copy link
Contributor Author

The VME binary is removed. We will address support for cpld update program "install firmware" in a subsequent PR right away. The shebang is removed and white space cleaned up. We will address adding the python3 wheel per the updated porting guide in additional PR ASAP if thats o.k?

@lgtm-com
Copy link

lgtm-com bot commented Nov 13, 2020

This pull request introduces 11 alerts when merging e97135f into 7c17c58 - view on LGTM.com

new alerts:

  • 8 for Wrong number of arguments in a class instantiation
  • 3 for 'import *' may pollute namespace

@lgtm-com
Copy link

lgtm-com bot commented Nov 18, 2020

This pull request introduces 11 alerts when merging fbbf6aa into b595a6e - view on LGTM.com

new alerts:

  • 8 for Wrong number of arguments in a class instantiation
  • 3 for 'import *' may pollute namespace

@dflynn-Nokia
Copy link
Contributor

@jleveque We have added logic to generate the python3 wheel.
There are no outstanding issues that we are aware of.

@lguohan lguohan merged commit 0a9d7a2 into sonic-net:master Nov 19, 2020
santhosh-kt pushed a commit to santhosh-kt/sonic-buildimage that referenced this pull request Feb 25, 2021
Platform: armhf-nokia_ixs7215_52x-r0
HwSKU: Nokia-7215
ASIC: marvell
Port Config: 48x1G + 4x10G

Co-authored-by: dflynn <dennis.flynn@nokia.com>
Co-authored-by: Carl Keene <keene@nokia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants