noc.core.script.oidrules.capindex

Module Contents

class noc.core.script.oidrules.capindex.CapabilityIndexRule(oid, type=None, scale=1, start=0, capability=None)

Bases: noc.core.script.oidrules.oid.OIDRule

Expand {{index}} to range given in capability capability: Integer capability containing number of iterations start: starting index

name = capindex
iter_oids(self, script, cfg)