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.
ansible/lib/ansible/modules/network/ios
Paul Neumann 39673dfc37 ios_facts: Fix minor aesthetical glitches (#46577)
* 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
..
__init__.py initial add of ios_template module 9 years ago
ios_banner.py Surround top-level function and class definitions with two blank lines. 7 years ago
ios_command.py network command modules cleanup (#45242) 7 years ago
ios_config.py Fix 'macro name' timeout (#44001) 7 years ago
ios_facts.py ios_facts: Fix minor aesthetical glitches (#46577) 7 years ago
ios_interface.py Surround top-level function and class definitions with two blank lines. 7 years ago
ios_l2_interface.py Reword documentation for IOS L2/L3 interface modules (#44870) 7 years ago
ios_l3_interface.py Generalize config retrieval in ios_l3_interface module (#45270) 7 years ago
ios_linkagg.py Surround top-level function and class definitions with two blank lines. 7 years ago
ios_lldp.py Add missing extends_documentation_fragment (#35013) 8 years ago
ios_logging.py Fixes to ios_logging (#41029) 8 years ago
ios_ping.py Clean up module documentation (#36909) 8 years ago
ios_static_route.py ios_static_route idempotence fix (#35912) 8 years ago
ios_system.py Surround top-level function and class definitions with two blank lines. 7 years ago
ios_user.py The sshkey option is available in version 2.7 and above (#46103) 7 years ago
ios_vlan.py Fixes ios_l2_interface and ios_vlan not working on certain interface types issue (#43819) 7 years ago
ios_vrf.py ios_vrf speed fix (#43765) 7 years ago