summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2021-10-09 20:02:16 -0300
committerRenato Westphal <renato@opensourcerouting.org>2021-10-12 17:33:32 -0300
commiteedc80c1f59c060d0f313dee9910f32f99c606c3 (patch)
tree92ad3cbfe82d500af05d598b46663b052fddb927 /lib
parentd6f60d2276de10d985deceeab5804d24de3c952b (diff)
ospfd: introduce additional opaque capability check in the GR code
Before starting the graceful restart procedures, ospf_gr_prepare() verifies for each configured OSPF instance whether it has the opaque capability enabled (a pre-requisite for GR). If not, a warning is emitted and GR isn't performed on that instance. This PR introduces an additional opaque capability check that will return a CLI error when the opaque capability isn't enabled. The idea is to make it easier for the user to identify when the GR activation has failed, instead of requiring him or her to check the logs for errors. The original opaque capability check from ospf_gr_prepare() was retaining as it's possible that that function might be called from other contexts in the future. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions