<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On May 3, 2012, at 2:21 AM, Markus Kittenberger wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><div><br><div class="gmail_quote">On Thu, May 3, 2012 at 3:28 AM, Hans-Christoph Steiner <span dir="ltr"><<a href="mailto:hans@guardianproject.info" target="_blank">hans@guardianproject.info</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
I have a complete Java wrapper for the txtinfo plugin, but I noticed that the httpinfo plugin provides the configuration while the txtinfo plugin does not.</blockquote>afair the txtinfo provides the config already!</div>
<div class="gmail_quote"><div><br></div><div>but its (for backward compatibility) not within the /all or default output</div><div>(/all == /neigh/link/route/hna/mid/topo)<br><div><br></div></div><div>e.g.: wget -t 1 -O - <a href="http://127.0.0.1:2006/all/gateway/config/interface/2hop">http://127.0.0.1:2006/all/gateway/config/interface/2hop</a></div>
<div>(which is infact currently really "all" the txtinfo can provide,..)</div><div><br></div><div>btw you can use 3 letter abbreviations of commands e.g. /int for /interfaces</div><div>and any combinations of commands. e.g. /link/interface/config</div>
<div>(but btw the output ordering is fixed)</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">why I shouldn't add /variables, /interfaces, and /plugins to txtinfo to get all of the info that httpinfo is providing?<br>
</blockquote><div>afair it already does exactly this,.. </div><div><br></div><div>if not add what is missing,..</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Or maybe I should just scrape the httpinfo output...<br></blockquote><div>not agood idea (especially as current httpinfo will not make into next olsrd versions,..)</div></div></div></div></blockquote><br></div><div>I just submitted a patch that updates the txtinfo README and the included example oslrd.conf files to represent the current state of the txtinfo plugin in the 'stable' branch:</div><div><br></div><div><a href="http://olsr.org/bugs/view.php?id=30">http://olsr.org/bugs/view.php?id=30</a></div><div><br></div><div>Including this patch in the stable branch will prevent someone else from having to go thru banging their head against this to get the access control rules working like I just did :-).</div><div><br></div><div>.hc</div><br></body></html>