Adds refactors for more f5 modules (#34824)

The main patch is to remove the traceback generating code. There are
other small fixes that were made in addition to doing that.

* Removed re-def of cleanup_tokens.
* Changed parameter args to be keywords.
* Changed imports to include new module_util locations.
* Imports also include developing (sideband) module_util locations.
* Changed to using F5Client and plain AnsibleModule to prevent tracebacks caused by missing libraries.
* Removed init and update methods from most Parameter classes (optimization) as its now included in module_utils.
* Changed module and module param references to take into account the new self.module arg.
* Minor bug fixes made during this refactor.
This commit is contained in:
Tim Rupp 2018-01-12 21:49:12 -08:00 committed by GitHub
commit a10aee0fc3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
28 changed files with 1327 additions and 1593 deletions

View file

@ -41,19 +41,6 @@ lib/ansible/modules/net_tools/cloudflare_dns.py E317
lib/ansible/modules/net_tools/haproxy.py E317
lib/ansible/modules/net_tools/omapi_host.py E317
lib/ansible/modules/network/cloudengine/ce_reboot.py E317
lib/ansible/modules/network/f5/bigip_pool.py E321
lib/ansible/modules/network/f5/bigip_profile_client_ssl.py E321
lib/ansible/modules/network/f5/bigip_provision.py E321
lib/ansible/modules/network/f5/bigip_qkview.py E321
lib/ansible/modules/network/f5/bigip_remote_syslog.py E321
lib/ansible/modules/network/f5/bigip_security_port_list.py E321
lib/ansible/modules/network/f5/bigip_selfip.py E321
lib/ansible/modules/network/f5/bigip_snat_pool.py E321
lib/ansible/modules/network/f5/bigip_snmp.py E321
lib/ansible/modules/network/f5/bigip_snmp_trap.py E321
lib/ansible/modules/network/f5/bigip_software_update.py E321
lib/ansible/modules/network/f5/bigip_ssl_certificate.py E321
lib/ansible/modules/network/f5/bigip_ssl_key.py E321
lib/ansible/modules/network/f5/bigip_sys_db.py E321
lib/ansible/modules/network/f5/bigip_sys_global.py E321
lib/ansible/modules/network/f5/bigip_traffic_group.py E321