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

Display port link details including the status, width and speed in the LinkStatus column #22

Merged
merged 3 commits into from
Aug 7, 2024

Conversation

Meng-20
Copy link
Collaborator

@Meng-20 Meng-20 commented Jul 31, 2024

No description provided.

@Meng-20 Meng-20 self-assigned this Jul 31, 2024
@@ -46,6 +46,14 @@ export const useBladePortStore = defineStore('bladePort', {
detailsResponse.data.linkedPortUri = "NOT_FOUND";
}

// Combine LinkStatus, linkWidth and linkSpeed if the port is linked up
if (detailsResponse.data.linkStatus && detailsResponse.data.linkStatus == "LinkUp") {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Be aware that the BMC's response is "Link Up". There is a space between "Link" and "Up"

Copy link
Collaborator Author

@Meng-20 Meng-20 Jul 31, 2024

Choose a reason for hiding this comment

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

thank you, I have fixed that

@Meng-20 Meng-20 merged commit 8042876 into main Aug 7, 2024
5 checks passed
@Meng-20 Meng-20 deleted the display-port-link-details branch August 7, 2024 19:27
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.

2 participants