Fix pax exam issue
[controller.git] / opendaylight / config / netty-event-executor-config / src / main / yang / netty-event-executor.yang
index 16e5c07356df97c6af8baf2f6e7eb80ac7d123f4..ca15334ea29d7916092d792db8991d1a5b87be7e 100644 (file)
@@ -1,7 +1,7 @@
 // vi: set smarttab et sw=4 tabstop=4:
 module netty-event-executor {
     yang-version 1;
-       namespace "urn:opendaylight:params:xml:ns:yang:controller:netty:eventexecutor";
+    namespace "urn:opendaylight:params:xml:ns:yang:controller:netty:eventexecutor";
     prefix "netty-ee";
 
     import config { prefix config; revision-date 2013-04-05; }
@@ -16,18 +16,19 @@ module netty-event-executor {
          netty event executor implementation.
 
         Copyright (c)2013 Cisco Systems, Inc. All rights reserved.;
-        
+
         This program and the accompanying materials are made available
-               under the terms of the Eclipse Public License v1.0 which
-               accompanies this distribution, and is available at
-               http://www.eclipse.org/legal/epl-v10.html";
+        under the terms of the Eclipse Public License v1.0 which
+        accompanies this distribution, and is available at
+        http://www.eclipse.org/legal/epl-v10.html";
 
     revision "2013-11-12" {
         description
             "Initial revision";
     }
-    
+
     identity netty-global-event-executor {
+        status deprecated;
         base config:module-type;
         config:provided-service netty:netty-event-executor;
         config:java-name-prefix GlobalEventExecutor;
@@ -36,7 +37,19 @@ module netty-event-executor {
     augment "/config:modules/config:module/config:configuration" {
         case netty-global-event-executor {
             when "/config:modules/config:module/config:type = 'netty-global-event-executor'";
+        }
+    }
 
+    identity netty-immediate-event-executor {
+        status deprecated;
+        base config:module-type;
+        config:provided-service netty:netty-event-executor;
+        config:java-name-prefix ImmediateEventExecutor;
+    }
+
+    augment "/config:modules/config:module/config:configuration" {
+        case netty-immediate-event-executor {
+            when "/config:modules/config:module/config:type = 'netty-immediate-event-executor'";
         }
     }
 }