ansible/test/units/module_utils
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
..
aws aws.core in new aws dir in module utils - module with AnsibleAWSModule class and fail_json_aws (#25780) 2017-07-11 14:01:35 -07:00
basic AnsibleModule.get_file_attributes: add unit test 2017-12-18 15:49:25 -05:00
cloud [cloud] Add more configurable backoff implementations to CloudRetry/AWSRetry (#27251) 2017-08-08 08:56:46 -04:00
ec2 [cloud] Improve snake <-> camel conversion for AWS utils (#31400) 2017-12-13 15:13:26 -05:00
facts Fix invalid string escape sequences. 2017-11-21 10:03:34 -08:00
gcp Fix dangerous default args. (#29839) 2017-09-12 00:11:13 -07:00
json_utils Port some tests away from nose as examples (#33437) 2017-11-30 14:04:09 -08:00
network [cloud] ec2_group fix CIDR with host bits set - fixes #25403 (#29605) 2017-12-20 14:57:47 -05:00
parsing Consolidate boolean/mk_boolean conversion functions into a single location 2017-07-17 11:48:05 -07:00
__init__.py
conftest.py Porting tests to pytest (#33387) 2017-12-05 12:43:13 -08:00
test_database.py Revert "Update galaxy and database unit tests." 2017-02-09 15:19:01 -08:00
test_distribution_version.py Porting tests to pytest (#33387) 2017-12-05 12:43:13 -08:00
test_known_hosts.py Porting tests to pytest (#33387) 2017-12-05 12:43:13 -08:00
test_postgresql.py Porting tests to pytest (#33387) 2017-12-05 12:43:13 -08:00
test_text.py Porting tests to pytest (#33387) 2017-12-05 12:43:13 -08:00