ansible/test
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
..
compile Docs how to test (2nd) (#24094) 2017-04-28 09:08:26 +01:00
integration Use Boto3 for ec2_group Fixes #23507 (#25340) 2017-07-17 12:03:31 +10:00
results Create bot friendly sanity output. (#22381) 2017-03-07 14:59:50 -08:00
runner Add --list-targets and speed up --explain. (#26838) 2017-07-14 19:11:25 -07:00
sanity cloudstack: remove CloudStackException dep for several modules (#26874) 2017-07-16 22:05:14 +02:00
units Update nxos_interface_ospf & add test (#26644) 2017-07-14 12:31:36 -04:00
utils Optimize running of CI cloud integration tests. 2017-07-14 22:28:14 -07:00