mirror of https://github.com/ansible/ansible.git
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.
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. |
6 years ago | |
---|---|---|
.. | ||
action | 6 years ago | |
cache | 6 years ago | |
callback | 6 years ago | |
cliconf | 6 years ago | |
connection | 6 years ago | |
filter | 6 years ago | |
httpapi | 6 years ago | |
inventory | 6 years ago | |
loader_fixtures | 7 years ago | |
lookup | 6 years ago | |
shell | ||
strategy | 6 years ago | |
terminal | 6 years ago | |
vars | 8 years ago | |
__init__.py | 8 years ago | |
test_plugins.py | 6 years ago |