Skip to content

[containercfgd] Add multi ASIC support for syslog rate limit feature#18438

Merged
liat-grozovik merged 2 commits intosonic-net:masterfrom
Junchao-Mellanox:master-syslog-multiasic
Apr 15, 2024
Merged

[containercfgd] Add multi ASIC support for syslog rate limit feature#18438
liat-grozovik merged 2 commits intosonic-net:masterfrom
Junchao-Mellanox:master-syslog-multiasic

Conversation

@Junchao-Mellanox
Copy link
Copy Markdown
Collaborator

Why I did it

For multi asic platform, the container name is not the same as service name. For example, service name swss, the container in namespace asic0 will have container name swss0. This PR is to support multi ASIC platform.

Work item tracking
  • Microsoft ADO (number only):

How I did it

Add a global variable service_name and use it to match DB key.

How to verify it

Manual test
Unit test

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 22, 2024 03:15
@Junchao-Mellanox Junchao-Mellanox marked this pull request as ready for review April 1, 2024 02:04
@Junchao-Mellanox Junchao-Mellanox changed the title Add multi ASIC support for syslog rate limit feature [containercfgd] Add multi ASIC support for syslog rate limit feature Apr 1, 2024
@liat-grozovik
Copy link
Copy Markdown
Collaborator

@Junchao-Mellanox is there any dependency between this one and the PR in utilities?

@Junchao-Mellanox
Copy link
Copy Markdown
Collaborator Author

Hi Liat, there is no dependency. We can merge this one first.

@liat-grozovik liat-grozovik merged commit dd1e161 into sonic-net:master Apr 15, 2024
@Junchao-Mellanox Junchao-Mellanox deleted the master-syslog-multiasic branch April 15, 2024 08:43
@Junchao-Mellanox
Copy link
Copy Markdown
Collaborator Author

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

@yxieca
Copy link
Copy Markdown
Contributor

yxieca commented Apr 18, 2024

@Junchao-Mellanox can this feature wait for 202405 branch?

@Junchao-Mellanox
Copy link
Copy Markdown
Collaborator Author

@Junchao-Mellanox can this feature wait for 202405 branch?

I am ok with it. @saiarcot895 , what do you think?

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.

5 participants