X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fconfig%2Fthreadpool-config-impl%2Fsrc%2Fmain%2Fyang%2Fthreadpool-impl.yang;h=cc4af4d5969fec0fab92146b0732df31fa47b430;hb=1060b7d9ccea26ae56e25e499abf66732a53f472;hp=b454d94c271fbae28b25bd2b7a893d66ae507c34;hpb=56a881b184f02588b88ebfbc541dcffe33fa0927;p=controller.git diff --git a/opendaylight/config/threadpool-config-impl/src/main/yang/threadpool-impl.yang b/opendaylight/config/threadpool-config-impl/src/main/yang/threadpool-impl.yang index b454d94c27..cc4af4d596 100644 --- a/opendaylight/config/threadpool-config-impl/src/main/yang/threadpool-impl.yang +++ b/opendaylight/config/threadpool-config-impl/src/main/yang/threadpool-impl.yang @@ -1,4 +1,3 @@ -// vi: set smarttab et sw=4 tabstop=4: module threadpool-impl { yang-version 1; namespace "urn:opendaylight:params:xml:ns:yang:controller:threadpool:impl"; @@ -113,83 +112,5 @@ module threadpool-impl { } } } - - identity threadpool-fixed { - base config:module-type; - config:provided-service th:threadpool; - config:java-name-prefix FixedThreadPool; - } - - augment "/config:modules/config:module/config:configuration" { - case threadpool-fixed { - when "/config:modules/config:module/config:type = 'threadpool-fixed'"; - leaf max-thread-count { - type uint16; - } - - container threadFactory { - uses config:service-ref { - refine type { - //mandatory true; - config:required-identity th:threadfactory; - } - } - } - } - } - - identity threadpool-flexible { - base config:module-type; - config:provided-service th:threadpool; - config:java-name-prefix FlexibleThreadPool; - } - - augment "/config:modules/config:module/config:configuration" { - case threadpool-flexible { - when "/config:modules/config:module/config:type = 'threadpool-flexible'"; - leaf max-thread-count { - type uint16; - } - leaf minThreadCount { - type uint16; - } - leaf keepAliveMillis { - type uint32; - } - - container threadFactory { - uses config:service-ref { - refine type { - // mandatory true; - config:required-identity th:threadfactory; - } - } - } - } - } - - identity threadpool-scheduled { - base config:module-type; - config:provided-service th:scheduled-threadpool; - config:java-name-prefix ScheduledThreadPool; - } - - augment "/config:modules/config:module/config:configuration" { - case threadpool-scheduled { - when "/config:modules/config:module/config:type = 'threadpool-scheduled'"; - leaf max-thread-count { - type uint16; - } - - container threadFactory { - uses config:service-ref { - refine type { - // mandatory true; - config:required-identity th:threadfactory; - } - } - } - } - } }