'Check if pool updates in db are required.'

def _no_pool_changes(self, context, pools):

    db_pools = self.subnet_manager.list_pools(context)
    iprange_pools = [netaddr.IPRange(pool.first_ip, pool.last_ip) for pool in db_pools]
    return (pools == iprange_pools)
