| 1 |
.. _cisco.ios.ios_lldp_global_module: |
| 2 |
|
| 3 |
|
| 4 |
************************* |
| 5 |
cisco.ios.ios_lldp_global |
| 6 |
************************* |
| 7 |
|
| 8 |
**Resource module to configure LLDP.** |
| 9 |
|
| 10 |
|
| 11 |
Version added: 1.0.0 |
| 12 |
|
| 13 |
.. contents:: |
| 14 |
:local: |
| 15 |
:depth: 1 |
| 16 |
|
| 17 |
|
| 18 |
Synopsis |
| 19 |
-------- |
| 20 |
- This module configures and manages the Link Layer Discovery Protocol(LLDP) attributes on IOS platforms. |
| 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>A dictionary of LLDP options</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>enabled</b> |
| 56 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 57 |
<div style="font-size: small"> |
| 58 |
<span style="color: purple">boolean</span> |
| 59 |
</div> |
| 60 |
</td> |
| 61 |
<td> |
| 62 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 63 |
<li>no</li> |
| 64 |
<li>yes</li> |
| 65 |
</ul> |
| 66 |
</td> |
| 67 |
<td> |
| 68 |
<div>Enable LLDP</div> |
| 69 |
</td> |
| 70 |
</tr> |
| 71 |
<tr> |
| 72 |
<td class="elbow-placeholder"></td> |
| 73 |
<td colspan="2"> |
| 74 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 75 |
<b>holdtime</b> |
| 76 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 77 |
<div style="font-size: small"> |
| 78 |
<span style="color: purple">integer</span> |
| 79 |
</div> |
| 80 |
</td> |
| 81 |
<td> |
| 82 |
</td> |
| 83 |
<td> |
| 84 |
<div>LLDP holdtime (in sec) to be sent in packets.</div> |
| 85 |
<div>Refer to vendor documentation for valid values.</div> |
| 86 |
</td> |
| 87 |
</tr> |
| 88 |
<tr> |
| 89 |
<td class="elbow-placeholder"></td> |
| 90 |
<td colspan="2"> |
| 91 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 92 |
<b>reinit</b> |
| 93 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 94 |
<div style="font-size: small"> |
| 95 |
<span style="color: purple">integer</span> |
| 96 |
</div> |
| 97 |
</td> |
| 98 |
<td> |
| 99 |
</td> |
| 100 |
<td> |
| 101 |
<div>Specify the delay (in secs) for LLDP to initialize.</div> |
| 102 |
<div>Refer to vendor documentation for valid values.</div> |
| 103 |
<div>NOTE, if LLDP reinit is configured with a starting value, idempotency won't be maintained as the Cisco device doesn't record the starting reinit configured value. As such, Ansible cannot verify if the respective starting reinit value is already configured or not from the device side. If you try to apply starting reinit value in every play run, Ansible will show changed as True. For any other reinit value, idempotency will be maintained since any other reinit value is recorded in the Cisco device.</div> |
| 104 |
</td> |
| 105 |
</tr> |
| 106 |
<tr> |
| 107 |
<td class="elbow-placeholder"></td> |
| 108 |
<td colspan="2"> |
| 109 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 110 |
<b>timer</b> |
| 111 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 112 |
<div style="font-size: small"> |
| 113 |
<span style="color: purple">integer</span> |
| 114 |
</div> |
| 115 |
</td> |
| 116 |
<td> |
| 117 |
</td> |
| 118 |
<td> |
| 119 |
<div>Specify the rate at which LLDP packets are sent (in sec).</div> |
| 120 |
<div>Refer to vendor documentation for valid values.</div> |
| 121 |
</td> |
| 122 |
</tr> |
| 123 |
<tr> |
| 124 |
<td class="elbow-placeholder"></td> |
| 125 |
<td colspan="2"> |
| 126 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 127 |
<b>tlv_select</b> |
| 128 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 129 |
<div style="font-size: small"> |
| 130 |
<span style="color: purple">dictionary</span> |
| 131 |
</div> |
| 132 |
</td> |
| 133 |
<td> |
| 134 |
</td> |
| 135 |
<td> |
| 136 |
<div>Selection of LLDP TLVs i.e. type-length-value to send</div> |
| 137 |
<div>NOTE, if tlv-select is configured idempotency won't be maintained as Cisco device doesn't record configured tlv-select options. As such, Ansible cannot verify if the respective tlv-select options is already configured or not from the device side. If you try to apply tlv-select option in every play run, Ansible will show changed as True.</div> |
| 138 |
</td> |
| 139 |
</tr> |
| 140 |
<tr> |
| 141 |
<td class="elbow-placeholder"></td> |
| 142 |
<td class="elbow-placeholder"></td> |
| 143 |
<td colspan="1"> |
| 144 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 145 |
<b>four_wire_power_management</b> |
| 146 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 147 |
<div style="font-size: small"> |
| 148 |
<span style="color: purple">boolean</span> |
| 149 |
</div> |
| 150 |
</td> |
| 151 |
<td> |
| 152 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 153 |
<li>no</li> |
| 154 |
<li>yes</li> |
| 155 |
</ul> |
| 156 |
</td> |
| 157 |
<td> |
| 158 |
<div>Cisco 4-wire Power via MDI TLV</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>mac_phy_cfg</b> |
| 167 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 168 |
<div style="font-size: small"> |
| 169 |
<span style="color: purple">boolean</span> |
| 170 |
</div> |
| 171 |
</td> |
| 172 |
<td> |
| 173 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 174 |
<li>no</li> |
| 175 |
<li>yes</li> |
| 176 |
</ul> |
| 177 |
</td> |
| 178 |
<td> |
| 179 |
<div>IEEE 802.3 MAC/Phy Configuration/status TLV</div> |
| 180 |
</td> |
| 181 |
</tr> |
| 182 |
<tr> |
| 183 |
<td class="elbow-placeholder"></td> |
| 184 |
<td class="elbow-placeholder"></td> |
| 185 |
<td colspan="1"> |
| 186 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 187 |
<b>management_address</b> |
| 188 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 189 |
<div style="font-size: small"> |
| 190 |
<span style="color: purple">boolean</span> |
| 191 |
</div> |
| 192 |
</td> |
| 193 |
<td> |
| 194 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 195 |
<li>no</li> |
| 196 |
<li>yes</li> |
| 197 |
</ul> |
| 198 |
</td> |
| 199 |
<td> |
| 200 |
<div>Management Address TLV</div> |
| 201 |
</td> |
| 202 |
</tr> |
| 203 |
<tr> |
| 204 |
<td class="elbow-placeholder"></td> |
| 205 |
<td class="elbow-placeholder"></td> |
| 206 |
<td colspan="1"> |
| 207 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 208 |
<b>port_description</b> |
| 209 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 210 |
<div style="font-size: small"> |
| 211 |
<span style="color: purple">boolean</span> |
| 212 |
</div> |
| 213 |
</td> |
| 214 |
<td> |
| 215 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 216 |
<li>no</li> |
| 217 |
<li>yes</li> |
| 218 |
</ul> |
| 219 |
</td> |
| 220 |
<td> |
| 221 |
<div>Port Description TLV</div> |
| 222 |
</td> |
| 223 |
</tr> |
| 224 |
<tr> |
| 225 |
<td class="elbow-placeholder"></td> |
| 226 |
<td class="elbow-placeholder"></td> |
| 227 |
<td colspan="1"> |
| 228 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 229 |
<b>port_vlan</b> |
| 230 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 231 |
<div style="font-size: small"> |
| 232 |
<span style="color: purple">boolean</span> |
| 233 |
</div> |
| 234 |
</td> |
| 235 |
<td> |
| 236 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 237 |
<li>no</li> |
| 238 |
<li>yes</li> |
| 239 |
</ul> |
| 240 |
</td> |
| 241 |
<td> |
| 242 |
<div>Port VLAN ID TLV</div> |
| 243 |
</td> |
| 244 |
</tr> |
| 245 |
<tr> |
| 246 |
<td class="elbow-placeholder"></td> |
| 247 |
<td class="elbow-placeholder"></td> |
| 248 |
<td colspan="1"> |
| 249 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 250 |
<b>power_management</b> |
| 251 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 252 |
<div style="font-size: small"> |
| 253 |
<span style="color: purple">boolean</span> |
| 254 |
</div> |
| 255 |
</td> |
| 256 |
<td> |
| 257 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 258 |
<li>no</li> |
| 259 |
<li>yes</li> |
| 260 |
</ul> |
| 261 |
</td> |
| 262 |
<td> |
| 263 |
<div>IEEE 802.3 DTE Power via MDI TLV</div> |
| 264 |
</td> |
| 265 |
</tr> |
| 266 |
<tr> |
| 267 |
<td class="elbow-placeholder"></td> |
| 268 |
<td class="elbow-placeholder"></td> |
| 269 |
<td colspan="1"> |
| 270 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 271 |
<b>system_capabilities</b> |
| 272 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 273 |
<div style="font-size: small"> |
| 274 |
<span style="color: purple">boolean</span> |
| 275 |
</div> |
| 276 |
</td> |
| 277 |
<td> |
| 278 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 279 |
<li>no</li> |
| 280 |
<li>yes</li> |
| 281 |
</ul> |
| 282 |
</td> |
| 283 |
<td> |
| 284 |
<div>System Capabilities TLV</div> |
| 285 |
</td> |
| 286 |
</tr> |
| 287 |
<tr> |
| 288 |
<td class="elbow-placeholder"></td> |
| 289 |
<td class="elbow-placeholder"></td> |
| 290 |
<td colspan="1"> |
| 291 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 292 |
<b>system_description</b> |
| 293 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 294 |
<div style="font-size: small"> |
| 295 |
<span style="color: purple">boolean</span> |
| 296 |
</div> |
| 297 |
</td> |
| 298 |
<td> |
| 299 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 300 |
<li>no</li> |
| 301 |
<li>yes</li> |
| 302 |
</ul> |
| 303 |
</td> |
| 304 |
<td> |
| 305 |
<div>System Description TLV</div> |
| 306 |
</td> |
| 307 |
</tr> |
| 308 |
<tr> |
| 309 |
<td class="elbow-placeholder"></td> |
| 310 |
<td class="elbow-placeholder"></td> |
| 311 |
<td colspan="1"> |
| 312 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 313 |
<b>system_name</b> |
| 314 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 315 |
<div style="font-size: small"> |
| 316 |
<span style="color: purple">boolean</span> |
| 317 |
</div> |
| 318 |
</td> |
| 319 |
<td> |
| 320 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 321 |
<li>no</li> |
| 322 |
<li>yes</li> |
| 323 |
</ul> |
| 324 |
</td> |
| 325 |
<td> |
| 326 |
<div>System Name TLV</div> |
| 327 |
</td> |
| 328 |
</tr> |
| 329 |
|
| 330 |
|
| 331 |
<tr> |
| 332 |
<td colspan="3"> |
| 333 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 334 |
<b>running_config</b> |
| 335 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 336 |
<div style="font-size: small"> |
| 337 |
<span style="color: purple">string</span> |
| 338 |
</div> |
| 339 |
</td> |
| 340 |
<td> |
| 341 |
</td> |
| 342 |
<td> |
| 343 |
<div>This option is used only with state <em>parsed</em>.</div> |
| 344 |
<div>The value of this option should be the output received from the IOS device by executing the command <b>show running-config | section ^lldp</b>.</div> |
| 345 |
<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's argspec and the value is then returned in the <em>parsed</em> key within the result.</div> |
| 346 |
</td> |
| 347 |
</tr> |
| 348 |
<tr> |
| 349 |
<td colspan="3"> |
| 350 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 351 |
<b>state</b> |
| 352 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 353 |
<div style="font-size: small"> |
| 354 |
<span style="color: purple">string</span> |
| 355 |
</div> |
| 356 |
</td> |
| 357 |
<td> |
| 358 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 359 |
<li><div style="color: blue"><b>merged</b> ←</div></li> |
| 360 |
<li>replaced</li> |
| 361 |
<li>overridden</li> |
| 362 |
<li>deleted</li> |
| 363 |
<li>rendered</li> |
| 364 |
<li>gathered</li> |
| 365 |
<li>parsed</li> |
| 366 |
</ul> |
| 367 |
</td> |
| 368 |
<td> |
| 369 |
<div>The state the configuration should be left in</div> |
| 370 |
<div>The module have declaratively similar behavior for replaced and overridden state.</div> |
| 371 |
<div>The states <em>rendered</em>, <em>gathered</em> and <em>parsed</em> does not perform any change on the device.</div> |
| 372 |
<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> |
| 373 |
<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> |
| 374 |
<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 | include ip route|ipv6 route</em> executed on device. For state <em>parsed</em> active connection to remote host is not required.</div> |
| 375 |
</td> |
| 376 |
</tr> |
| 377 |
</table> |
| 378 |
<br/> |
| 379 |
|
| 380 |
|
| 381 |
Notes |
| 382 |
----- |
| 383 |
|
| 384 |
.. note:: |
| 385 |
- Tested against Cisco IOSXE Version 17.3 on CML. |
| 386 |
- This module works with connection ``network_cli``. See https://docs.ansible.com/ansible/latest/network/user_guide/platform_ios.html |
| 387 |
|
| 388 |
|
| 389 |
|
| 390 |
Examples |
| 391 |
-------- |
| 392 |
|
| 393 |
.. code-block:: yaml |
| 394 |
|
| 395 |
# Using merged |
| 396 |
|
| 397 |
# Before state: |
| 398 |
# ------------- |
| 399 |
# vios#sh running-config | section ^lldp |
| 400 |
# vios1# |
| 401 |
|
| 402 |
- name: Merge provided configuration with device configuration |
| 403 |
cisco.ios.ios_lldp_global: |
| 404 |
config: |
| 405 |
holdtime: 10 |
| 406 |
enabled: true |
| 407 |
reinit: 3 |
| 408 |
timer: 10 |
| 409 |
state: merged |
| 410 |
|
| 411 |
# After state: |
| 412 |
# ------------ |
| 413 |
# vios#sh running-config | section ^lldp |
| 414 |
# lldp timer 10 |
| 415 |
# lldp holdtime 10 |
| 416 |
# lldp reinit 3 |
| 417 |
# lldp run |
| 418 |
|
| 419 |
# Using replaced |
| 420 |
|
| 421 |
# Before state: |
| 422 |
# ------------- |
| 423 |
# vios#sh running-config | section ^lldp |
| 424 |
# lldp timer 10 |
| 425 |
# lldp holdtime 10 |
| 426 |
# lldp reinit 3 |
| 427 |
# lldp run |
| 428 |
|
| 429 |
- name: Replaces LLDP device configuration with provided configuration |
| 430 |
cisco.ios.ios_lldp_global: |
| 431 |
config: |
| 432 |
holdtime: 20 |
| 433 |
reinit: 5 |
| 434 |
state: replaced |
| 435 |
|
| 436 |
# After state: |
| 437 |
# ------------- |
| 438 |
# vios#sh running-config | section ^lldp |
| 439 |
# lldp holdtime 20 |
| 440 |
# lldp reinit 5 |
| 441 |
|
| 442 |
# Using Deleted without any config passed |
| 443 |
# "(NOTE: This will delete all of configured LLDP module attributes)" |
| 444 |
|
| 445 |
# Before state: |
| 446 |
# ------------- |
| 447 |
# vios#sh running-config | section ^lldp |
| 448 |
# lldp timer 10 |
| 449 |
# lldp holdtime 10 |
| 450 |
# lldp reinit 3 |
| 451 |
# lldp run |
| 452 |
|
| 453 |
- name: Delete LLDP attributes |
| 454 |
cisco.ios.ios_lldp_global: |
| 455 |
state: deleted |
| 456 |
|
| 457 |
# After state: |
| 458 |
# ------------- |
| 459 |
# vios#sh running-config | section ^lldp |
| 460 |
# vios1# |
| 461 |
|
| 462 |
# Using Gathered |
| 463 |
|
| 464 |
# Before state: |
| 465 |
# ------------- |
| 466 |
# |
| 467 |
# vios#sh running-config | section ^lldp |
| 468 |
# lldp timer 10 |
| 469 |
# lldp holdtime 10 |
| 470 |
# lldp reinit 3 |
| 471 |
# lldp run |
| 472 |
|
| 473 |
- name: Gather listed interfaces with provided configurations |
| 474 |
cisco.ios.ios_lldp_global: |
| 475 |
config: |
| 476 |
state: gathered |
| 477 |
|
| 478 |
# Module Execution Result: |
| 479 |
# ------------------------ |
| 480 |
# |
| 481 |
# "gathered": { |
| 482 |
# "enabled": true, |
| 483 |
# "holdtime": 10, |
| 484 |
# "reinit": 3, |
| 485 |
# "timer": 10 |
| 486 |
# } |
| 487 |
|
| 488 |
# After state: |
| 489 |
# ------------ |
| 490 |
# |
| 491 |
# vios#sh running-config | section ^lldp |
| 492 |
# lldp timer 10 |
| 493 |
# lldp holdtime 10 |
| 494 |
# lldp reinit 3 |
| 495 |
# lldp run |
| 496 |
|
| 497 |
# Using Rendered |
| 498 |
- name: Render the commands for provided configuration |
| 499 |
cisco.ios.ios_lldp_global: |
| 500 |
config: |
| 501 |
holdtime: 10 |
| 502 |
enabled: true |
| 503 |
reinit: 3 |
| 504 |
timer: 10 |
| 505 |
state: rendered |
| 506 |
|
| 507 |
# Module Execution Result: |
| 508 |
# ------------------------ |
| 509 |
# |
| 510 |
# "rendered": [ |
| 511 |
# "lldp holdtime 10", |
| 512 |
# "lldp run", |
| 513 |
# "lldp timer 10", |
| 514 |
# "lldp reinit 3" |
| 515 |
# ] |
| 516 |
|
| 517 |
# Using Parsed |
| 518 |
|
| 519 |
# File: parsed.cfg |
| 520 |
# ---------------- |
| 521 |
# |
| 522 |
# lldp timer 10 |
| 523 |
# lldp holdtime 10 |
| 524 |
# lldp reinit 3 |
| 525 |
# lldp run |
| 526 |
|
| 527 |
- name: Parse the commands for provided configuration |
| 528 |
cisco.ios.ios_lldp_global: |
| 529 |
running_config: "{{ lookup('file', 'parsed.cfg') }}" |
| 530 |
state: parsed |
| 531 |
|
| 532 |
# Module Execution Result: |
| 533 |
# ------------------------ |
| 534 |
# |
| 535 |
# "parsed": { |
| 536 |
# "enabled": true, |
| 537 |
# "holdtime": 10, |
| 538 |
# "reinit": 3, |
| 539 |
# "timer": 10 |
| 540 |
# } |
| 541 |
|
| 542 |
|
| 543 |
|
| 544 |
Return Values |
| 545 |
------------- |
| 546 |
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: |
| 547 |
|
| 548 |
.. raw:: html |
| 549 |
|
| 550 |
<table border=0 cellpadding=0 class="documentation-table"> |
| 551 |
<tr> |
| 552 |
<th colspan="1">Key</th> |
| 553 |
<th>Returned</th> |
| 554 |
<th width="100%">Description</th> |
| 555 |
</tr> |
| 556 |
<tr> |
| 557 |
<td colspan="1"> |
| 558 |
<div class="ansibleOptionAnchor" id="return-"></div> |
| 559 |
<b>after</b> |
| 560 |
<a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a> |
| 561 |
<div style="font-size: small"> |
| 562 |
<span style="color: purple">dictionary</span> |
| 563 |
</div> |
| 564 |
</td> |
| 565 |
<td>when changed</td> |
| 566 |
<td> |
| 567 |
<div>The configuration as structured data after module completion.</div> |
| 568 |
<br/> |
| 569 |
<div style="font-size: smaller"><b>Sample:</b></div> |
| 570 |
<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 of the parameters above.</div> |
| 571 |
</td> |
| 572 |
</tr> |
| 573 |
<tr> |
| 574 |
<td colspan="1"> |
| 575 |
<div class="ansibleOptionAnchor" id="return-"></div> |
| 576 |
<b>before</b> |
| 577 |
<a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a> |
| 578 |
<div style="font-size: small"> |
| 579 |
<span style="color: purple">dictionary</span> |
| 580 |
</div> |
| 581 |
</td> |
| 582 |
<td>always</td> |
| 583 |
<td> |
| 584 |
<div>The configuration as structured data prior to module invocation.</div> |
| 585 |
<br/> |
| 586 |
<div style="font-size: smaller"><b>Sample:</b></div> |
| 587 |
<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 of the parameters above.</div> |
| 588 |
</td> |
| 589 |
</tr> |
| 590 |
<tr> |
| 591 |
<td colspan="1"> |
| 592 |
<div class="ansibleOptionAnchor" id="return-"></div> |
| 593 |
<b>commands</b> |
| 594 |
<a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a> |
| 595 |
<div style="font-size: small"> |
| 596 |
<span style="color: purple">list</span> |
| 597 |
</div> |
| 598 |
</td> |
| 599 |
<td>always</td> |
| 600 |
<td> |
| 601 |
<div>The set of commands pushed to the remote device</div> |
| 602 |
<br/> |
| 603 |
<div style="font-size: smaller"><b>Sample:</b></div> |
| 604 |
<div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">['lldp holdtime 10', 'lldp run', 'lldp timer 10']</div> |
| 605 |
</td> |
| 606 |
</tr> |
| 607 |
</table> |
| 608 |
<br/><br/> |
| 609 |
|
| 610 |
|
| 611 |
Status |
| 612 |
------ |
| 613 |
|
| 614 |
|
| 615 |
Authors |
| 616 |
~~~~~~~ |
| 617 |
|
| 618 |
- Sumit Jaiswal (@justjais) |