Skip to content

v2.0.2

Compare
Choose a tag to compare
@omaciel omaciel released this 06 Oct 21:41
· 146 commits to master since this release

Added new netmask random generator, thanks to @elyezer! You can now generate a netmask value using:

from fauxfactory import gen_netmask

gen_netmask()
u'255.255.255.252'

You can also generate a netmask value that falls within valid CIDR values:

gen_netmask(min_cidr=4)
u'255.255.255.252'

gen_netmask(min_cidr=4, max_cidr=10)
u'252.0.0.0'