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

[sonic-device-data]: add port_type to OPTIONAL_PORT_ATTRIBUTES #8370

Merged
merged 1 commit into from
Aug 11, 2021

Conversation

carl-nokia
Copy link
Contributor

@carl-nokia carl-nokia commented Aug 7, 2021

Why I did it

enable automated test suites to selectively run relevant tests ( or not run tests ) based upon a new port_type identifier in hwsku.json

How I did it

Modified the valid optional fields in validity check for hwsku.json per recommendation from Joe in
https://github.com/Azure/sonic-mgmt/pull/2654/files

How to verify it

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

backport to 202012 so that the enhanced automation tests can skip copper ports for sfp tests

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106

Description for the changelog

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

@carl-nokia carl-nokia requested a review from lguohan as a code owner August 7, 2021 17:00
@carl-nokia
Copy link
Contributor Author

Would it be O.K. to change this PR to move "default_brkout_mode" to optional as well? Why is this mandatory when products like 7215 do not need this "default_brkout_mode"

@yxieca
Copy link
Contributor

yxieca commented Aug 9, 2021

Would it be O.K. to change this PR to move "default_brkout_mode" to optional as well? Why is this mandatory when products like 7215 do not need this "default_brkout_mode"

@carl-nokia I think we can add default_brkout_mode to optional list too.

@yxieca
Copy link
Contributor

yxieca commented Aug 9, 2021

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@carl-nokia
Copy link
Contributor Author

PR 8372 has the currently mandatory "default_brkout_mode", we ran full OC and it is working Ok so request just merge this PR as is..

@Blueve
Copy link
Contributor

Blueve commented Aug 11, 2021

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@lguohan lguohan merged commit 7432e47 into sonic-net:master Aug 11, 2021
qiluo-msft pushed a commit that referenced this pull request Aug 12, 2021
enable automated test suites to selectively run relevant tests ( or not run tests ) based upon a new port_type identifier in hwsku.json

How I did it
Modified the valid optional fields in validity check for hwsku.json per recommendation from Joe in
https://github.com/Azure/sonic-mgmt/pull/2654/files

Co-authored-by: Carl Keene <keene@nokia.com>
judyjoseph pushed a commit that referenced this pull request Aug 25, 2021
enable automated test suites to selectively run relevant tests ( or not run tests ) based upon a new port_type identifier in hwsku.json

How I did it
Modified the valid optional fields in validity check for hwsku.json per recommendation from Joe in
https://github.com/Azure/sonic-mgmt/pull/2654/files

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants