Lines Matching refs:run_cmd
14 run_cmd() function
82 run_cmd "ip -n $ns1 neigh add $ip_addr lladdr $mac nud stale dev veth0 extern_valid"
83 run_cmd "ip -n $ns1 neigh get $ip_addr dev veth0 | grep \"extern_valid\""
92 run_cmd "ip -n $ns1 neigh flush dev veth0"
93 run_cmd "ip -n $ns1 neigh add $ip_addr nud none dev veth0 extern_valid"
102 run_cmd "ip -n $ns1 neigh flush dev veth0"
103 run_cmd "ip -n $ns1 neigh add $ip_addr lladdr $mac nud stale dev veth0 extern_valid use"
111 run_cmd "ip -n $ns1 neigh flush dev veth0"
112 run_cmd "ip -n $ns1 neigh add $ip_addr lladdr $mac nud stale dev veth0"
113 run_cmd "ip -n $ns1 neigh replace $ip_addr lladdr $mac nud stale dev veth0 extern_valid"
114 run_cmd "ip -n $ns1 neigh get $ip_addr dev veth0 | grep \"extern_valid\""
116 run_cmd "ip -n $ns1 neigh replace $ip_addr lladdr $mac nud stale dev veth0"
117 run_cmd "ip -n $ns1 neigh get $ip_addr dev veth0 | grep \"extern_valid\""
126 run_cmd "ip -n $ns1 neigh flush dev veth0"
127 run_cmd "ip -n $ns1 neigh add $ip_addr lladdr $mac nud stale dev veth0 extern_valid"
128 run_cmd "ip -n $ns1 neigh replace $ip_addr lladdr $mac nud stale dev veth0 extern_valid managed"
137 run_cmd "ip -n $ns1 neigh flush dev veth0"
138 run_cmd "ip -n $ns1 neigh add $ip_addr lladdr $mac nud stale dev veth0 extern_valid"
139 run_cmd "ip -n $ns1 neigh replace $ip_addr nud none dev veth0 extern_valid"
148 run_cmd "ip -n $ns1 neigh flush dev veth0"
149 run_cmd "ip -n $ns1 neigh add $ip_addr lladdr $mac nud stale dev veth0 extern_valid"
150 run_cmd "ip -n $ns1 link set dev veth0 down"
151 run_cmd "ip -n $ns1 link set dev veth0 up"
152 run_cmd "ip -n $ns1 neigh get $ip_addr dev veth0"
161 run_cmd "ip -n $ns1 neigh flush dev veth0"
162 run_cmd "ip -n $ns1 neigh add $ip_addr lladdr $mac nud stale dev veth0 extern_valid"
163 run_cmd "ip -n $ns2 link set dev veth1 down"
164 run_cmd "ip -n $ns2 link set dev veth1 up"
165 run_cmd "sleep 2"
166 run_cmd "ip -n $ns1 neigh get $ip_addr dev veth0"
179 run_cmd "ip -n $ns1 neigh flush dev veth0"
180 run_cmd "ip -n $ns1 neigh add $ip_addr lladdr $mac nud stale dev veth0 extern_valid"
181 run_cmd "ip -n $ns1 neigh replace $ip_addr lladdr $mac nud stale dev veth0 extern_valid use"
182 run_cmd "sleep $((delay_probe / 1000 + 2))"
183 run_cmd "ip -n $ns1 neigh get $ip_addr dev veth0 | grep \"REACHABLE\""
185 run_cmd "ip -n $ns1 neigh get $ip_addr dev veth0 | grep \"extern_valid\""
201 run_cmd "ip -n $ns1 neigh flush dev veth0"
202 run_cmd "tc -n $ns2 qdisc add dev veth1 clsact"
203 run_cmd "tc -n $ns2 filter add dev veth1 ingress proto all matchall action drop"
204 run_cmd "ip -n $ns1 neigh add $ip_addr lladdr $mac nud stale dev veth0 extern_valid"
205 run_cmd "ip -n $ns1 neigh replace $ip_addr lladdr $mac nud stale dev veth0 extern_valid use"
211 run_cmd "sleep $((delay / 1000 + 2))"
212 run_cmd "ip -n $ns1 neigh get $ip_addr dev veth0 | grep \"STALE\""
214 run_cmd "ip -n $ns1 neigh get $ip_addr dev veth0 | grep \"extern_valid\""
223 run_cmd "tc -n $ns2 qdisc del dev veth1 clsact"
243 run_cmd "ip -n $ns1 neigh flush dev veth0"
247 run_cmd "ip ntable change name $tbl_name thresh3 10 thresh2 9 thresh1 8"
248 run_cmd "ip -n $ns1 neigh add $ip_addr lladdr $mac nud stale dev veth0 extern_valid"
249 run_cmd "ip -n $ns1 neigh add ${subnet}3 lladdr $mac nud stale dev veth0"
250 run_cmd "sleep 5"
253 run_cmd "ip -n $ns1 neigh add ${subnet}$((i + 4)) nud none dev veth0"
259 run_cmd "ip -n $ns1 neigh get $ip_addr dev veth0 | grep \"extern_valid\""
261 run_cmd "ip -n $ns1 neigh get ${subnet}3 dev veth0"
266 …run_cmd "ip ntable change name $tbl_name thresh3 $orig_thresh3 thresh2 $orig_thresh2 thresh1 $orig…
287 run_cmd "ip -n $ns1 neigh flush dev veth0"
290 run_cmd "ip ntable change name $tbl_name thresh1 10 base_reachable 10000"
292 run_cmd "ip -n $ns1 ntable change name $tbl_name dev veth0 gc_stale 1000"
293 run_cmd "ip -n $ns1 neigh add $ip_addr lladdr $mac nud stale dev veth0 extern_valid"
294 run_cmd "ip -n $ns1 neigh add ${subnet}3 lladdr $mac nud stale dev veth0"
296 run_cmd "sleep $(((orig_base_reachable / 1000) / 2 + 2))"
298 run_cmd "ip -n $ns1 neigh add ${subnet}$((i + 4)) nud none dev veth0"
301 run_cmd "sleep 10"
305 run_cmd "ip -n $ns1 neigh get $ip_addr dev veth0 | grep \"extern_valid\""
307 run_cmd "ip -n $ns1 neigh get ${subnet}3 dev veth0"
312 run_cmd "ip -n $ns1 ntable change name $tbl_name dev veth0 gc_stale $orig_gc_stale"
313 run_cmd "ip ntable change name $tbl_name thresh1 $orig_thresh1 base_reachable $orig_base_reachable"