X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=opendaylight%2Fmd-sal%2Fsal-netconf-connector%2Fsrc%2Fmain%2Fyang%2Fodl-sal-netconf-connector-cfg.yang;h=f0fa452dc5c989138481a50ac89b120f02edb03c;hb=d5d9d1a9b29fdfb93b78f102ab5463e773453651;hp=45f10162ca7edd600ca86bc5a56ac3cfb229fafb;hpb=8ed4cbed171ee99f57e49823e971b52202637c4c;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 45f10162ca..f0fa452dc5 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 @@ -6,7 +6,6 @@ module odl-sal-netconf-connector-cfg { import config { prefix config; revision-date 2013-04-05; } import threadpool {prefix th;} import netty {prefix netty;} - import ietf-inet-types {prefix inet;} import opendaylight-md-sal-dom {prefix dom;} description @@ -45,7 +44,18 @@ module odl-sal-netconf-connector-cfg { leaf port { type uint32; } + + leaf tcp-only { + type boolean; + } + leaf username { + type string; + } + + leaf password { + type string; + } container dom-registry { uses config:service-ref { refine type { @@ -70,6 +80,33 @@ module odl-sal-netconf-connector-cfg { } } } + + container event-executor { + uses config:service-ref { + refine type { + config:required-identity netty:netty-event-executor; + } + } + } + + leaf connection-timeout-millis { + description "Specifies timeout in milliseconds after which connection must be established."; + type uint32; + default 20000; + } + + leaf max-connection-attempts { + description "Maximum number of connection retries. Non positive value or null is interpreted as infinity."; + type uint32; + default 0; // retry forever + } + + + leaf between-attempts-timeout-millis { + description "Timeout in milliseconds to wait between connection attempts."; + type uint16; + default 10000; + } } } } \ No newline at end of file