From: Rafael Zalamena Date: Mon, 8 Jul 2019 20:38:28 +0000 (-0300) Subject: yang: change single hop `leaf` order X-Git-Tag: base_7.2~144^2~1 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=7f121ef718f5f20521e2e968b65e580b5881d8f0;p=mirror%2Ffrr.git 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 --- diff --git a/yang/frr-bfdd.yang b/yang/frr-bfdd.yang index 4604f747c6..24ca8f68a8 100644 --- a/yang/frr-bfdd.yang +++ b/yang/frr-bfdd.yang @@ -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;