-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[bgpcfgd] Couldn't configure a Static Route without BGP_ASN field #8027
Comments
5 tasks
shi-su
added a commit
that referenced
this issue
Jul 9, 2021
Why I did it Static route configuration should not depend on BGP_ASN. Remove the dependency on BGP_ASN for StaticRouteMgr. Fix #8027 How I did it Check if BGP_ASN field before configuring static route redistribution and wait until BGP_ASN is available to enable static route redistribution. How to verify it Add unit test to cover the scenario and verify the functionality on a virtual switch.
qiluo-msft
pushed a commit
that referenced
this issue
Jul 13, 2021
Why I did it Static route configuration should not depend on BGP_ASN. Remove the dependency on BGP_ASN for StaticRouteMgr. Fix #8027 How I did it Check if BGP_ASN field before configuring static route redistribution and wait until BGP_ASN is available to enable static route redistribution. How to verify it Add unit test to cover the scenario and verify the functionality on a virtual switch.
judyjoseph
pushed a commit
that referenced
this issue
Jul 13, 2021
Why I did it Static route configuration should not depend on BGP_ASN. Remove the dependency on BGP_ASN for StaticRouteMgr. Fix #8027 How I did it Check if BGP_ASN field before configuring static route redistribution and wait until BGP_ASN is available to enable static route redistribution. How to verify it Add unit test to cover the scenario and verify the functionality on a virtual switch.
carl-nokia
pushed a commit
to carl-nokia/sonic-buildimage
that referenced
this issue
Aug 7, 2021
…#8037) Why I did it Static route configuration should not depend on BGP_ASN. Remove the dependency on BGP_ASN for StaticRouteMgr. Fix sonic-net#8027 How I did it Check if BGP_ASN field before configuring static route redistribution and wait until BGP_ASN is available to enable static route redistribution. How to verify it Add unit test to cover the scenario and verify the functionality on a virtual switch.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Configuring a Static Route fails when there is no ASN field in the DEVICE_METADATA table of Config DB.
Just for configuring a Static Route, a BGP_ASN shouldn't have been required
Steps to reproduce the issue:
The StaticRouteMgr throws the corresponding log.
Jun 30 03:10:15.313990 sonic DEBUG bgp#bgpcfgd: Not all dependencies are met for the Manager: <class 'bgpcfgd.managers_static_rt.StaticRouteMgr'>
Describe the results you received:
Couldn't configure Static Route
Describe the results you expected:
Output of
show version
:This can be seen with the versions built with these changes
7233
1534
Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: