Skip to content

[202311][Mellanox] implement platform wait in python code (#17398)#17719

Merged
yxieca merged 1 commit intosonic-net:202311from
Junchao-Mellanox:202311_cp_17398
Jan 16, 2024
Merged

[202311][Mellanox] implement platform wait in python code (#17398)#17719
yxieca merged 1 commit intosonic-net:202311from
Junchao-Mellanox:202311_cp_17398

Conversation

@Junchao-Mellanox
Copy link
Copy Markdown
Collaborator

Backport PR #17398

Why I did it

New implementation of Nvidia platform_wait due to:

  1. sysfs deprecated by hw-mgmt
  2. new dependencies to SDK
  3. For CMIS host management mode
Work item tracking
  • Microsoft ADO (number only):

How I did it

  • wait hw-management ready
  • wait SDK sysfs nodes ready

How to verify it

manual test
unit test
sonic-mgmt regression

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

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

@yxieca
Copy link
Copy Markdown
Contributor

yxieca commented Jan 9, 2024

/Semgrep

@yxieca
Copy link
Copy Markdown
Contributor

yxieca commented Jan 9, 2024

/EasyCLA

@yxieca
Copy link
Copy Markdown
Contributor

yxieca commented Jan 9, 2024

/azp run Azure.sonic-buildimag

@azure-pipelines
Copy link
Copy Markdown

No pipelines are associated with this pull request.

@yxieca
Copy link
Copy Markdown
Contributor

yxieca commented Jan 9, 2024

No pipelines are associated with this pull request.

@liushilongbuaa can you help check this failure? Thanks.

@Junchao-Mellanox
Copy link
Copy Markdown
Collaborator Author

/azpw run Azure.sonic-buildimage

@mssonicbld
Copy link
Copy Markdown
Collaborator

/AzurePipelines run Azure.sonic-buildimage

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@liushilongbuaa
Copy link
Copy Markdown
Contributor

No pipelines are associated with this pull request.

@liushilongbuaa can you help check this failure? Thanks.

Hi Ying, you forgot a 'e' in pipeline name.

@Junchao-Mellanox
Copy link
Copy Markdown
Collaborator Author

/azpw run Azure.sonic-buildimage

@mssonicbld
Copy link
Copy Markdown
Collaborator

/AzurePipelines run Azure.sonic-buildimage

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@yxieca
Copy link
Copy Markdown
Contributor

yxieca commented Jan 12, 2024

@Junchao-Mellanox can you rebase your branch to latest 202311 with this PR? #17748

…17398)

- Why I did it
New implementation of Nvidia platform_wait due to:
1. sysfs deprecated by hw-mgmt
2. new dependencies to SDK
3. For CMIS host management mode

- How I did it
wait hw-management ready
wait SDK sysfs nodes ready

- How to verify it
manual test
unit test
sonic-mgmt regression
@Junchao-Mellanox
Copy link
Copy Markdown
Collaborator Author

Hi @yxieca , checker passed. Could you please help merge?

@yxieca yxieca merged commit 0b51198 into sonic-net:202311 Jan 16, 2024
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