ansible/network
Tim Rupp e81bbf9b8f Bugfix bigip_facts that was trying to check the length of an iterator (#2842)
Recently, a user reported that the bigip_facts module was failing with the error

    received exception: object of type 'itertools.imap' has no len()

This reported was occurring at line 1657 of the bigip_facts module

bug report is here

https://github.com/F5Networks/f5-ansible/issues/25

Upon further investigation, the map function for returning the specified
includes was returning an iterator, and calling len() on an iterator does
not work.

I believe this problem was caused by part of the Python 3.x effort insofar
as the inclusion of this line

https://github.com/ansible/ansible/blob/devel/lib/ansible/module_utils/basic.py#L143

seems to affect our usage of map(), probably for the better anyway, and we need
to change our expectations in our module's code to no longer assume a list, but
instead assume an iterator.

After trawling through the module_utils/basic code, I think a list
comprehension is more appropriate here anyway, so I'm changing it to be
that. The affected user reported it works this way, and my own testing
on 2.2.0 supports that.
2016-09-02 23:07:32 -07:00
..
a10 when write_config is no, we should not try to write any configuration changes 2016-08-06 18:48:26 +08:00
asa New module asa_command (#2306) 2016-07-11 12:55:45 -04:00
citrix be explicit about urllib import and remove conditional urllib(2) import 2015-06-19 09:01:08 -07:00
exoscale new modules for managing exoscale DNS (#2788) 2016-08-30 19:40:06 +01:00
f5 Bugfix bigip_facts that was trying to check the length of an iterator (#2842) 2016-09-02 23:07:32 -07:00
illumos Add modules to configure Solaris/illumos networking (1st batch) (#2416) 2016-08-30 19:46:53 +01:00
netconf netconf module with edit-config operation (#2103) 2016-06-01 12:17:38 -04:00
__init__.py Fix rename error. 2014-11-04 17:27:51 -05:00
cloudflare_dns.py Add a 'requirements:' field to cloudflare_dns doc (#2631) 2016-08-23 13:08:42 -04:00
dnsimple.py New json_fail syntax for dnsimple module 2016-03-07 14:20:33 +11:00
dnsmadeeasy.py removed comment 2016-01-12 09:43:10 -05:00
haproxy.py Fix argument type to bool. By default shutdown_sessions is always true then it should'nt. (#2596) 2016-07-27 23:16:15 +02:00
ipify_facts.py Update for modules which import json. 2016-01-11 13:06:22 -08:00
lldp.py Add lldpctl to requirements. 2015-08-10 16:34:41 -04:00
nmcli.py Allow value to be bool where 'yes'/'no' are in choices (#2593) 2016-08-17 07:32:49 -07:00
openvswitch_bridge.py Define external_ids ’type' in openvswitch_bridge (#2523) 2016-07-08 00:33:24 +02:00
openvswitch_db.py removed extra syslog message and DOCUMENTATION variable 2015-09-09 14:28:50 -07:00
openvswitch_port.py Update openvswitch_port with tag feature (#2522) 2016-07-06 07:14:31 +02:00
snmp_facts.py Fix typo 2016-02-19 02:09:51 +01:00
wakeonlan.py wakeonlan: New module to send out magic WOL packets (#2271) 2016-07-14 09:24:08 -04:00