7cac5ad5bc6202265be39f385b8749d61bc77e62
[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     }
36
37     identity netty-event-executor {
38         description
39             "Configuration wrapper around netty's event executor";
40
41         base "config:service-type";
42         config:java-class "io.netty.util.concurrent.EventExecutor";
43     }
44
45     identity netty-timer {
46         description
47             "Configuration wrapper around netty's timer";
48
49         base "config:service-type";
50         config:java-class "io.netty.util.Timer";
51     }
52 }