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/targets/ec2_group
Sloane Hertel d877c146ab [cloud] ec2_group fix CIDR with host bits set - fixes #25403 (#29605)
* WIP adds network subnetting functions

* adds functions to convert between netmask and masklen
* adds functions to verify netmask and masklen
* adds function to dtermine network and subnet from address / mask pair

* network_common: add a function to get the first 48 bits in a IPv6 address.

ec2_group: only use network bits of a CIDR.

* Add tests for CIDRs with host bits set.

* ec2_group: add warning if CIDR isn't the networking address.

* Fix pep8.

* Improve wording.

* fix import for network utils

* Update tests to use pytest instead of unittest

* add test for to_ipv6_network()

* Fix PEP8
2017-12-20 14:57:47 -05:00
..
defaults Enable cloud tests for use with ansible-test. 2017-05-05 21:46:29 +08:00
meta Enable cloud tests for use with ansible-test. 2017-05-05 21:46:29 +08:00
tasks [cloud] ec2_group fix CIDR with host bits set - fixes #25403 (#29605) 2017-12-20 14:57:47 -05:00
aliases Split up cloud tests to avoid 1 hour CI limit. 2017-11-23 02:33:56 -08:00