def list_cidr_ips(cidr):
 ips = netaddr.IPNetwork(cidr)
 return [str(ip) for ip in list(ips)]

def list_cidr_ips ( cidr ) : ips = netaddr . IPNetwork ( cidr ) return [ str ( ip ) for ip in list ( ips ) ]
get a list of ip addresses from a cidr .