[Nodeshot] draw non-OLSR wireless links

Charles Wyble charles at knownelement.com
Sat Nov 16 17:49:33 CET 2013


This would be a perfect use case for the FNF dev lab. 

I'm putting the final touches on it this weekend. 

We have several live nodes, server capacity, Jenkins etc.

Let me know if folks would be interested in this.


nemesis <nemesis at ninux.org> wrote:
> Very good!
>
> Do you think you will be able to dedicate some time with me (and 
> hopefully somebody else) in the next months to setup a controlled 
> standard setup on which to run unit tests?
>
> I explain:
>
> we can set up a test database with immaginary nodes, devices and ip 
>addresses (we can also use a subset of the ninux ones), then setup the 
>application to use a fake OLSR topology file, and test for each case we
>
> need.
>
> This way whenever we encounter a new case we can develop on the test 
>environment, moreover, we'll be able to change/refactor the code
>without 
>the fear of breaking something and ensuring that in the end things will
>
> (mostly) work, because unit tests pass.
>
> I'll cite another pratical example of how unit tests come handy. 
>Whenever a new django version comes out, or any critical update for any
>
> dependency is released, I try to install it in my dev environment for 
>nodeshot2 and then I run all the tests. This way I'm able to
>individuate 
> and fix any issue really easily and quickly.
>
> It's a real fucking WIN. The time spent in the beginning is surely 
> worth it and will get repaid on the long run.
>
> Django has a Test Suite that inherits from Python standard UnitTest 
>Framework (http://docs.python.org/2/library/unittest.html) so
>everything 
> learnt for django/nodeshot2 will come handy to anyone who is serious 
> about python development.
>
> Federico
>
>
>
> On Sat, 16 Nov 2013 15:02:25 +0100, Clauz <clauz at ninux.org> wrote:
>> Hello!
>> On Thursday night I pushed a patch to draw links including devices 
>> that
>> don't speak OLSR, usually connected to OLSR-capable nodes through
>> bridged interfaces.
>>
>> We have a few nodes with this setup in the Ninux Rome network:
>> http://map.ninux.org/select/Halnet
>> http://map.ninux.org/select/Namex
>>
>> The idea is to cycle through all IP addresses and to check if these
>> belong to active HNA networks announced by OLSR.
>>
>> commit:
>> 
>>
>https://github.com/ninuxorg/nodeshot/commit/36906a832bed3dd7ad2d5bd7949017ee61fe0301
>>
>> cheers,
>> Clauz
>_______________________________________________
>Nodeshot mailing list
>Nodeshot at ml.ninux.org
>http://ml.ninux.org/mailman/listinfo/nodeshot

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ml.ninux.org/pipermail/nodeshot/attachments/20131116/ca6afc1f/attachment-0001.html>


More information about the Nodeshot mailing list