noc.lib.app.reportdatasources.report_objectstat

Module Contents

class noc.lib.app.reportdatasources.report_objectstat.IsolatorClass

Bases: object

BaseClass for isolated set. Every Isolated Class split objects set by facets function. Function format is: num_name. index parameter - index subset in isolated set.

name
get_stat(self, num, value)
default(self, num, index)

Last metthod :param num: :param index: :return:

class noc.lib.app.reportdatasources.report_objectstat.AttributeIsolator

Bases: noc.lib.app.reportdatasources.report_objectstat.IsolatorClass

name = attribute
OP_ATTR_MAP
fields
default(self, num, index)
f_attribute(self, num, value)

Islated object by atribute number :param num: Attribute number :param value: Attribute value :return:

class noc.lib.app.reportdatasources.report_objectstat.CapabilitiesIsolator

Bases: noc.lib.app.reportdatasources.report_objectstat.IsolatorClass

name = has
default_set
static _2_has(index)
_3_has(self, index)
_4_has(self, index)
_5_has(self, index)
f_has(self, num, value)

Caps :param num: :param value: :return:

class noc.lib.app.reportdatasources.report_objectstat.StatusIsolator

Bases: noc.lib.app.reportdatasources.report_objectstat.IsolatorClass

name = is
_1_is(self, index)
_2_is(self, index)
_3_is(self, index)
_4_is(self, index)
_5_is(self, index)
_6_is(self, index)
f_is(self, num, value)
Parameters:
  • num
  • value
Returns:

is_p(self, num, value, inverse=False)

Problem match :param discovery: Discovery name :param problem: Problem text :return:

class noc.lib.app.reportdatasources.report_objectstat.ProblemIsolator

Bases: noc.lib.app.reportdatasources.report_objectstat.IsolatorClass

name = isp
common_filter
_0_isp(self, index)
_1_isp(self, index)
_2_isp(self, index)
_3_isp(self, index)
_4_isp(self, index)