Debian Codegraph @

ansible_collections/dellemc/enterprise_sonic/docs/dellemc.enterprise_sonic.sonic_mgmt_servers_module.rst

raw
1 .. _dellemc.enterprise_sonic.sonic_mgmt_servers_module:
2
3
4 *******************************************
5 dellemc.enterprise_sonic.sonic_mgmt_servers
6 *******************************************
7
8 **Manage management servers configuration on SONiC**
9
10
11 Version added: 2.5.0
12
13 .. contents::
14 :local:
15 :depth: 1
16
17
18 Synopsis
19 --------
20 - This module provides configuration management of management servers for devices running SONiC
21
22
23
24
25 Parameters
26 ----------
27
28 .. raw:: html
29
30 <table border=0 cellpadding=0 class="documentation-table">
31 <tr>
32 <th colspan="3">Parameter</th>
33 <th>Choices/<font color="blue">Defaults</font></th>
34 <th width="100%">Comments</th>
35 </tr>
36 <tr>
37 <td colspan="3">
38 <div class="ansibleOptionAnchor" id="parameter-"></div>
39 <b>config</b>
40 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
41 <div style="font-size: small">
42 <span style="color: purple">dictionary</span>
43 </div>
44 </td>
45 <td>
46 </td>
47 <td>
48 <div>Management servers configuration</div>
49 </td>
50 </tr>
51 <tr>
52 <td class="elbow-placeholder"></td>
53 <td colspan="2">
54 <div class="ansibleOptionAnchor" id="parameter-"></div>
55 <b>rest</b>
56 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
57 <div style="font-size: small">
58 <span style="color: purple">dictionary</span>
59 </div>
60 </td>
61 <td>
62 </td>
63 <td>
64 <div>REST server configuration</div>
65 </td>
66 </tr>
67 <tr>
68 <td class="elbow-placeholder"></td>
69 <td class="elbow-placeholder"></td>
70 <td colspan="1">
71 <div class="ansibleOptionAnchor" id="parameter-"></div>
72 <b>api_timeout</b>
73 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
74 <div style="font-size: small">
75 <span style="color: purple">integer</span>
76 </div>
77 </td>
78 <td>
79 <b>Default:</b><br/><div style="color: blue">900</div>
80 </td>
81 <td>
82 <div>Maximum time in seconds the REST server will wait for a REST API request-response cycle to complete</div>
83 <div>Range 0-4294967295</div>
84 </td>
85 </tr>
86 <tr>
87 <td class="elbow-placeholder"></td>
88 <td class="elbow-placeholder"></td>
89 <td colspan="1">
90 <div class="ansibleOptionAnchor" id="parameter-"></div>
91 <b>cipher_suite</b>
92 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
93 <div style="font-size: small">
94 <span style="color: purple">string</span>
95 </div>
96 <div style="font-style: italic; font-size: small; color: darkgreen">added in 3.1.0</div>
97 </td>
98 <td>
99 <b>Default:</b><br/><div style="color: blue">"ecdhe-ecdsa-with-aes-256-gcm-SHA384,ecdhe-ecdsa-with-chacha20-poly1305-SHA256,ecdhe-ecdsa-with-aes-128-gcm-SHA256"</div>
100 </td>
101 <td>
102 <div>Cipher suites used for TLS connection with the clients</div>
103 <div>Specify as a comma separated list. Options are ecdhe-ecdsa-with-aes-256-gcm-SHA384, ecdhe-ecdsa-with-chacha20-poly1305-SHA256 and ecdhe-ecdsa-with-aes-128-gcm-SHA256.</div>
104 </td>
105 </tr>
106 <tr>
107 <td class="elbow-placeholder"></td>
108 <td class="elbow-placeholder"></td>
109 <td colspan="1">
110 <div class="ansibleOptionAnchor" id="parameter-"></div>
111 <b>client_auth</b>
112 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
113 <div style="font-size: small">
114 <span style="color: purple">string</span>
115 </div>
116 </td>
117 <td>
118 <b>Default:</b><br/><div style="color: blue">"password,jwt"</div>
119 </td>
120 <td>
121 <div>Client authentication methods list</div>
122 <div>Specify as a comma separated list. Options for list are password, jwt, cert, and none.</div>
123 </td>
124 </tr>
125 <tr>
126 <td class="elbow-placeholder"></td>
127 <td class="elbow-placeholder"></td>
128 <td colspan="1">
129 <div class="ansibleOptionAnchor" id="parameter-"></div>
130 <b>log_level</b>
131 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
132 <div style="font-size: small">
133 <span style="color: purple">integer</span>
134 </div>
135 </td>
136 <td>
137 <b>Default:</b><br/><div style="color: blue">0</div>
138 </td>
139 <td>
140 <div>Log level of REST server, range 0-255</div>
141 </td>
142 </tr>
143 <tr>
144 <td class="elbow-placeholder"></td>
145 <td class="elbow-placeholder"></td>
146 <td colspan="1">
147 <div class="ansibleOptionAnchor" id="parameter-"></div>
148 <b>port</b>
149 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
150 <div style="font-size: small">
151 <span style="color: purple">integer</span>
152 </div>
153 </td>
154 <td>
155 <b>Default:</b><br/><div style="color: blue">443</div>
156 </td>
157 <td>
158 <div>Port that the REST server listens on, range 0-65535</div>
159 </td>
160 </tr>
161 <tr>
162 <td class="elbow-placeholder"></td>
163 <td class="elbow-placeholder"></td>
164 <td colspan="1">
165 <div class="ansibleOptionAnchor" id="parameter-"></div>
166 <b>read_timeout</b>
167 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
168 <div style="font-size: small">
169 <span style="color: purple">integer</span>
170 </div>
171 </td>
172 <td>
173 <b>Default:</b><br/><div style="color: blue">15</div>
174 </td>
175 <td>
176 <div>Maximum time in seconds the REST server will wait for an HTTP request-response cycle to complete</div>
177 <div>Range 0-4294967295</div>
178 </td>
179 </tr>
180 <tr>
181 <td class="elbow-placeholder"></td>
182 <td class="elbow-placeholder"></td>
183 <td colspan="1">
184 <div class="ansibleOptionAnchor" id="parameter-"></div>
185 <b>req_limit</b>
186 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
187 <div style="font-size: small">
188 <span style="color: purple">integer</span>
189 </div>
190 </td>
191 <td>
192 </td>
193 <td>
194 <div>Maximum number of concurrent requests that the client can make to the REST server</div>
195 <div>Range 0-4294967295</div>
196 </td>
197 </tr>
198 <tr>
199 <td class="elbow-placeholder"></td>
200 <td class="elbow-placeholder"></td>
201 <td colspan="1">
202 <div class="ansibleOptionAnchor" id="parameter-"></div>
203 <b>security_profile</b>
204 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
205 <div style="font-size: small">
206 <span style="color: purple">string</span>
207 </div>
208 </td>
209 <td>
210 </td>
211 <td>
212 <div>Name of security profile</div>
213 </td>
214 </tr>
215 <tr>
216 <td class="elbow-placeholder"></td>
217 <td class="elbow-placeholder"></td>
218 <td colspan="1">
219 <div class="ansibleOptionAnchor" id="parameter-"></div>
220 <b>shutdown</b>
221 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
222 <div style="font-size: small">
223 <span style="color: purple">boolean</span>
224 </div>
225 </td>
226 <td>
227 <ul style="margin: 0; padding: 0"><b>Choices:</b>
228 <li>no</li>
229 <li>yes</li>
230 </ul>
231 </td>
232 <td>
233 <div>Enables/disables REST server from listening on the port</div>
234 </td>
235 </tr>
236 <tr>
237 <td class="elbow-placeholder"></td>
238 <td class="elbow-placeholder"></td>
239 <td colspan="1">
240 <div class="ansibleOptionAnchor" id="parameter-"></div>
241 <b>vrf</b>
242 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
243 <div style="font-size: small">
244 <span style="color: purple">string</span>
245 </div>
246 </td>
247 <td>
248 <ul style="margin: 0; padding: 0"><b>Choices:</b>
249 <li>mgmt</li>
250 </ul>
251 </td>
252 <td>
253 <div>Name of VRF</div>
254 </td>
255 </tr>
256
257 <tr>
258 <td class="elbow-placeholder"></td>
259 <td colspan="2">
260 <div class="ansibleOptionAnchor" id="parameter-"></div>
261 <b>telemetry</b>
262 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
263 <div style="font-size: small">
264 <span style="color: purple">dictionary</span>
265 </div>
266 </td>
267 <td>
268 </td>
269 <td>
270 <div>Telemetry server configuration</div>
271 </td>
272 </tr>
273 <tr>
274 <td class="elbow-placeholder"></td>
275 <td class="elbow-placeholder"></td>
276 <td colspan="1">
277 <div class="ansibleOptionAnchor" id="parameter-"></div>
278 <b>api_timeout</b>
279 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
280 <div style="font-size: small">
281 <span style="color: purple">integer</span>
282 </div>
283 </td>
284 <td>
285 <b>Default:</b><br/><div style="color: blue">0</div>
286 </td>
287 <td>
288 <div>Maximum time in seconds the telemetry server will wait for a gNMI request-response cycle to complete</div>
289 <div>Range 0-4294967295</div>
290 </td>
291 </tr>
292 <tr>
293 <td class="elbow-placeholder"></td>
294 <td class="elbow-placeholder"></td>
295 <td colspan="1">
296 <div class="ansibleOptionAnchor" id="parameter-"></div>
297 <b>client_auth</b>
298 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
299 <div style="font-size: small">
300 <span style="color: purple">string</span>
301 </div>
302 </td>
303 <td>
304 <b>Default:</b><br/><div style="color: blue">"password,jwt"</div>
305 </td>
306 <td>
307 <div>Client authentication methods list</div>
308 <div>Specify as a comma separated list. Options for list are password, jwt, cert, and none.</div>
309 </td>
310 </tr>
311 <tr>
312 <td class="elbow-placeholder"></td>
313 <td class="elbow-placeholder"></td>
314 <td colspan="1">
315 <div class="ansibleOptionAnchor" id="parameter-"></div>
316 <b>jwt_refresh</b>
317 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
318 <div style="font-size: small">
319 <span style="color: purple">integer</span>
320 </div>
321 </td>
322 <td>
323 <b>Default:</b><br/><div style="color: blue">900</div>
324 </td>
325 <td>
326 <div>Duration of time in seconds before JWT expires and can be refreshed</div>
327 <div>Range 0-4294967295</div>
328 </td>
329 </tr>
330 <tr>
331 <td class="elbow-placeholder"></td>
332 <td class="elbow-placeholder"></td>
333 <td colspan="1">
334 <div class="ansibleOptionAnchor" id="parameter-"></div>
335 <b>jwt_valid</b>
336 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
337 <div style="font-size: small">
338 <span style="color: purple">integer</span>
339 </div>
340 </td>
341 <td>
342 <b>Default:</b><br/><div style="color: blue">3600</div>
343 </td>
344 <td>
345 <div>Duration of time in seconds for which JWT is valid on the telemetry server</div>
346 <div>Range 0-4294967295</div>
347 </td>
348 </tr>
349 <tr>
350 <td class="elbow-placeholder"></td>
351 <td class="elbow-placeholder"></td>
352 <td colspan="1">
353 <div class="ansibleOptionAnchor" id="parameter-"></div>
354 <b>log_level</b>
355 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
356 <div style="font-size: small">
357 <span style="color: purple">integer</span>
358 </div>
359 </td>
360 <td>
361 <b>Default:</b><br/><div style="color: blue">0</div>
362 </td>
363 <td>
364 <div>Log level of telemetry server, range 0-255</div>
365 </td>
366 </tr>
367 <tr>
368 <td class="elbow-placeholder"></td>
369 <td class="elbow-placeholder"></td>
370 <td colspan="1">
371 <div class="ansibleOptionAnchor" id="parameter-"></div>
372 <b>port</b>
373 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
374 <div style="font-size: small">
375 <span style="color: purple">integer</span>
376 </div>
377 </td>
378 <td>
379 <b>Default:</b><br/><div style="color: blue">8080</div>
380 </td>
381 <td>
382 <div>Port that the telemetry server listens on, range 0-65535</div>
383 </td>
384 </tr>
385 <tr>
386 <td class="elbow-placeholder"></td>
387 <td class="elbow-placeholder"></td>
388 <td colspan="1">
389 <div class="ansibleOptionAnchor" id="parameter-"></div>
390 <b>security_profile</b>
391 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
392 <div style="font-size: small">
393 <span style="color: purple">string</span>
394 </div>
395 </td>
396 <td>
397 </td>
398 <td>
399 <div>Name of security profile</div>
400 </td>
401 </tr>
402 <tr>
403 <td class="elbow-placeholder"></td>
404 <td class="elbow-placeholder"></td>
405 <td colspan="1">
406 <div class="ansibleOptionAnchor" id="parameter-"></div>
407 <b>vrf</b>
408 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
409 <div style="font-size: small">
410 <span style="color: purple">string</span>
411 </div>
412 </td>
413 <td>
414 <ul style="margin: 0; padding: 0"><b>Choices:</b>
415 <li>mgmt</li>
416 </ul>
417 </td>
418 <td>
419 <div>Name of VRF</div>
420 </td>
421 </tr>
422
423
424 <tr>
425 <td colspan="3">
426 <div class="ansibleOptionAnchor" id="parameter-"></div>
427 <b>state</b>
428 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
429 <div style="font-size: small">
430 <span style="color: purple">string</span>
431 </div>
432 </td>
433 <td>
434 <ul style="margin: 0; padding: 0"><b>Choices:</b>
435 <li><div style="color: blue"><b>merged</b>&nbsp;&larr;</div></li>
436 <li>deleted</li>
437 <li>overridden</li>
438 <li>replaced</li>
439 </ul>
440 </td>
441 <td>
442 <div>The state of the configuration after module completion.</div>
443 </td>
444 </tr>
445 </table>
446 <br/>
447
448
449 Notes
450 -----
451
452 .. note::
453 - Tested against Enterprise SONiC Distribution by Dell Technologies.
454 - Supports ``check_mode``.
455
456
457
458 Examples
459 --------
460
461 .. code-block:: yaml
462
463 # Using "merged" state
464 #
465 # Before state:
466 # -------------
467 #
468 # sonic# show ip rest
469 #
470 # Log level is 0
471 # Port is 443
472 # Request limit is not-set
473 # Read timeout is 15 seconds
474 # Client authentication mode is password,jwt
475 # Security profile is not-set
476 # API timeout is 900 seconds
477 # vrf is not-set
478 # Cipher suite is ecdhe-ecdsa-with-aes-256-gcm-SHA384,ecdhe-ecdsa-with-chacha20-poly1305-SHA256,ecdhe-ecdsa-with-aes-128-gcm-SHA256
479 #
480 # sonic# show ip telemetry
481 #
482 # Log level is 0
483 # JWT valid is 3600 seconds
484 # JWT refresh is 900 seconds
485 # Port is 8080
486 # Client authentication mode is password,jwt
487 # Security profile is not-set
488 # API timeout is 0 seconds
489 # vrf is not-set
490
491 - name: Merge mgmt servers configuration
492 dellemc.enterprise_sonic.sonic_mgmt_servers:
493 config:
494 rest:
495 api_timeout: 120
496 client_auth: password
497 log_level: 6
498 port: 443
499 read_timeout: 60
500 req_limit: 100
501 security_profile: profile1
502 shutdown: true
503 vrf: mgmt
504 cipher_suite: ecdhe-ecdsa-with-aes-256-gcm-SHA384
505 telemetry:
506 api_timeout: 45
507 client_auth: cert,jwt
508 jwt_refresh: 80
509 jwt_valid: 300
510 log_level: 10
511 port: 1234
512 security_profile: profile2
513 vrf: mgmt
514 state: merged
515
516 # After state:
517 # ------------
518 #
519 # sonic# show ip rest
520 #
521 # Log level is 6
522 # Port is 443, disabled
523 # Request limit is 100
524 # Read timeout is 60 seconds
525 # Client authentication mode is password
526 # Security profile is profile1
527 # API timeout is 120 seconds
528 # vrf is mgmt
529 # Cipher suite is ecdhe-ecdsa-with-aes-256-gcm-SHA384
530 #
531 # sonic# show ip telemetry
532 #
533 # Log level is 10
534 # JWT valid is 300 seconds
535 # JWT refresh is 80 seconds
536 # Port is 1234
537 # Client authentication mode is cert,jwt
538 # Security profile is profile2
539 # API timeout is 45 seconds
540 # vrf is mgmt
541
542
543 # Using "replaced" state
544 #
545 # Before state:
546 # -------------
547 #
548 # sonic# show ip rest
549 #
550 # Log level is 6
551 # Port is 443, disabled
552 # Request limit is 100
553 # Read timeout is 60 seconds
554 # Client authentication mode is password
555 # Security profile is profile1
556 # API timeout is 120 seconds
557 # vrf is mgmt
558 # Cipher suite is ecdhe-ecdsa-with-aes-256-gcm-SHA384
559 #
560 # sonic# show ip telemetry
561 #
562 # Log level is 10
563 # JWT valid is 300 seconds
564 # JWT refresh is 80 seconds
565 # Port is 1234
566 # Client authentication mode is cert,jwt
567 # Security profile is profile2
568 # API timeout is 45 seconds
569 # vrf is mgmt
570
571 - name: Replace mgmt servers configuration
572 dellemc.enterprise_sonic.sonic_mgmt_servers:
573 config:
574 rest:
575 api_timeout: 180
576 vrf: mgmt
577 cipher_suite: ecdhe-ecdsa-with-aes-256-gcm-SHA384,ecdhe-ecdsa-with-chacha20-poly1305-SHA256
578 telemetry:
579 log_level: 25
580 security_profile: profile2
581 state: replaced
582
583 # After state:
584 # ------------
585 #
586 # sonic# show ip rest
587 #
588 # Log level is 0
589 # Port is 443
590 # Request limit is not-set
591 # Read timeout is 15 seconds
592 # Client authentication mode is password,jwt
593 # Security profile is not-set
594 # API timeout is 180 seconds
595 # vrf is mgmt
596 # Cipher suite is ecdhe-ecdsa-with-aes-256-gcm-SHA384,ecdhe-ecdsa-with-chacha20-poly1305-SHA256
597 #
598 # sonic# show ip telemetry
599 #
600 # Log level is 25
601 # JWT valid is 3600 seconds
602 # JWT refresh is 900 seconds
603 # Port is 8080
604 # Client authentication mode is password,jwt
605 # Security profile is profile2
606 # API timeout is 0 seconds
607 # vrf is not-set
608
609
610 # Using "overridden" state
611 #
612 # Before state:
613 # -------------
614 #
615 # sonic# show ip rest
616 #
617 # Log level is 6
618 # Port is 443, disabled
619 # Request limit is 100
620 # Read timeout is 60 seconds
621 # Client authentication mode is password
622 # Security profile is profile1
623 # API timeout is 120 seconds
624 # vrf is mgmt
625 # Cipher suite is ecdhe-ecdsa-with-aes-256-gcm-SHA384,ecdhe-ecdsa-with-chacha20-poly1305-SHA256
626 #
627 # sonic# show ip telemetry
628 #
629 # Log level is 10
630 # JWT valid is 300 seconds
631 # JWT refresh is 80 seconds
632 # Port is 1234
633 # Client authentication mode is cert,jwt
634 # Security profile is profile2
635 # API timeout is 45 seconds
636 # vrf is mgmt
637
638 - name: Override mgmt servers configuration
639 dellemc.enterprise_sonic.sonic_mgmt_servers:
640 config:
641 rest:
642 api_timeout: 120
643 client_auth: password
644 log_level: 6
645 port: 443
646 read_timeout: 60
647 req_limit: 100
648 security_profile: profile1
649 shutdown: true
650 vrf: mgmt
651 cipher_suite: ecdhe-ecdsa-with-aes-128-gcm-SHA256,ecdhe-ecdsa-with-aes-256-gcm-SHA384
652 state: overridden
653
654 # After state:
655 # ------------
656 #
657 # sonic# show ip rest
658 #
659 # Log level is 6
660 # Port is 443, disabled
661 # Request limit is 100
662 # Read timeout is 60 seconds
663 # Client authentication mode is password
664 # Security profile is profile1
665 # API timeout is 120 seconds
666 # vrf is mgmt
667 # Cipher suite is ecdhe-ecdsa-with-aes-128-gcm-SHA256,ecdhe-ecdsa-with-aes-256-gcm-SHA384
668 #
669 # sonic# show ip telemetry
670 #
671 # Log level is 0
672 # JWT valid is 3600 seconds
673 # JWT refresh is 900 seconds
674 # Port is 8080
675 # Client authentication mode is password,jwt
676 # Security profile is not-set
677 # API timeout is 0 seconds
678 # vrf is not-set
679
680
681 # Using "deleted" state
682 #
683 # Before state:
684 # -------------
685 #
686 # sonic# show ip rest
687 #
688 # Log level is 6
689 # Port is 443, disabled
690 # Request limit is 100
691 # Read timeout is 60 seconds
692 # Client authentication mode is password
693 # Security profile is profile1
694 # API timeout is 120 seconds
695 # vrf is mgmt
696 # Cipher suite is ecdhe-ecdsa-with-aes-128-gcm-SHA256,ecdhe-ecdsa-with-aes-256-gcm-SHA384
697 #
698 # sonic# show ip telemetry
699 #
700 # Log level is 10
701 # JWT valid is 300 seconds
702 # JWT refresh is 80 seconds
703 # Port is 1234
704 # Client authentication mode is cert,jwt
705 # Security profile is profile2
706 # API timeout is 45 seconds
707 # vrf is mgmt
708
709 - name: Delete mgmt servers configuration
710 dellemc.enterprise_sonic.sonic_mgmt_servers:
711 config:
712 rest:
713 api_timeout: 120
714 client_auth: password
715 log_level: 6
716 port: 443
717 read_timeout: 60
718 req_limit: 100
719 security_profile: profile1
720 shutdown: true
721 vrf: mgmt
722 cipher_suite: ecdhe-ecdsa-with-aes-256-gcm-SHA384,ecdhe-ecdsa-with-aes-128-gcm-SHA256
723 telemetry:
724 api_timeout: 45
725 client_auth: cert,jwt
726 jwt_refresh: 80
727 jwt_valid: 300
728 log_level: 10
729 port: 1234
730 security_profile: profile2
731 vrf: mgmt
732 state: deleted
733
734 # After state:
735 # ------------
736 #
737 # sonic# show ip rest
738 #
739 # Log level is 0
740 # Port is 443
741 # Request limit is not-set
742 # Read timeout is 15 seconds
743 # Client authentication mode is password,jwt
744 # Security profile is not-set
745 # API timeout is 900 seconds
746 # vrf is not-set
747 # Cipher suite is ecdhe-ecdsa-with-aes-256-gcm-SHA384,ecdhe-ecdsa-with-chacha20-poly1305-SHA256,ecdhe-ecdsa-with-aes-128-gcm-SHA256
748 #
749 # sonic# show ip telemetry
750 #
751 # Log level is 0
752 # JWT valid is 3600 seconds
753 # JWT refresh is 900 seconds
754 # Port is 8080
755 # Client authentication mode is password,jwt
756 # Security profile is not-set
757 # API timeout is 0 seconds
758 # vrf is not-set
759
760
761
762 Return Values
763 -------------
764 Common return values are documented `here <https://docs.ansible.com/projects/ansible/latest/reference_appendices/common_return_values.html#common-return-values>`_, the following are the fields unique to this module:
765
766 .. raw:: html
767
768 <table border=0 cellpadding=0 class="documentation-table">
769 <tr>
770 <th colspan="1">Key</th>
771 <th>Returned</th>
772 <th width="100%">Description</th>
773 </tr>
774 <tr>
775 <td colspan="1">
776 <div class="ansibleOptionAnchor" id="return-"></div>
777 <b>after</b>
778 <a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a>
779 <div style="font-size: small">
780 <span style="color: purple">list</span>
781 </div>
782 </td>
783 <td>when changed</td>
784 <td>
785 <div>The resulting configuration module invocation.</div>
786 <br/>
787 <div style="font-size: smaller"><b>Sample:</b></div>
788 <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">The configuration returned will always be in the same format as the parameters above.</div>
789 </td>
790 </tr>
791 <tr>
792 <td colspan="1">
793 <div class="ansibleOptionAnchor" id="return-"></div>
794 <b>after_generated</b>
795 <a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a>
796 <div style="font-size: small">
797 <span style="color: purple">list</span>
798 </div>
799 </td>
800 <td>when <code>check_mode</code></td>
801 <td>
802 <div>The generated configuration from module invocation.</div>
803 <br/>
804 <div style="font-size: smaller"><b>Sample:</b></div>
805 <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">The configuration returned will always be in the same format
806 as the parameters above.</div>
807 </td>
808 </tr>
809 <tr>
810 <td colspan="1">
811 <div class="ansibleOptionAnchor" id="return-"></div>
812 <b>before</b>
813 <a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a>
814 <div style="font-size: small">
815 <span style="color: purple">list</span>
816 </div>
817 </td>
818 <td>always</td>
819 <td>
820 <div>The configuration prior to the module invocation.</div>
821 <br/>
822 <div style="font-size: smaller"><b>Sample:</b></div>
823 <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">The configuration returned will always be in the same format as the parameters above.</div>
824 </td>
825 </tr>
826 <tr>
827 <td colspan="1">
828 <div class="ansibleOptionAnchor" id="return-"></div>
829 <b>commands</b>
830 <a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a>
831 <div style="font-size: small">
832 <span style="color: purple">list</span>
833 </div>
834 </td>
835 <td>always</td>
836 <td>
837 <div>The set of commands pushed to the remote device.</div>
838 <br/>
839 <div style="font-size: smaller"><b>Sample:</b></div>
840 <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">[&#x27;command 1&#x27;, &#x27;command 2&#x27;, &#x27;command 3&#x27;]</div>
841 </td>
842 </tr>
843 </table>
844 <br/><br/>
845
846
847 Status
848 ------
849
850
851 Authors
852 ~~~~~~~
853
854 - S\. Talabi (@stalabi1)