1%% -*- erlang -*- 2 3%%% Change these to suite the environment. See the inet_SUITE for info about 4%%% what they are used for. 5%%% test_hosts are looked up using "ypmatch xx yy zz hosts.byname" 6%{test_hosts,[my_ip4_host]}. 7 8%% IPv4 host only - no ipv6 entry must exist! 9%{test_host_ipv4_only, 10% {"my_ip4_host", %Short hostname 11% "my_ip4_host.mydomain.com", %Long hostname 12% "10.10.0.1", %IP string 13% {10,10,0,1}, %IP tuple 14% ["my_ip4_host"], %Any aliases 15% "::ffff:10.10.0.1", %IPv6 string (compatibility addr) 16% {0,0,0,0,0,65535,2570,1} %IPv6 tuple 17% }}. 18 19%{test_dummy_host, {"dummy", 20% "dummy.mydomain.com", 21% "192.168.0.1", 22% {192,168,0,1}, 23% ["dummy"], 24% "::ffff:192.168.0.1", 25% {0,0,0,0,0,65535,49320,1} 26% }}. 27 28 29%%% test_hosts are looked up using "ypmatch xx yy zz ipnodes.byname" 30%{ipv6_hosts,[my_ip6_host]}. 31 32 33%{test_host_ipv6_only, 34% {"my_ip6_host", %Short hostname 35% "my_ip6_host.mydomain.com", %Long hostname 36% "::2eff:f2b0:1ea0", %IPv6 string 37% {0,0,0,0,0,12031,62128,7840}, %IPv6 tuple 38% ["my_ip6_host"] %Aliases. 39% }}. 40 41%{test_dummy_ipv6_host, {"dummy6", 42% "dummy6.mydomain.com", 43% "127::1", 44% {295,0,0,0,0,0,0,1}, 45% ["dummy6-ip6"] 46% }}. 47 48%% Used by erl_interface tests 49%% Known hostname with an unreachable ip 50%{test_host_not_reachable, "ghost.mydomain.com"}. 51