yang: change single hop leaf order

Move `source-address` to after the list keys, otherwise the CLI would
get into an invalid state and be unable to set any other configuration
inside that node.

Spotted by Philippe Guibert.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
This commit is contained in:
Rafael Zalamena 2019-07-08 17:38:28 -03:00
parent 307fc4259a
commit 7f121ef718

View File

@ -317,11 +317,6 @@ module frr-bfdd {
key "dest-addr interface vrf";
description "List of single hop sessions";
leaf source-addr {
type inet:ip-address;
description "Local IP address";
}
leaf dest-addr {
type inet:ip-address;
description "IP address of the peer";
@ -339,6 +334,11 @@ module frr-bfdd {
description "Virtual Routing Domain name";
}
leaf source-addr {
type inet:ip-address;
description "Local IP address";
}
uses session-common;
uses session-echo;