docs: def parse_cidr(value):
      """Process cidr ranges."""
      klass = IPv4Network
      if '/' not in value:
          klass = ipaddress.ip_address
      try:
          v = klass(six.text_type(value))
      except (ipaddress.AddressValueError, ValueError):
          v = None
      return v