You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
7 years ago
..
aws aws.core in new aws dir in module utils - module with AnsibleAWSModule class and fail_json_aws (#25780) 7 years ago
basic AnsibleModule.get_file_attributes: add unit test 7 years ago
cloud [cloud] Add more configurable backoff implementations to CloudRetry/AWSRetry (#27251) 7 years ago
ec2 [cloud] Improve snake <-> camel conversion for AWS utils (#31400) 7 years ago
facts Fix invalid string escape sequences. 7 years ago
gcp Fix dangerous default args. (#29839) 7 years ago
json_utils Port some tests away from nose as examples (#33437) 7 years ago
network [cloud] ec2_group fix CIDR with host bits set - fixes #25403 (#29605) 7 years ago
parsing Consolidate boolean/mk_boolean conversion functions into a single location 7 years ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
conftest.py Porting tests to pytest (#33387) 7 years ago
test_database.py Revert "Update galaxy and database unit tests." 8 years ago
test_distribution_version.py Porting tests to pytest (#33387) 7 years ago
test_known_hosts.py Porting tests to pytest (#33387) 7 years ago
test_postgresql.py Porting tests to pytest (#33387) 7 years ago
test_text.py Porting tests to pytest (#33387) 7 years ago