Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[action] [PR:3069] Modify teamd retry count script to base BGP status on default BGP status (#3069) #3117

Merged
merged 1 commit into from
Jan 11, 2024

Conversation

mssonicbld
Copy link
Collaborator

For each BGP status, if the admin_status field is not present, then
whether the BGP session is admin up or admin down depends on the default
BGP status (in the default_bgp_status field coming from
init_cfg.json), which is specified during image build. If the default
BGP status is up, then admin_status will be created only when the BGP
session is brought down; similarly, if the default BGP status is down,
then admin_status will be created when the BGP session is brought up.

Because of that, modify the script to use the default BGP status as the
initial value.

Signed-off-by: Saikrishna Arcot sarcot@microsoft.com

…tus (sonic-net#3069)

For each BGP status, if the `admin_status` field is not present, then
whether the BGP session is admin up or admin down depends on the default
BGP status (in the `default_bgp_status` field coming from
`init_cfg.json`), which is specified during image build. If the default
BGP status is up, then `admin_status` will be created only when the BGP
session is brought down; similarly, if the default BGP status is down,
then `admin_status` will be created when the BGP session is brought up.

Because of that, modify the script to use the default BGP status as the
initial value.

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
@mssonicbld
Copy link
Collaborator Author

Original PR: #3069

@mssonicbld mssonicbld merged commit 651a80b into sonic-net:202305 Jan 11, 2024
5 checks passed
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