Fix shorthand case statement in netconf notifications model
[netconf.git] / opendaylight / netconf / models / ietf-netconf-notifications / src / main / yang / ietf-netconf-notifications@2012-02-06.yang
index 456fde49266c44f759073662ca801c081cf57ea8..dcb35a021bd5e42dc36cc73974882117627d6f41 100644 (file)
@@ -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;
         }