]> git.proxmox.com Git - mirror_frr.git/commit - isisd/isis_nb_config.c
isisd: fix circuit is-type configuration
authorIgor Ryzhov <iryzhov@nfware.com>
Sat, 30 Oct 2021 00:15:24 +0000 (03:15 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Sat, 30 Oct 2021 00:17:49 +0000 (03:17 +0300)
commit2f9a06f0600b6d1c6f28117bb2846ce3675fc129
tree86b32a67b482bc9f1157c98c2b194c6f209604f7
parent6b1801a499d184cb21f3991f380f480fe10f5856
isisd: fix circuit is-type configuration

Currently, we have a lot of checks in CLI and NB layer to prevent
incompatible IS-types of circuits and areas. All these checks become
completely meaningless when the interface is moved between VRFs. If the
area IS-type is different in the new VRF, previously done checks mean
nothing and we still end up with incorrect circuit IS type. To actually
prevent incorrect IS type, all checks must be done in the processing
code.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
isisd/isis_circuit.c
isisd/isis_circuit.h
isisd/isis_cli.c
isisd/isis_events.c
isisd/isis_nb_config.c
isisd/isisd.c
tests/topotests/isis_topo1_vrf/r3/r3_topology.json