-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
North bound interface (CLI/REST clients) support for configuring FRR BGP #544
Conversation
venkatmahalingam
commented
Dec 19, 2019
- Extend and provide unified configuration and management capability for FRR-BGP features used in SONiC.
- Allow the user to configure & manage FRR-BGP using SONiC Management Framework with Open Config data models via REST, gNMI and also provides access via SONiC Management Framework CLI as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-
Please convert all pictures to .png. jpeg doesn't work good for diagrams
-
Suggest to split the proposal to two parts: north-bound to DB, DB to SONiC FRR
-
Suggest to use special utility to generate the database schema from YANG model automatically. Don't write the schema manually.
.4. Suggest to rewrite bgpcfgd in go -
Suggest to introduce validation loop: first northbound interface check syntax rules, then bgpcfgd uses frr to validate generated bgp configuration.
-
Suggest to return validation errors from bgpcfgd back to the requested. syslog message is not enough
-
What if some parameter is already configured and there is conflict of something being already in the database. What should we do? overwrite? remove old parameter and create new parameter?
-
What if some parameters are depends on the parameters which is changed by some rest request. How we can be sure we work with the parameters successfully?
Thanks for all your suggestions, will discuss internally and take up if required now.
If there are multiple config sources, it's hard to keep the configs in sync, for now, the short answer is, it is beyond our scope of the work.
We handle the dependencies in CVL layer (mgmt-framework), if there are any specific example, let us know, will try to see if that is already handled. |
Signed-off-by: Venkatesan Mahalingam <[email protected]>
Signed-off-by: Venkatesan Mahalingam <[email protected]>
Signed-off-by: Venkatesan Mahalingam <[email protected]>
Signed-off-by: Venkatesan Mahalingam <[email protected]>
…riptions. Signed-off-by: Venkatesan Mahalingam <[email protected]>
…schema. Signed-off-by: Venkatesan Mahalingam <[email protected]>
@lguohan Please review the changes again, if everything looks good, merge the PR. Thanks. |
merge this as it is. the yang model discussion for this is still ongoing in the community. |