sal-remoterpc-connector: sync ch.qos.logback:logback-classic version
[controller.git] / opendaylight / md-sal / sal-netconf-connector / src / main / yang / odl-sal-netconf-connector-cfg.yang
1 module odl-sal-netconf-connector-cfg {
2     yang-version 1;
3     namespace "urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf";
4     prefix "sal-netconf";
5
6         import config { prefix config; revision-date 2013-04-05; }
7         import threadpool {prefix th;}
8         import netty {prefix netty;}
9         import ietf-inet-types {prefix inet;}
10         import opendaylight-md-sal-dom {prefix dom;}
11
12     description
13         "Service definition for Binding Aware MD-SAL.";
14  
15     revision "2013-10-28" {
16         description
17             "Initial revision";
18     }
19
20     identity sal-netconf-connector {
21         base config:module-type;
22         config:java-name-prefix NetconfConnector;
23     }
24
25
26     grouping server {
27         leaf address {
28             type string;
29         }
30     
31         leaf port {
32             type uint32;
33         }
34     }
35
36
37     augment "/config:modules/config:module/config:configuration" {
38         case sal-netconf-connector {
39             when "/config:modules/config:module/config:type = 'sal-netconf-connector'";
40             
41             leaf address {
42                 type string;
43             }
44
45             leaf port {
46                 type uint32;
47             }
48             
49             leaf tcp-only {
50                 type boolean;
51             }
52
53             leaf username {
54                 type string;
55             }
56             
57             leaf password {
58                 type string;
59             }
60             container dom-registry {
61                 uses config:service-ref {
62                     refine type {
63                         mandatory true;
64                         config:required-identity dom:dom-broker-osgi-registry;
65                     }
66                 }
67             }
68
69             container boss-thread-group {
70                 uses config:service-ref {
71                     refine type {
72                         config:required-identity netty:netty-threadgroup;
73                     }
74                 }
75             }
76
77             container worker-thread-group {
78                 uses config:service-ref {
79                     refine type {
80                         config:required-identity netty:netty-threadgroup;
81                     }
82                 }
83             }
84
85             container event-executor {
86                 uses config:service-ref {
87                     refine type {
88                         config:required-identity netty:netty-event-executor;
89                     }
90                 }
91             }
92         }
93     }
94 }