mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
* ios_facts: Fix LLDP gathering without neighbors
When LLDP is enabled but no neighbors are present, the following
structure is generated:
...
"ansible_net_neighbors": {
"null": [
{
"host": null,
"port": null
}
]
},
...
If we are not able to find any relevant LLDP information, bail out early
so cases like shown above are handled more gracefully.
* ios_facts: Remove trailing space in lineprotocol
Some Cisco devices (at least CSR1000V 16.6.4) add a space after the
line protocol. This causes the space to be present in the result of
fact gathering:
"ansible_net_interfaces": {
"GigabitEthernet2": {
...
"lineprotocol": "up ",
Be more clear about scanning the output to avoid this behaviour.
|
7 years ago | |
|---|---|---|
| .. | ||
| a10 | 7 years ago | |
| aci | 7 years ago | |
| aireos | 8 years ago | |
| aos | 7 years ago | |
| aruba | 8 years ago | |
| asa | 7 years ago | |
| avi | 7 years ago | |
| bigswitch | 7 years ago | |
| citrix | 7 years ago | |
| cli | 7 years ago | |
| cloudengine | 7 years ago | |
| cloudvision | 8 years ago | |
| cnos | 7 years ago | |
| cumulus | 7 years ago | |
| dellos6 | 7 years ago | |
| dellos9 | 7 years ago | |
| dellos10 | 7 years ago | |
| edgeos | 7 years ago | |
| enos | 7 years ago | |
| eos | 7 years ago | |
| exos | 7 years ago | |
| f5 | 7 years ago | |
| files | 7 years ago | |
| fortimanager | 7 years ago | |
| fortios | 7 years ago | |
| ftd | 7 years ago | |
| illumos | 8 years ago | |
| interface | 8 years ago | |
| ios | 7 years ago | |
| iosxr | 7 years ago | |
| ironware | 8 years ago | |
| junos | 7 years ago | |
| layer2 | 8 years ago | |
| layer3 | 8 years ago | |
| meraki | 7 years ago | |
| netact | 8 years ago | |
| netconf | 7 years ago | |
| netscaler | 8 years ago | |
| netvisor | 7 years ago | |
| nos | 7 years ago | |
| nso | 8 years ago | |
| nuage | 8 years ago | |
| nxos | 7 years ago | |
| onyx | 7 years ago | |
| opx | 7 years ago | |
| ordnance | 7 years ago | |
| ovs | 7 years ago | |
| panos | 7 years ago | |
| protocol | 8 years ago | |
| radware | 7 years ago | |
| routeros | 7 years ago | |
| routing | 8 years ago | |
| slxos | 7 years ago | |
| sros | 7 years ago | |
| system | 8 years ago | |
| voss | 7 years ago | |
| vyos | 7 years ago | |
| __init__.py | 9 years ago | |