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=8f3064822be319dfee6fd7c7061c8bee14db268f;hp=4c34513591f51314769c89c8eaa3d409c0aea6a8;hb=4541d1e66f077b969b4be106d8bce8b76d53615a;hpb=d8559be3bef3cad55c9c08cbb7718df32744f44a 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 4c34513591..8f3064822b 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,20 +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"; - } + } }