281b76c1b84900b8fa0eb613da39547a16ebe0e8
[controller.git] / opendaylight / config / netty-config-api / src / main / yang / netty.yang
1 // vi: set smarttab et sw=4 tabstop=4:
2 module netty {
3     yang-version 1;
4     namespace "urn:opendaylight:params:xml:ns:yang:controller:netty";
5     prefix "netty";
6
7     import config { prefix config; revision-date 2013-04-05; }
8
9     organization "Cisco Systems, Inc.";
10
11     contact "Milos Fabian <milfabia@cisco.com>";
12
13     description
14         "This module contains the base YANG definitions for
15          netty services.
16
17         Copyright (c)2013 Cisco Systems, Inc. All rights reserved.;
18
19         This program and the accompanying materials are made available
20         under the terms of the Eclipse Public License v1.0 which
21         accompanies this distribution, and is available at
22         http://www.eclipse.org/legal/epl-v10.html";
23
24     revision "2013-11-19" {
25         description
26             "Initial revision.";
27     }
28
29     identity netty-threadgroup {
30         description
31             "Configuration wrapper around netty's threadgroup";
32
33         base "config:service-type";
34         config:java-class "io.netty.channel.EventLoopGroup";
35         config:disable-osgi-service-registration;
36     }
37
38     identity netty-event-executor {
39         description
40             "Configuration wrapper around netty's event executor";
41
42         base "config:service-type";
43         config:java-class "io.netty.util.concurrent.EventExecutor";
44         config:disable-osgi-service-registration;
45     }
46
47     identity netty-timer {
48         description
49             "Configuration wrapper around netty's timer";
50
51         base "config:service-type";
52         config:java-class "io.netty.util.Timer";
53         config:disable-osgi-service-registration;
54     }
55
56     identity channel-factory {
57         description
58             "Configuration wrapper around netty's channel factory";
59
60         base "config:service-type";
61         config:java-class "io.netty.bootstrap.ChannelFactory";
62         config:disable-osgi-service-registration;
63     }
64 }