Remove netconf from commons/opendaylight pom
[controller.git] / opendaylight / netconf / netconf-config-dispatcher / src / main / yang / odl-netconfig-client-cfg.yang
1 // vi: set smarttab et sw=4 tabstop=4:
2 module odl-netconfig-client-cfg {
3
4     yang-version 1;
5     namespace "urn:opendaylight:params:xml:ns:yang:controller:config:netconf:client:dispatcher";
6     prefix "cfg-net-client";
7
8     import config { prefix config; revision-date 2013-04-05; }
9     import odl-netconf-cfg { prefix cfg-net; revision-date 2014-04-08; }
10     import netty {prefix netty; }
11
12     description
13         "This module contains the base YANG definitions for
14         netconf-client-dispatcher implementation.
15
16         Copyright (c)2013 Cisco Systems, Inc. All rights reserved.;
17
18         This program and the accompanying materials are made available
19         under the terms of the Eclipse Public License v1.0 which
20         accompanies this distribution, and is available at
21         http://www.eclipse.org/legal/epl-v10.html";
22
23     revision "2014-04-08" {
24         description
25             "Initial revision.";
26     }
27
28     identity netconf-client-dispatcher {
29             base config:module-type;
30             config:provided-service cfg-net:netconf-client-dispatcher;
31             config:java-name-prefix NetconfClientDispatcher;
32     }
33
34     augment "/config:modules/config:module/config:configuration" {
35         case netconf-client-dispatcher {
36             when "/config:modules/config:module/config:type = 'netconf-client-dispatcher'";
37
38             container boss-thread-group {
39                 uses config:service-ref {
40                     refine type {
41                         config:required-identity netty:netty-threadgroup;
42                     }
43                 }
44             }
45
46             container worker-thread-group {
47                 uses config:service-ref {
48                     refine type {
49                         config:required-identity netty:netty-threadgroup;
50                     }
51                 }
52             }
53
54             container timer {
55                 uses config:service-ref {
56                     refine type {
57                         config:required-identity netty:netty-timer;
58                     }
59                 }
60             }
61         }
62     }
63
64 }