'Args:
address: A string or integer representing the IP
\'192.168.1.1\'
Additionally, an integer can be passed, so
IPv4Address(\'192.168.1.1\') == IPv4Address(3232235777).
or, more generally
IPv4Address(int(IPv4Address(\'192.168.1.1\'))) ==
IPv4Address(\'192.168.1.1\')
Raises:
AddressValueError: If ipaddr isn\'t a valid IPv4 address.'

def __init__(self, address):

    _BaseV4.__init__(self, address)
    if isinstance(address, (int, long)):
        self._ip = address
        if ((address < 0) or (address > self._ALL_ONES)):
            raise AddressValueError(address)
        return
    if isinstance(address, Bytes):
        try:
            (self._ip,) = struct.unpack('!I', address)
        except struct.error:
            raise AddressValueError(address)
        return
    addr_str = str(address)
    self._ip = self._ip_int_from_string(addr_str)
