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/units
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
..
cli Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
compat Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
config Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
contrib Fix vmware_inventory unit tests so they run. 6 years ago
errors Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
executor Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 9 years ago
mock Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
module_utils Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
modules Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
parsing Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
playbook Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
plugins Add support for IOS vlan parsing filter. (#40555) 6 years ago
template Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
utils Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
vars Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
ansible.cfg Fix ansible-test config management. 7 years ago
conftest.py Run unit tests in parallel. (#45812) 6 years ago
test_constants.py 1st part of ansible config, adds ansible-config to view/manage configs (#12797) 7 years ago