Bug 6794 - Deprecate eventbus, async-eventbus and fixed-threadpool
[controller.git] / opendaylight / config / threadpool-config-impl / src / main / yang / threadpool-impl.yang
index cc4af4d5969fec0fab92146b0732df31fa47b430..8ae7d889321e1865f4237fc323f69af92c868703 100644 (file)
@@ -37,9 +37,11 @@ module threadpool-impl {
         base config:module-type;
         config:provided-service th:eventbus;
         config:java-name-prefix EventBus;
+        status deprecated;
     }
 
     augment "/config:modules/config:module/config:configuration" {
+        status deprecated;
         case eventbus {
             when "/config:modules/config:module/config:type = 'eventbus'";
             // No real configuration
@@ -47,6 +49,7 @@ module threadpool-impl {
     }
 
     augment "/config:modules/config:module/config:state" {
+        status deprecated;
         case eventbus {
             when "/config:modules/config:module/config:type = 'eventbus'";
             rpcx:rpc-context-instance "event-bus-rpc";
@@ -59,9 +62,11 @@ module threadpool-impl {
         base config:module-type;
         config:provided-service th:eventbus;
         config:java-name-prefix AsyncEventBus;
+        status deprecated;
     }
 
     augment "/config:modules/config:module/config:configuration" {
+        status deprecated;
         case async-eventbus {
             when "/config:modules/config:module/config:type = 'async-eventbus'";
             container threadpool {
@@ -76,6 +81,7 @@ module threadpool-impl {
     }
 
     augment "/config:modules/config:module/config:state" {
+        status deprecated;
         case async-eventbus {
             when "/config:modules/config:module/config:type = 'async-eventbus'";
             rpcx:rpc-context-instance "event-bus-rpc";