noc.lib.app.reportdatasources.report_objectifacesstatusstat

Module Contents

class noc.lib.app.reportdatasources.report_objectifacesstatusstat.ReportObjectIfacesStatusStat

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

Report for interfaces speed and status count

name = reportifacesstatusstat
ATTRS = ['Up/10G', 'Up/1G', 'Up/100M', 'Up/10M', 'Down/-', '-']
unknown_value
extract(self)

{ “_id” : { “managed_object” : 6757 }, “count_in_speed” : 3 } { “_id” : { “oper_status” : true, “in_speed” : 10000, “managed_object” : 6757 }, “count_in_speed” : 2 } { “_id” : { “oper_status” : true, “in_speed” : 1000000, “managed_object” : 6757 }, “count_in_speed” : 11 } { “_id” : { “oper_status” : false, “in_speed” : 1000000, “managed_object” : 6757 }, “count_in_speed” : 62 } { “_id” : { “oper_status” : true, “in_speed” : 10000000, “managed_object” : 6757 }, “count_in_speed” : 5 } { “_id” : { “oper_status” : false, “in_speed” : 100000, “managed_object” : 6757 }, “count_in_speed” : 1 } :return: