> On 19.8.2015, at 23.26, Juliusz Chroboczek <[email protected]> > wrote: > If anybody knows how to write a test suite for a routing protocol, I'm > interested. I imagine a set of scripts that set up some virtual machines > and perform some tests, but I have trouble imagining how it could perform > a test such as the one described above.
You don’t really need bunch of VMs. In order of decreasing hackiness: [1] you need to only steal i/o (hello, LD_PRELOAD) and play with the black box that talks network protocols. [2] Or alternatively, do some root level raw packet i/o on the interface(s) the daemon uses. [3] Or provide a box (/VM) which pretends to be whatever else is on the network and changing topology and whatever, which deals with the device/daemon/… (of course, you’re screwed if the protocol requires L2 events, but some boxes can simulate this too) It is not really rocket science (I used to do test automation software for a living at some point), but very seldom really done comprehensively unless there is serious industrial interest. Cheers, -Markus _______________________________________________ homenet mailing list [email protected] https://www.ietf.org/mailman/listinfo/homenet
