Skip to content

Add a function to get the container name for a service according to the ASIC ID#18459

Merged
liat-grozovik merged 2 commits intosonic-net:masterfrom
Junchao-Mellanox:master-get-service-name
Apr 15, 2024
Merged

Add a function to get the container name for a service according to the ASIC ID#18459
liat-grozovik merged 2 commits intosonic-net:masterfrom
Junchao-Mellanox:master-get-service-name

Conversation

@Junchao-Mellanox
Copy link
Copy Markdown
Collaborator

@Junchao-Mellanox Junchao-Mellanox commented Mar 25, 2024

Why I did it

Get the container name for a service according to the ASIC ID

Work item tracking
  • Microsoft ADO (number only):

How I did it

Add new function to get the requested data

How to verify it

Add unit test to cover the new added function

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)

@Junchao-Mellanox Junchao-Mellanox marked this pull request as draft March 25, 2024 06:55
@Junchao-Mellanox Junchao-Mellanox changed the title Add a functino to get container name by asic ID Add a function to get container name by asic ID Mar 25, 2024
@Junchao-Mellanox Junchao-Mellanox force-pushed the master-get-service-name branch from 6ad3b72 to a167455 Compare March 25, 2024 06:56
Copy link
Copy Markdown
Contributor

@deepak-singhal0408 deepak-singhal0408 left a comment

Choose a reason for hiding this comment

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

LGTM.

@liat-grozovik liat-grozovik changed the title Add a function to get container name by asic ID Add a function to get the container name for a service according to the ASIC ID Apr 14, 2024
@liat-grozovik
Copy link
Copy Markdown
Collaborator

@Junchao-Mellanox please handle conflict so merge can take place

@Junchao-Mellanox
Copy link
Copy Markdown
Collaborator Author

@Junchao-Mellanox please handle conflict so merge can take place

Done

@liat-grozovik liat-grozovik merged commit 7a483a7 into sonic-net:master Apr 15, 2024
@liat-grozovik
Copy link
Copy Markdown
Collaborator

@Junchao-Mellanox the description has no reference to 202311. is it required? if not, all good.

@Junchao-Mellanox Junchao-Mellanox deleted the master-get-service-name branch April 15, 2024 08:42
@Junchao-Mellanox
Copy link
Copy Markdown
Collaborator Author

Hi @yxieca , could you please help cherry-pick to 202311?

@Junchao-Mellanox
Copy link
Copy Markdown
Collaborator Author

Will create separate PR

Junchao-Mellanox added a commit to Junchao-Mellanox/sonic-buildimage that referenced this pull request Apr 15, 2024
- Why I did it
Get the container name for a service according to the ASIC ID

- How I did it
Add new function to get the requested data

- How to verify it
Add unit test to cover the new added function
@Junchao-Mellanox
Copy link
Copy Markdown
Collaborator Author

Cherry pick PR: #18682

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