X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fconfig%2Fthreadpool-config-api%2Fsrc%2Fmain%2Fyang%2Fthreadpool.yang;h=4c34513591f51314769c89c8eaa3d409c0aea6a8;hp=9c73711c17bf98e0547b87674be96fd6451a64f1;hb=d8559be3bef3cad55c9c08cbb7718df32744f44a;hpb=13efd0b8e167e8aadd531b5ec0e72572a72bc249 diff --git a/opendaylight/config/threadpool-config-api/src/main/yang/threadpool.yang b/opendaylight/config/threadpool-config-api/src/main/yang/threadpool.yang index 9c73711c17..4c34513591 100644 --- a/opendaylight/config/threadpool-config-api/src/main/yang/threadpool.yang +++ b/opendaylight/config/threadpool-config-api/src/main/yang/threadpool.yang @@ -1,14 +1,14 @@ // vi: set smarttab et sw=4 tabstop=4: module threadpool { - yang-version 1; - namespace "urn:opendaylight:params:xml:ns:yang:controller:threadpool"; - prefix "th"; + yang-version 1; + namespace "urn:opendaylight:params:xml:ns:yang:controller:threadpool"; + prefix "th"; - import config { prefix config; revision-date 2013-04-05; } + import config { prefix config; revision-date 2013-04-05; } - organization "Cisco Systems, Inc."; + organization "Cisco Systems, Inc."; - contact "Robert Varga "; + contact "Robert Varga "; description "This module contains the base YANG definitions for @@ -17,9 +17,9 @@ module threadpool { 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-04-09" { description @@ -57,39 +57,20 @@ module threadpool { config:java-class "java.util.concurrent.ThreadFactory"; } - identity threadpool { + identity threadpool { description "A simple pool of threads able to execute work."; - base "config:service-type"; + base "config:service-type"; config:java-class "org.opendaylight.controller.config.threadpool.ThreadPool"; - } + } - identity scheduled-threadpool { + identity scheduled-threadpool { description "An extension of the simple pool of threads able to schedule work to be executed at some point in time."; - base "threadpool"; + base "threadpool"; config:java-class "org.opendaylight.controller.config.threadpool.ScheduledThreadPool"; - } - - - identity netty-threadgroup { - description - "Configuration wrapper around netty's threadgroup"; - - base "config:service-type"; - config:java-class "io.netty.channel.EventLoopGroup"; } - - identity netty-event-executor { - description - "Configuration wrapper around netty's event executor"; - - base "config:service-type"; - config:java-class "io.netty.util.concurrent.EventExecutor"; - } - - }