osrg / gobgp

BGP implemented in the Go Programming Language
https://osrg.github.io/gobgp/
Apache License 2.0
3.59k stars 684 forks source link

Supporting BGP/MPLS VPNs (RFC 4364) #1611

Open amanshaikh75 opened 6 years ago

amanshaikh75 commented 6 years ago

GoBGP supports many ingredients required for supporting BGP/MPLS VPNs (as specified in RFC 4364 - https://tools.ietf.org/search/rfc4364) such VPNv(4|6) NLRI, route targets, route-distinguishers and VRFs. These ingredients are enough to use GoBGP as a route-reflector (RR) for a VPN service.

However, several features are missing in GoBGP which make it impossibe to use GoBGP as a Provider Edge (PE) router in a VPN service:

brotherdust commented 6 years ago

@amanshaikh75 were your changes ever accepted (specifically ZAPI v5)? I cannot seem to verify it was based on the commit history.

amanshaikh75 commented 6 years ago

@brotherdust - no, my changes haven't been accepted into master branch of GoBGP.

aman

brotherdust commented 6 years ago

@amanshaikh75, any particular reason why? They just haven't gotten around to it? It would be quite useful!

amanshaikh75 commented 6 years ago

@brotherdust - GoBGP didn't seem very interested in supporting ZAPI 5. I fully agree it would be very useful. The only downside is the complexity arising from supporting various ZAPI versions.

brotherdust commented 6 years ago

@amanshaikh75 I'm not from GoBGP, but may I suggest splitting this issue into its constituent parts so that they may be handled individually? It might increase your chances for success. I'll try to bring it up in the slack channel.

brotherdust commented 6 years ago

@amanshaikh75 also, I don't see a pull request for this into osrg/gobgp. Have you submitted it? Maybe I'm missing it.

amanshaikh75 commented 6 years ago

@brotherdust I haven't created a pull request for it since I didn't see any interest from GoBGP team. If you want, I can create a pull request, and see what happens.

As for splitting the issue, this is already done. I mention the corresponding issue in each paragraph. In fact, the reason behind creating this issue was to consolidate all VPN-related issues at one place at the request of @iwaseyusuke .

brotherdust commented 6 years ago

Honestly? Yeah. I'd give it a shot. The worst they can say is no. I'll voice some support for it when it comes through.

Re: splitting the issue: makes sense. I'm not sure what their deal is.