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/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.
6 years ago
..
cache Update ansible-test sanity command. (#31958) 7 years ago
integration postgresql_user: fix test errors on newer Fedora versions (#47166) 6 years ago
legacy fix scaleway user data tests (#46570) 6 years ago
results Collect data from integration test runs. (#28650) 7 years ago
runner Update requirements for urllib3 for python 2.6. 6 years ago
sanity Add BOM check to shebang sanity test. 6 years ago
units Add support for IOS vlan parsing filter. (#40555) 6 years ago
utils Use 4 nodes for sanity tests in CI. 6 years ago