Remove yang-test
[controller.git] / opendaylight / config / yang-jmx-generator / src / test / resources / test-config-threads.yang
1 module config-threads {
2     yang-version 1;
3     namespace "urn:opendaylight:params:xml:ns:yang:controller:config:threads";
4     prefix "th";
5
6     import config { prefix config; revision-date 2013-04-05; }
7
8     description
9         "This module contains the base YANG definitions for NS-OS
10          thread-related services.";
11
12     revision "2013-04-09" {
13         description
14             "Added eventbus service.";
15     }
16
17     revision "2013-04-05" {
18         description
19             "Updated with YANG extension for Java class specification.";
20     }
21
22     revision "2013-04-03" {
23         description
24             "Initial revision";
25     }
26
27     identity eventbus {
28         description
29             "Service representing an event bus. The service acts as message
30              router between event producers and event consumers";
31
32         base "config:service-type";
33         config:java-class "com.google.common.eventbus.EventBus";
34     }
35
36     identity threadfactory {
37         description
38             "Service representing a ThreadFactory instance. It is directly
39              useful in Java world, where various library pieces need to create
40              threads and you may want to inject a customized thread
41              implementation.";
42
43         base "config:service-type";
44         config:java-class "java.util.concurrent.ThreadFactory";
45     }
46
47     identity threadpool {
48         description
49             "A simple pool of threads able to execute work.";
50
51         base "config:service-type";
52         config:java-class "org.opendaylight.controller.config.threadpool.ThreadPool";
53     }
54
55     identity scheduled-threadpool {
56         description
57             "An extension of the simple pool of threads able to schedule
58              work to be executed at some point in time.";
59
60         base "threadpool";
61         config:java-class "org.opendaylight.controller.config.threadpool.ScheduledThreadPool";
62     }
63 }