]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_labelpool.c
bgpd, doc, ldpd, lib, tests, zebra: LM fixes
authorpaco <paco@voltanet.io>
Thu, 7 Jun 2018 13:28:12 +0000 (15:28 +0200)
committerF. Aragon <paco@voltanet.io>
Tue, 18 Sep 2018 15:39:16 +0000 (17:39 +0200)
commitf533be73f6e73e7c6c2f2093f4bec59862c08dd6
tree78e6e3c28c4a84b7309aaedfa8b99cc8fc5e5501
parentdc790ba83d9ff3b0fa31993bea7682e720f3023b
bgpd, doc, ldpd, lib, tests, zebra: LM fixes

Corrections so that the BGP daemon can work with the label manager properly
through a label-manager proxy. Details:

- Correction so the BGP daemon behind a proxy label manager gets the range
  correctly (-I added to the BGP daemon, to set the daemon instance id)
- For the BGP case, added an asynchronous label manager connect command so
  the labels get recycled in case of a BGP daemon reconnection. With this,
  BGPd and LDPd would behave similarly.

Signed-off-by: F. Aragon <paco@voltanet.io>
14 files changed:
bgpd/bgp_labelpool.c
bgpd/bgp_main.c
bgpd/bgp_zebra.c
bgpd/bgp_zebra.h
bgpd/bgpd.c
bgpd/bgpd.h
doc/manpages/bgpd.rst
ldpd/lde.c
lib/log.c
lib/zclient.c
lib/zclient.h
tests/test_lblmgr.c
zebra/label_manager.c
zebra/zapi_msg.c