Adding TestVNF netconf server
[demo.git] / vnfs / TestVNF / netconftemplates / netconftemplates / ietf-netconf-server@2016-11-02.yin
1 <rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="m-1">
2   <data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">&lt;?xml version="1.0" encoding="UTF-8"?&gt;
3 &lt;module name="ietf-netconf-server"
4         xmlns="urn:ietf:params:xml:ns:yang:yin:1"
5         xmlns:ncs="urn:ietf:params:xml:ns:yang:ietf-netconf-server"
6         xmlns:inet="urn:ietf:params:xml:ns:yang:ietf-inet-types"
7         xmlns:x509c2n="urn:ietf:params:xml:ns:yang:ietf-x509-cert-to-name"
8         xmlns:ss="urn:ietf:params:xml:ns:yang:ietf-ssh-server"
9         xmlns:ts="urn:ietf:params:xml:ns:yang:ietf-tls-server"&gt;
10   &lt;yang-version value="1.1"/&gt;
11   &lt;namespace uri="urn:ietf:params:xml:ns:yang:ietf-netconf-server"/&gt;
12   &lt;prefix value="ncs"/&gt;
13   &lt;import module="ietf-inet-types"&gt;
14     &lt;prefix value="inet"/&gt;
15     &lt;reference&gt;
16       &lt;text&gt;RFC 6991: Common YANG Data Types&lt;/text&gt;
17     &lt;/reference&gt;
18   &lt;/import&gt;
19   &lt;import module="ietf-x509-cert-to-name"&gt;
20     &lt;prefix value="x509c2n"/&gt;
21     &lt;reference&gt;
22       &lt;text&gt;RFC 7407: A YANG Data Model for SNMP Configuration&lt;/text&gt;
23     &lt;/reference&gt;
24   &lt;/import&gt;
25   &lt;import module="ietf-ssh-server"&gt;
26     &lt;prefix value="ss"/&gt;
27     &lt;revision-date date="2016-11-02"/&gt;
28     &lt;reference&gt;
29       &lt;text&gt;RFC YYYY: SSH Client and Server Models&lt;/text&gt;
30     &lt;/reference&gt;
31   &lt;/import&gt;
32   &lt;import module="ietf-tls-server"&gt;
33     &lt;prefix value="ts"/&gt;
34     &lt;revision-date date="2016-11-02"/&gt;
35     &lt;reference&gt;
36       &lt;text&gt;RFC ZZZZ: TLS Client and Server Models&lt;/text&gt;
37     &lt;/reference&gt;
38   &lt;/import&gt;
39   &lt;organization&gt;
40     &lt;text&gt;IETF NETCONF (Network Configuration) Working Group&lt;/text&gt;
41   &lt;/organization&gt;
42   &lt;contact&gt;
43     &lt;text&gt;WG Web:   &amp;lt;http://tools.ietf.org/wg/netconf/&amp;gt;
44 WG List:  &amp;lt;mailto:netconf@ietf.org&amp;gt;
45
46 WG Chair: Mehmet Ersue
47           &amp;lt;mailto:mehmet.ersue@nsn.com&amp;gt;
48
49 WG Chair: Mahesh Jethanandani
50           &amp;lt;mailto:mjethanandani@gmail.com&amp;gt;
51
52 Editor:   Kent Watsen
53           &amp;lt;mailto:kwatsen@juniper.net&amp;gt;&lt;/text&gt;
54   &lt;/contact&gt;
55   &lt;description&gt;
56     &lt;text&gt;This module contains a collection of YANG definitions for
57 configuring NETCONF servers.
58
59 Copyright (c) 2014 IETF Trust and the persons identified as
60 authors of the code. All rights reserved.
61
62 Redistribution and use in source and binary forms, with or
63 without modification, is permitted pursuant to, and subject
64 to the license terms contained in, the Simplified BSD
65 License set forth in Section 4.c of the IETF Trust's
66 Legal Provisions Relating to IETF Documents
67 (http://trustee.ietf.org/license-info).
68
69 This version of this YANG module is part of RFC XXXX; see
70 the RFC itself for full legal notices.&lt;/text&gt;
71   &lt;/description&gt;
72   &lt;revision date="2016-11-02"&gt;
73     &lt;description&gt;
74       &lt;text&gt;Initial version&lt;/text&gt;
75     &lt;/description&gt;
76     &lt;reference&gt;
77       &lt;text&gt;RFC XXXX: NETCONF Client and Server Models&lt;/text&gt;
78     &lt;/reference&gt;
79   &lt;/revision&gt;
80   &lt;feature name="listen"&gt;
81     &lt;description&gt;
82       &lt;text&gt;The 'listen' feature indicates that the NETCONF server
83 supports opening a port to accept NETCONF client connections
84 using at least one transport (e.g., SSH, TLS, etc.).&lt;/text&gt;
85     &lt;/description&gt;
86   &lt;/feature&gt;
87   &lt;feature name="ssh-listen"&gt;
88     &lt;description&gt;
89       &lt;text&gt;The 'ssh-listen' feature indicates that the NETCONF server
90 supports opening a port to accept NETCONF over SSH
91 client connections.&lt;/text&gt;
92     &lt;/description&gt;
93     &lt;reference&gt;
94       &lt;text&gt;RFC 6242: Using the NETCONF Protocol over Secure Shell (SSH)&lt;/text&gt;
95     &lt;/reference&gt;
96   &lt;/feature&gt;
97   &lt;feature name="tls-listen"&gt;
98     &lt;description&gt;
99       &lt;text&gt;The 'tls-listen' feature indicates that the NETCONF server
100 supports opening a port to accept NETCONF over TLS
101 client connections.&lt;/text&gt;
102     &lt;/description&gt;
103     &lt;reference&gt;
104       &lt;text&gt;RFC 7589: Using the NETCONF Protocol over Transport
105           Layer Security (TLS) with Mutual X.509
106           Authentication&lt;/text&gt;
107     &lt;/reference&gt;
108   &lt;/feature&gt;
109   &lt;feature name="call-home"&gt;
110     &lt;description&gt;
111       &lt;text&gt;The 'call-home' feature indicates that the NETCONF server
112 supports initiating NETCONF call home connections to NETCONF
113 clients using at least one transport (e.g., SSH, TLS, etc.).&lt;/text&gt;
114     &lt;/description&gt;
115     &lt;reference&gt;
116       &lt;text&gt;RFC YYYY: NETCONF Call Home and RESTCONF Call Home&lt;/text&gt;
117     &lt;/reference&gt;
118   &lt;/feature&gt;
119   &lt;feature name="ssh-call-home"&gt;
120     &lt;description&gt;
121       &lt;text&gt;The 'ssh-call-home' feature indicates that the NETCONF
122 server supports initiating a NETCONF over SSH call
123 home connection to NETCONF clients.&lt;/text&gt;
124     &lt;/description&gt;
125     &lt;reference&gt;
126       &lt;text&gt;RFC YYYY: NETCONF Call Home and RESTCONF Call Home&lt;/text&gt;
127     &lt;/reference&gt;
128   &lt;/feature&gt;
129   &lt;feature name="tls-call-home"&gt;
130     &lt;description&gt;
131       &lt;text&gt;The 'tls-call-home' feature indicates that the NETCONF
132 server supports initiating a NETCONF over TLS call
133 home connection to NETCONF clients.&lt;/text&gt;
134     &lt;/description&gt;
135     &lt;reference&gt;
136       &lt;text&gt;RFC YYYY: NETCONF Call Home and RESTCONF Call Home&lt;/text&gt;
137     &lt;/reference&gt;
138   &lt;/feature&gt;
139   &lt;grouping name="cert-maps-grouping"&gt;
140     &lt;description&gt;
141       &lt;text&gt;A grouping that defines a container around the
142 cert-to-name structure defined in RFC 7407.&lt;/text&gt;
143     &lt;/description&gt;
144     &lt;container name="cert-maps"&gt;
145       &lt;description&gt;
146         &lt;text&gt;The cert-maps container is used by a TLS-based NETCONF
147 server to map the NETCONF client's presented X.509
148 certificate to a NETCONF username.  If no matching and
149 valid cert-to-name list entry can be found, then the
150 NETCONF server MUST close the connection, and MUST NOT
151 accept NETCONF messages over it.&lt;/text&gt;
152       &lt;/description&gt;
153       &lt;reference&gt;
154         &lt;text&gt;RFC WWWW: NETCONF over TLS, Section 7&lt;/text&gt;
155       &lt;/reference&gt;
156       &lt;uses name="x509c2n:cert-to-name"/&gt;
157     &lt;/container&gt;
158   &lt;/grouping&gt;
159   &lt;grouping name="endpoints-container"&gt;
160     &lt;description&gt;
161       &lt;text&gt;This grouping is used by both the ssh and tls containers
162 for call-home configurations.&lt;/text&gt;
163     &lt;/description&gt;
164     &lt;container name="endpoints"&gt;
165       &lt;description&gt;
166         &lt;text&gt;Container for the list of endpoints.&lt;/text&gt;
167       &lt;/description&gt;
168       &lt;list name="endpoint"&gt;
169         &lt;key value="name"/&gt;
170         &lt;min-elements value="1"/&gt;
171         &lt;ordered-by value="user"/&gt;
172         &lt;description&gt;
173           &lt;text&gt;User-ordered list of endpoints for this NETCONF client.
174 Defining more than one enables high-availability.&lt;/text&gt;
175         &lt;/description&gt;
176         &lt;leaf name="name"&gt;
177           &lt;type name="string"/&gt;
178           &lt;description&gt;
179             &lt;text&gt;An arbitrary name for this endpoint.&lt;/text&gt;
180           &lt;/description&gt;
181         &lt;/leaf&gt;
182         &lt;leaf name="address"&gt;
183           &lt;type name="inet:host"/&gt;
184           &lt;mandatory value="true"/&gt;
185           &lt;description&gt;
186             &lt;text&gt;The IP address or hostname of the endpoint.  If a
187 hostname is configured and the DNS resolution results
188 in more than one IP address, the NETCONF server
189 will process the IP addresses as if they had been
190 explicitly configured in place of the hostname.&lt;/text&gt;
191           &lt;/description&gt;
192         &lt;/leaf&gt;
193         &lt;leaf name="port"&gt;
194           &lt;type name="inet:port-number"/&gt;
195           &lt;description&gt;
196             &lt;text&gt;The IP port for this endpoint. The NETCONF server will
197 use the IANA-assigned well-known port if no value is
198 specified.&lt;/text&gt;
199           &lt;/description&gt;
200         &lt;/leaf&gt;
201       &lt;/list&gt;
202     &lt;/container&gt;
203   &lt;/grouping&gt;
204   &lt;container name="netconf-server"&gt;
205     &lt;description&gt;
206       &lt;text&gt;Top-level container for NETCONF server configuration.&lt;/text&gt;
207     &lt;/description&gt;
208     &lt;container name="session-options"&gt;
209       &lt;description&gt;
210         &lt;text&gt;NETCONF session options, independent of transport
211 or connection strategy.&lt;/text&gt;
212       &lt;/description&gt;
213       &lt;leaf name="hello-timeout"&gt;
214         &lt;type name="uint16"/&gt;
215         &lt;units name="seconds"/&gt;
216         &lt;default value="600"/&gt;
217         &lt;description&gt;
218           &lt;text&gt;Specifies the maximum number of seconds that a SSH/TLS
219 connection may wait for a hello message to be received.
220 A connection will be dropped if no hello message is
221 received before this number of seconds elapses.  If set
222 to zero, then the server will wait forever for a hello
223 message.&lt;/text&gt;
224         &lt;/description&gt;
225       &lt;/leaf&gt;
226     &lt;/container&gt;
227     &lt;container name="listen"&gt;
228       &lt;if-feature name="listen"/&gt;
229       &lt;description&gt;
230         &lt;text&gt;Configures listen behavior&lt;/text&gt;
231       &lt;/description&gt;
232       &lt;leaf name="max-sessions"&gt;
233         &lt;type name="uint16"/&gt;
234         &lt;default value="0"/&gt;
235         &lt;description&gt;
236           &lt;text&gt;Specifies the maximum number of concurrent sessions
237 that can be active at one time.  The value 0 indicates
238 that no artificial session limit should be used.&lt;/text&gt;
239         &lt;/description&gt;
240       &lt;/leaf&gt;
241       &lt;leaf name="idle-timeout"&gt;
242         &lt;type name="uint16"/&gt;
243         &lt;units name="seconds"/&gt;
244         &lt;default value="3600"/&gt;
245         &lt;description&gt;
246           &lt;text&gt;Specifies the maximum number of seconds that a NETCONF
247 session may remain idle. A NETCONF session will be dropped
248 if it is idle for an interval longer than this number of
249 seconds.  If set to zero, then the server will never drop
250 a session because it is idle.  Sessions that have a
251 notification subscription active are never dropped.&lt;/text&gt;
252         &lt;/description&gt;
253       &lt;/leaf&gt;
254       &lt;list name="endpoint"&gt;
255         &lt;key value="name"/&gt;
256         &lt;description&gt;
257           &lt;text&gt;List of endpoints to listen for NETCONF connections on.&lt;/text&gt;
258         &lt;/description&gt;
259         &lt;leaf name="name"&gt;
260           &lt;type name="string"/&gt;
261           &lt;description&gt;
262             &lt;text&gt;An arbitrary name for the NETCONF listen endpoint.&lt;/text&gt;
263           &lt;/description&gt;
264         &lt;/leaf&gt;
265         &lt;choice name="transport"&gt;
266           &lt;mandatory value="true"/&gt;
267           &lt;description&gt;
268             &lt;text&gt;Selects between available transports.&lt;/text&gt;
269           &lt;/description&gt;
270           &lt;case name="ssh"&gt;
271             &lt;if-feature name="ssh-listen"/&gt;
272             &lt;container name="ssh"&gt;
273               &lt;description&gt;
274                 &lt;text&gt;SSH-specific listening configuration for inbound
275 connections.&lt;/text&gt;
276               &lt;/description&gt;
277               &lt;uses name="ss:listening-ssh-server-grouping"&gt;
278                 &lt;refine target-node="port"&gt;
279                   &lt;default value="830"/&gt;
280                 &lt;/refine&gt;
281               &lt;/uses&gt;
282             &lt;/container&gt;
283           &lt;/case&gt;
284           &lt;case name="tls"&gt;
285             &lt;if-feature name="tls-listen"/&gt;
286             &lt;container name="tls"&gt;
287               &lt;description&gt;
288                 &lt;text&gt;TLS-specific listening configuration for inbound
289 connections.&lt;/text&gt;
290               &lt;/description&gt;
291               &lt;uses name="ts:listening-tls-server-grouping"&gt;
292                 &lt;refine target-node="port"&gt;
293                   &lt;default value="6513"/&gt;
294                 &lt;/refine&gt;
295                 &lt;augment target-node="client-auth"&gt;
296                   &lt;description&gt;
297                     &lt;text&gt;Augments in the cert-to-name structure.&lt;/text&gt;
298                   &lt;/description&gt;
299                   &lt;uses name="cert-maps-grouping"/&gt;
300                 &lt;/augment&gt;
301               &lt;/uses&gt;
302             &lt;/container&gt;
303           &lt;/case&gt;
304         &lt;/choice&gt;
305       &lt;/list&gt;
306     &lt;/container&gt;
307     &lt;container name="call-home"&gt;
308       &lt;if-feature name="call-home"/&gt;
309       &lt;description&gt;
310         &lt;text&gt;Configures call-home behavior&lt;/text&gt;
311       &lt;/description&gt;
312       &lt;list name="netconf-client"&gt;
313         &lt;key value="name"/&gt;
314         &lt;description&gt;
315           &lt;text&gt;List of NETCONF clients the NETCONF server is to initiate
316 call-home connections to.&lt;/text&gt;
317         &lt;/description&gt;
318         &lt;leaf name="name"&gt;
319           &lt;type name="string"/&gt;
320           &lt;description&gt;
321             &lt;text&gt;An arbitrary name for the remote NETCONF client.&lt;/text&gt;
322           &lt;/description&gt;
323         &lt;/leaf&gt;
324         &lt;choice name="transport"&gt;
325           &lt;mandatory value="true"/&gt;
326           &lt;description&gt;
327             &lt;text&gt;Selects between available transports.&lt;/text&gt;
328           &lt;/description&gt;
329           &lt;case name="ssh"&gt;
330             &lt;if-feature name="ssh-call-home"/&gt;
331             &lt;container name="ssh"&gt;
332               &lt;description&gt;
333                 &lt;text&gt;Specifies SSH-specific call-home transport
334 configuration.&lt;/text&gt;
335               &lt;/description&gt;
336               &lt;uses name="endpoints-container"&gt;
337                 &lt;refine target-node="endpoints/endpoint/port"&gt;
338                   &lt;default value="4334"/&gt;
339                 &lt;/refine&gt;
340               &lt;/uses&gt;
341               &lt;uses name="ss:non-listening-ssh-server-grouping"/&gt;
342             &lt;/container&gt;
343           &lt;/case&gt;
344           &lt;case name="tls"&gt;
345             &lt;if-feature name="tls-call-home"/&gt;
346             &lt;container name="tls"&gt;
347               &lt;description&gt;
348                 &lt;text&gt;Specifies TLS-specific call-home transport
349 configuration.&lt;/text&gt;
350               &lt;/description&gt;
351               &lt;uses name="endpoints-container"&gt;
352                 &lt;refine target-node="endpoints/endpoint/port"&gt;
353                   &lt;default value="4335"/&gt;
354                 &lt;/refine&gt;
355               &lt;/uses&gt;
356               &lt;uses name="ts:non-listening-tls-server-grouping"&gt;
357                 &lt;augment target-node="client-auth"&gt;
358                   &lt;description&gt;
359                     &lt;text&gt;Augments in the cert-to-name structure.&lt;/text&gt;
360                   &lt;/description&gt;
361                   &lt;uses name="cert-maps-grouping"/&gt;
362                 &lt;/augment&gt;
363               &lt;/uses&gt;
364             &lt;/container&gt;
365           &lt;/case&gt;
366         &lt;/choice&gt;
367         &lt;container name="connection-type"&gt;
368           &lt;description&gt;
369             &lt;text&gt;Indicates the kind of connection to use.&lt;/text&gt;
370           &lt;/description&gt;
371           &lt;choice name="connection-type"&gt;
372             &lt;description&gt;
373               &lt;text&gt;Selects between available connection types.&lt;/text&gt;
374             &lt;/description&gt;
375             &lt;case name="persistent-connection"&gt;
376               &lt;container name="persistent"&gt;
377                 &lt;presence value="true"/&gt;
378                 &lt;description&gt;
379                   &lt;text&gt;Maintain a persistent connection to the NETCONF
380 client. If the connection goes down, immediately
381 start trying to reconnect to it, using the
382 reconnection strategy.
383
384 This connection type minimizes any NETCONF client
385 to NETCONF server data-transfer delay, albeit at
386 the expense of holding resources longer.&lt;/text&gt;
387                 &lt;/description&gt;
388                 &lt;leaf name="idle-timeout"&gt;
389                   &lt;type name="uint32"/&gt;
390                   &lt;units name="seconds"/&gt;
391                   &lt;default value="86400"/&gt;
392                   &lt;description&gt;
393                     &lt;text&gt;Specifies the maximum number of seconds that a
394 a NETCONF session may remain idle. A NETCONF
395 session will be dropped if it is idle for an
396 interval longer than this number of seconds.
397 If set to zero, then the server will never drop
398 a session because it is idle.  Sessions that
399 have a notification subscription active are
400 never dropped.&lt;/text&gt;
401                   &lt;/description&gt;
402                 &lt;/leaf&gt;
403                 &lt;container name="keep-alives"&gt;
404                   &lt;description&gt;
405                     &lt;text&gt;Configures the keep-alive policy, to proactively
406 test the aliveness of the SSH/TLS client.  An
407 unresponsive SSH/TLS client will be dropped after
408 approximately max-attempts * max-wait seconds.&lt;/text&gt;
409                   &lt;/description&gt;
410                   &lt;reference&gt;
411                     &lt;text&gt;RFC YYYY: NETCONF Call Home and RESTCONF Call
412 Home, Section 3.1, item S6&lt;/text&gt;
413                   &lt;/reference&gt;
414                   &lt;leaf name="max-wait"&gt;
415                     &lt;type name="uint16"&gt;
416                       &lt;range value="1..max"/&gt;
417                     &lt;/type&gt;
418                     &lt;units name="seconds"/&gt;
419                     &lt;default value="30"/&gt;
420                     &lt;description&gt;
421                       &lt;text&gt;Sets the amount of time in seconds after which
422 if no data has been received from the SSH/TLS
423 client, a SSH/TLS-level message will be sent
424 to test the aliveness of the SSH/TLS client.&lt;/text&gt;
425                     &lt;/description&gt;
426                   &lt;/leaf&gt;
427                   &lt;leaf name="max-attempts"&gt;
428                     &lt;type name="uint8"/&gt;
429                     &lt;default value="3"/&gt;
430                     &lt;description&gt;
431                       &lt;text&gt;Sets the maximum number of sequential keep-alive
432 messages that can fail to obtain a response from
433 the SSH/TLS client before assuming the SSH/TLS
434 client is no longer alive.&lt;/text&gt;
435                     &lt;/description&gt;
436                   &lt;/leaf&gt;
437                 &lt;/container&gt;
438               &lt;/container&gt;
439             &lt;/case&gt;
440             &lt;case name="periodic-connection"&gt;
441               &lt;container name="periodic"&gt;
442                 &lt;presence value="true"/&gt;
443                 &lt;description&gt;
444                   &lt;text&gt;Periodically connect to the NETCONF client, so that
445 the NETCONF client may deliver messages pending for
446 the NETCONF server.  The NETCONF client must close
447 the connection when it is ready to release it. Once
448 the connection has been closed, the NETCONF server
449 will restart its timer until the next connection.&lt;/text&gt;
450                 &lt;/description&gt;
451                 &lt;leaf name="idle-timeout"&gt;
452                   &lt;type name="uint16"/&gt;
453                   &lt;units name="seconds"/&gt;
454                   &lt;default value="300"/&gt;
455                   &lt;description&gt;
456                     &lt;text&gt;Specifies the maximum number of seconds that a
457 a NETCONF session may remain idle. A NETCONF
458 session will be dropped if it is idle for an
459 interval longer than this number of seconds.
460 If set to zero, then the server will never drop
461 a session because it is idle.  Sessions that
462 have a notification subscription active are
463 never dropped.&lt;/text&gt;
464                   &lt;/description&gt;
465                 &lt;/leaf&gt;
466                 &lt;leaf name="reconnect_timeout"&gt;
467                   &lt;type name="uint16"&gt;
468                     &lt;range value="1..max"/&gt;
469                   &lt;/type&gt;
470                   &lt;units name="minutes"/&gt;
471                   &lt;default value="60"/&gt;
472                   &lt;description&gt;
473                     &lt;text&gt;Sets the maximum amount of unconnected time the
474 NETCONF server will wait before re-establishing
475 a connection to the NETCONF client.  The NETCONF
476 server may initiate a connection before this
477 time if desired (e.g., to deliver an event
478 notification message).&lt;/text&gt;
479                   &lt;/description&gt;
480                 &lt;/leaf&gt;
481               &lt;/container&gt;
482             &lt;/case&gt;
483           &lt;/choice&gt;
484         &lt;/container&gt;
485         &lt;container name="reconnect-strategy"&gt;
486           &lt;description&gt;
487             &lt;text&gt;The reconnection strategy directs how a NETCONF server
488 reconnects to a NETCONF client, after discovering its
489 connection to the client has dropped, even if due to a
490 reboot.  The NETCONF server starts with the specified
491 endpoint and tries to connect to it max-attempts times
492 before trying the next endpoint in the list (round
493 robin).&lt;/text&gt;
494           &lt;/description&gt;
495           &lt;leaf name="start-with"&gt;
496             &lt;type name="enumeration"&gt;
497               &lt;enum name="first-listed"&gt;
498                 &lt;description&gt;
499                   &lt;text&gt;Indicates that reconnections should start with
500 the first endpoint listed.&lt;/text&gt;
501                 &lt;/description&gt;
502               &lt;/enum&gt;
503               &lt;enum name="last-connected"&gt;
504                 &lt;description&gt;
505                   &lt;text&gt;Indicates that reconnections should start with
506 the endpoint last connected to.  If no previous
507 connection has ever been established, then the
508 first endpoint configured is used.   NETCONF
509 servers SHOULD be able to remember the last
510 endpoint connected to across reboots.&lt;/text&gt;
511                 &lt;/description&gt;
512               &lt;/enum&gt;
513             &lt;/type&gt;
514             &lt;default value="first-listed"/&gt;
515             &lt;description&gt;
516               &lt;text&gt;Specifies which of the NETCONF client's endpoints the
517 NETCONF server should start with when trying to connect
518 to the NETCONF client.&lt;/text&gt;
519             &lt;/description&gt;
520           &lt;/leaf&gt;
521           &lt;leaf name="max-attempts"&gt;
522             &lt;type name="uint8"&gt;
523               &lt;range value="1..max"/&gt;
524             &lt;/type&gt;
525             &lt;default value="3"/&gt;
526             &lt;description&gt;
527               &lt;text&gt;Specifies the number times the NETCONF server tries to
528 connect to a specific endpoint before moving on to the
529 next endpoint in the list (round robin).&lt;/text&gt;
530             &lt;/description&gt;
531           &lt;/leaf&gt;
532         &lt;/container&gt;
533       &lt;/list&gt;
534     &lt;/container&gt;
535   &lt;/container&gt;
536 &lt;/module&gt;
537 </data>
538 </rpc-reply>