Closed MagnusS closed 9 years ago
Thanks! Is there some kind of automated testing that we can put in place in Travis before merging this?
I've tested it with jitsu and tcpdump in my local network, but not sure how we could automate it right now. We can replace netif with vnetif, but do we have a vchan alternative?
There is a in-memory vchan that @djs55 uses to test the vchan implementation. See https://github.com/mirage/ocaml-vchan/blob/master/lib/in_memory.ml
Thanks!
This patch adds a Conduit Vchan_direct server that listens for mac/ip pairs on port "synjitsu". Jitsu can be configured to connect to it with the "--synjitsu=[uuid/domain name]" parameter.
When Jitsu boots a unikernel its mac/ip pair is sent to synjitsu and synjitsu sends a gARP while the unikernel is booting. This should allow synjitsu to receive SYNs on behalf of the unikernel. When the unikernel is ready it will send its own gARP.