]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_ecommunity.c
bgpd: Add `neighbor PEER link-bw-encoding-ieee`
authorDonatas Abraitis <donatas.abraitis@gmail.com>
Sun, 29 Aug 2021 18:54:13 +0000 (21:54 +0300)
committerDonatas Abraitis <donatas.abraitis@gmail.com>
Mon, 30 Aug 2021 11:21:49 +0000 (14:21 +0300)
commit27aa23a43b9922b8f90c324e2f6483b1cffa6aec
treeb9b80497d09f0826a00651614c5985ee212b8d87
parent8dbe9214588529872904c433834b3a6b61bc5aa3
bgpd: Add `neighbor PEER link-bw-encoding-ieee`

This is to avoid breaking changes between existing deployments of
extended community for bandwidth encoding. By default FRR uses uint32
to encode bandwidth, which is not as the draft requires (IEEE floating-point).

This switch enables the required encoding per-peer.

Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
bgpd/bgp_attr.c
bgpd/bgp_ecommunity.c
bgpd/bgp_ecommunity.h
bgpd/bgp_mpath.c
bgpd/bgp_route.c
bgpd/bgp_routemap.c
bgpd/bgp_vty.c
bgpd/bgpd.c
bgpd/bgpd.h
tests/bgpd/test_ecommunity.c