original_docstring: Load the IP queue with all IP address from a given cidr.
  
      :param cidr: ``str``  IP address with cidr notation
      
docstring: Load the IP queue with all IP address from a given cidr.
docstring_tokens: Load the IP queue with all IP address from a given cidr .
code: def _load_ip_q(cidr, ip_q):
      """Load the IP queue with all IP address from a given cidr.
  
      :param cidr: ``str``  IP address with cidr notation
      """
      _all_ips = [str(i) for i in list(netaddr.IPNetwork(cidr))]
      base_exclude = [
          str(netaddr.IPNetwork(cidr).network),
          str(netaddr.IPNetwork(cidr).broadcast)
      ]
      USED_IPS.extend(base_exclude)
      for ip in random.sample(_all_ips, len(_all_ips)):
          if ip not in USED_IPS:
              ip_q.put(ip)
code_tokens: def _load_ip_q ( cidr , ip_q ) : _all_ips = [ str ( i ) for i in list ( netaddr . IPNetwork ( cidr ) ) ] base_exclude = [ str ( netaddr . IPNetwork ( cidr ) . network ) , str ( netaddr . IPNetwork ( cidr ) . broadcast ) ] USED_IPS . extend ( base_exclude ) for ip in random . sample ( _all_ips , len ( _all_ips ) ) : if ip not in USED_IPS : ip_q . put ( ip )
short_docstring: Load the IP queue with all IP address from a given cidr.
short_docstring_tokens: Load the IP queue with all IP address from a given cidr .
comment: """Load the IP queue with all IP address from a given cidr.
  
      :param cidr: ``str``  IP address with cidr notation
      """