]> git.proxmox.com Git - mirror_frr.git/commit
isisd, yang: set default network-type to broadcast
authorEmanuele Di Pascale <emanuele@voltanet.io>
Mon, 10 Dec 2018 14:18:25 +0000 (15:18 +0100)
committerEmanuele Di Pascale <emanuele@voltanet.io>
Tue, 18 Dec 2018 14:25:57 +0000 (15:25 +0100)
commit9fe69cbb5a24e668c05909562a792d3cb8714260
tree933931af966ba4f50a7dccbf66b01af8b5711817
parentf34ab52dd0720f7b249ee7af81301c59855baeaf
isisd, yang: set default network-type to broadcast

isisd has both a circ_type and a circ_type_config variable to track
the network tpye of an interface. The former has no default, but the
latter defaults to broadcast. Adding that default makes sure that the
yang leaf won't be deleted, which is something that would not make
sense from an isisd perspective. We will need to add an operational
state leaf to match the potential difference between the configured
network type and the actual network type, since the latter might be
different based on the interface flags received from zebra.

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