diff options
author | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2019-07-08 22:38:28 +0200 |
---|---|---|
committer | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2019-07-09 14:49:45 +0200 |
commit | 7f121ef718f5f20521e2e968b65e580b5881d8f0 (patch) | |
tree | f772ff1df0b6d1a52714b3a491cc79af712a1acf | |
parent | bfdd: fix some CI warnings (diff) | |
download | frr-7f121ef718f5f20521e2e968b65e580b5881d8f0.tar.xz frr-7f121ef718f5f20521e2e968b65e580b5881d8f0.zip |
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>
-rw-r--r-- | yang/frr-bfdd.yang | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/yang/frr-bfdd.yang b/yang/frr-bfdd.yang index 4604f747c..24ca8f68a 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; |