Deprecate netty config modules
[controller.git] / opendaylight / config / netty-event-executor-config / src / main / yang / netty-event-executor.yang
1 // vi: set smarttab et sw=4 tabstop=4:
2 module netty-event-executor {
3     yang-version 1;
4     namespace "urn:opendaylight:params:xml:ns:yang:controller:netty:eventexecutor";
5     prefix "netty-ee";
6
7     import config { prefix config; revision-date 2013-04-05; }
8     import netty { prefix netty; revision-date 2013-11-19; }
9
10     organization "Cisco Systems, Inc.";
11
12     contact "Milos Fabian <milfabia@cisco.com>";
13
14     description
15         "This module contains the base YANG definitions for
16          netty event executor implementation.
17
18         Copyright (c)2013 Cisco Systems, Inc. All rights reserved.;
19
20         This program and the accompanying materials are made available
21         under the terms of the Eclipse Public License v1.0 which
22         accompanies this distribution, and is available at
23         http://www.eclipse.org/legal/epl-v10.html";
24
25     revision "2013-11-12" {
26         description
27             "Initial revision";
28     }
29
30     identity netty-global-event-executor {
31         status deprecated;
32         base config:module-type;
33         config:provided-service netty:netty-event-executor;
34         config:java-name-prefix GlobalEventExecutor;
35     }
36
37     augment "/config:modules/config:module/config:configuration" {
38         case netty-global-event-executor {
39             when "/config:modules/config:module/config:type = 'netty-global-event-executor'";
40         }
41     }
42
43     identity netty-immediate-event-executor {
44         status deprecated;
45         base config:module-type;
46         config:provided-service netty:netty-event-executor;
47         config:java-name-prefix ImmediateEventExecutor;
48     }
49
50     augment "/config:modules/config:module/config:configuration" {
51         case netty-immediate-event-executor {
52             when "/config:modules/config:module/config:type = 'netty-immediate-event-executor'";
53         }
54     }
55 }