]> git.puffer.fish Git - mirror/frr.git/commit
ldpd: remove pseudowire LSP check 282/head
authorRenato Westphal <renato@opensourcerouting.org>
Fri, 17 Mar 2017 18:41:04 +0000 (15:41 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Sat, 18 Mar 2017 21:38:58 +0000 (18:38 -0300)
commit595b4beeb2bb6cbc4f854685cf822becf6158b87
tree5227a9a83e5830e89096fd47fcb4c3dbc6b4cb87
parent93f681fa135ca65747190e5f36e720a217cfd163
ldpd: remove pseudowire LSP check

In order to bring a pseudowire up, we must make sure that there's at
least one LSP available to its remote end (otherwise the labeled frames
from the CEs wouldn't reach their destination). We were doing this
check in ldpd, but doing so is very limiting because it doesn't consider
other types of LSPs that might be available (static LSPs, RSVP-TE, SR,
etc). Thus remove this check from the l2vpn_pw_ok() function. Later
on we'll implement a pseudowire manager in zebra which will solve this
problem in a much better way (including notifying ldpd about failures
to install a pseudowire in the kernel/hardware).

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
ldpd/l2vpn.c