NetSys / NetBricks

NetBricks: A new network function framework based on Rust.
ISC License
464 stars 75 forks source link

Automated tcp and macswap integration tests #66

Closed shwang closed 7 years ago

shwang commented 7 years ago

This test reads in a pcap file consisting of a simple HTTP request and response, and confirms that the reconstructed TCP stream matches the expected payload.

shwang commented 7 years ago

@apanda: Should hugepages be initialized in the container? https://travis-ci.org/sirspinach/NetBricks/builds/242093729#L3817

shwang commented 7 years ago

The second test is just a simple macswap test that confirms that src/dst mac addresses are changed around.

shwang commented 7 years ago

@apanda: The macswap test requires that the build container have tcpdump installed. When you get a chance, could you push the Docker image from this commit's updated Dockerfile to Docker Hub?

apanda commented 7 years ago

Thanks Merged.