]> git.proxmox.com Git - mirror_frr.git/commit - isisd/isisd.h
isisd: retrofit 'router isis' and 'ip router isis' cmds
authorEmanuele Di Pascale <emanuele@voltanet.io>
Tue, 13 Nov 2018 16:19:10 +0000 (17:19 +0100)
committerEmanuele Di Pascale <emanuele@voltanet.io>
Tue, 18 Dec 2018 14:20:20 +0000 (15:20 +0100)
commitaaf2fd21fc3a463496ef3377a63e892d733a403a
tree053dda3f8f32e2d3e5d3f0d6cc1df8876b627ccf
parent20bd27e2aaaed49b7ce85172199f25198b16736d
isisd: retrofit 'router isis' and 'ip router isis' cmds

These are complex commands to retrofit, partly due to the number of
different callbacks they touch. Additionally, in FRR adding
an interface to an IS-IS area that does not exist also creates that
area. To make sure that this behavior is kept, while at the same
time keeping the northbound api consistent, we need to take extra
care to call the appropriate callbacks to update the YANG tree.

Note that many callbacks rely on the existence of the corresponding
IS-IS area; when these callbacks are joined together in a single
transaction, we need to ensure that the area creation is performed
first, or the config will fail. For this reason, the isis instance
create callback has been given a slightly lower priority than the
others.

Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
isisd/isis_cli.c
isisd/isis_cli.h
isisd/isis_northbound.c
isisd/isis_vty_common.c
isisd/isis_vty_fabricd.c
isisd/isisd.c
isisd/isisd.h