mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
ee6ab5d5aa
* Add support for IOS vlan parsing filter. Example usage below: {% set parsed_vlans = vlans | vlan_parser %} switchport trunk allowed vlan {{ parsed_vlans[0] }} {% for i in range (1, parsed_vlans | count) %} switchport trunk allowed vlan add {{ parsed_vlans[i] }} * Update test_network.py Add import statement for filter * Fixed PEP8 issues relating to comments * Fix PEP8 issues related to blank lines * Removed magic numbers for line lengths. This should generalize support to other IOS-like NOS that use similar methods for listing vlans. The default arguments for line lengths will still be specific to Cisco IOS. The unit tests for line length are still specific to Cisco IOS. |
||
---|---|---|
.. | ||
cache | ||
integration | ||
legacy | ||
results | ||
runner | ||
sanity | ||
units | ||
utils |