Index: tools/yaml2nag.py
===================================================================
--- tools/yaml2nag.py	(revision 9947)
+++ tools/yaml2nag.py	(revision 9953)
@@ -77,10 +77,10 @@
 def is_ap(node):
   try:
-    if node['mode'] == 'ap-wds':
+    if node['dhcp'] == 'no':
+      return 1
+    else:
       return 0
-    else:
-      return 1
   except:
-    return 1
+    return 0
 
 def is_up(node):
