From 6de79ad703414316a953657571903cd65da4b853 Mon Sep 17 00:00:00 2001 From: Martin Stein Date: Thu, 17 May 2018 21:21:57 +0200 Subject: [PATCH] ping_nic_router.run: add nic_bridge behind router This tests the case that behind a NIC router domain there are not only directly connected clients of the subnet but also Layer 2 indirections like a switch or a bridge which might be interesting for example for testing the NIC routers DHCP server implementation. Fixes #2837 --- repos/os/run/ping_nic_router.run | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/repos/os/run/ping_nic_router.run b/repos/os/run/ping_nic_router.run index c7e18d5f69..bf3442dda2 100644 --- a/repos/os/run/ping_nic_router.run +++ b/repos/os/run/ping_nic_router.run @@ -10,6 +10,7 @@ set build_components { drivers/timer drivers/nic server/nic_router + server/nic_bridge app/ping } @@ -181,16 +182,28 @@ append config { + + + + + + + + + + + + + + - - + @@ -220,7 +233,7 @@ append_if $on_hardware config { dst_ip="} [good_dst_ip] {" dst_port="} [bad_dst_port] {"/> - + } @@ -242,6 +255,7 @@ append boot_modules { ping ld.lib.so nic_router + nic_bridge } # platform-specific modules