[Commotion-dev] txtinfo plugin question

Andy Gunn andygunn at opentechinstitute.org
Tue Feb 12 16:31:29 UTC 2013


Thanks Hans - do you know if you can query that via curl on the command
line? Or another method?


On 02/12/2013 09:51 AM, Hans-Christoph Steiner wrote:
> 
> I don't think commotion is really using txtinfo any more because its hard to
> scrape with code, but it is human readable.  I believe that the jsoninfo
> plugin is what commotion is using in general.  Its JSON, so its very easy to
> scrape, and has a very similar query style via URLs, but a different port number:
> 
> http://localhost:9090/links/neighbors
> 
> .hc
> 
> On 02/12/2013 09:48 AM, Andy Gunn wrote:
>> Hi all - I have a few quick questions about the olsrd txtinfo plugin.
>>
>> Is it enabled by default in Commotion? If so, what are the most useful
>> commands to send it via command line to retrieve link information,
>> particularly neighbour link quality?
>>
>> For instance, will:
>> $ curl http://localhost:2006/links/interfaces
>> work? (i.e. is curl installed on Commotion?)
>>
>> Thanks!
>> -A
>>
>>
> 
> _______________________________________________
> Commotion-dev mailing list
> Commotion-dev at lists.chambana.net
> https://lists.chambana.net/mailman/listinfo/commotion-dev
> 
> 

-- 

Andy Gunn
Field Engineer, Open Technology Institute
New America Foundation
202-596-3484
http://oti.newamerica.net


More information about the Commotion-dev mailing list