NGI Assure project: Layer-2-Overlay
Implementation details milestone 2
Master Loop
src/transport/test_transport_simple_send.sh | Introduced scripts to start the tests. The script checks, if a kernel parameter is set to allow unprivileged users to create network namespaces. The script than starts the following gerneric binary in a network namespace. |
src/transport/test_transport_start_with_config.c | A generic binary to start a test case which will be configured by a configuration file. |
src/testing/testing.c | Added code to read netjail topology from a file. |
src/testing/topo.sh | Script which reads the topology from a file for the use in the other netjail scripts. |
All already existing commands. | All commands changed to work with the topology data. |
Local Loop
src/testing/testing_api_cmd_send_peer_ready.c | Command to send a message to the master loop if a peer has started in local loop. |
src/testing/testing_api_cmd_local_test_prepared.c | Command to send a message to the master loop if a peer is ready to shutdown. |
Configuration
src/transport/transport_api_cmd_start_peer.c | Command now uses a configuration template for the peer configuration. |
test_transport_simple_send_topo.conf | Topology configuration file for the simple send test case. |