ansible/test/integration
Colin Nolan db50650365 Adds support for all Consul 0.8 ACL rule scopes (#25800)
* Added in support for 'agent' and 'node' types.

* Tidies and moves `consul_acl` module closer to PEP8 compliance.

* Switched from using byspoke code to handle py2/3 string issues to using `to_text`.

* Made changes suggested by jrandall in https://github.com/ansible/ansible/pull/23467#pullrequestreview-34021967.

* Refactored consul_acl to support scopes with no pattern (and therefore a different HCL defintion).

* Corrects whitespace in Consul ACL HCL representation.

* Fixes Consul ACL to return the HCL equivalent JSON (according to the Consul docs) for the set ACLs.

* Repositioned import to align with Ansible standard (!= PEP8 standard).

* Adds Python 2.6 compatibility.

* Fixes PEP8 issues.

* Removes consul_acl.py as it now passes PEP8.

* Follows advice in the "Documenting Your Module" guide and moves imports up from the bottom.

* Tidies consul_acl module documentation.

* Updates link to guide about Consul ACLs.

* Removes new line spaces from error message string.

* Provide better error message if user forgets to associate a value to a Consul ACL rule.

* Minor refactoring of Consul ACL module.

* Fixes bug that was breaking idempotence in Consul ACL module.

* Detects redefinition of same rule.

* Adds test to check the Consul ACL module can set rules for all supported scopes.

* Fixes return when updating an ACL.

* Clean up of Consul ACL integration test file.

* Verify correct changes to existing Consul ACL rule.

* Adds tests for idempotence.

* Splits Consul ACL tests into cohesive modules.

* Adds test for deleting Consul ACLs.

* Test that Consul ACL module can set all rule scopes.

* Fixes issues surrounding the creation of ACLs.

Thanks for the comments by manos in https://github.com/ansible/ansible/pull/25800#issuecomment-310137889.

* Stops Consul ACL's name being "forgotten" if ACL updated by token.

* Fixes incorrect assignment when a Consul ACL is deleted.

* Fixes value of `changed` when Consul ACL is removed.

* Fixes tests for Consul ACL.

* Adds interal documentation.

* Refactors to separate update and create (also makes it possible to unit test this module).

* Improves documentation.

* Completes RETURN documentation for Consul ACL module.

* Fixes issue with equality checking for `None` in ACL Consul.

* Fixes Python 2 issue with making a decision based on `str` type.

* Fixes inequality check bug in Python 2.

* Adds tests for setting ACL with token.

* Adds support for creating an ACL with a given token.

* Outputs operation performed on Consul ACL when changed.

* Fixs issue with test for creating a Consul ACL with rules.

* Corrects property used to set ACL token in python-consul library.

* Fixes tear-down issue in test that creates a Consul ACL using a token.
2017-08-09 15:21:12 -04:00
..
group_vars Comment cli provider creds on junos group_vars (#27611) 2017-08-02 00:46:31 +02:00
host_vars
roles Adds support for all Consul 0.8 ACL rule scopes (#25800) 2017-08-09 15:21:12 -04:00
targets Fix for nxos_ospf idempotent issue (#27913) 2017-08-09 11:25:35 -04:00
vars
amazon.yml
asa.yaml Continue running network tests after failure (#26407) 2017-07-04 18:18:02 +01:00
azure.yml
cleanup_azure.py
cleanup_ec2.py Fix undefined variables, basestring usage, and some associated python3 issues 2017-07-25 15:58:23 -07:00
cleanup_gce.py Fix undefined variables, basestring usage, and some associated python3 issues 2017-07-25 15:58:23 -07:00
cleanup_rax.py Fix undefined variables, basestring usage, and some associated python3 issues 2017-07-25 15:58:23 -07:00
cloud-config-aws.yml.template
cloud-config-cs.ini.template
cloudflare.yml
cloudscale.yml
cnos.yaml
connection-buildah.yaml add connection plugin for buildah (#26170) 2017-07-11 22:36:25 -04:00
consul.yml Adds support for all Consul 0.8 ACL rule scopes (#25800) 2017-08-09 15:21:12 -04:00
consul_inventory.yml
consul_running.py
credentials.template Update git test to not rm ~/.ssh/known_hosts. 2017-07-05 16:05:28 -07:00
dellos6.yaml
dellos9.yaml
dellos10.yaml
eos.yaml Remove Deprecated Template network modules (#27076) 2017-07-27 19:40:11 +01:00
exoscale.yml
galaxy_playbook.yml
galaxy_playbook_git.yml
galaxy_roles.yml
galaxy_rolesfile
gce.yml [google] adding a GCE labels module 2017-07-25 09:36:33 -04:00
gce_credentials.py
integration_config.yml
inventory
inventory.network Add VyOS integration tests for net_linkagg (#26478) 2017-07-06 11:25:15 +02:00
inventory.networking.template
inventory.remote.template
inventory.winrm.template
inventory.yaml add new yaml inventory for testing 2017-07-24 16:39:00 -04:00
ios.yaml ios implementation for net_interface (#27459) 2017-08-01 11:50:08 -06:00
iosxr.yaml iosxr implemetation for net_interface (#27513) 2017-08-01 20:19:54 +05:30
jenkins.yml
junos.yaml Remove Deprecated Template network modules (#27076) 2017-07-27 19:40:11 +01:00
Makefile Remove legacy integration test make targets. (#26255) 2017-06-29 12:34:54 -07:00
netscaler.yaml Add netscaler_server module (#25537) 2017-06-27 23:08:00 +05:30
network-all.yaml New module: management of the Nuage Networks VSP SDN solution (network/nuage/nuage_vspk) (#24895) 2017-07-25 12:35:03 +01:00
network-integration.cfg Change play timeout for persistent connection command timeout (#27948) 2017-08-09 12:44:36 +02:00
nuage.yaml New module: management of the Nuage Networks VSP SDN solution (network/nuage/nuage_vspk) (#24895) 2017-07-25 12:35:03 +01:00
nxos.yaml Fix for nxos_ospf idempotent issue (#27913) 2017-08-09 11:25:35 -04:00
ops.yaml Continue running network tests after failure (#26407) 2017-07-04 18:18:02 +01:00
ovs.yaml Revert "Enforce the _raw_params variable with include_role (#26430)" 2017-07-25 11:10:19 -04:00
platform_agnostic.yaml junos implementation for net_l3_interface module (#26829) 2017-07-15 12:38:44 +05:30
rackspace.yml
setup_gce.py
target-prefixes.network openvswitch targets via network-integration (#27295) 2017-07-27 14:14:13 +01:00
vyos.yaml added integration tests for vyos_facts (#26748) 2017-08-08 18:20:47 +02:00