1 module threadpool-impl-flexible {
3 namespace "urn:opendaylight:params:xml:ns:yang:controller:threadpool:impl:flexible";
4 prefix "th-java-flexible";
6 import threadpool { prefix th; revision-date 2013-04-09; }
7 import config { prefix config; revision-date 2013-04-05; }
8 import rpc-context { prefix rpcx; revision-date 2013-06-17; }
10 organization "Cisco Systems, Inc.";
12 contact "Robert Varga <rovarga@cisco.com>";
15 "This module contains the base YANG definitions for
16 thread services pure Java implementation.
18 Copyright (c)2013 Cisco Systems, Inc. All rights reserved.;
20 This program and the accompanying materials are made available
21 under the terms of the Eclipse Public License v1.0 which
22 accompanies this distribution, and is available at
23 http://www.eclipse.org/legal/epl-v10.html";
25 revision "2013-12-01" {
30 identity threadpool-flexible {
31 base config:module-type;
32 config:provided-service th:threadpool;
33 config:java-name-prefix FlexibleThreadPool;
36 augment "/config:modules/config:module/config:configuration" {
37 case threadpool-flexible {
38 when "/config:modules/config:module/config:type = 'threadpool-flexible'";
39 leaf max-thread-count {
45 leaf keepAliveMillis {
49 container threadFactory {
50 uses config:service-ref {
53 config:required-identity th:threadfactory;