Expose Arpv4.Make functor; require arp argument for Ipv4.connect#134
Expose Arpv4.Make functor; require arp argument for Ipv4.connect#134yomimono wants to merge 29 commits intomirage:masterfrom
Conversation
…to separate_parsers Conflicts: _tags lib/META myocamlbuild.ml setup.ml
There was a problem hiding this comment.
Could we easily expose a arpv4 library without unix dependencies?
There was a problem hiding this comment.
Good catch; thanks! Fixed.
There was a problem hiding this comment.
I think you also need to remove Arpv4 from the list of modules in ipv4
Can you add |
There was a problem hiding this comment.
the url should be https://github.com/yomimono/mirage.git#separate_arp (with .git) to make opam happy.
(documentation on this appears to be here: https://github.com/ocaml/ocaml-travisci-skeleton)
|
I really like this restructuring/separation of the arp layer. |
|
Seems to compile fine but the unit tests are failing ... not sure if this is related to this PR though. |
|
Hm it seems that the iperf test occasionally times out. I set the timeout to 30 seconds as the test completes in 4-5 seconds here. We could try increasing it to 60 seconds to see if it helps. Would it be possible to show the verbose test output in travis? |
|
the Travis machine can be very slow when running the tests, so yes it would be nice to have an adaptative timeout. To see the tests in travis you can use |
|
PR #137 should hopefully fix the iperf/travis test problem. The timeout is increased to two minutes and only half the data is transferred. |
|
Thanks, @MagnusS ! We'll see whether that works a bit better. |
|
I'm going to close this out, clean up the history, and make a new PR for the changes. |
Pull ARP out of ipv4 and make it externally usable. Require explicit arp.t argument for Ipv4.connect .
Needs to be merged in tandem with mirage/mirage#400 .