Having packets flow over multiple interfaces is not currently
supported by packetdrill. I think it would be straightforward to
extend the tool to support this, at least for local mode using TUN
interfaces. For the most part I think it would involve...
- extending the config info to specify the configuration of multiple interfaces
- extending the parser to provide a syntax for the injected/expected
interface name
- extending all the spots in the code that reference state->netdev to
deal with multiple interfaces, instead of a single interface
If this is done in a clean way then we should probably be able to
merge it into the main packetdrill branch.
Sorry for the lack of examples and documentation. We will be adding
more test scripts and documentation as time allows.
As a down-payment, I just added a complete reference for the syntax of
the language:
https://code.google.com/p/packetdrill/wiki/Syntax
I also recommend reading the USENIX paper if you have not already done so:
http://research.google.com/pubs/pub41316.html
Hope that helps,
neal