Skip to content

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

Merged
mssonicbld merged 1 commit intosonic-net:202311from
mssonicbld:cherry/202311/3069
Feb 2, 2024
Merged

[action] [PR:3069] Modify teamd retry count script to base BGP status on default BGP status (#3069)#3145
mssonicbld merged 1 commit intosonic-net:202311from
mssonicbld:cherry/202311/3069

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 [email protected]

…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 <[email protected]>
@mssonicbld
Copy link
Collaborator Author

Original PR: #3069

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