Mailing List Archive

[PATCH] BGP Large Community Support
Following will be a monolithic patch for BGP Large Communities which has
passed WGLC in IDR as standards track. I'm submitting it on behalf of two
of the authors, Job Snijders <job@ntt.net> and Keyur Patel <keyur@arrcus.com>.

This issue has been tracked in quagga bugzilla ticket #875, which documents
some of the usage and indicates that some testing has been done. I had hoped
to do additional testing before submitting it, but I'm running into build
issues (with master, not just this patch) on FreeBSD, OpenBSD and macOS
(to be addressed separately).

Traditional communities are four-octet entities to support two-octet ASNs
and are usually represented as <asn>:<data>. Large communities are an
enhancement to support four-octet ASNs and are 12 octets long, represented as
<asn>:<data-1>:<data-2>.

The community has been asking for large (or wide) community support for
quite some time. This would be an important addition to quagga.

Michael

Michael Lambert (1):
Add BGP Large Communities support (draft-ietf-idr-large-community-11)

bgpd/Makefile.am | 6 +-
bgpd/bgp_attr.c | 111 +++++-
bgpd/bgp_attr.h | 5 +-
bgpd/bgp_clist.c | 313 +++++++++++++++
bgpd/bgp_clist.h | 18 +-
bgpd/bgp_ecommunity.c | 1 +
bgpd/bgp_encap.c | 1 +
bgpd/bgp_lcommunity.c | 562 +++++++++++++++++++++++++++
bgpd/bgp_lcommunity.h | 75 ++++
bgpd/bgp_mpath.c | 16 +
bgpd/bgp_open.c | 2 +
bgpd/bgp_packet.c | 1 +
bgpd/bgp_route.c | 1009 ++++++++++++++++++++++++++++++++++++++++++++++++-
bgpd/bgp_routemap.c | 440 ++++++++++++++++++++-
bgpd/bgp_vty.c | 475 ++++++++++++++++++++++-
bgpd/bgpd.c | 19 +-
bgpd/bgpd.h | 2 +
lib/memtypes.c | 3 +
18 files changed, 3030 insertions(+), 29 deletions(-)
create mode 100644 bgpd/bgp_lcommunity.c
create mode 100644 bgpd/bgp_lcommunity.h

--
2.10.1 (Apple Git-78)


_______________________________________________
Quagga-dev mailing list
Quagga-dev@lists.quagga.net
https://lists.quagga.net/mailman/listinfo/quagga-dev