ansible/lib/ansible/utils
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
..
module_docs_fragments New module: access Cisco ACI (network/aci/aci_rest) (#26029) 2017-07-17 16:32:12 +01:00
__init__.py Making the switch to v2 2015-05-03 21:47:26 -05:00
cmd_functions.py ansible/utils/: PEP8 compliancy (#24686) 2017-05-30 18:09:44 +01:00
color.py ansible/utils/: PEP8 compliancy (#24686) 2017-05-30 18:09:44 +01:00
display.py Revert "Add log_only to debug messages (#25545)" 2017-06-13 09:29:18 -04:00
encrypt.py ansible/utils/: PEP8 compliancy (#24686) 2017-05-30 18:09:44 +01:00
hashing.py Move uses of to_bytes, to_text, to_native to use the module_utils version (#17423) 2016-09-06 22:54:17 -07:00
helpers.py ansible/utils/: PEP8 compliancy (#24686) 2017-05-30 18:09:44 +01:00
jsonrpc.py Add junos_system declartive module and other related change (#25859) 2017-06-22 09:34:50 +05:30
listify.py ansible/utils/: PEP8 compliancy (#24686) 2017-05-30 18:09:44 +01:00
path.py ansible/utils/: PEP8 compliancy (#24686) 2017-05-30 18:09:44 +01:00
plugin_docs.py Remove metadata from docstring parsing as per last week's meeting decision 2017-07-04 01:12:43 -07:00
shlex.py Update module_utils.six to latest (#22855) 2017-03-23 13:35:05 -07:00
ssh_functions.py ansible/utils/: PEP8 compliancy (#24686) 2017-05-30 18:09:44 +01:00
unicode.py utils/unicode: PEP8 compliancy (#24668) 2017-05-16 15:24:22 +01:00
unsafe_proxy.py Fix circular import with unsafe_proxy, template, and vars 2017-04-28 15:35:30 -07:00
vars.py check options exist before forcing assignment 2017-06-23 15:56:43 -04:00