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;}
12 "Service definition for Binding Aware MD-SAL.";
14 revision "2013-10-28" {
19 identity sal-netconf-connector {
20 base config:module-type;
21 config:java-name-prefix NetconfConnector;
36 augment "/config:modules/config:module/config:configuration" {
37 case sal-netconf-connector {
38 when "/config:modules/config:module/config:type = 'sal-netconf-connector'";
59 container dom-registry {
60 uses config:service-ref {
63 config:required-identity dom:dom-broker-osgi-registry;
68 container boss-thread-group {
69 uses config:service-ref {
71 config:required-identity netty:netty-threadgroup;
76 container worker-thread-group {
77 uses config:service-ref {
79 config:required-identity netty:netty-threadgroup;
84 container event-executor {
85 uses config:service-ref {
87 config:required-identity netty:netty-event-executor;
92 leaf connection-timeout-millis {
93 description "Specifies timeout in milliseconds after which connection must be established.";
98 leaf max-connection-attempts {
99 description "Maximum number of connection retries. Non positive value or null is interpreted as infinity.";
101 default 0; // retry forever
105 leaf between-attempts-timeout-millis {
106 description "Timeout in milliseconds to wait between connection attempts.";