ansible/test
Steve Dodd ee6ab5d5aa Add support for IOS vlan parsing filter. (#40555)
* 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.
2018-10-17 20:50:28 +05:30
..
cache
integration postgresql_user: fix test errors on newer Fedora versions (#47166) 2018-10-17 14:01:11 +10:00
legacy fix scaleway user data tests (#46570) 2018-10-12 05:03:18 +10:00
results
runner Update requirements for urllib3 for python 2.6. 2018-10-16 14:08:46 -07:00
sanity Add BOM check to shebang sanity test. 2018-10-15 12:03:58 -07:00
units Add support for IOS vlan parsing filter. (#40555) 2018-10-17 20:50:28 +05:30
utils Use 4 nodes for sanity tests in CI. 2018-10-16 09:55:26 -07:00