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] Update 'show platform psustatus' tests to handle new expanded output #3040

Merged
merged 5 commits into from
Feb 26, 2021
Merged

[platform] Update 'show platform psustatus' tests to handle new expanded output #3040

merged 5 commits into from
Feb 26, 2021

Conversation

jleveque
Copy link
Contributor

Description of PR

Summary:

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Approach

What is the motivation for this PR?

Update testing of show platform psustatus to handle the new, expanded output provided by sonic-net/sonic-utilities#1416. Maintain backward-compatibility with the previous syntax in 201811 and 201911 versions.

How did you do it?

Support both output formats based on observed OS version

How did you verify/test it?

Tested against one platform with old and new output formats

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

@lgtm-com

This comment has been minimized.

@yxieca yxieca merged commit 7d3e674 into sonic-net:master Feb 26, 2021
@jleveque jleveque deleted the update_psushow_output branch February 26, 2021 17:34
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