-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[question] improvements for bgp configuration #2184
Labels
Comments
I'd be happy to take the time and understand better what your goals are and explain what I'm doing on my side for sonic. I think you may find useful what I'm working on. Feel free to ping me and we can chat informally or setup a meeting. |
Closing this issue. @nikos-github has done some awesome bgp stuff which takes care of my ask here. Thanks @nikos-github ! |
liat-grozovik
pushed a commit
that referenced
this issue
Jul 28, 2022
feeac84 [counters] Keep counters cache in a single directory (#2232) cd7909e Updated the CLI file for Radius and Linux kernel commands (#2276) cd6898b Update db_migrator to support `PORT_QOS_MAP|global` (#2205) 8f4fc62 Revert "Revert "[scripts/fast-reboot] Shutdown remaining containers through systemd (#2133)" (#2161)" (#2184) 27667cf Fix test for pfcwd_sw_enable in db_migrator_test (#2253) e1866e3 [MultiAsic] sudo reboot command doesn't gracefully stop Asic syncd# on multiasic platform (#2258) 9e3ba82 Change db_migrator major version on master branch from version 2 to 3 (#2272) 65346ce Microsoft mandatory file (#2177) 308e25f portconfig option to configure Tx power and laser frequency of ZR transceiver module (#2197) e49b1e8 [vnet_route_check] Align DB data parse logic with format used by swsscommon API (#2268) Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
7 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would like to propose some improvements to the bgp configuration, in order to take some advantages of features available within FRR.
There are two main features which I feel would be beneficial to get support for:
Let's note, I'm very green with how to configure a lot of this, so I've had to do some manual configuration outside of the ConfigDB, since documentation is sparse and I'm trying to get up to speed on some things.
First let's take a look at the interface configuration:
As you can see, there is really nothing going on here. I manually created the vrf via:
Really, this is all you would need for a spine<->leaf connection.
Here's a quick example of what the final configuration could look like using frr:
And, just to show it's working:
This could seriously simplify configuration, and save a bunch of ip addressing as not having to dole out /31's for each p2p interface on the device.
Now with regards to how that would look in the json configuration, I'm not quite sure. But here's a stab in the dark.
But it gets a bit interesting in that you would need to identify that the peer is an interface, verify that the peer group is an extended-nexthop (vs dynamic or none) type of capability, and notate the vrf if necessary. If so, then you need to create the
interface Ethernet0 vrf <VRF> ! (if there's a vrf) \n ipv6 nd ra-interval 10 \n no ipv6 nd suppress-ra
section, then theneighbor Ethernet0 interface v6only peer-group <PEER_GROUP>
, then finally activate the peer group.Anyway, I would love to know where I should properly create this type of proposal. I would also love some pointers in the right direction on where I could help contribute to some of these changes.
Thank you,
stegen
The text was updated successfully, but these errors were encountered: