ansible/lib/ansible
Dag Wieers e970237a2f New module: access Cisco ACI (network/aci/aci_rest) (#26029)
* aci_rest: New module to access Cisco ACI

This PR includes:
- Relicense as GPLv3+
- Check-mode support
- Cosmetic changes to documentation
- Examples in YAML format
- Removal of incorrect requirements (for this module)
- Do not log passwords
- Implement native fetch_url instead of requests
- Use standard hostname, username and password parameters
- Add alias src for parameter config_file
- Add mutual exclusive content option for inline data (and show some inline examples)
- Add timeout parameter
- Add validate_certs parameter
- Handling ACI result output (identical for JSON as XML input)
- Parse/expose ACI error output to user

* Lower case method, add use_ssl, Use python dicts

This commit includes:
- Use lowercase method names
- Add `use_ssl` parameter (not the `protocol` parameter)
- Use a python dict for the request data (not a JSON string)
- Documentation improvements

* Ensure one of 'content' or 'src' is provided

* Fix issue with totalCount being a string in JSON

This fixes the problem with JSON output where totalCount is a string and
not an integer.

This fixes jedelman8/aci-ansible#7

* Improve code documentation

* Improve error handling and module response

* Small typo

* Improve documentation and examples

* Keep protocol parameter, but deprecate it

* Extrude aci functions from module_utils

* aci_rest: Add unit tests
2017-07-17 16:32:12 +01:00
..
cli metadata and doc generator optimization and fixes 2017-07-04 01:12:43 -07:00
compat ansible/compat/: PEP8 compliancy (#24689) 2017-05-18 08:36:11 +01:00
config added ansible_remote_tmp inventory var (#26754) 2017-07-13 15:31:10 -07:00
errors correct, cleanup & simplify dwim stack (#25956) 2017-07-03 15:27:53 -04:00
executor Namespaced facts fixes (#26615) 2017-07-12 19:27:05 -04:00
galaxy Transition inventory into plugins (#23001) 2017-05-23 17:16:49 -04:00
inventory ensure all groups inherit from 'all' 2017-07-13 18:38:39 -04:00
module_utils junos implementation of net_lldp (#26872) 2017-07-17 07:14:09 +05:30
modules New module: access Cisco ACI (network/aci/aci_rest) (#26029) 2017-07-17 16:32:12 +01:00
parsing Adds search in template/files/vars relative to the playbook path (#26460) 2017-07-05 19:45:09 -04:00
playbook added ansible_remote_tmp inventory var (#26754) 2017-07-13 15:31:10 -07:00
plugins fixed issue with null host vars 2017-07-15 00:20:08 -04:00
template Try to show original exception info for yaml (and other) errors (#24468) 2017-06-09 13:13:15 -04:00
utils New module: access Cisco ACI (network/aci/aci_rest) (#26029) 2017-07-17 16:32:12 +01:00
vars removed redundant loader 2017-07-17 09:03:39 -04:00
__init__.py
constants.py constants: pep8 fix (#25735) 2017-06-15 13:40:06 +02:00
release.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00