gobgp icon indicating copy to clipboard operation
gobgp copied to clipboard

Policy support for neighbors in VRFs

Open jonlangemak opened this issue 4 years ago • 2 comments

I've been able to get both VPNv4 peerings as well as local IPv4 peerings inside of VRFs to work correctly. However, it does not appear that there is a means to apply policy to a neighbor that lives in a VRF. It looks like there would need to be a means to define a neighbors VRF as part of the neighbor-set or to define the VRF in the policy itself. I don't see either option as part of the configuration file.

Would be happy to supply a sample configuration file but Im not sure if that's needed at this point

Many thanks!

jonlangemak avatar Jul 15 '21 00:07 jonlangemak

Unfortunately the feature is not implemented.

fujita avatar Jul 24 '21 22:07 fujita

@fujita Thanks for confirming. This is one of several improvements I'd be interested in helping with add to the project. Are there any sort of high level pointers you could give on what the best way to implement this might be? As the policy is applied at a global level I assume that means the neighbor-set construct would need to be extended to take into account a VRF?

jonlangemak avatar Jul 26 '21 14:07 jonlangemak