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/lib/ansible
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
..
cli dont warn on not matching 'all' (#32806) 2017-12-15 15:43:51 -05:00
compat
config Add option allowing the user to specify a custom cowpath 2017-12-19 15:39:38 -05:00
errors
executor Add parent pid to persistent connection socket path hash (#33518) 2017-12-15 10:21:56 +05:30
galaxy Fix a typo in the readme of the skeleton used by ansible-galaxy. (#33807) 2017-12-13 11:35:05 +01:00
inventory dont warn on not matching 'all' (#32806) 2017-12-15 15:43:51 -05:00
module_utils [cloud] ec2_group fix CIDR with host bits set - fixes #25403 (#29605) 2017-12-20 14:57:47 -05:00
modules [cloud] ec2_group fix CIDR with host bits set - fixes #25403 (#29605) 2017-12-20 14:57:47 -05:00
parsing Fix a unicodeerror so that we get the correct error message (#34058) 2017-12-19 16:26:30 -06:00
playbook lookup templated value of a var (#32772) 2017-12-19 22:41:50 -06:00
plugins IOS XR cli tests move to network_cli (#34007) 2017-12-20 11:26:09 -05:00
template [template/vars] Use to_native(exception) as a fallback for Python 3 which doesn't have a .message attribute (#34044) 2017-12-19 17:34:46 -05:00
utils VMware: Allow users to specify port for ESXi (#34073) 2017-12-20 11:53:22 +05:30
vars
__init__.py
constants.py
release.py