Files
community.general/lib/ansible/modules/cloud/amazon
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
..
2017-12-07 20:25:55 +00:00
2017-12-07 20:25:55 +00:00
2017-12-07 20:25:55 +00:00
2017-12-07 20:25:55 +00:00
2017-12-07 20:25:55 +00:00
2017-09-09 10:25:50 -07:00
2017-12-07 20:25:55 +00:00
2017-08-15 23:12:08 -07:00
2017-08-15 23:12:08 -07:00
2017-12-07 20:25:55 +00:00
2017-12-07 20:25:55 +00:00
2017-08-15 23:12:08 -07:00
2017-12-07 20:25:55 +00:00
2017-08-15 23:12:08 -07:00
2017-12-07 20:25:55 +00:00
2017-12-07 20:25:55 +00:00
2017-12-07 20:25:55 +00:00
2017-12-07 20:25:55 +00:00
2017-12-07 20:25:55 +00:00
2017-12-07 20:25:55 +00:00
2017-12-07 20:25:55 +00:00
2017-12-07 20:25:55 +00:00
2017-12-07 20:25:55 +00:00
2017-12-07 20:25:55 +00:00
2017-12-07 20:25:55 +00:00
2017-12-07 20:25:55 +00:00
2017-08-15 23:12:08 -07:00
2017-11-01 10:05:14 -04:00
2017-08-15 23:12:08 -07:00
2017-12-07 20:25:55 +00:00
2017-12-07 20:25:55 +00:00
2017-12-07 20:25:55 +00:00
2017-12-07 20:25:55 +00:00
2017-08-15 23:12:08 -07:00
2017-12-07 20:25:55 +00:00
2017-11-21 20:59:08 -08:00
2017-08-15 23:12:08 -07:00
2017-12-07 20:25:55 +00:00
2017-12-07 20:25:55 +00:00
2017-12-07 20:25:55 +00:00
2017-12-20 14:53:17 +00:00
2017-12-07 20:25:55 +00:00
2017-12-07 20:25:55 +00:00
2017-08-15 23:12:08 -07:00
2017-12-07 20:25:55 +00:00
2017-12-07 20:25:55 +00:00