def __eq__(self, other):
    keys = ['address', 'type', 'version', 'floating_ips']
    return all(((self[k] == other[k]) for k in keys))
def __eq__(self, other):
    keys = ['address', 'type', 'version', 'floating_ips']
    return all(((self[k] == other[k]) for k in keys))