Lines Matching refs:router

124     def router(self):  member in LinuxRouter
269 self.router.run("cat <<EOF >%s\n%s\nEOF\n" %
277 self.router.run('rm %s' % log_file, ignore_status=True)
278 self.router.run('stop wpasupplicant', ignore_status=True)
281 pid = int(self.router.run(start_command).stdout.strip())
295 success = self.router.run(
303 bad_config = self.router.run(
311 early_exit = self.router.run('kill -0 %d' % pid,
392 self.router.get_file(remote_file, local_file)
459 self.router.run('%s link set %s up' % (self.cmd_ip, interface))
502 self.router)
582 self.router.run('%s addr flush %s' %
584 self.router.run('%s addr add %s' %
586 self.router.run('%s link set %s up' %
598 self.router.run("%s addr del %s" %
628 self.router.run('cat <<EOF >%s\n%s\nEOF\n' %
630 self.router.run('dnsmasq --conf-file=%s' % dhcpd_conf_file)
787 self.router.run('%s link set %s down' %
812 result = self.router.run('grep -q "%s" %s' % (pmksa_match, log_file),
843 self.router.run('%s -p%s deauthenticate %s' %
875 self.router.run("%s link set %s up" % (self.cmd_ip, interface))
876 self.router.run('%s -i %s -t %s -c %d' %
894 self.router.run('%s link set %s up' % (self.cmd_ip, interface))
938 pid = int(self.router.run(command).stdout)
953 result = self.router.run("grep -qi '%s' %s" % (deauth_msg, log_file),
971 result = self.router.run("grep -qi '%s' %s" % (coex_msg, log_file),
1006 self.router.run('echo 2 > /proc/sys/net/ipv4/conf/%s/rp_filter' %
1012 self.router.run('echo 1 > /proc/sys/net/ipv4/conf/%s/arp_ignore' %
1014 self.router.run('echo 1 > /proc/sys/net/ipv4/conf/%s/arp_ignore' %
1042 self.router.run('cat <<EOF >%s\n%s\nEOF\n' %
1046 self.router.run('%s link set %s up' % (self.cmd_ip, interface))
1051 self.router.run(start_command)
1055 self.router.run('%s addr add %s/24 dev %s' %
1091 if self.router.run('test -e %s' % footer_file,