2016-08-25 15:48:53 +00:00
|
|
|
#
|
2017-02-11 02:51:44 +00:00
|
|
|
# Build components
|
2016-08-25 15:48:53 +00:00
|
|
|
#
|
|
|
|
|
2019-03-13 17:18:42 +00:00
|
|
|
proc test_timeout { } {
|
|
|
|
if {[have_spec foc] && [have_spec x86_64] && [have_include power_on/qemu]} {
|
|
|
|
return 150
|
|
|
|
} else {
|
|
|
|
return 60
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-02-11 02:51:44 +00:00
|
|
|
proc enable_test_1 { } { return 1 }
|
2021-01-29 12:16:49 +00:00
|
|
|
# disabled until #3992 is fixed
|
|
|
|
proc enable_test_2 { } { return 0 }
|
2017-02-11 02:51:44 +00:00
|
|
|
proc enable_test_3 { } { return 1 }
|
|
|
|
proc enable_test_4 { } { return 1 }
|
|
|
|
proc enable_test_5 { } { return 1 }
|
|
|
|
proc enable_test_6 { } { return 1 }
|
2018-07-10 17:09:40 +00:00
|
|
|
proc enable_test_7 { } { return 1 }
|
2016-08-25 15:48:53 +00:00
|
|
|
|
2017-10-19 18:40:35 +00:00
|
|
|
source ${genode_dir}/repos/libports/run/nic_router.inc
|
2016-12-19 14:05:41 +00:00
|
|
|
|
2017-12-14 15:24:42 +00:00
|
|
|
lappend targets server/report_rom
|
|
|
|
|
2017-10-19 18:40:35 +00:00
|
|
|
build $targets
|
2016-08-25 15:48:53 +00:00
|
|
|
|
|
|
|
create_boot_directory
|
|
|
|
|
2017-12-13 15:55:24 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Test 1 utilities
|
|
|
|
#
|
|
|
|
|
2017-02-11 02:51:44 +00:00
|
|
|
proc test_1_config { } {
|
2017-02-23 11:12:28 +00:00
|
|
|
if {[enable_test_1]} { return "
|
2018-09-16 12:21:38 +00:00
|
|
|
[client_config t1_d1_c1_udp udp 10.0.98.55 10.0.98.33 255.255.255.0 nic_router 1337 10.0.98.33]
|
2019-03-18 16:31:59 +00:00
|
|
|
[client_config t1_d2_c1_udp udp 10.0.99.56 10.0.99.33 255.255.255.0 nic_router 999 10.0.99.55]
|
|
|
|
[server_config t1_d2_s1_udp udp 10.0.99.55 10.0.99.33 255.255.255.0 nic_router 999 ]" }
|
2017-02-11 02:51:44 +00:00
|
|
|
}
|
|
|
|
|
2017-12-13 15:55:24 +00:00
|
|
|
proc test_1_router_config { } {
|
|
|
|
if {[enable_test_1]} { return {
|
2018-09-16 12:21:38 +00:00
|
|
|
<policy label_prefix="t1_d1" domain="t1_d1" />
|
|
|
|
<policy label_prefix="t1_d2" domain="t1_d2" />
|
2017-12-13 15:55:24 +00:00
|
|
|
|
2018-09-16 12:21:38 +00:00
|
|
|
<domain name="t1_d1" interface="10.0.98.33/24">
|
2019-03-18 16:31:59 +00:00
|
|
|
<udp-forward port="1337" domain="t1_d2" to="10.0.99.55" to_port="999" />
|
2017-12-13 15:55:24 +00:00
|
|
|
</domain>
|
|
|
|
|
2018-09-16 12:21:38 +00:00
|
|
|
<domain name="t1_d2" interface="10.0.99.33/24" />} }
|
2017-12-13 15:55:24 +00:00
|
|
|
}
|
|
|
|
|
2018-06-29 14:00:54 +00:00
|
|
|
proc test_1_router_uplink_config { } { }
|
|
|
|
|
2017-12-13 15:55:24 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Test 2 utilities
|
|
|
|
#
|
|
|
|
|
2017-02-11 02:51:44 +00:00
|
|
|
proc test_2_config { } {
|
2017-02-23 11:12:28 +00:00
|
|
|
if {[enable_test_2]} { return "
|
2018-09-16 12:21:38 +00:00
|
|
|
[client_config t2_d0_c1_udp udp 10.0.2.212 10.0.2.1 255.255.255.0 nic_bridge 1 10.0.2.55]
|
|
|
|
[server_config t2_d1_s1_udp udp 18.17.16.15 18.17.16.14 255.255.0.0 nic_router 1 ]" }
|
2017-02-11 02:51:44 +00:00
|
|
|
}
|
|
|
|
|
2017-12-13 15:55:24 +00:00
|
|
|
proc test_2_router_config { } {
|
|
|
|
if {[enable_test_2]} { return {
|
2018-09-16 12:21:38 +00:00
|
|
|
<policy label_prefix="t2_d1" domain="t2_d1" />
|
|
|
|
<domain name="t2_d1" interface="18.17.16.14/24" />} }
|
2017-12-13 15:55:24 +00:00
|
|
|
}
|
|
|
|
|
2018-06-29 14:00:54 +00:00
|
|
|
proc test_2_router_uplink_config { } {
|
|
|
|
if {[enable_test_2]} { return {
|
2018-09-16 12:21:38 +00:00
|
|
|
<udp-forward port="1" domain="t2_d1" to="18.17.16.15" />} }
|
2018-06-29 14:00:54 +00:00
|
|
|
}
|
|
|
|
|
2017-12-13 15:55:24 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Test 3 utilities
|
|
|
|
#
|
|
|
|
|
2017-02-11 02:51:44 +00:00
|
|
|
proc test_3_config { } {
|
2017-02-23 11:12:28 +00:00
|
|
|
if {[enable_test_3]} { return "
|
2018-09-16 12:21:38 +00:00
|
|
|
[client_config t3_d1_c1_udp udp 217.13.192.2 217.13.192.1 255.255.192.0 nic_router 65535 10.0.2.213]
|
|
|
|
[server_config t3_d0_s1_udp udp 10.0.2.213 10.0.2.55 255.255.255.0 nic_bridge 65535 ]" }
|
2017-02-11 02:51:44 +00:00
|
|
|
}
|
|
|
|
|
2017-12-13 15:55:24 +00:00
|
|
|
proc test_3_router_config { } {
|
|
|
|
if {[enable_test_3]} { return {
|
2018-09-16 12:21:38 +00:00
|
|
|
<policy label_prefix="t3_d1" domain="t3_d1" />
|
2017-12-13 15:55:24 +00:00
|
|
|
|
2018-09-16 12:21:38 +00:00
|
|
|
<domain name="t3_d1" interface="217.13.192.1/24">
|
2017-12-13 15:55:24 +00:00
|
|
|
<ip dst="10.0.2.0/24" domain="uplink" />
|
|
|
|
</domain>} }
|
|
|
|
}
|
|
|
|
|
2018-06-29 14:00:54 +00:00
|
|
|
proc test_3_router_uplink_config { } {
|
|
|
|
if {[enable_test_3]} { return {
|
2018-09-16 12:21:38 +00:00
|
|
|
<ip dst="217.13.192.0/24" domain="t3_d1" />} }
|
2018-06-29 14:00:54 +00:00
|
|
|
}
|
|
|
|
|
2017-12-13 15:55:24 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Test 4 utilities
|
|
|
|
#
|
|
|
|
|
2017-02-11 02:51:44 +00:00
|
|
|
proc test_4_config { } {
|
2017-02-23 11:12:28 +00:00
|
|
|
if {[enable_test_4]} { return "
|
2019-03-18 16:31:59 +00:00
|
|
|
[client_config t4_d0_c1_tcp http 10.0.2.201 10.0.2.1 255.255.255.0 nic_bridge 80 10.0.2.55]
|
|
|
|
[server_config t4_d1_s1_tcp http 192.168.1.18 192.168.1.1 255.255.255.0 nic_router 2048 ]" }
|
2017-02-11 02:51:44 +00:00
|
|
|
}
|
|
|
|
|
2017-12-13 15:55:24 +00:00
|
|
|
proc test_4_router_config { } {
|
|
|
|
if {[enable_test_4]} { return {
|
2018-09-16 12:21:38 +00:00
|
|
|
<policy label_prefix="t4_d1" domain="t4_d1" />
|
|
|
|
<domain name="t4_d1" interface="192.168.1.1/24" />} }
|
2017-12-13 15:55:24 +00:00
|
|
|
}
|
|
|
|
|
2018-06-29 14:00:54 +00:00
|
|
|
proc test_4_router_uplink_config { } {
|
|
|
|
if {[enable_test_4]} { return {
|
2019-03-18 16:31:59 +00:00
|
|
|
<tcp-forward port="80" domain="t4_d1" to="192.168.1.18" to_port="2048" />} }
|
2018-06-29 14:00:54 +00:00
|
|
|
}
|
2017-12-13 15:55:24 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Test 5 utilities
|
|
|
|
#
|
|
|
|
|
2017-02-11 02:51:44 +00:00
|
|
|
proc test_5_config { } {
|
2017-02-23 11:12:28 +00:00
|
|
|
if {[enable_test_5]} { return "
|
2018-09-16 12:21:38 +00:00
|
|
|
[client_config t5_d0_c1_tcp http 10.0.2.202 10.0.2.1 255.255.255.0 nic_bridge 8080 10.0.2.55]
|
|
|
|
[server_config t5_d1_s1_tcp http 192.168.2.72 192.168.2.1 255.255.255.0 nic_router 8080 ]" }
|
2017-02-11 02:51:44 +00:00
|
|
|
}
|
|
|
|
|
2017-12-13 15:55:24 +00:00
|
|
|
proc test_5_router_config { } {
|
|
|
|
if {[enable_test_5]} { return {
|
2018-09-16 12:21:38 +00:00
|
|
|
<policy label_prefix="t5_d1" domain="t5_d1" />
|
|
|
|
<domain name="t5_d1" interface="192.168.2.1/24" />} }
|
2017-12-13 15:55:24 +00:00
|
|
|
}
|
|
|
|
|
2018-06-29 14:00:54 +00:00
|
|
|
proc test_5_router_uplink_config { } {
|
|
|
|
if {[enable_test_5]} { return {
|
2018-09-16 12:21:38 +00:00
|
|
|
<tcp-forward port="8080" domain="t5_d1" to="192.168.2.72" />} }
|
2018-06-29 14:00:54 +00:00
|
|
|
}
|
|
|
|
|
2017-12-13 15:55:24 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Test 6 utilities
|
|
|
|
#
|
|
|
|
|
2017-02-11 02:51:44 +00:00
|
|
|
proc test_6_config { } {
|
2017-02-23 11:12:28 +00:00
|
|
|
if {[enable_test_6]} { return "
|
2018-09-16 12:21:38 +00:00
|
|
|
[client_config t6_d1_c1_tcp http 100.200.0.128 100.200.0.1 255.255.0.0 nic_router 2345 10.0.2.203]
|
|
|
|
[server_config t6_d0_s1_tcp http 10.0.2.203 10.0.2.1 255.255.255.0 nic_bridge 2345 ]" }
|
2017-02-11 02:51:44 +00:00
|
|
|
}
|
|
|
|
|
2017-12-13 15:55:24 +00:00
|
|
|
proc test_6_router_config { } {
|
|
|
|
if {[enable_test_6]} { return {
|
2018-09-16 12:21:38 +00:00
|
|
|
<policy label_prefix="t6_d1" domain="t6_d1" />
|
2017-12-13 15:55:24 +00:00
|
|
|
|
2018-09-16 12:21:38 +00:00
|
|
|
<domain name="t6_d1" interface="100.200.0.1/24">
|
2017-12-13 15:55:24 +00:00
|
|
|
<tcp dst="10.0.0.0/16">
|
|
|
|
<permit port="2345" domain="uplink" />
|
|
|
|
</tcp>
|
|
|
|
</domain>} }
|
|
|
|
}
|
|
|
|
|
2018-06-29 14:00:54 +00:00
|
|
|
proc test_6_router_uplink_config { } {
|
|
|
|
if {[enable_test_6]} { return {
|
2018-09-16 12:21:38 +00:00
|
|
|
<nat domain="t6_d1" tcp-ports="6" />} }
|
2018-06-29 14:00:54 +00:00
|
|
|
}
|
|
|
|
|
2017-12-13 15:55:24 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Test 7 utilities
|
|
|
|
#
|
|
|
|
|
2017-12-13 16:02:45 +00:00
|
|
|
proc test_7_config { } {
|
2018-03-23 01:45:54 +00:00
|
|
|
if {[enable_test_7]} {
|
|
|
|
|
|
|
|
append config "
|
2021-01-19 15:12:37 +00:00
|
|
|
[client_config t7_d1_c1_tcp http dhcp dhcp dhcp t7_d1_nic_router 2345 10.13.78.204]
|
|
|
|
[client_config t7_d1_c2_tcp http dhcp dhcp dhcp nic_router 3456 10.13.78.240]
|
|
|
|
[client_config t7_d1_c3_tcp http dhcp dhcp dhcp nic_router 3456 10.13.78.240]
|
|
|
|
[server_config t7_d2_s1_tcp http 10.13.78.204 10.13.78.1 255.255.255.0 nic_router 2345 ]
|
|
|
|
[server_config t7_d2_s2_tcp http 10.13.78.240 10.13.78.1 255.255.255.0 nic_router 3456 ]"
|
2018-03-23 01:45:54 +00:00
|
|
|
|
|
|
|
append config {
|
2018-09-16 12:21:38 +00:00
|
|
|
<start name="t7_d1_nic_router" caps="200" priority="-1">
|
2018-03-23 01:45:54 +00:00
|
|
|
<binary name="nic_router"/>
|
|
|
|
<resource name="RAM" quantum="10M"/>
|
2020-12-07 15:46:15 +00:00
|
|
|
<provides>
|
|
|
|
<service name="Nic"/>
|
|
|
|
<service name="Uplink"/>
|
|
|
|
</provides>
|
2018-03-23 01:45:54 +00:00
|
|
|
<config>
|
|
|
|
|
2018-09-16 12:21:38 +00:00
|
|
|
<policy label_prefix="t7_d1" domain="downlink" />
|
2021-07-27 11:52:21 +00:00
|
|
|
<nic-client domain="uplink" />
|
2018-03-23 01:45:54 +00:00
|
|
|
|
|
|
|
<domain name="uplink">
|
|
|
|
<nat domain="downlink" tcp-ports="6" />
|
|
|
|
</domain>
|
|
|
|
|
|
|
|
<domain name="downlink" interface="100.2.3.1/24">
|
|
|
|
<dhcp-server ip_first="100.2.3.2"
|
|
|
|
ip_last="100.2.3.10"
|
2021-08-05 11:31:13 +00:00
|
|
|
dns_config_from="uplink"/>
|
2018-03-23 01:45:54 +00:00
|
|
|
|
2021-01-19 15:12:37 +00:00
|
|
|
<tcp dst="10.13.0.0/16">
|
2018-03-23 01:45:54 +00:00
|
|
|
<permit port="2345" domain="uplink" />
|
|
|
|
</tcp>
|
|
|
|
</domain>
|
|
|
|
|
|
|
|
</config>
|
|
|
|
<route>
|
|
|
|
<service name="Nic"> <child name="nic_router"/> </service>
|
|
|
|
<service name="Report"> <child name="report_rom"/> </service>
|
|
|
|
<any-service> <parent/> <any-child/> </any-service>
|
|
|
|
</route>
|
|
|
|
</start>}
|
|
|
|
|
|
|
|
return $config
|
|
|
|
}
|
2017-12-13 16:02:45 +00:00
|
|
|
}
|
|
|
|
|
2017-12-13 15:55:24 +00:00
|
|
|
proc test_7_router_config { } {
|
|
|
|
if {[enable_test_7]} { return {
|
2018-09-16 12:21:38 +00:00
|
|
|
<policy label_prefix="t7_d1" domain="t7_d1" />
|
|
|
|
<policy label_prefix="t7_d2" domain="t7_d2" />
|
2017-12-13 15:55:24 +00:00
|
|
|
|
2018-09-16 12:21:38 +00:00
|
|
|
<domain name="t7_d1" interface="100.200.0.1/24">
|
2018-03-19 17:31:23 +00:00
|
|
|
<dhcp-server ip_first="100.200.0.32"
|
|
|
|
ip_last="100.200.0.64"
|
2020-11-16 14:43:40 +00:00
|
|
|
ip_lease_time_sec="3600">
|
|
|
|
|
|
|
|
<dns-server ip="8.8.8.8"/>
|
|
|
|
|
|
|
|
</dhcp-server>
|
2018-03-19 17:31:23 +00:00
|
|
|
|
2021-01-19 15:12:37 +00:00
|
|
|
<tcp dst="10.13.0.0/16">
|
2018-09-16 12:21:38 +00:00
|
|
|
<permit port="2345" domain="t7_d2" />
|
|
|
|
<permit port="3456" domain="t7_d2" />
|
2017-12-13 15:55:24 +00:00
|
|
|
</tcp>
|
|
|
|
</domain>
|
|
|
|
|
2021-01-19 15:12:37 +00:00
|
|
|
<domain name="t7_d2" interface="10.13.78.1/24">
|
2018-09-16 12:21:38 +00:00
|
|
|
<nat domain="t7_d1" tcp-ports="18" />
|
2017-12-13 15:55:24 +00:00
|
|
|
</domain>} }
|
|
|
|
}
|
|
|
|
|
2018-06-29 14:00:54 +00:00
|
|
|
proc test_7_router_uplink_config { } { }
|
|
|
|
|
2017-12-13 15:55:24 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Init config
|
|
|
|
#
|
|
|
|
|
2017-02-23 11:12:28 +00:00
|
|
|
append config {
|
2017-08-30 09:49:56 +00:00
|
|
|
<config prio_levels="2">
|
2016-08-25 15:48:53 +00:00
|
|
|
<parent-provides>
|
|
|
|
<service name="ROM"/>
|
|
|
|
<service name="IRQ"/>
|
|
|
|
<service name="IO_MEM"/>
|
|
|
|
<service name="IO_PORT"/>
|
|
|
|
<service name="PD"/>
|
|
|
|
<service name="RM"/>
|
|
|
|
<service name="CPU"/>
|
|
|
|
<service name="LOG"/>
|
|
|
|
</parent-provides>
|
2017-02-11 02:51:44 +00:00
|
|
|
|
2016-08-25 15:48:53 +00:00
|
|
|
<default-route>
|
|
|
|
<any-service> <parent/> <any-child/> </any-service>
|
2017-02-11 02:51:44 +00:00
|
|
|
</default-route>
|
2016-12-19 14:05:41 +00:00
|
|
|
|
2018-09-10 12:21:41 +00:00
|
|
|
<default caps="200"/>
|
2017-05-07 20:36:11 +00:00
|
|
|
|
2017-08-30 09:49:56 +00:00
|
|
|
<start name="timer" priority="0">
|
2016-08-25 15:48:53 +00:00
|
|
|
<resource name="RAM" quantum="1M"/>
|
2017-08-30 09:49:56 +00:00
|
|
|
<resource name="CPU" quantum="5"/>
|
2016-08-25 15:48:53 +00:00
|
|
|
<provides><service name="Timer"/></provides>
|
|
|
|
</start>
|
|
|
|
|
2018-02-08 14:33:08 +00:00
|
|
|
<start name="nic_loopback" priority="-1">
|
|
|
|
<resource name="RAM" quantum="1M"/>
|
|
|
|
<provides> <service name="Nic"/> </provides>
|
|
|
|
</start>
|
|
|
|
|
2018-09-10 12:21:41 +00:00
|
|
|
<start name="nic_router" caps="400" priority="-1">
|
2016-08-25 15:48:53 +00:00
|
|
|
<resource name="RAM" quantum="10M"/>
|
2020-12-07 15:46:15 +00:00
|
|
|
<provides>
|
|
|
|
<service name="Nic"/>
|
|
|
|
<service name="Uplink"/>
|
|
|
|
</provides>
|
2017-11-28 14:03:28 +00:00
|
|
|
<config verbose="no"
|
2018-02-04 14:38:08 +00:00
|
|
|
verbose_packets="no"
|
2017-12-04 18:38:39 +00:00
|
|
|
verbose_domain_state="yes"
|
2017-11-28 14:03:28 +00:00
|
|
|
dhcp_discover_timeout_sec="3"
|
|
|
|
dhcp_request_timeout_sec="3"
|
|
|
|
dhcp_offer_timeout_sec="3"
|
|
|
|
udp_idle_timeout_sec="30"
|
|
|
|
tcp_idle_timeout_sec="30"
|
|
|
|
tcp_max_segm_lifetime_sec="15">
|
2016-08-25 15:48:53 +00:00
|
|
|
|
2018-09-16 12:21:38 +00:00
|
|
|
<report bytes="yes"
|
|
|
|
config="yes"
|
|
|
|
quota="no"
|
|
|
|
stats="no"
|
2019-10-15 16:56:37 +00:00
|
|
|
link_state="yes"
|
|
|
|
link_state_triggers="yes"
|
2018-09-16 12:21:38 +00:00
|
|
|
interval_sec="60" />
|
2017-12-14 15:24:42 +00:00
|
|
|
|
2021-07-27 11:52:21 +00:00
|
|
|
<nic-client domain="uplink"/>
|
2018-06-05 16:31:40 +00:00
|
|
|
|
2018-02-04 14:58:25 +00:00
|
|
|
<domain name="uplink"
|
|
|
|
interface="10.0.2.55/24"
|
|
|
|
gateway="10.0.2.1"
|
|
|
|
verbose_packets="no">
|
|
|
|
|
2018-06-29 14:00:54 +00:00
|
|
|
} [test_1_router_uplink_config] {
|
|
|
|
} [test_2_router_uplink_config] {
|
|
|
|
} [test_3_router_uplink_config] {
|
|
|
|
} [test_4_router_uplink_config] {
|
|
|
|
} [test_5_router_uplink_config] {
|
|
|
|
} [test_6_router_uplink_config] {
|
|
|
|
} [test_7_router_uplink_config] {
|
|
|
|
|
2016-09-12 10:55:12 +00:00
|
|
|
</domain>
|
|
|
|
|
2017-12-13 15:55:24 +00:00
|
|
|
} [test_1_router_config] {
|
|
|
|
} [test_2_router_config] {
|
|
|
|
} [test_3_router_config] {
|
|
|
|
} [test_4_router_config] {
|
|
|
|
} [test_5_router_config] {
|
|
|
|
} [test_6_router_config] {
|
|
|
|
} [test_7_router_config] {
|
2017-12-13 16:02:45 +00:00
|
|
|
|
2016-08-25 15:48:53 +00:00
|
|
|
</config>
|
|
|
|
<route>
|
|
|
|
<service name="Nic"> <child name="nic_bridge"/> </service>
|
2017-12-14 15:24:42 +00:00
|
|
|
<service name="Report"> <child name="report_rom"/> </service>
|
2016-08-25 15:48:53 +00:00
|
|
|
<any-service> <parent/> <any-child/> </any-service>
|
|
|
|
</route>
|
|
|
|
</start>
|
|
|
|
|
2017-08-30 09:49:56 +00:00
|
|
|
<start name="nic_bridge" caps="200" priority="-1">
|
2016-08-25 15:48:53 +00:00
|
|
|
<resource name="RAM" quantum="10M"/>
|
|
|
|
<provides><service name="Nic"/></provides>
|
|
|
|
<config>
|
2018-09-16 12:21:38 +00:00
|
|
|
<policy label_prefix="nic_router" ip_addr="10.0.2.55" />
|
|
|
|
<policy label_prefix="t2_d0_c1_udp" ip_addr="10.0.2.212" />
|
|
|
|
<policy label_prefix="t3_d0_s1_udp" ip_addr="10.0.2.213" />
|
|
|
|
<policy label_prefix="t4_d0_c1_tcp" ip_addr="10.0.2.201" />
|
|
|
|
<policy label_prefix="t5_d0_c1_tcp" ip_addr="10.0.2.202" />
|
|
|
|
<policy label_prefix="t6_d0_s1_tcp" ip_addr="10.0.2.203" />
|
2016-08-25 15:48:53 +00:00
|
|
|
</config>
|
|
|
|
<route>
|
2018-02-08 14:33:08 +00:00
|
|
|
<service name="Nic"> <child name="nic_loopback"/> </service>
|
2016-08-25 15:48:53 +00:00
|
|
|
<any-service> <parent/> <any-child/> </any-service>
|
|
|
|
</route>
|
|
|
|
</start>
|
|
|
|
|
2017-12-14 15:24:42 +00:00
|
|
|
<start name="report_rom">
|
|
|
|
<resource name="RAM" quantum="1M"/>
|
|
|
|
<provides> <service name="Report"/> <service name="ROM"/> </provides>
|
|
|
|
<config verbose="yes"/>
|
|
|
|
</start>
|
|
|
|
|
2017-02-11 02:51:44 +00:00
|
|
|
} [test_1_config] {
|
|
|
|
} [test_2_config] {
|
|
|
|
} [test_3_config] {
|
|
|
|
} [test_4_config] {
|
|
|
|
} [test_5_config] {
|
|
|
|
} [test_6_config] {
|
2017-12-13 16:02:45 +00:00
|
|
|
} [test_7_config] {
|
2016-08-25 15:48:53 +00:00
|
|
|
|
2017-02-23 11:12:28 +00:00
|
|
|
</config> }
|
|
|
|
|
|
|
|
install_config $config
|
2016-08-25 15:48:53 +00:00
|
|
|
|
2017-12-14 15:24:42 +00:00
|
|
|
lappend boot_modules report_rom
|
|
|
|
|
2017-10-19 18:40:35 +00:00
|
|
|
build_boot_image $boot_modules
|
2016-08-25 15:48:53 +00:00
|
|
|
|
2017-12-13 16:33:34 +00:00
|
|
|
for {set i 0} {$i < $nr_of_clients} {incr i 1} {
|
2017-11-13 21:39:51 +00:00
|
|
|
append done_string {.*Test done.*\n}
|
|
|
|
}
|
|
|
|
|
2019-03-13 17:18:42 +00:00
|
|
|
run_genode_until $done_string [test_timeout]
|