and amt
[pxelator] / couchdb / amt / views / ip,SystemPowerState-count / map.js
diff --git a/couchdb/amt/views/ip,SystemPowerState-count/map.js b/couchdb/amt/views/ip,SystemPowerState-count/map.js
new file mode 100644 (file)
index 0000000..831730a
--- /dev/null
@@ -0,0 +1,4 @@
+function(doc) {
+  if ( doc.package.name == 'amt' && doc.package.caller == 'power_state')
+  emit([doc.ip,doc.SystemPowerState],1);
+}
\ No newline at end of file