From 6e4b84db0568e2aa2158858524351f22fe0d90f4 Mon Sep 17 00:00:00 2001 From: Jakub Morvay Date: Fri, 4 Dec 2015 16:23:32 +0100 Subject: [PATCH] Revert "Fix shorthand case statement in netconf notifications model" This reverts commit da1abe40ffbc95f53149797f7aff46a4510b5db3. Since BUG 4414 is fixed, use shorthand version of case statement Change-Id: I24adce3584caada676b91ddc9865e69bfc6eb67e Signed-off-by: Jakub Morvay --- .../yang/ietf-netconf-notifications@2012-02-06.yang | 12 +++++------- 1 file changed, 5 insertions(+), 7 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 dcb35a021b..456fde4926 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,15 +103,13 @@ module ietf-netconf-notifications { of the session that made the change will be reported."; choice server-or-user { mandatory true; - //FIXME: Use shorthand version of case statement, if possible - case server { - leaf server { - type empty; - description + 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