'Populates a named queue with all IPs in a CIDR
Queues are implemented as a list, and will be populated by all IP
addresses within a CIDR, with the following exceptions:
* The network and broadcast IP addresses
* Any IP address already in the used_ips set
:param queue_name: ``str`` Name to apply to a given CIDR
:param cidr: ``str`` CIDR notation specifying range of IP addresses
which are available for assignment.'

def load(self, queue_name, cidr):

    net = netaddr.IPNetwork(cidr)
    initial_ips = [str(i) for i in list(net)]
    if net.network:
        self._used_ips.update([str(net.network)])
    if net.broadcast:
        self._used_ips.update([str(net.broadcast)])
    all_ips = [ip for ip in initial_ips if (ip not in self._used_ips)]
    random.shuffle(all_ips)
    self._queues[queue_name] = all_ips
    self._networks[queue_name] = net
