]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: add an option for RT auto-derivation to use RFC 8635.
authorVincent Bernat <vincent@bernat.im>
Wed, 12 Apr 2017 09:24:07 +0000 (11:24 +0200)
committerVincent Bernat <vincent@bernat.im>
Mon, 23 Apr 2018 15:05:23 +0000 (17:05 +0200)
commitbf1061d876951adf778c5d4da907cb6bd914cba4
treee4c7729f6aaafc84eae6ab3c83b503440274ebd7
parent0c842c46c79e1464a67b5aab3d644ab86f09c8ef
bgpd: add an option for RT auto-derivation to use RFC 8635.

RFC 8635 explains how RT auto-derivation should be done in section
5.1.2.1 [1]. In addition to encoding the VNI in the lowest bytes, a
3-bit field is used to encode a namespace. For VXLAN, we have to put 1
in this field. This is needed for proper interoperability with RT
auto-derivation in JunOS. Since this would break existing setup, an
additional option, "autort rfc8365-compatible" is used.

[1]: https://tools.ietf.org/html/rfc8365#section-5.1.2.1

Signed-off-by: Vincent Bernat <vincent@bernat.im>
bgpd/bgp_evpn.c
bgpd/bgp_evpn.h
bgpd/bgp_evpn_private.h
bgpd/bgp_evpn_vty.c
bgpd/bgpd.h