noc.lib.app.reportdatasources.report_objectcaps

Module Contents

class noc.lib.app.reportdatasources.report_objectcaps.ReportObjectCaps

Bases: noc.lib.app.reportdatasources.base.BaseReportColumn

Report caps for MO Query: db.noc.sa.objectcapabilities.aggregate([{$unwind: “$caps”}, {$match: {“caps.source” : “caps”}}, {$project: {key: “$caps.capability”, value: “$caps.value”} }, {$group: {“_id”: “$_id”, “cap”: {$push: { item: “$key”, quantity: “$value” } }}}])

builtin_sorted = True
ATTRS
unknown_value
CHUNK_SIZE = 10000
extract(self)