1 module odl-sal-netconf-connector-cfg {
3 namespace "urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf";
6 import config { prefix config; revision-date 2013-04-05; }
7 import threadpool {prefix th;}
8 import netty {prefix netty;}
9 import opendaylight-md-sal-dom {prefix dom;}
10 import odl-netconf-cfg { prefix cfg-net; revision-date 2014-04-08; }
13 "Service definition for Binding Aware MD-SAL.";
15 revision "2013-10-28" {
20 identity sal-netconf-connector {
21 base config:module-type;
22 config:java-name-prefix NetconfConnector;
37 augment "/config:modules/config:module/config:configuration" {
38 case sal-netconf-connector {
39 when "/config:modules/config:module/config:type = 'sal-netconf-connector'";
61 container dom-registry {
62 uses config:service-ref {
65 config:required-identity dom:dom-broker-osgi-registry;
70 // FIXME BUG-944 remove backwards compatibility
71 // Deprecated, replaced by client dispatcher.
72 // This dependency will be removed in near future and all configurations of netconf-connector need to be changed to use dispatcher dependency.
73 container boss-thread-group {
74 uses config:service-ref {
77 config:required-identity netty:netty-threadgroup;
82 // FIXME BUG-944 remove backwards compatibility
83 // Deprecated, replaced by client dispatcher.
84 // This dependency will be removed in near future and all configurations of netconf-connector need to be changed to use dispatcher dependency.
85 container worker-thread-group {
86 uses config:service-ref {
89 config:required-identity netty:netty-threadgroup;
94 container event-executor {
95 uses config:service-ref {
97 config:required-identity netty:netty-event-executor;
102 // Replaces thread group dependencies
103 container client-dispatcher {
104 uses config:service-ref {
107 config:required-identity cfg-net:netconf-client-dispatcher;
112 leaf connection-timeout-millis {
113 description "Specifies timeout in milliseconds after which connection must be established.";
118 leaf max-connection-attempts {
119 description "Maximum number of connection retries. Non positive value or null is interpreted as infinity.";
121 default 0; // retry forever
124 leaf between-attempts-timeout-millis {
125 description "Timeout in milliseconds to wait between connection attempts.";