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/integration
sramakr b980a5c02a Use Boto3 for ec2_group Fixes #23507 (#25340)
* Use Boto3 for ec2_group

Currently boto doesn't support ipv6. To support ipv6 in ec2_group, we need boto3.
boto3 has significant API changes, which caused more re-factoring for ec2_group module.
Added additional integration test to test_ec2_group role.

* Follow the standard for boto3 ansible

Fixed imports. Use boto3 ansible exception with camel_dict_to_snake_dict.
Refactored the call to authorize/revoke  ingress and egress.

* Removed dependancy with module ipaddress

Added new parameter called cidr_ipv6 for specifying
ipv6 addresses inline with how boto3 handles ipv6 addresses.

* Updated integration test

* Added ipv6 integration test for ec2_group

* Set purge_rules to false for integration test

* Fixed import statements

Added example for ipv6.
Removed defining HAS_BOTO3 variable and import HAS_BOTO3 from ec2.
Cleaned up import statements.

* Fixed exception handling

* Add IAM permissions for ec2_group tests

Missing AuthorizeSecurityGroupEgress necessary for latest tests

* Wrapped botocore import in try/except block

Import just botocore to be more similar to other modules
2017-07-17 12:03:31 +10:00
..
group_vars
host_vars
roles Add module netscaler_cs_action (#26147) 2017-06-28 19:16:46 +05:30
targets Use Boto3 for ec2_group Fixes #23507 (#25340) 2017-07-17 12:03:31 +10: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
cleanup_gce.py
cleanup_rax.py
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
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 Continue running network tests after failure (#26407) 2017-07-04 18:18:02 +01:00
exoscale.yml
galaxy_playbook.yml
galaxy_playbook_git.yml
galaxy_roles.yml
galaxy_rolesfile
gce.yml
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
ios.yaml Continue running network tests after failure (#26407) 2017-07-04 18:18:02 +01:00
iosxr.yaml Continue running network tests after failure (#26407) 2017-07-04 18:18:02 +01:00
jenkins.yml
junos.yaml junos implementation of net_lldp (#26872) 2017-07-17 07:14:09 +05:30
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 add vyos, openvswitch to network-all playbook (#26167) 2017-06-28 13:27:55 +05:30
nxos.yaml Add integration tests for nxos_acl_interface (#26616) 2017-07-12 13:09:27 -04:00
ops.yaml Continue running network tests after failure (#26407) 2017-07-04 18:18:02 +01:00
ovs.yaml Enforce the _raw_params variable with include_role (#26430) 2017-07-05 15:53:10 +01: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
vyos.yaml vyos implementation for net_interface module (#26799) 2017-07-14 19:39:21 +05:30