community.general/lib/ansible/plugins
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
..
action Register missing parameter reboot_timeout (#46585) 2018-10-08 14:56:40 -04:00
cache Python 3.8 collections compatibility fixes. 2018-10-08 11:26:37 -07:00
callback use ansible json encoder for results in callbacks (#46830) 2018-10-12 09:37:56 -04:00
cliconf Correct usage of message in ConnectionError (#46566) 2018-10-10 19:21:20 +05:30
connection Add ConnectionError too 2018-10-13 21:47:13 +02:00
filter Add support for IOS vlan parsing filter. (#40555) 2018-10-17 20:50:28 +05:30
httpapi Store Authorization header inside HttpApi connection plugin (#45598) 2018-09-13 19:34:30 +05:30
inventory better information for user from inventory plugins (#46766) 2018-10-12 11:27:29 -04:00
lookup simpler/shorter option names for user 2018-10-12 11:23:42 -04:00
netconf Move persistent connections to only use registered variables (#45616) 2018-09-20 09:56:43 -04:00
shell win_exec: refactor PS exec runner (#45334) 2018-10-02 15:55:53 -07:00
strategy Use the copied and merged task for calculating task vars in the free strategy. Fixes #47024 (#47060) 2018-10-15 16:07:52 -05:00
terminal Fix junos terminal regex (#47096) 2018-10-17 19:29:35 +05:30
test Python 3.8 collections compatibility fixes. 2018-10-08 11:26:37 -07:00
vars Allow loading dirs from role defaults/vars (#36357) 2018-04-10 17:14:38 -04:00
__init__.py inventory plugins: add test about config API usage (#41888) 2018-07-19 10:45:45 -07:00
loader.py pylint plugin to catch due/past-due deprecated calls (#44143) 2018-09-25 10:31:41 -05:00