Lines Matching refs:rc

90rc = call('ip link add dev erspan99 type erspan seq key 30 local 192.168.1.4 remote 192.168.1.1 er…
91 if rc == 0:
101rc = call('ip rule add from 192.168.100.19 sport 1123-1150 dport 3224-3290 table 7', stderr=subpro…
102 if rc == 0:
112rc = call('ip rule add not from 192.168.100.19 ipproto tcp table 7', stderr=subprocess.DEVNULL)
113 if rc == 0:
124rc = call('ip rule add from 192.168.100.19 table 7 uidrange 200-300', stderr=subprocess.DEVNULL)
125 if rc == 0:
141 rc = call('ip link add name dummy99 type dummy', stderr=subprocess.DEVNULL)
142 if rc == 0:
157 rc = call('ip nexthop list', stderr=subprocess.DEVNULL)
158 if rc == 0:
170rc = call('ip route add 10.10.10.10 via inet6 2001:1234:5:8fff:ff:ff:ff:fe dev dummy98', stderr=su…
172 if rc == 0:
183rc = call('ip link prop add dev dummy98 altname hogehogehogehogehoge', stderr=subprocess.DEVNULL)
184 if rc == 0:
185rc = call('ip link show dev hogehogehogehogehoge', stdout=subprocess.DEVNULL, stderr=subprocess.DE…
186 if rc == 0:
200 rc = call('modprobe netdevsim', stderr=subprocess.DEVNULL)
201 if rc != 0:
227 rc = call('tc qdisc add dev dummy98 parent root cake', stderr=subprocess.DEVNULL)
229 if rc == 0:
239 rc = call('tc qdisc add dev dummy98 parent root pie', stderr=subprocess.DEVNULL)
241 if rc == 0:
251 rc = call('tc qdisc add dev dummy98 parent root hhf', stderr=subprocess.DEVNULL)
253 if rc == 0:
263 rc = call('tc qdisc add dev dummy98 parent root ets bands 10', stderr=subprocess.DEVNULL)
265 if rc == 0:
275 rc = call('tc qdisc add dev dummy98 parent root fq_pie', stderr=subprocess.DEVNULL)
277 if rc == 0:
435 rc = 0
436 while rc == 0:
437rc = call('ip rule del table', table, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
438 rc = 0
439 while rc == 0:
440rc = call('ip -6 rule del table', table, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
1302 rc = call("ip link del test1")
1303 self.assertEqual(rc, 0)
1306 rc = call("ip link add test1 type dummy")
1307 self.assertEqual(rc, 0)
2170 rc = call('ip link add dummy98 type dummy')
2171 self.assertEqual(rc, 0)
2172 rc = call('ip link set dev dummy98 up')
2173 self.assertEqual(rc, 0)
2174 rc = call('ip -6 address add 2001:db8:0:f101::15/128 dev dummy98')
2175 self.assertEqual(rc, 0)
2177rc = call('ip -4 address add 10.3.2.3/16 brd 10.3.255.250 scope global label dummy98:hoge dev dumm…
2178 self.assertEqual(rc, 0)
2281 rc = call(*wait_online_cmd, '--timeout=10s', '--interface=veth99:routable', env=env)
2282 self.assertTrue(rc == 1)
2761 rc = call("ip link del dummy98")
2762 self.assertEqual(rc, 0)
3334 rc = call(*networkctl_cmd, 'reload', env=env)
3335 self.assertEqual(rc, 0)
3349 rc = call(*networkctl_cmd, 'reconfigure', 'dummy98', env=env)
3350 self.assertEqual(rc, 0)
3351 rc = call(*networkctl_cmd, 'reload', env=env)
3352 self.assertEqual(rc, 0)
3357 rc = call('ip link del veth99')
3358 self.assertEqual(rc, 0)
4973 rc = call(*networkctl_cmd, 'reload', env=env)
4974 self.assertEqual(rc, 0)