diff options
author | Emanuele Di Pascale <emanuele@voltanet.io> | 2018-12-10 15:18:25 +0100 |
---|---|---|
committer | Emanuele Di Pascale <emanuele@voltanet.io> | 2018-12-18 15:25:57 +0100 |
commit | 9fe69cbb5a24e668c05909562a792d3cb8714260 (patch) | |
tree | 933931af966ba4f50a7dccbf66b01af8b5711817 /yang/frr-isisd.yang | |
parent | isisd: formatting fixes in isis_cli.c (diff) | |
download | frr-9fe69cbb5a24e668c05909562a792d3cb8714260.tar.xz frr-9fe69cbb5a24e668c05909562a792d3cb8714260.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | yang/frr-isisd.yang | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/yang/frr-isisd.yang b/yang/frr-isisd.yang index 23baa6df4..32b4d3acf 100644 --- a/yang/frr-isisd.yang +++ b/yang/frr-isisd.yang @@ -911,6 +911,7 @@ module frr-isisd { leaf network-type { type network-type; + default "broadcast"; must "(. = \"point-to-point\") or (. = \"broadcast\")"; description "Explicitly configured type of IS-IS circuit (broadcast or point-to-point)."; |