]> git.proxmox.com Git - mirror_frr.git/commit - lib/stream.h
bgpd: Install SAFI_LABELED_UNICAST routes in SAFI_UNICAST table
authorDaniel Walton <dwalton@cumulusnetworks.com>
Fri, 16 Jun 2017 19:12:57 +0000 (19:12 +0000)
committerDaniel Walton <dwalton@cumulusnetworks.com>
Fri, 16 Jun 2017 19:12:57 +0000 (19:12 +0000)
commit9bedbb1e52fbef082702723ee0a119d76a997ec8
tree4732c6ea051da93c49e01910192226828e54781f
parent62e4232010330e515630399838288f6281d04de6
bgpd: Install SAFI_LABELED_UNICAST routes in SAFI_UNICAST table

Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
- All ipv4 labeled-unicast routes are now installed in the ipv4 unicast
  table. This allows us to do things like take routes from an ipv4
  unicast peer, allocate a label for them and TX them to a ipv4
  labeled-unicast peer. We can do the opposite where we take routes from
  a labeled-unicast peer, remove the label and advertise them to an ipv4
  unicast peer.

- Multipath over a labeled route and non-labeled route is not allowed.

- You cannot activate a peer for both 'ipv4 unicast' and 'ipv4
  labeled-unicast'

- The 'tag' variable was overloaded for zebra's route tag feature as
  well as the mpls label. I added a 'mpls_label_t mpls' variable to
  avoid this.  This is much cleaner but resulted in touching a lot of
  code.
24 files changed:
bgpd/bgp_attr.c
bgpd/bgp_attr.h
bgpd/bgp_evpn.c
bgpd/bgp_evpn.h
bgpd/bgp_label.c
bgpd/bgp_label.h
bgpd/bgp_mplsvpn.c
bgpd/bgp_mplsvpn.h
bgpd/bgp_packet.c
bgpd/bgp_route.c
bgpd/bgp_route.h
bgpd/bgp_table.h
bgpd/bgp_updgrp_adv.c
bgpd/bgp_updgrp_packet.c
bgpd/bgp_vty.c
bgpd/bgp_vty.h
bgpd/bgp_zebra.c
bgpd/bgpd.c
bgpd/bgpd.h
lib/mpls.h
lib/stream.c
lib/stream.h
zebra/zebra_mpls.c
zebra/zserv.c