From da1abe40ffbc95f53149797f7aff46a4510b5db3 Mon Sep 17 00:00:00 2001 From: Jakub Morvay Date: Tue, 6 Oct 2015 11:06:46 +0200 Subject: [PATCH] Fix shorthand case statement in netconf notifications model Use normal version of server case statement in server-or-user choice statement in ietf-netconf-notifications model. Short version is currently not supported by yangtools. Change-Id: I043babfc8e70654aed1c8dfdd7486795e49aa2bf Signed-off-by: Jakub Morvay --- .../yang/ietf-netconf-notifications@2012-02-06.yang | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/opendaylight/netconf/models/ietf-netconf-notifications/src/main/yang/ietf-netconf-notifications@2012-02-06.yang b/opendaylight/netconf/models/ietf-netconf-notifications/src/main/yang/ietf-netconf-notifications@2012-02-06.yang index 456fde4926..dcb35a021b 100644 --- a/opendaylight/netconf/models/ietf-netconf-notifications/src/main/yang/ietf-netconf-notifications@2012-02-06.yang +++ b/opendaylight/netconf/models/ietf-netconf-notifications/src/main/yang/ietf-netconf-notifications@2012-02-06.yang @@ -103,13 +103,15 @@ module ietf-netconf-notifications { of the session that made the change will be reported."; choice server-or-user { mandatory true; - leaf server { - type empty; - description + //FIXME: Use shorthand version of case statement, if possible + case server { + leaf server { + type empty; + description "If present, the change was caused - by the server."; + by the server."; + } } - case by-user { uses common-session-parms; } -- 2.36.6