1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/units/modules/network
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
..
aci New module: access Cisco ACI (network/aci/aci_rest) (#26029) 2017-07-17 16:32:12 +01:00
basics code clean of old code from network modules updates (#21469) 2017-02-15 12:46:30 -05:00
cumulus test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
eos fixes error when trying to run show start over eapi (#26800) 2017-07-14 15:07:44 +02:00
f5 Adds missing fields for iapp service (#26507) 2017-07-10 07:27:49 +01:00
ios adds more intelligent save logic and diff to network config modules (#26565) 2017-07-11 20:34:20 -04:00
iosxr Adding admin option for iosxr_config (#26509) 2017-07-10 10:22:45 -06:00
junos Fix junos unit test failures (#26676) 2017-07-12 08:36:16 -07:00
netscaler Add module netscaler_cs_action (#26147) 2017-06-28 19:16:46 +05:30
nxos Fix nxos_bgp_neighbor_af advertise_map and advertise_map_non_exist (#26721) 2017-07-17 11:15:06 -04:00
ovs Actually check for equality on empty commands array (#25308) 2017-06-06 09:56:44 -04:00
vyos vyos_static_route implementation module (#26426) 2017-07-10 16:34:56 +05:30
__init__.py adds new module net_command for network devices (#19468) 2016-12-19 11:21:37 -05:00