yang: Default value for a key leaf to be ignored

In YANG, key leaves are used to uniquely identify list entries, and they
cannot have default values

Signed-off-by: y-bharath14 <y.bharath@samsung.com>
This commit is contained in:
Y Bharath 2025-02-13 17:10:46 +05:30
parent 007243d94d
commit 4f7b45f28b

View file

@ -520,7 +520,6 @@ module frr-bfdd {
leaf bfd-name {
type string;
default "";
description "Bfd session name.";
}
@ -582,7 +581,6 @@ module frr-bfdd {
leaf bfd-name {
type string;
default "";
description "Bfd session name.";
}