'This constructor builds an automatic IP address. Parameter needed for
generating it can be passed as optional keyword arguments.
:param address_type: the type of address to generate.
It could be an eui-64 address, a random IPv6 address, or
an ipv4 link-local address.
For the Kilo release only eui-64 addresses will be supported.'

def __init__(self, address_type=EUI64, **kwargs):

    address_generator = self._address_generators.get(address_type)
    if (not address_generator):
        raise ipam_exc.InvalidAddressType(address_type=address_type)
    address = address_generator(self, **kwargs)
    super(AutomaticAddressRequest, self).__init__(address)
