Skip to content

[202411] backport PR 3947 #3960

Merged
kperumalbfn merged 1 commit intosonic-net:202411from
lipxu:20250709_202411_bgpShow
Jul 10, 2025
Merged

[202411] backport PR 3947 #3960
kperumalbfn merged 1 commit intosonic-net:202411from
lipxu:20250709_202411_bgpShow

Conversation

@lipxu
Copy link
Copy Markdown
Contributor

@lipxu lipxu commented Jul 9, 2025

What I did

Backport PR #3947

How I did it

Backport the PR #3947 and fix the conflict manually

How to verify it

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@qiluo-msft qiluo-msft requested a review from kperumalbfn July 9, 2025 18:19
@kperumalbfn kperumalbfn merged commit 58f250e into sonic-net:202411 Jul 10, 2025
7 checks passed
mssonicbld added a commit to mssonicbld/sonic-utilities.msft that referenced this pull request Jul 23, 2025
<!--
    Please make sure you've read and understood our contributing guidelines:
    https://github.com/Azure/SONiC/blob/gh-pages/CONTRIBUTING.md

    ** Make sure all your commits include a signature generated with `git commit -s` **

    If this is a bug fix, make sure your description includes "closes #xxxx",
    "fixes #xxxx" or "resolves #xxxx" so that GitHub automatically closes the related
    issue when the PR is merged.

    If you are adding/modifying/removing any command or utility script, please also
    make sure to add/modify/remove any unit tests from the tests
    directory as appropriate.

    If you are modifying or removing an existing 'show', 'config' or 'sonic-clear'
    subcommand, or you are adding a new subcommand, please make sure you also
    update the Command Line Reference Guide (doc/Command-Reference.md) to reflect
    your changes.

    Please provide the following information:
-->

#### What I did
The PR sonic-net/sonic-utilities#3960 check the docker container's name.
Check the docker's name whether is exactly same with "bgp"
However, on multiple asic devices, there are several bgp containers, and named bgp0, bgp1 ....

#### How I did it
Modified the cmd to handle the multiple asic with several bgp containers.

#### How to verify it
run the cmd manually on both multiple and single asic device
sonic-net/sonic-utilities#3980

#### Previous command output (if the output of a command-line utility has changed)

#### New command output (if the output of a command-line utility has changed)
mssonicbld added a commit to Azure/sonic-utilities.msft that referenced this pull request Jul 23, 2025
<!--
 Please make sure you've read and understood our contributing guidelines:
 https://github.com/Azure/SONiC/blob/gh-pages/CONTRIBUTING.md

 failure_prs.log skip_prs.log Make sure all your commits include a signature generated with `git commit -s` **

 If this is a bug fix, make sure your description includes "closes #xxxx",
 "fixes #xxxx" or "resolves #xxxx" so that GitHub automatically closes the related
 issue when the PR is merged.

 If you are adding/modifying/removing any command or utility script, please also
 make sure to add/modify/remove any unit tests from the tests
 directory as appropriate.

 If you are modifying or removing an existing 'show', 'config' or 'sonic-clear'
 subcommand, or you are adding a new subcommand, please make sure you also
 update the Command Line Reference Guide (doc/Command-Reference.md) to reflect
 your changes.

 Please provide the following information:
-->

#### What I did
The PR sonic-net/sonic-utilities#3960 check the docker container's name.
Check the docker's name whether is exactly same with "bgp"
However, on multiple asic devices, there are several bgp containers, and named bgp0, bgp1 ....

#### How I did it
Modified the cmd to handle the multiple asic with several bgp containers.

#### How to verify it
run the cmd manually on both multiple and single asic device
sonic-net/sonic-utilities#3980

#### Previous command output (if the output of a command-line utility has changed)

#### New command output (if the output of a command-line utility has changed)
stepanblyschak pushed a commit to stepanblyschak/sonic-utilities that referenced this pull request Aug 9, 2025
```<br>* 0522c0f - (HEAD -> 202412) Merge branch '202411' of https://github.com/sonic-net/sonic-utilities into 202412 (2025-07-10) [Sonic Automation]
* 58f250e - (origin/202411) backport PR 3947 (sonic-net#3960) (2025-07-09) [Liping Xu]<br>```
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