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 Create a short license for PSF and MIT. (#32212) 2017-11-06 10:25:30 -08:00
config Add option allowing the user to specify a custom cowpath 2017-12-19 15:39:38 -05:00
errors Remove uses of assert in production code (#32079) 2017-11-13 11:51:18 -05:00
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 fix item var in delegation (#32986) 2017-11-20 09:29:55 -05:00
__init__.py Fix ziploader for the cornercase of ansible invoking ansible. 2016-04-29 08:47:49 -07:00
constants.py Fixes eos sending 'None' to device (#33015) 2017-11-17 11:33:54 -05:00
release.py Bump the versions now that devel is 2.5 2017-09-06 13:13:57 -07:00