summaryrefslogtreecommitdiffstats
path: root/yang/frr-isisd.yang
diff options
context:
space:
mode:
authorEmanuele Di Pascale <emanuele@voltanet.io>2019-12-17 16:54:29 +0100
committerEmanuele Di Pascale <emanuele@voltanet.io>2019-12-17 16:54:47 +0100
commit26eb18e259a52116d292b6a0cceebc4b45c4eb5c (patch)
tree100d53820996439db6d8b3a666f074b178733933 /yang/frr-isisd.yang
parentMerge pull request #5508 from ton31337/feature/show_ip_route_summary_json (diff)
downloadfrr-26eb18e259a52116d292b6a0cceebc4b45c4eb5c.tar.xz
frr-26eb18e259a52116d292b6a0cceebc4b45c4eb5c.zip
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>
Diffstat (limited to 'yang/frr-isisd.yang')
-rw-r--r--yang/frr-isisd.yang6
1 files changed, 5 insertions, 1 deletions
diff --git a/yang/frr-isisd.yang b/yang/frr-isisd.yang
index faa880eff..faab1e55b 100644
--- a/yang/frr-isisd.yang
+++ b/yang/frr-isisd.yang
@@ -27,6 +27,10 @@ module frr-isisd {
description
"This module defines a model for managing FRR isisd daemon.";
+ revision 2019-12-17 {
+ description
+ "Changed default area is-type to level-1-2";
+ }
revision 2019-09-09 {
description
"Changed interface references to use
@@ -748,7 +752,7 @@ module frr-isisd {
leaf is-type {
type level;
- default "level-1";
+ default "level-1-2";
description
"Level of the IS-IS routing instance (OSI only).";
}