'Return a dictionary describing an IP address.'

def basic(self, ip, extend_address=False):

    address = {'version': ip['version'], 'addr': ip['address']}
    if extend_address:
        address.update({'OS-EXT-IPS:type': ip['type'], 'OS-EXT-IPS-MAC:mac_addr': ip['mac_address']})
    return address
