'Iterates over only one row per floating ip.  Ignores others.'

@staticmethod
def _unique_floatingip_iterator(query):

    q = query.order_by(l3_models.FloatingIP.id)
    keyfunc = (lambda row: row[0]['id'])
    group_iterator = itertools.groupby(q, keyfunc)
    for (key, value) in group_iterator:
        (yield six.next(value))
