Skip to content

[action] [PR:8884] Set key "asic0" in single-asic scenerio to keep consistent with multi-asic in function core_dump_and_config_check.#8885

Merged
mssonicbld merged 1 commit intosonic-net:202205from
mssonicbld:cherry/202205/8884
Jul 10, 2023
Merged

[action] [PR:8884] Set key "asic0" in single-asic scenerio to keep consistent with multi-asic in function core_dump_and_config_check.#8885
mssonicbld merged 1 commit intosonic-net:202205from
mssonicbld:cherry/202205/8884

Conversation

@mssonicbld
Copy link
Collaborator

Description of PR

In PR (#6527), it enhanced function core_dump_and_config_check to be multi-asic aware. But in single-asic scenerio, it simply set the key None, which does not make scene. In this PR, I reset the key "asic0" in single-asic scenerio to keep consistent with the key value of multi-asic scenerio.

Summary:
Fixes # (issue)

Type of change

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

Back port request

  • 201911
  • 202012
  • 202205

Approach

What is the motivation for this PR?

In PR (#6527), it enhanced function core_dump_and_config_check to be multi-asic aware. But in single-asic scenerio, it simply set the key None, which does not make scene. In this PR, I reset the key "asic0" in single-asic scenerio to keep consistent with the key value of multi-asic scenerio.

How did you do it?

Change the key in single-asic scenerio from None to asic0.

How did you verify/test it?

Any platform specific information?

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

Documentation

…ic. (sonic-net#8884)

What is the motivation for this PR?
In PR (sonic-net#6527), it enhanced function core_dump_and_config_check to be multi-asic aware. But in single-asic scenerio, it simply set the key None, which does not make scene. In this PR, I reset the key "asic0" in single-asic scenerio to keep consistent with the key value of multi-asic scenerio.

How did you do it?
Change the key in single-asic scenerio from None to asic0.
@mssonicbld
Copy link
Collaborator Author

Original PR: #8884

@mssonicbld mssonicbld merged commit a066553 into sonic-net:202205 Jul 10, 2023
@mssonicbld mssonicbld deleted the cherry/202205/8884 branch February 4, 2024 09:03
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