Index: /nodes/proxy10/wleiden.yaml
===================================================================
--- /nodes/proxy10/wleiden.yaml	(revision 10433)
+++ /nodes/proxy10/wleiden.yaml	(revision 10434)
@@ -2,4 +2,5 @@
 # vim:ts=2:et:sw=2:ai
 #
+board     : "net45xx"
 comment   : "None"
 externalif: "sis1"
Index: /nodes/proxy11/wleiden.yaml
===================================================================
--- /nodes/proxy11/wleiden.yaml	(revision 10433)
+++ /nodes/proxy11/wleiden.yaml	(revision 10434)
@@ -2,4 +2,5 @@
 # vim:ts=2:et:sw=2:ai
 #
+board     : "net45xx"
 comment   : "None"
 externalif: "sis1"
Index: /nodes/proxy12/wleiden.yaml
===================================================================
--- /nodes/proxy12/wleiden.yaml	(revision 10433)
+++ /nodes/proxy12/wleiden.yaml	(revision 10434)
@@ -2,4 +2,5 @@
 # vim:ts=2:et:sw=2:ai
 #
+board     : "net45xx"
 comment   : "None"
 externalif: "sis0"
Index: /nodes/proxy14/wleiden.yaml
===================================================================
--- /nodes/proxy14/wleiden.yaml	(revision 10433)
+++ /nodes/proxy14/wleiden.yaml	(revision 10434)
@@ -2,4 +2,5 @@
 # vim:ts=2:et:sw=2:ai
 #
+board     : "net45xx"
 comment   : "None"
 externalif: "sis0"
Index: /nodes/proxy16/wleiden.yaml
===================================================================
--- /nodes/proxy16/wleiden.yaml	(revision 10433)
+++ /nodes/proxy16/wleiden.yaml	(revision 10434)
@@ -2,4 +2,5 @@
 # vim:ts=2:et:sw=2:ai
 #
+board     : "net45xx"
 comment   : "None"
 externalif: "sis0"
Index: /nodes/proxy17/wleiden.yaml
===================================================================
--- /nodes/proxy17/wleiden.yaml	(revision 10433)
+++ /nodes/proxy17/wleiden.yaml	(revision 10434)
@@ -2,4 +2,5 @@
 # vim:ts=2:et:sw=2:ai
 #
+board     : "ALIX2"
 comment   : "None"
 externalif: "vr0"
Index: /nodes/proxy18/wleiden.yaml
===================================================================
--- /nodes/proxy18/wleiden.yaml	(revision 10433)
+++ /nodes/proxy18/wleiden.yaml	(revision 10434)
@@ -2,4 +2,5 @@
 # vim:ts=2:et:sw=2:ai
 #
+board     : "net45xx"
 comment   : "None"
 externalif: "sis0"
Index: /nodes/proxy2/wleiden.yaml
===================================================================
--- /nodes/proxy2/wleiden.yaml	(revision 10433)
+++ /nodes/proxy2/wleiden.yaml	(revision 10434)
@@ -2,4 +2,5 @@
 # vim:ts=2:et:sw=2:ai
 #
+board     : "net45xx"
 comment   : "None"
 externalif: "sis0"
Index: /nodes/proxy20/wleiden.yaml
===================================================================
--- /nodes/proxy20/wleiden.yaml	(revision 10433)
+++ /nodes/proxy20/wleiden.yaml	(revision 10434)
@@ -2,4 +2,5 @@
 # vim:ts=2:et:sw=2:ai
 #
+board     : "net45xx"
 comment   : "None"
 externalif: "sis0"
Index: /nodes/proxy3/wleiden.yaml
===================================================================
--- /nodes/proxy3/wleiden.yaml	(revision 10433)
+++ /nodes/proxy3/wleiden.yaml	(revision 10434)
@@ -2,4 +2,5 @@
 # vim:ts=2:et:sw=2:ai
 #
+board     : "net45xx"
 comment   : "None"
 externalif: "sis0"
Index: /nodes/proxy4/wleiden.yaml
===================================================================
--- /nodes/proxy4/wleiden.yaml	(revision 10433)
+++ /nodes/proxy4/wleiden.yaml	(revision 10434)
@@ -2,4 +2,5 @@
 # vim:ts=2:et:sw=2:ai
 #
+board     : "net45xx"
 comment   : "None"
 externalif: "sis0"
Index: /nodes/proxy5/wleiden.yaml
===================================================================
--- /nodes/proxy5/wleiden.yaml	(revision 10433)
+++ /nodes/proxy5/wleiden.yaml	(revision 10434)
@@ -2,4 +2,5 @@
 # vim:ts=2:et:sw=2:ai
 #
+board     : "net45xx"
 comment   : " verbonden met glasvezel gateway 192.168.0.1 nameservers: 217.149.192.6 en 217.149.196.6 "
 externalif: "sis0"
