Revert "Fix shorthand case statement in netconf notifications model" 22/30722/3
authorJakub Morvay <jmorvay@cisco.com>
Fri, 4 Dec 2015 15:23:32 +0000 (16:23 +0100)
committerTony Tkacik <ttkacik@cisco.com>
Tue, 8 Dec 2015 13:25:10 +0000 (13:25 +0000)
This reverts commit da1abe40ffbc95f53149797f7aff46a4510b5db3.

Since BUG 4414 is fixed, use shorthand version of case statement

Change-Id: I24adce3584caada676b91ddc9865e69bfc6eb67e
Signed-off-by: Jakub Morvay <jmorvay@cisco.com>
opendaylight/netconf/models/ietf-netconf-notifications/src/main/yang/ietf-netconf-notifications@2012-02-06.yang

index dcb35a021bd5e42dc36cc73974882117627d6f41..456fde49266c44f759073662ca801c081cf57ea8 100644 (file)
@@ -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;
         }