]> git.puffer.fish Git - mirror/frr.git/commit
isisd, yang: set default is-type to level-1-2 5550/head
authorEmanuele Di Pascale <emanuele@voltanet.io>
Tue, 17 Dec 2019 15:54:29 +0000 (16:54 +0100)
committerEmanuele Di Pascale <emanuele@voltanet.io>
Tue, 17 Dec 2019 15:54:47 +0000 (16:54 +0100)
commit26eb18e259a52116d292b6a0cceebc4b45c4eb5c
tree100d53820996439db6d8b3a666f074b178733933
parent6498fc458dd2208ef02962e195ae71a4d131d864
isisd, yang: set default is-type to level-1-2

Currently isisd has this strange (legacy) behavior where the
first area is created by default with level-1-2, while every
other subsequent area uses the default defined in the yang model,
which is level-1. This is a source of confusion when trying to
configure the daemon programatically, either with frr-reload
or using the transactional cli. Given how rare having multiple
IS-IS instances is anyway, the easiest solution is to remove
this behavior and default to level-1-2 for every area.

Note that this does not affect fabricd, which continues using
exclusively level-2-only areas.

Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
isisd/isisd.c
yang/frr-isisd.yang