X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-netconf-connector%2Fsrc%2Fmain%2Fyang%2Fodl-sal-netconf-connector-cfg.yang;h=799c9c89995d414b410f1aa1ad02f4a4b4756e80;hb=refs%2Fchanges%2F88%2F20988%2F3;hp=7059a14aa33810eff4511f30da7e2630e6a15330;hpb=ab3be1c3e568b4daa9a98e026dc3fc7649a5b25c;p=controller.git diff --git a/opendaylight/md-sal/sal-netconf-connector/src/main/yang/odl-sal-netconf-connector-cfg.yang b/opendaylight/md-sal/sal-netconf-connector/src/main/yang/odl-sal-netconf-connector-cfg.yang index 7059a14aa3..799c9c8999 100644 --- a/opendaylight/md-sal/sal-netconf-connector/src/main/yang/odl-sal-netconf-connector-cfg.yang +++ b/opendaylight/md-sal/sal-netconf-connector/src/main/yang/odl-sal-netconf-connector-cfg.yang @@ -126,6 +126,12 @@ module odl-sal-netconf-connector-cfg { default 20000; } + leaf default-request-timeout-millis { + description "Timeout for blocking operations within transactions."; + type uint32; + default 60000; + } + leaf max-connection-attempts { description "Maximum number of connection retries. Non positive value or null is interpreted as infinity."; type uint32; @@ -144,6 +150,25 @@ module odl-sal-netconf-connector-cfg { } default 1.5; } + + // Keepalive configuration + leaf keepalive-delay { + type uint32; + default 120; + description "Netconf connector sends keepalive RPCs while the session is idle, this delay specifies the delay between keepalive RPC in seconds + If a value <1 is provided, no keepalives will be sent"; + } + + container keepalive-executor { + uses config:service-ref { + refine type { + mandatory false; + config:required-identity th:scheduled-threadpool; + } + } + + description "Dedicated solely to keepalive execution"; + } } } } \ No newline at end of file