Index: /nodes/proxy6/wleiden.yaml
===================================================================
--- /nodes/proxy6/wleiden.yaml	(revision 10433)
+++ /nodes/proxy6/wleiden.yaml	(revision 10434)
@@ -2,4 +2,5 @@
 # vim:ts=2:et:sw=2:ai
 #
+board     : "net45xx"
 comment   : "None"
 externalif: "sis0"
Index: /nodes/proxy7/wleiden.yaml
===================================================================
--- /nodes/proxy7/wleiden.yaml	(revision 10433)
+++ /nodes/proxy7/wleiden.yaml	(revision 10434)
@@ -2,4 +2,5 @@
 # vim:ts=2:et:sw=2:ai
 #
+board     : "ALIX2"
 comment   : " verbonden met 'vuil' internet van Zorggroep Rijnland lokaal ip en nameservers via dhcp LET OP: niet standaard configuratie ivm lokale ap's!"
 externalif: "vr0"
Index: /nodes/proxy9/wleiden.yaml
===================================================================
--- /nodes/proxy9/wleiden.yaml	(revision 10433)
+++ /nodes/proxy9/wleiden.yaml	(revision 10434)
@@ -2,4 +2,5 @@
 # vim:ts=2:et:sw=2:ai
 #
+board     : "net45xx"
 comment   : "None"
 externalif: "sis0"
Index: /nodes/proxy97/wleiden.yaml
===================================================================
--- /nodes/proxy97/wleiden.yaml	(revision 10433)
+++ /nodes/proxy97/wleiden.yaml	(revision 10434)
@@ -2,4 +2,5 @@
 # vim:ts=2:et:sw=2:ai
 #
+board     : "net45xx"
 comment   : "None"
 externalif: "sis0"
Index: /tools/check-batch-cmd
===================================================================
--- /tools/check-batch-cmd	(revision 10433)
+++ /tools/check-batch-cmd	(revision 10434)
@@ -51,17 +51,23 @@
   pass
 
+class ConnectError(Exception):
+  pass
+
 
 
 def host_ssh_cmd(hostname, cmd):
-  ssh = paramiko.SSHClient()
-  ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
-  ssh.connect(hostname, username='root', password=SSHPASS,timeout=3)
-  stdin, stdout, stderr = ssh.exec_command(cmd)
-  stdout = stdout.readlines()
-  stderr = stderr.readlines()
-  ssh.close()
-  if stderr:
-    raise CmdError((stderr, stdout))
-  return stdout
+  try:
+    ssh = paramiko.SSHClient()
+    ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
+    ssh.connect(hostname, username='root', password=SSHPASS,timeout=3)
+    stdin, stdout, stderr = ssh.exec_command(cmd)
+    stdout = stdout.readlines()
+    stderr = stderr.readlines()
+    ssh.close()
+    if stderr:
+      raise CmdError((stderr, stdout))
+    return stdout
+  except socket.error, e:
+    raise ConnectError(e)
 
 def parse_ini(lines):
@@ -168,4 +174,5 @@
   parser = argparse.ArgumentParser(prog='Various WL management tools')
   parser.add_argument('--ask-pass', dest="ask_pass", action='store_true', help='Ask password if SSHPASS is not found')
+  parser.add_argument('--filter', dest="use_filter", action='store_true', help='Thread the host definition as an filter')
   subparsers = parser.add_subparsers(help='sub-command help')
   
@@ -189,18 +196,26 @@
       SSHPASS = getpass.getpass("WL root password: ")
 
-  # XXX: We need this loop when using filters
-  #for host in gformat.get_hostlist():
-  #  if filters and not any([f.lower() in host.lower() for f in filters]):
-  #    continue
-
-
-  if args.func == 'bridge':
-    if args.action == 'keys':
-      ubnt_keys(args.host)
-    elif args.action == 'snmp':
-      ubnt_snmp(args.host)
-    elif args.action == 'probe':
-      ubnt_probe(args.host)
-  elif args.func == 'node':
-    if args.action == 'check':
-      node_check(args.host)
+
+  if args.use_filter:
+    hosts = []
+    for host in gformat.get_hostlist():
+      if args.host in host:
+        hosts.append(host)
+  else:
+    hosts = [args.host]
+
+
+  for host in hosts:
+    try:
+      if args.func == 'bridge':
+        if args.action == 'keys':
+          ubnt_keys(host)
+        elif args.action == 'snmp':
+          ubnt_snmp(host)
+        elif args.action == 'probe':
+          ubnt_probe(host)
+      elif args.func == 'node':
+        if args.action == 'check':
+          node_check(host)
+    except ConnectError:
+      print "#ERR: Connection failed to host %s" % host
