Debian Codegraph @

ansible_collections/cisco/ios/docs/cisco.ios.ios_bfd_templates_module.rst

raw
1 .. _cisco.ios.ios_bfd_templates_module:
2
3
4 ***************************
5 cisco.ios.ios_bfd_templates
6 ***************************
7
8 **Bidirectional Forwarding Detection (BFD) templates configurations**
9
10
11 Version added: 11.3.0
12
13 .. contents::
14 :local:
15 :depth: 1
16
17
18 Synopsis
19 --------
20 - Manages Bidirectional Forwarding Detection (BFD) templates configurations
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">list</span>
43 / <span style="color: purple">elements=dictionary</span>
44 </div>
45 </td>
46 <td>
47 </td>
48 <td>
49 <div>A dictionary of bfd template options</div>
50 </td>
51 </tr>
52 <tr>
53 <td class="elbow-placeholder"></td>
54 <td colspan="2">
55 <div class="ansibleOptionAnchor" id="parameter-"></div>
56 <b>authentication</b>
57 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
58 <div style="font-size: small">
59 <span style="color: purple">dictionary</span>
60 </div>
61 </td>
62 <td>
63 </td>
64 <td>
65 <div>Configure authentication for the BFD template</div>
66 </td>
67 </tr>
68 <tr>
69 <td class="elbow-placeholder"></td>
70 <td class="elbow-placeholder"></td>
71 <td colspan="1">
72 <div class="ansibleOptionAnchor" id="parameter-"></div>
73 <b>keychain</b>
74 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
75 <div style="font-size: small">
76 <span style="color: purple">string</span>
77 </div>
78 </td>
79 <td>
80 </td>
81 <td>
82 <div>Name of the key chain to use for authentication</div>
83 </td>
84 </tr>
85 <tr>
86 <td class="elbow-placeholder"></td>
87 <td class="elbow-placeholder"></td>
88 <td colspan="1">
89 <div class="ansibleOptionAnchor" id="parameter-"></div>
90 <b>type</b>
91 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
92 <div style="font-size: small">
93 <span style="color: purple">string</span>
94 </div>
95 </td>
96 <td>
97 <ul style="margin: 0; padding: 0"><b>Choices:</b>
98 <li>sha_1</li>
99 <li>md5</li>
100 <li>meticulous_md5</li>
101 <li>meticulous_sha_1</li>
102 </ul>
103 </td>
104 <td>
105 <div>Authentication type to use for BFD sessions</div>
106 </td>
107 </tr>
108
109 <tr>
110 <td class="elbow-placeholder"></td>
111 <td colspan="2">
112 <div class="ansibleOptionAnchor" id="parameter-"></div>
113 <b>dampening</b>
114 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
115 <div style="font-size: small">
116 <span style="color: purple">dictionary</span>
117 </div>
118 </td>
119 <td>
120 </td>
121 <td>
122 <div>enables session dampening</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>half_life_period</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 </td>
138 <td>
139 <div>half-life period for the exponential decay algorithm, in minutes.</div>
140 </td>
141 </tr>
142 <tr>
143 <td class="elbow-placeholder"></td>
144 <td class="elbow-placeholder"></td>
145 <td colspan="1">
146 <div class="ansibleOptionAnchor" id="parameter-"></div>
147 <b>max_suppress_time</b>
148 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
149 <div style="font-size: small">
150 <span style="color: purple">integer</span>
151 </div>
152 </td>
153 <td>
154 </td>
155 <td>
156 <div>The maximum amount of time a session can be suppressed, in minutes.</div>
157 </td>
158 </tr>
159 <tr>
160 <td class="elbow-placeholder"></td>
161 <td class="elbow-placeholder"></td>
162 <td colspan="1">
163 <div class="ansibleOptionAnchor" id="parameter-"></div>
164 <b>reuse_threshold</b>
165 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
166 <div style="font-size: small">
167 <span style="color: purple">integer</span>
168 </div>
169 </td>
170 <td>
171 </td>
172 <td>
173 <div>The threshold at which a dampened session is allowed to be reused (taken out of dampening), in milliseconds.</div>
174 </td>
175 </tr>
176 <tr>
177 <td class="elbow-placeholder"></td>
178 <td class="elbow-placeholder"></td>
179 <td colspan="1">
180 <div class="ansibleOptionAnchor" id="parameter-"></div>
181 <b>suppress_threshold</b>
182 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
183 <div style="font-size: small">
184 <span style="color: purple">integer</span>
185 </div>
186 </td>
187 <td>
188 </td>
189 <td>
190 <div>The threshold at which a session is suppressed (put into dampening), in milliseconds.</div>
191 </td>
192 </tr>
193
194 <tr>
195 <td class="elbow-placeholder"></td>
196 <td colspan="2">
197 <div class="ansibleOptionAnchor" id="parameter-"></div>
198 <b>echo</b>
199 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
200 <div style="font-size: small">
201 <span style="color: purple">boolean</span>
202 </div>
203 </td>
204 <td>
205 <ul style="margin: 0; padding: 0"><b>Choices:</b>
206 <li>no</li>
207 <li>yes</li>
208 </ul>
209 </td>
210 <td>
211 <div>enables the BFD echo function for all interfaces which uses this specific template.</div>
212 </td>
213 </tr>
214 <tr>
215 <td class="elbow-placeholder"></td>
216 <td colspan="2">
217 <div class="ansibleOptionAnchor" id="parameter-"></div>
218 <b>hop</b>
219 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
220 <div style="font-size: small">
221 <span style="color: purple">string</span>
222 / <span style="color: red">required</span>
223 </div>
224 </td>
225 <td>
226 <ul style="margin: 0; padding: 0"><b>Choices:</b>
227 <li>single_hop</li>
228 <li>multi_hop</li>
229 </ul>
230 </td>
231 <td>
232 <div>type of template to be used</div>
233 </td>
234 </tr>
235 <tr>
236 <td class="elbow-placeholder"></td>
237 <td colspan="2">
238 <div class="ansibleOptionAnchor" id="parameter-"></div>
239 <b>interval</b>
240 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
241 <div style="font-size: small">
242 <span style="color: purple">dictionary</span>
243 </div>
244 </td>
245 <td>
246 </td>
247 <td>
248 <div>defines transmit interval between BFD packets</div>
249 </td>
250 </tr>
251 <tr>
252 <td class="elbow-placeholder"></td>
253 <td class="elbow-placeholder"></td>
254 <td colspan="1">
255 <div class="ansibleOptionAnchor" id="parameter-"></div>
256 <b>min_rx</b>
257 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
258 <div style="font-size: small">
259 <span style="color: purple">integer</span>
260 </div>
261 </td>
262 <td>
263 </td>
264 <td>
265 <div>The minimum interval in milliseconds that the local system is capable of supporting between received BFD control packets</div>
266 </td>
267 </tr>
268 <tr>
269 <td class="elbow-placeholder"></td>
270 <td class="elbow-placeholder"></td>
271 <td colspan="1">
272 <div class="ansibleOptionAnchor" id="parameter-"></div>
273 <b>min_tx</b>
274 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
275 <div style="font-size: small">
276 <span style="color: purple">integer</span>
277 </div>
278 </td>
279 <td>
280 </td>
281 <td>
282 <div>The minimum interval in milliseconds that the local system desires for transmitting BFD control packets</div>
283 </td>
284 </tr>
285 <tr>
286 <td class="elbow-placeholder"></td>
287 <td class="elbow-placeholder"></td>
288 <td colspan="1">
289 <div class="ansibleOptionAnchor" id="parameter-"></div>
290 <b>multiplier</b>
291 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
292 <div style="font-size: small">
293 <span style="color: purple">integer</span>
294 </div>
295 </td>
296 <td>
297 </td>
298 <td>
299 <div>Specifies the number of consecutive BFD control packets that must be missed from a BFD peer before BFD declares that the peer is unavailable and the Layer 3 BFD peer is informed of the failure.</div>
300 </td>
301 </tr>
302
303 <tr>
304 <td class="elbow-placeholder"></td>
305 <td colspan="2">
306 <div class="ansibleOptionAnchor" id="parameter-"></div>
307 <b>name</b>
308 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
309 <div style="font-size: small">
310 <span style="color: purple">string</span>
311 / <span style="color: red">required</span>
312 </div>
313 </td>
314 <td>
315 </td>
316 <td>
317 <div>name of the BFD template to be used</div>
318 </td>
319 </tr>
320
321 <tr>
322 <td colspan="3">
323 <div class="ansibleOptionAnchor" id="parameter-"></div>
324 <b>running_config</b>
325 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
326 <div style="font-size: small">
327 <span style="color: purple">string</span>
328 </div>
329 </td>
330 <td>
331 </td>
332 <td>
333 <div>This option is used only with state <em>parsed</em>.</div>
334 <div>The value of this option should be the output received from the IOS device by executing the command <b>show running-config | section ^bfd-template</b>.</div>
335 <div>The state <em>parsed</em> reads the configuration from <code>running_config</code> option and transforms it into Ansible structured data as per the resource module&#x27;s argspec and the value is then returned in the <em>parsed</em> key within the result.</div>
336 </td>
337 </tr>
338 <tr>
339 <td colspan="3">
340 <div class="ansibleOptionAnchor" id="parameter-"></div>
341 <b>state</b>
342 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
343 <div style="font-size: small">
344 <span style="color: purple">string</span>
345 </div>
346 </td>
347 <td>
348 <ul style="margin: 0; padding: 0"><b>Choices:</b>
349 <li><div style="color: blue"><b>merged</b>&nbsp;&larr;</div></li>
350 <li>replaced</li>
351 <li>overridden</li>
352 <li>deleted</li>
353 <li>rendered</li>
354 <li>gathered</li>
355 <li>purged</li>
356 <li>parsed</li>
357 </ul>
358 </td>
359 <td>
360 <div>The state the configuration should be left in</div>
361 <div>The states <em>rendered</em>, <em>gathered</em> and <em>parsed</em> does not perform any change on the device.</div>
362 <div>The state <em>rendered</em> will transform the configuration in <code>config</code> option to platform specific CLI commands which will be returned in the <em>rendered</em> key within the result. For state <em>rendered</em> active connection to remote host is not required.</div>
363 <div>The state <em>gathered</em> will fetch the running configuration from device and transform it into structured data in the format as per the resource module argspec and the value is returned in the <em>gathered</em> key within the result.</div>
364 <div>The state <em>parsed</em> reads the configuration from <code>running_config</code> option and transforms it into JSON format as per the resource module parameters and the value is returned in the <em>parsed</em> key within the result. The value of <code>running_config</code> option should be the same format as the output of command <em>show running-config | section ^bfd-template</em> executed on device. For state <em>parsed</em> active connection to remote host is not required.</div>
365 <div>The state <code>deleted</code> does not support or guarantee granular deletion of configuration the playbook should act as source of truth, and the desired state of the resouce is what the playbook should reflect. Use <code>overridden</code> or <code>replaced</code> to get extra configuration removed.</div>
366 <div>The state <em>purged</em> removes BFD templates completely using a single top-level <code>no bfd-template</code> command, which removes the entire template definition at once.</div>
367 </td>
368 </tr>
369 </table>
370 <br/>
371
372
373 Notes
374 -----
375
376 .. note::
377 - Tested against Cisco IOS XE Software, Version 17.13.01a on CML
378 - This module works with connection ``network_cli``
379 - For more information on using Ansible to manage network devices see the :ref:`Ansible Network Guide <network_guide>`
380 - For more information on using Ansible to manage Cisco devices see the `Cisco integration page <https://www.ansible.com/integrations/networks/cisco>`_.
381
382
383
384 Examples
385 --------
386
387 .. code-block:: yaml
388
389 # Using merged
390 # Before state:
391 # -------------
392 # router-ios#show running-config | section ^bfd-template
393 # (no BFD templates configured)
394
395 - name: Merge provided configuration with device configuration
396 cisco.ios.ios_bfd_templates:
397 config:
398 - name: template1
399 hop: single_hop
400 interval:
401 min_tx: 200
402 min_rx: 200
403 multiplier: 3
404 authentication:
405 type: sha_1
406 keychain: bfd_keychain
407 echo: true
408 - name: template2
409 hop: multi_hop
410 interval:
411 min_tx: 500
412 min_rx: 500
413 multiplier: 5
414 dampening:
415 half_life_period: 30
416 reuse_threshold: 2000
417 suppress_threshold: 5000
418 max_suppress_time: 120
419 state: merged
420
421 # Commands Fired:
422 # ---------------
423 # bfd-template single-hop template1
424 # interval min-tx 200 min-rx 200 multiplier 3
425 # authentication sha-1 keychain bfd_keychain
426 # echo
427 # bfd-template multi-hop template2
428 # interval min-tx 500 min-rx 500 multiplier 5
429 # dampening 30 2000 5000 120
430
431 # After state:
432 # ------------
433 # router-ios#show running-config | section ^bfd-template
434 # bfd-template single-hop template1
435 # interval min-tx 200 min-rx 200 multiplier 3
436 # authentication sha-1 keychain bfd_keychain
437 # echo
438 # bfd-template multi-hop template2
439 # interval min-tx 500 min-rx 500 multiplier 5
440 # dampening 30 2000 5000 120
441
442 # Using replaced
443 # Before state:
444 # -------------
445 # router-ios#show running-config | section ^bfd-template
446 # bfd-template single-hop template1
447 # interval min-tx 200 min-rx 200 multiplier 3
448 # authentication sha-1 keychain bfd_keychain
449 # echo
450 # bfd-template multi-hop template2
451 # interval min-tx 500 min-rx 500 multiplier 5
452
453 - name: Replace device configuration of specified BFD templates with provided configuration
454 cisco.ios.ios_bfd_templates:
455 config:
456 - name: template1
457 hop: single_hop
458 interval:
459 min_tx: 300
460 min_rx: 300
461 multiplier: 4
462 authentication:
463 type: sha_1
464 keychain: new_keychain
465 state: replaced
466
467 # Commands Fired:
468 # ---------------
469 # bfd-template single-hop template1
470 # no echo
471 # interval min-tx 300 min-rx 300 multiplier 4
472 # no authentication sha-1 keychain bfd_keychain
473 # authentication sha-1 keychain new_keychain
474
475 # After state:
476 # ------------
477 # router-ios#show running-config | section ^bfd-template
478 # bfd-template single-hop template1
479 # interval min-tx 300 min-rx 300 multiplier 4
480 # authentication sha-1 keychain new_keychain
481 # bfd-template multi-hop template2
482 # interval min-tx 500 min-rx 500 multiplier 5
483
484 # Using overridden
485 # Before state:
486 # -------------
487 # router-ios#show running-config | section ^bfd-template
488 # bfd-template single-hop template1
489 # interval min-tx 200 min-rx 200 multiplier 3
490 # bfd-template multi-hop template2
491 # interval min-tx 500 min-rx 500 multiplier 5
492 # bfd-template single-hop template3
493 # echo
494
495 - name: Override device configuration with provided configuration
496 cisco.ios.ios_bfd_templates:
497 config:
498 - name: template1
499 hop: single_hop
500 interval:
501 min_tx: 300
502 min_rx: 300
503 multiplier: 5
504 authentication:
505 type: md5
506 keychain: secure_key
507 state: overridden
508
509 # Commands Fired:
510 # ---------------
511 # no bfd-template multi-hop template2
512 # no bfd-template single-hop template3
513 # bfd-template single-hop template1
514 # interval min-tx 300 min-rx 300 multiplier 5
515 # authentication md5 keychain secure_key
516
517 # After state:
518 # ------------
519 # router-ios#show running-config | section ^bfd-template
520 # bfd-template single-hop template1
521 # interval min-tx 300 min-rx 300 multiplier 5
522 # authentication md5 keychain secure_key
523
524 # Using deleted
525 # Before state:
526 # -------------
527 # router-ios#show running-config | section ^bfd-template
528 # bfd-template single-hop template1
529 # interval min-tx 200 min-rx 200 multiplier 3
530 # authentication sha-1 keychain bfd_keychain
531 # echo
532 # bfd-template multi-hop template2
533 # interval min-tx 500 min-rx 500 multiplier 5
534
535 - name: Delete specified BFD template
536 cisco.ios.ios_bfd_templates:
537 config:
538 - name: template1
539 hop: single_hop
540 state: deleted
541
542 # Commands Fired:
543 # ---------------
544 # bfd-template single-hop template1
545 # no echo
546 # no interval min-tx 200 min-rx 200 multiplier 3
547 # no authentication sha-1 keychain bfd_keychain
548
549 # After state:
550 # ------------
551 # router-ios#show running-config | section ^bfd-template
552 # bfd-template single-hop template1
553 # bfd-template multi-hop template2
554 # interval min-tx 500 min-rx 500 multiplier 5
555
556 # Using deleted (to delete all BFD templates )
557 # Before state:
558 # -------------
559 # router-ios#show running-config | section ^bfd-template
560 # bfd-template single-hop template1
561 # interval min-tx 200 min-rx 200 multiplier 3
562 # bfd-template multi-hop template2
563 # interval min-tx 500 min-rx 500 multiplier 5
564
565 - name: Delete all BFD template configurations
566 cisco.ios.ios_bfd_templates:
567 state: deleted
568
569 # Commands Fired:
570 # ---------------
571 # bfd-template single-hop template1
572 # no interval min-tx 200 min-rx 200 multiplier 3
573 # bfd-template multi-hop template2
574 # no interval min-tx 500 min-rx 500 multiplier 5
575
576 # After state:
577 # ------------
578 # router-ios#show running-config | section ^bfd-template
579 # bfd-template single-hop template1
580 # bfd-template multi-hop template2
581
582 # Using purged
583 # Before state:
584 # -------------
585 # router-ios#show running-config | section ^bfd-template
586 # bfd-template single-hop template1
587 # interval min-tx 200 min-rx 200 multiplier 3
588 # bfd-template multi-hop template2
589 # interval min-tx 500 min-rx 500 multiplier 5
590
591 - name: Purge specified BFD template configurations (complete removal)
592 cisco.ios.ios_bfd_templates:
593 config:
594 - name: template1
595 hop: single_hop
596 state: purged
597
598 # Commands Fired:
599 # ---------------
600 # no bfd-template single-hop template1
601
602 # After state:
603 # ------------
604 # router-ios#show running-config | section ^bfd-template
605 # bfd-template multi-hop template2
606 # interval min-tx 500 min-rx 500 multiplier 5
607
608 # Using purged (to remove all BFD templates)
609 # Before state:
610 # -------------
611 # router-ios#show running-config | section ^bfd-template
612 # bfd-template single-hop template1
613 # interval min-tx 200 min-rx 200 multiplier 3
614 # authentication sha-1 keychain bfd_keychain
615 # bfd-template multi-hop template2
616 # interval min-tx 500 min-rx 500 multiplier 5
617 # bfd-template single-hop template3
618 # echo
619
620 - name: Purge all BFD template configurations (complete removal)
621 cisco.ios.ios_bfd_templates:
622 config: []
623 state: purged
624
625 # Commands Fired:
626 # ---------------
627 # no bfd-template single-hop template1
628 # no bfd-template multi-hop template2
629 # no bfd-template single-hop template3
630
631 # After state:
632 # ------------
633 # router-ios#show running-config | section ^bfd-template
634 # (no BFD templates configured)
635
636 # Using rendered
637 - name: Render platform specific commands from task input using rendered state
638 cisco.ios.ios_bfd_templates:
639 config:
640 - name: template1
641 hop: single_hop
642 interval:
643 min_tx: 200
644 min_rx: 200
645 multiplier: 3
646 authentication:
647 type: meticulous_sha_1
648 keychain: secure_chain
649 echo: true
650 state: rendered
651
652 # Module Execution Result:
653 # ------------------------
654 # "rendered": [
655 # "bfd-template single-hop template1",
656 # "interval min-tx 200 min-rx 200 multiplier 3",
657 # "authentication meticulous-sha-1 keychain secure_chain",
658 # "echo"
659 # ]
660
661 # Using gathered
662 - name: Gather BFD template configuration from the device
663 cisco.ios.ios_bfd_templates:
664 state: gathered
665
666 # Module Execution Result:
667 # ------------------------
668 # "gathered": [
669 # {
670 # "name": "template1",
671 # "hop": "single_hop",
672 # "interval": {
673 # "min_tx": 200,
674 # "min_rx": 200,
675 # "multiplier": 3
676 # },
677 # "authentication": {
678 # "type": "sha_1",
679 # "keychain": "bfd_keychain"
680 # },
681 # "echo": true
682 # }
683 # ]
684
685 # Using parsed
686 - name: Parse the provided configuration to structured format
687 cisco.ios.ios_bfd_templates:
688 running_config: |
689 bfd-template single-hop template1
690 interval min-tx 200 min-rx 200 multiplier 3
691 authentication sha-1 keychain bfd_keychain
692 echo
693 bfd-template multi-hop template2
694 dampening 30 2000 5000 120
695 state: parsed
696
697 # Module Execution Result:
698 # ------------------------
699 # "parsed": [
700 # {
701 # "name": "template1",
702 # "hop": "single_hop",
703 # "interval": {
704 # "min_tx": 200,
705 # "min_rx": 200,
706 # "multiplier": 3
707 # },
708 # "authentication": {
709 # "type": "sha_1",
710 # "keychain": "bfd_keychain"
711 # },
712 # "echo": true
713 # },
714 # {
715 # "name": "template2",
716 # "hop": "multi_hop",
717 # "dampening": {
718 # "half_life_period": 30,
719 # "reuse_threshold": 2000,
720 # "suppress_threshold": 5000,
721 # "max_suppress_time": 120
722 # }
723 # }
724 # ]
725
726
727
728 Return Values
729 -------------
730 Common return values are documented `here <https://docs.ansible.com/ansible/latest/reference_appendices/common_return_values.html#common-return-values>`_, the following are the fields unique to this module:
731
732 .. raw:: html
733
734 <table border=0 cellpadding=0 class="documentation-table">
735 <tr>
736 <th colspan="1">Key</th>
737 <th>Returned</th>
738 <th width="100%">Description</th>
739 </tr>
740 <tr>
741 <td colspan="1">
742 <div class="ansibleOptionAnchor" id="return-"></div>
743 <b>after</b>
744 <a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a>
745 <div style="font-size: small">
746 <span style="color: purple">list</span>
747 </div>
748 </td>
749 <td>when changed</td>
750 <td>
751 <div>The resulting configuration after module execution.</div>
752 <br/>
753 <div style="font-size: smaller"><b>Sample:</b></div>
754 <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">This output will always be in the same format as the module argspec.</div>
755 </td>
756 </tr>
757 <tr>
758 <td colspan="1">
759 <div class="ansibleOptionAnchor" id="return-"></div>
760 <b>before</b>
761 <a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a>
762 <div style="font-size: small">
763 <span style="color: purple">list</span>
764 </div>
765 </td>
766 <td>always</td>
767 <td>
768 <div>The configuration prior to the module invocation.</div>
769 <br/>
770 <div style="font-size: smaller"><b>Sample:</b></div>
771 <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">This output will always be in the same format as the module argspec.</div>
772 </td>
773 </tr>
774 <tr>
775 <td colspan="1">
776 <div class="ansibleOptionAnchor" id="return-"></div>
777 <b>commands</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>always</td>
784 <td>
785 <div>The set of commands pushed to the remote device.</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;">[&#x27;bfd-template single-hop template1&#x27;, &#x27;interval min-tx 200 min-rx 200 multiplier 3&#x27;, &#x27;authentication sha-1 keychain bfd_keychain&#x27;, &#x27;echo&#x27;]</div>
789 </td>
790 </tr>
791 <tr>
792 <td colspan="1">
793 <div class="ansibleOptionAnchor" id="return-"></div>
794 <b>gathered</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 <em>state</em> is <code>gathered</code></td>
801 <td>
802 <div>Facts about the network resource gathered from the remote device as structured data.</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;">This output will always be in the same format as the module argspec.</div>
806 </td>
807 </tr>
808 <tr>
809 <td colspan="1">
810 <div class="ansibleOptionAnchor" id="return-"></div>
811 <b>parsed</b>
812 <a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a>
813 <div style="font-size: small">
814 <span style="color: purple">list</span>
815 </div>
816 </td>
817 <td>when <em>state</em> is <code>parsed</code></td>
818 <td>
819 <div>The device native config provided in <em>running_config</em> option parsed into structured data as per module argspec.</div>
820 <br/>
821 <div style="font-size: smaller"><b>Sample:</b></div>
822 <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">This output will always be in the same format as the module argspec.</div>
823 </td>
824 </tr>
825 <tr>
826 <td colspan="1">
827 <div class="ansibleOptionAnchor" id="return-"></div>
828 <b>rendered</b>
829 <a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a>
830 <div style="font-size: small">
831 <span style="color: purple">list</span>
832 </div>
833 </td>
834 <td>when <em>state</em> is <code>rendered</code></td>
835 <td>
836 <div>The provided configuration in the task rendered in device native format (offline).</div>
837 <br/>
838 <div style="font-size: smaller"><b>Sample:</b></div>
839 <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">[&#x27;bfd-template single-hop template1&#x27;, &#x27;interval min-tx 200 min-rx 200 multiplier 3&#x27;, &#x27;authentication sha-1 keychain bfd_keychain&#x27;, &#x27;echo&#x27;]</div>
840 </td>
841 </tr>
842 </table>
843 <br/><br/>
844
845
846 Status
847 ------
848
849
850 Authors
851 ~~~~~~~
852
853 - Komal Desai (@komaldesai13)