1 <?xml version="1.0" encoding="UTF-8"?>
\r
2 <module name="threadpool-impl-scheduled"
\r
3 xmlns="urn:ietf:params:xml:ns:yang:yin:1"
\r
4 xmlns:th-java-scheduled="urn:opendaylight:params:xml:ns:yang:controller:threadpool:impl:scheduled"
\r
5 xmlns:th="urn:opendaylight:params:xml:ns:yang:controller:threadpool"
\r
6 xmlns:config="urn:opendaylight:params:xml:ns:yang:controller:config"
\r
7 xmlns:rpcx="urn:ietf:params:xml:ns:yang:rpc-context">
\r
8 <yang-version value="1"/>
\r
9 <namespace uri="urn:opendaylight:params:xml:ns:yang:controller:threadpool:impl:scheduled"/>
\r
10 <prefix value="th-java-scheduled"/>
\r
11 <import module="threadpool">
\r
12 <prefix value="th"/>
\r
13 <revision-date date="2013-04-09"/>
\r
15 <import module="config">
\r
16 <prefix value="config"/>
\r
17 <revision-date date="2013-04-05"/>
\r
19 <import module="rpc-context">
\r
20 <prefix value="rpcx"/>
\r
21 <revision-date date="2013-06-17"/>
\r
24 <text>Cisco Systems, Inc.</text>
\r
27 <text>Robert Varga <rovarga@cisco.com></text>
\r
30 <text>This module contains the base YANG definitions for
\r
31 thread services pure Java implementation.
\r
33 Copyright (c)2013 Cisco Systems, Inc. All rights reserved.;
\r
35 This program and the accompanying materials are made available
\r
36 under the terms of the Eclipse Public License v1.0 which
\r
37 accompanies this distribution, and is available at
\r
38 http://www.eclipse.org/legal/epl-v10.html</text>
\r
40 <revision date="2013-12-01">
\r
42 <text>Initial revision</text>
\r
45 <identity name="threadpool-scheduled">
\r
46 <base name="config:module-type"/>
\r
47 <config:provided-service name="th:scheduled-threadpool"/>
\r
48 <config:java-name-prefix java-prefix="ScheduledThreadPool"/>
\r
50 <augment target-node="/config:modules/config:module/config:configuration">
\r
51 <case name="threadpool-scheduled">
\r
52 <when condition="/config:modules/config:module/config:type = 'threadpool-scheduled'"/>
\r
53 <leaf name="max-thread-count">
\r
54 <type name="uint16"/>
\r
56 <container name="threadFactory">
\r
57 <uses name="config:service-ref">
\r
58 <refine target-node="type">
\r
59 <config:required-identity name="th:threadfactory"/>
\r