| # Copyright (c) 2011 The Chromium OS Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| # |
| # A python dictionary that describes how to run tests in a VM |
| # |
| { |
| # Note: As suggested by /bin/false for the netperf/iperf commands, and |
| # /bin/true for cmd_ping, we don't actually test IP traffic in this config. |
| |
| # client/netbook running Chrome OS |
| "client" : { |
| "addr": "127.0.0.1", |
| "port": "9222", |
| "cmd_netperf_client": "/bin/false", |
| "cmd_netperf_server": "/bin/false", |
| "cmd_iperf_client": "/bin/false", |
| "cmd_ip": "/usr/local/sbin/ip", |
| "cmd_ping": "/bin/true", |
| }, |
| # machine on router net for ping/netperf |
| "server" : { |
| "addr": "127.0.0.1", |
| "port": "9222", |
| "cmd_netperf_client": "/bin/false", |
| "cmd_netperf_server": "/bin/false", |
| "cmd_iperf_client": "/bin/false" |
| }, |
| # configurable wifi/router that can reached by ssh |
| "router" : { |
| "addr": "127.0.0.1", |
| "port": "9222", |
| "cmd_dhcpd": "/usr/local/sbin/dhcpd", |
| "cmd_hostapd": "/usr/local/sbin/hostapd", |
| "cmd_hostapd_cli": "/usr/local/bin/hostapd_cli", |
| "cmd_ip": "/usr/local/sbin/ip", |
| "force_local_server": {} |
| } |
| } |