Deprecate netty config modules
[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         status deprecated;
31         description
32             "Configuration wrapper around netty's threadgroup";
33
34         base "config:service-type";
35         config:java-class "io.netty.channel.EventLoopGroup";
36         config:disable-osgi-service-registration;
37     }
38
39     identity netty-event-executor {
40         status deprecated;
41         description
42             "Configuration wrapper around netty's event executor";
43
44         base "config:service-type";
45         config:java-class "io.netty.util.concurrent.EventExecutor";
46         config:disable-osgi-service-registration;
47     }
48
49     identity netty-timer {
50         status deprecated;
51         description
52             "Configuration wrapper around netty's timer";
53
54         base "config:service-type";
55         config:java-class "io.netty.util.Timer";
56         config:disable-osgi-service-registration;
57     }
58
59     identity channel-factory {
60         status deprecated;
61         description
62             "Configuration wrapper around netty's channel factory";
63
64         base "config:service-type";
65         config:java-class "io.netty.bootstrap.ChannelFactory";
66         config:disable-osgi-service-registration;
67     }
68 }